:root {
    --bg-white: #ffffff;
    --bg-pearl: #f8f9fa;
    /* Very light pearl gray */
    --text-oxford: #2C3034;
    /* Dark gray for texts */
    --text-light-oxford: #495057;
    /* Mid gray for subtitles */
    --accent-red: #D91604;
    --accent-red-hover: #ff1c05;

    /* Elegant and highly geometric font setup */
    --font-primary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Straight geometry - No border radii */
    border-radius: 0 !important;
}

body {
    background-color: var(--bg-white);
    color: var(--text-oxford);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-oxford);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ==================================
   HEADER
   ================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 72px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-oxford);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
    color: var(--accent-red);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-oxford);
    cursor: pointer;
    padding: 8px;
}

/* ==================================
   HERO SECTION
   ================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background-color: var(--bg-pearl);
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

/* Clinical fade to blend image with solid pearl background */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-pearl) 0%, transparent 100%);
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text-box {
    background-color: var(--bg-white);
    padding: 64px 48px;
    max-width: 650px;
    border: 1px solid #dee2e6;
    box-shadow: 20px 20px 0px var(--bg-pearl), 0 30px 60px rgba(0, 0, 0, 0.05);
    /* Technical shadow offset */
}

.hero-badge {
    display: inline-block;
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-left: 2px solid var(--accent-red);
    padding-left: 12px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-oxford);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light-oxford);
    font-weight: 400;
}

/* Hero Tech Features (Pills) */
.hero-features-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* Allows wrapping if not enough space */
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.7); /* Subtle bg on light theme */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle border */
    border-radius: 4px; /* Slightly rounded, technical look */
    color: var(--text-light-oxford);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-feature-pill i {
    font-size: 18px;
    color: var(--accent-red); /* SVR Red for the icons */
    transition: color 0.3s ease;
}

.hero-feature-pill:hover {
    background-color: var(--text-oxford); /* Dark background to make white icon visible */
    color: var(--accent-red); /* Letras cambian a rojo */
    border-color: var(--text-oxford);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-feature-pill:hover i {
    color: var(--bg-white); /* Icono cambia a blanco */
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-red);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 18px 40px;
    min-width: 250px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary i {
    font-size: 22px;
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
}

/* ==================================
   VALUE PROP SECTION
   ================================== */
.value-prop {
    background-color: var(--bg-white);
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    color: var(--text-oxford);
    margin-bottom: 24px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid #e9ecef;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card-image-box {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--bg-pearl);
    border-bottom: 3px solid var(--accent-red);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-content {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-oxford);
}

.card-text {
    font-size: 15px;
    color: var(--text-light-oxford);
    flex-grow: 1;
    line-height: 1.7;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #dee2e6;
}

.card:hover .card-img {
    transform: scale(1.04);
}

/* ==================================
   KODA IA BANNER
   ================================== */
.koda-banner {
    background-color: var(--text-oxford);
    /* Deep Oxford gray / almost black */
    background-image: linear-gradient(145deg, #222528 0%, #2C3034 100%);
    padding: 120px 0;
    color: var(--bg-white);
}

.koda-banner .section-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.koda-grid {
    gap: 40px;
}

.koda-item {
    text-align: center;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.koda-item:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 22, 4, 0.4);
}

.koda-item i {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
    color: var(--accent-red) !important;
}

.item-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--bg-white);
}

.item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #ced4da;
}

/* ==================================
   FINANCE SECTION (Pearl background, White Cards)
   ================================== */
.finance-section {
    background-color: var(--bg-pearl);
    padding: 100px 0;
}

.py-100 {
    padding: 100px 0;
}

.finance-card {
    background-color: var(--bg-white);
    padding: 48px 32px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.finance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.finance-card i {
    font-size: 48px;
    color: var(--accent-red);
    margin-bottom: 24px;
}

.card-title-sm {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-oxford);
}

.card-text-sm {
    font-size: 15px;
    color: var(--text-light-oxford);
    line-height: 1.6;
}

/* ==================================
   UTILITIES
   ================================== */
.text-white {
    color: var(--bg-white) !important;
}

.text-red {
    color: var(--accent-red) !important;
}

.text-gray {
    color: #adb5bd !important;
}

.text-gray-light {
    color: #ced4da !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

@media (max-width: 768px) {
    .finance-card {
        padding: 32px 24px;
    }
}

/* ==================================
   MEGA FOOTER B2B
   ================================== */
.footer {
    background-color: var(--text-oxford);
    color: var(--bg-white);
    padding: 80px 0 32px 0;
    /* Huge padding top for breathing room */
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    height: 110px;
    width: auto;
    margin-bottom: 24px;
    display: block;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-copy {
    font-size: 14px;
    color: #adb5bd;
    line-height: 1.6;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #ced4da;
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-red);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #ced4da;
    line-height: 1.5;
}

.footer-list span {
    color: #ced4da;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list span:hover {
    color: var(--bg-white);
}

.footer-list strong {
    color: var(--bg-white);
}

.contact-col .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-col .contact-item i {
    font-size: 20px;
}

.contact-col .contact-item span {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-col .contact-item span:hover {
    color: var(--accent-red);
}

.footer-schedule {
    font-size: 14px;
    color: #ced4da;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.schedule-note {
    font-size: 12px;
    color: #868e96;
    font-style: italic;
    display: block;
    margin-top: 4px;
}

.mt-16 {
    margin-top: 16px;
}

/* Sub Footer Legal */
.sub-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #868e96;
}

.sub-footer-right span {
    color: #868e96;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-footer-right span:hover {
    color: var(--bg-white);
}

.sub-footer-right .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* ==================================
   RESPONSIVE FOOTER
   ================================== */
@media (max-width: 1024px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sub-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.icon-red {
    color: var(--accent-red);
    font-size: 24px;
}

.contact-item a {
    color: var(--bg-white);
}

.contact-item a:hover {
    color: var(--bg-white);
    text-decoration: underline;
    text-decoration-color: var(--accent-red);
    text-decoration-thickness: 2px;
}

/* ==================================
   ANIMATIONS
   ================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   RESPONSIVE
   ================================== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image-container {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: center; /* Center the text vertically */
        padding-top: 80px; /* Reduced padding since it's full height now */
        min-height: 80vh; /* Minimum height for mobile */
        background-color: #1a1d20; /* Dark fallback */
    }

    .hero-image-container {
        display: block; /* Make original container visible */
        width: 100%;
        left: 0;
    }

    .hero-image-container::before {
        width: 100%; /* Full width dark overlay */
        background: rgba(0, 0, 0, 0.65); /* Solid translucent overlay instead of gradient */
    }

    .hero-bg-img {
        object-position: 70% center; /* Ajustado para mejor encuadre del montacargas en móviles pequeños */
    }

    .hero-content {
        width: 100%;
        display: flex;
        justify-content: flex-start; /* Align left or center depending on preference */
    }

    .hero-text-box {
        padding: 40px 24px;
        box-shadow: none; /* Remove solid shadow */
        background-color: rgba(0, 0, 0, 0.4); /* Fallback dark background in case image fails */
        border: none;
        text-align: left;
    }

    .hero-title {
        font-size: 32px;
        color: var(--bg-white); /* Force text to white for contrast */
        text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Improve legibility */
    }

    .hero-subtitle {
        color: #e9ecef; /* Lighter color for subtitle on dark background */
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .hero-features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns for 2x2 layout */
        gap: 12px;
        width: 100%;
    }

    .hero-feature-pill {
        background-color: rgba(0, 0, 0, 0.4); /* Darker semi-transparent for contrast against image */
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--bg-white);
        justify-content: flex-start; /* Align icon and text nicely within the 50% width */
        padding: 10px 12px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    /* Mobile Menu Styles */
    .menu-toggle {
        display: block;
        padding: 12px; /* Aumentado para tap target (mínimo 44x44px en iOS) */
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid #e9ecef;
    }

    .header-nav.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .header-nav .nav-link {
        padding: 16px 0;
        width: 100%;
        text-align: center;
        font-size: 16px;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .header-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* ==================================
   COVERAGE & MAP SECTION
   ================================== */

.coverage-section {
    background-color: var(--bg-pearl);
    padding: 100px 0;
}

.pb-120 {
    padding-bottom: 120px;
}

.text-center {
    text-align: center;
}

.coverage-header {
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.coverage-header .koda-item i {
    margin: 0 auto 24px auto;
}

/* Map Section Mobile Padding Fixes */
@media (max-width: 768px) {
    .pb-120 {
        padding-bottom: 60px; /* Reduce massive gap before Koda IA banner */
    }
    
    .map-container-wrapper {
        height: 400px; /* Make map smaller on mobile */
    }
    
    .coverage-section {
        padding: 60px 0; /* Reduce top padding too */
    }
}

/* ==================================
   FLOATING WHATSAPP BUTTON
   ================================== */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-white);
    border-radius: 50% !important;
    /* Exceptional roundness for FAB */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
    animation: waPulse 2s infinite;
}

.floating-wa i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.floating-wa:hover {
    background-color: #1ebe58;
    color: var(--bg-white);
    transform: scale(1.1) translateY(-5px);
    animation: none;
    /* Stop pulse on hover */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 24px;
        right: 24px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

.coverage-subtitle {
    font-size: 18px;
    color: var(--text-light-oxford);
    font-weight: 400;
}

.map-container-wrapper {
    width: 100%;
    height: 600px;
    background-color: var(--bg-white);
    border: 1px solid #dee2e6;
    position: relative;
    z-index: 5;
    overflow: hidden; /* Prevent horizontal scroll from Leaflet on very small screens */
}

.shadow-flat {
    box-shadow: 20px 20px 0px var(--text-oxford);
}

.coverage-map {
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
    /* Keep map behind absolute floating UI */
}

/* Leaflet Container Overrides to match aesthetic */
.leaflet-container {
    font-family: var(--font-primary);
    background: #f4f5f7;
    /* Very light cool grey backing */
}

/* Make map grayscale/clinical */
.leaflet-tile-pane {
    filter: grayscale(100%) opacity(0.8) contrast(1.1);
}

/* Tooltip Customization */
.leaflet-tooltip.custom-map-tooltip {
    background: var(--text-oxford);
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: var(--bg-white);
    padding: 16px;
    font-family: var(--font-primary);
    white-space: normal;
    width: max-content;
    max-width: 280px;
    pointer-events: none;
}

/* Triangle connector for tooltip */
.leaflet-tooltip-top.custom-map-tooltip::before {
    border-top-color: var(--text-oxford);
}

.custom-tooltip-content strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tooltip-hq strong {
    color: var(--accent-red);
}

.tooltip-hub strong {
    color: #adb5bd;
}

.custom-tooltip-content span {
    font-size: 13px;
    line-height: 1.5;
    color: #ced4da;
    display: block;
}

/* Marker CSS Animations */
.map-custom-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HQ Pulser Marker (Querétaro) */
.hq-pulse-marker {
    position: relative;
}

.pulse-dot {
    width: 24px;
    height: 24px;
    background-color: var(--accent-red);
    border-radius: 50% !important;
    /* exceptional override for perfect dot */
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

.pulse-ring {
    width: 72px;
    height: 72px;
    border: 3px solid var(--accent-red);
    border-radius: 50% !important;
    position: absolute;
    top: -24px;
    left: -24px;
    animation: hqPulse 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    z-index: 1;
}

@keyframes hqPulse {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }

    80% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Solid Satellite Hub Markers */
.hub-solid-marker {
    position: relative;
}

.hub-dot {
    width: 20px;
    height: 20px;
    background-color: var(--text-light-oxford);
    border: 3px solid var(--bg-white);
    border-radius: 50% !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.hub-solid-marker:hover .hub-dot {
    background-color: var(--text-oxford);
    transform: scale(1.2);
}

/* Main Hub Marker (Tlalnepantla) */
.hub-main-marker {
    position: relative;
}

.hub-main-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent-red);
    border: 3px solid var(--bg-white);
    border-radius: 50% !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.hub-main-marker:hover .hub-main-dot {
    background-color: #b01503;
    /* darker red */
    transform: scale(1.2);
}
/* ==================================
   KODA IA SPECIFIC STYLES (DARK TECH)
   ================================== */

.dark-tech-theme {
    background-color: #1A1D20;
    color: var(--bg-white);
}

.koda-header {
    background-color: rgba(26, 29, 32, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.koda-header.scrolled {
    background-color: rgba(15, 17, 20, 0.98);
    border-bottom: 1px solid rgba(217, 22, 4, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.btn-outline-minimal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ced4da;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-outline-minimal:hover {
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.koda-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.koda-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(217, 22, 4, 0.08) 0%, #1A1D20 60%);
    z-index: 1;
}

/* Matrix/Radar grid effect */
.koda-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
}

.koda-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.koda-title {
    font-size: clamp(40px, 6vw, 72px);
    color: var(--bg-white);
    letter-spacing: -1px;
}

.koda-subtitle {
    font-size: 20px;
    color: #adb5bd;
    max-width: 700px;
}

.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }
.py-100 { padding: 100px 0; }
.py-120 { padding: 120px 0; }
.py-40 { padding: 40px 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 22px; }

/* Pillars Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 22, 4, 0.3);
    background-color: rgba(217, 22, 4, 0.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon-box {
    width: 64px;
    height: 64px;
    background-color: rgba(217, 22, 4, 0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(217, 22, 4, 0.2);
}

/* Hardware Architecture */
.bg-carbon {
    background-color: #15171A;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.align-items-center {
    align-items: center;
}

.gap-60 {
    gap: 60px;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.tech-list i {
    font-size: 28px;
    color: var(--accent-red);
    margin-top: 4px;
}

.tech-list strong {
    display: block;
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 4px;
}

.tech-list span {
    color: #adb5bd;
    font-size: 15px;
}

/* Abstract Hardware Diagram */
.diagram-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid-lines {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(217, 22, 4, 0.1);
    background-image: 
        linear-gradient(rgba(217, 22, 4, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 22, 4, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.diagram-center {
    position: relative;
    z-index: 5;
    background-color: #1A1D20;
    border: 2px solid var(--accent-red);
    padding: 24px;
    text-align: center;
    box-shadow: 0 0 30px rgba(217, 22, 4, 0.15);
}

.diagram-center i {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
}

.diagram-center span {
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 2px;
}

.diagram-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #2C3034;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ced4da;
    font-size: 24px;
    z-index: 4;
}

.diagram-node::before {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.node-1 { top: 15%; left: 50%; transform: translateX(-50%); }
.node-1::before { width: 1px; height: 100px; top: 50px; left: 24px; }

.node-2 { bottom: 25%; left: 15%; }
.node-2::before { width: 150px; height: 1px; top: 24px; left: 50px; }

.node-3 { bottom: 25%; right: 15%; }
.node-3::before { width: 150px; height: 1px; top: 24px; right: 50px; }

/* Dashboard Mockup */
.tech-border {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dashboard-mockup-container {
    border-radius: 8px !important;
    overflow: hidden;
    position: relative;
}

.dashboard-top-bar {
    background-color: #2C3034;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-dots {
    display: flex;
    gap: 8px;
}

.mac-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50% !important;
}

.mac-dots span:nth-child(1) { background-color: #ff5f56; }
.mac-dots span:nth-child(2) { background-color: #ffbd2e; }
.mac-dots span:nth-child(3) { background-color: #27c93f; }

.url-bar {
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6px 40px;
    font-size: 12px;
    color: #868e96;
    letter-spacing: 0.5px;
}

.dashboard-content {
    aspect-ratio: 16/9;
    background-color: #15171A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dashboard-content i {
    font-size: 64px;
    opacity: 0.3;
}

.skeleton-loader::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    animation: skeletonSweep 2s infinite;
}

@keyframes skeletonSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Footer CTA */
.koda-retro-box {
    background-color: rgba(217, 22, 4, 0.05);
    border: 1px solid rgba(217, 22, 4, 0.2);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.icon-giant {
    font-size: 80px;
}

.btn-giant {
    font-size: 18px;
    padding: 24px 56px;
}


/* Video Section */
.koda-video-section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.koda-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(26, 29, 32, 0.8);
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-overlay i {
    font-size: 40px;
    margin-left: 6px; /* Visual center adjustment for play icon */
}

.video-wrapper:hover .play-overlay {
    background-color: rgba(217, 22, 4, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}
.video-wrapper:hover .play-overlay i {
    color: var(--bg-white) !important;
}

/* Enhancements for Dashboard & Diagram images */
.dashboard-img-wrapper {
    width: 100%;
    overflow: hidden;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.diagram-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.diagram-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.15); /* Scales it up slightly to make it bigger */
}

/* Ghost Button CTA */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border: 2px solid var(--bg-white);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--bg-white);
    transform: translateY(-2px);
}
