/* ========================================
   YAQHA — Design System
   ======================================== */
:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --text: #475569;
    --text-light: #94a3b8;
    --heading: #0f172a;
    --white: #ffffff;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --green: #10b981;
    --green-dark: #047857;
    --green-light: rgba(16, 185, 129, .1);
    --blue: #3b82f6;
    --blue-light: rgba(59, 130, 246, .1);
    --purple: #8b5cf6;
    --purple-light: rgba(139, 92, 246, .1);
    --orange: #f97316;
    --orange-light: rgba(249, 115, 22, .1);
    --cyan: #06b6d4;
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    --gradient2: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient3: linear-gradient(135deg, #10b981, #06b6d4);
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, .1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, .25)
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden
}

img {
    max-width: 100%
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.text-center {
    text-align: center
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
    padding: .7rem 0
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
    padding: .5rem 0
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .3)
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -.02em
}

.logo-text em {
    font-style: normal;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
    position: relative
}

.nav-links a:hover {
    color: var(--purple)
}

.nav-links a.active {
    color: var(--purple);
    font-weight: 700
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width .3s
}

.nav-links a:hover::after {
    width: 100%
}

.btn-nav-cta {
    background: var(--gradient) !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: .6rem 1.5rem;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .3)
}

.btn-nav-cta::after {
    display: none !important
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, .4)
}

.nav-country-wrapper {
    display: flex;
    align-items: center
}

.nav-country-select {
    background: rgba(99, 102, 241, .08);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .35rem .5rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    outline: none;
    transition: all .3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236366f1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .5rem center;
    padding-right: 1.4rem
}

.nav-country-select:hover,
.nav-country-select:focus {
    border-color: var(--primary);
    background-color: rgba(99, 102, 241, .12)
}

.navbar.scrolled .nav-country-select {
    background: rgba(99, 102, 241, .06)
}

/* ============ BUTTONS ============ */
.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .9rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .3)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .4)
}

.btn-secondary {
    color: var(--text);
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: .9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .3s
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(139, 92, 246, .03)
}

.btn-glow {
    animation: glow-pulse 3s infinite
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(99, 102, 241, .3)
    }

    50% {
        box-shadow: 0 4px 30px rgba(99, 102, 241, .55)
    }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: var(--white);
    overflow: hidden
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, .12);
    top: -100px;
    right: -100px
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, .08);
    bottom: -80px;
    left: -80px
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, .05);
    top: 50%;
    left: 40%
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--purple-light);
    color: var(--purple);
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: .03em
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {

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

    50% {
        opacity: .4;
        transform: scale(.8)
    }
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 1.2rem;
    letter-spacing: -.04em
}

.gradient-text-animated {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    background-size: 200% auto;
    transition: opacity .3s, transform .3s;
    display: inline-block
}

@keyframes shimmer {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap
}

.hero-metric-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--heading);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1
}

.hero-metric-label {
    font-size: .72rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: .15rem
}

.hero-metric-divider {
    width: 1px;
    height: 32px;
    background: var(--border)
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none
}

/* ============ HERO VISUAL / DASHBOARD 3D ============ */
.hero-visual {
    position: relative;
    perspective: 1200px
}

.dashboard-3d {
    position: relative;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    transform-style: preserve-3d
}

.dashboard-3d:hover {
    transform: rotateY(0) rotateX(0)
}

.dash-main {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12), 0 0 0 1px rgba(99, 102, 241, .05);
    overflow: hidden
}

.dash-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem;
    background: var(--navy);
    color: #fff
}

.cm-dots {
    display: flex;
    gap: 5px
}

.cm-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2)
}

.cm-dots span:first-child {
    background: #ef4444
}

.cm-dots span:nth-child(2) {
    background: #f59e0b
}

.cm-dots span:last-child {
    background: #10b981
}

.dash-header-title {
    font-size: .78rem;
    font-weight: 600;
    flex: 1
}

.dash-body {
    padding: 1rem
}

.dash-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: .8rem
}

.dash-widget {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    border-radius: 10px;
    border: 1px solid var(--border-light)
}

.dash-widget i {
    font-size: .85rem
}

.dw-green {
    background: rgba(16, 185, 129, .06)
}

.dw-green i {
    color: var(--green)
}

.dw-blue {
    background: rgba(59, 130, 246, .06)
}

.dw-blue i {
    color: var(--blue)
}

.dw-value {
    font-size: .9rem;
    font-weight: 800;
    color: var(--heading);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1
}

.dw-label {
    font-size: .62rem;
    color: var(--text-light);
    font-weight: 600
}

.dash-chart {
    background: var(--bg);
    border-radius: 10px;
    padding: .6rem .8rem;
    margin-bottom: .8rem;
    border: 1px solid var(--border-light)
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    font-size: .72rem;
    font-weight: 700;
    color: var(--heading)
}

.dash-chart-badge {
    background: var(--green-light);
    color: var(--green-dark);
    padding: .1rem .4rem;
    border-radius: 4px;
    font-size: .62rem;
    font-weight: 800
}

.dash-bars {
    display: flex;
    align-items: flex-end;
    gap: .35rem;
    height: 50px
}

.dash-bar {
    flex: 1;
    height: var(--h);
    background: var(--border);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: background .3s;
    animation: barGrow 1s ease-out both;
    animation-delay: calc(var(--h) * 0.01s)
}

.dash-bar.active {
    background: var(--gradient);
    box-shadow: 0 -4px 10px rgba(99, 102, 241, .2)
}

.dash-bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .5rem;
    color: var(--text-light);
    font-weight: 600
}

@keyframes barGrow {
    from {
        height: 0
    }

    to {
        height: var(--h)
    }
}

.dash-services-list {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.dash-service-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .6rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all .2s
}

.dash-service-item:hover {
    background: var(--bg);
    border-color: var(--border)
}

.dsi-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    flex-shrink: 0
}

.dsi-name {
    font-size: .78rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2
}

.dsi-detail {
    font-size: .62rem;
    color: var(--text-light)
}

.dsi-status {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    flex-shrink: 0
}

.dsi-status.active {
    background: rgba(16, 185, 129, .12);
    color: var(--green)
}

.dsi-status.training {
    background: rgba(139, 92, 246, .12);
    color: var(--purple);
    font-size: .55rem;
    font-weight: 700;
    width: auto;
    padding: .15rem .45rem;
    border-radius: 6px;
    gap: .2rem;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .45rem .8rem;
    font-size: .72rem;
    font-weight: 700;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: .35rem;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: floatCard 6s ease-in-out infinite
}

.fc-sunat {
    top: 10%;
    right: -20px;
    animation-delay: 0s
}

.fc-ia {
    bottom: 30%;
    left: -30px;
    animation-delay: 1.5s
}

.fc-cloud {
    top: 40%;
    right: -35px;
    animation-delay: 3s
}

.fc-global {
    bottom: 8%;
    left: -10px;
    animation-delay: 4.5s
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

/* ============ STATS BAR ============ */
.stats-bar {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--heading);
    font-family: 'JetBrains Mono', monospace
}

.stat-item h3 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.stat-item p {
    font-size: .82rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: .15rem
}

/* ============ SOLUTIONS MEGA GRID ============ */
.solutions-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem
}

.sol-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all .35s ease
}

.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.sol-card.sol-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, .03), rgba(139, 92, 246, .03))
}

.sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: .8rem
}

.sol-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: .35rem
}

.sol-card p {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: .8rem
}

.sol-tags {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap
}

.sol-tags span {
    background: var(--bg);
    color: var(--text-light);
    font-size: .62rem;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em
}

.sol-badge-hot,
.sol-badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: .65rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 6px
}

.sol-badge-hot {
    background: rgba(239, 68, 68, .1);
    color: #ef4444
}

.sol-badge-new {
    background: rgba(139, 92, 246, .1);
    color: var(--purple)
}

/* ============ MODALITY SECTION ============ */
.modality-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem
}

.modality-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: all .35s
}

.modality-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.modality-card.modality-cloud {
    background: linear-gradient(135deg, rgba(99, 102, 241, .04), rgba(59, 130, 246, .04));
    border-color: rgba(99, 102, 241, .15)
}

.modality-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem
}

.modality-icon.cloud {
    background: var(--gradient)
}

.modality-badge-rec {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: .65rem;
    font-weight: 700;
    background: rgba(99, 102, 241, .1);
    color: var(--purple);
    padding: .2rem .5rem;
    border-radius: 6px
}

.modality-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: .5rem
}

.modality-card p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem
}

.modality-features {
    list-style: none;
    padding: 0
}

.modality-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    font-size: .88rem;
    color: var(--text)
}

.modality-features li i {
    color: var(--green);
    font-size: .75rem
}

.modality-vs {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-light);
    background: var(--border-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    color: var(--text-light);
    animation: scrollBounce 2s infinite
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative
}

.scroll-mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--purple);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite
}

@keyframes scrollDot {
    0% {
        top: 6px;
        opacity: 1
    }

    100% {
        top: 20px;
        opacity: 0
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(8px)
    }
}

/* ============ STATS ============ */
.stats-bar {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--white)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--heading);
    letter-spacing: -.03em
}

.stat-item .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.stat-item p {
    font-size: .85rem;
    color: var(--text-light);
    margin-top: .25rem;
    font-weight: 500
}

/* ============ SECTIONS ============ */
.section-alt {
    padding: 6rem 0;
    background: var(--bg)
}

.section-white {
    padding: 6rem 0;
    background: var(--white)
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem 1rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: .03em
}

.badge-green {
    background: var(--green-light);
    color: var(--green-dark)
}

.badge-blue {
    background: var(--blue-light);
    color: var(--blue)
}

.badge-purple {
    background: var(--purple-light);
    color: var(--purple)
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--heading);
    margin-bottom: .8rem;
    letter-spacing: -.03em;
    line-height: 1.15
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.7
}

/* ============ FEATURES GRID ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all .35s ease
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.fc-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .35s
}

.feature-card:hover .fc-gradient {
    opacity: 1
}

.fc-gradient.green {
    background: var(--gradient3)
}

.fc-gradient.blue {
    background: var(--gradient2)
}

.fc-gradient.purple {
    background: var(--gradient)
}

.fc-gradient.cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6)
}

.fc-gradient.teal {
    background: linear-gradient(135deg, #10b981, #14b8a6)
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem
}

.fi-green {
    background: var(--green-light);
    color: var(--green)
}

.fi-blue {
    background: var(--blue-light);
    color: var(--blue)
}

.fi-purple {
    background: var(--purple-light);
    color: var(--purple)
}

.fi-cyan {
    background: rgba(6, 182, 212, .1);
    color: var(--cyan)
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: .5rem
}

.feature-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6
}

/* ============ PRODUCT SECTIONS ============ */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.product-section.product-reverse {
    direction: rtl
}

.product-section.product-reverse>* {
    direction: ltr
}

.product-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-top: 1.5rem
}

.pf-item {
    font-size: .9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 0
}

.pf-item i {
    color: var(--green);
    font-size: .85rem
}

/* ============ SCREENSHOTS / MOCKUPS ============ */
.ss-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s
}

.ss-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.ss-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .6rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border)
}

.ss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border)
}

.ss-dot:first-child {
    background: #ef4444
}

.ss-dot:nth-child(2) {
    background: #f59e0b
}

.ss-dot:nth-child(3) {
    background: #10b981
}

.ss-url {
    flex: 1;
    text-align: center;
    font-size: .65rem;
    color: var(--text-light);
    background: var(--white);
    border-radius: 6px;
    padding: .2rem .6rem;
    font-family: 'JetBrains Mono', monospace
}

.ss-body {
    padding: 1rem
}

.ss-placeholder {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.ss-widget {
    background: var(--bg);
    border-radius: 10px;
    padding: .7rem 1rem;
    border: 1px solid var(--border-light)
}

.ss-label {
    font-size: .72rem;
    color: var(--text-light);
    margin-bottom: .3rem;
    font-weight: 600
}

.ss-value {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace
}

.ss-caption {
    padding: .8rem 1rem;
    text-align: center;
    font-size: .82rem;
    color: var(--text-light);
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    background: var(--bg)
}

/* ============ MESA MAP ============ */
.mesa-item {
    text-align: center;
    padding: .4rem .2rem;
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 700;
    border: 1px solid transparent
}

.mesa-item small {
    font-weight: 500;
    font-size: .55rem;
    display: block;
    margin-top: 1px
}

.mesa-occupied {
    background: rgba(239, 68, 68, .1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, .2)
}

.mesa-free {
    background: rgba(16, 185, 129, .1);
    color: var(--green-dark);
    border-color: rgba(16, 185, 129, .2)
}

.mesa-preparing {
    background: rgba(249, 115, 22, .1);
    color: var(--orange);
    border-color: rgba(249, 115, 22, .2);
    animation: pulse 2s infinite
}

.mesa-bill {
    background: rgba(59, 130, 246, .1);
    color: var(--blue);
    border-color: rgba(59, 130, 246, .2)
}

/* ============ TECH STACK ============ */
.tech-stack-visual {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow)
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    padding: .8rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all .3s;
    font-size: 1.6rem
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--purple-light)
}

.tech-item span {
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-light)
}

/* ============ IA SECTION ============ */
.ia-visual-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(20px)
}

.ia-neural-net {
    padding: 1.5rem
}

.ia-header {
    font-size: .9rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.ia-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem
}

.ia-metric {
    text-align: center;
    padding: .8rem;
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.ia-metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace
}

.ia-metric-label {
    font-size: .7rem;
    color: rgba(255, 255, 255, .5);
    margin-top: .2rem
}

.ia-tasks {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.ia-task {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    background: rgba(255, 255, 255, .05);
    border-radius: 10px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .06)
}

.ia-task-status {
    margin-left: auto;
    font-size: .65rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 6px
}

.ia-task-status.active {
    background: rgba(16, 185, 129, .15);
    color: var(--green);
    transition: opacity .3s
}

.ia-task-status.training {
    background: rgba(249, 115, 22, .15);
    color: var(--orange);
    animation: pulse 2s infinite
}

/* ============ RESULTS / DARK SECTION ============ */
.results-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden
}

.results-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(99, 102, 241, .08);
    top: -200px;
    right: -100px;
    filter: blur(80px)
}

/* ============ STEPS ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: all .35s
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg)
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .3)
}

.step-line {
    position: absolute;
    top: 3.2rem;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: var(--border);
    z-index: 1
}

.step-card:last-child .step-line {
    display: none
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: .4rem
}

.step-card p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem
}

.about-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .35s
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .25)
}

.about-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: .4rem
}

.about-card p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6
}

/* ============ TRUST ============ */
.trust-section {
    padding: 3.5rem 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.trust-label {
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 600;
    margin-bottom: 1.5rem
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .35);
    font-weight: 600;
    transition: color .3s;
    cursor: default
}

.trust-logo:hover {
    color: rgba(255, 255, 255, .7)
}

.trust-logo i {
    font-size: 1.1rem
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.testimonial-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    transition: all .35s
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.testimonial-stars {
    color: #f59e0b;
    font-size: .78rem;
    margin-bottom: .8rem;
    display: flex;
    gap: .15rem
}

.testimonial-text {
    font-size: .92rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1.2rem
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .7rem
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 700
}

.testimonial-name {
    font-weight: 700;
    color: var(--heading);
    font-size: .88rem
}

.testimonial-role {
    font-size: .78rem;
    color: var(--text-light)
}

/* ============ FAQ ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .3s
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(99, 102, 241, .3)
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    color: var(--heading);
    transition: background .2s
}

.faq-q:hover {
    background: var(--border-light)
}

.faq-q i {
    transition: transform .3s;
    color: var(--text-light);
    font-size: .8rem
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
    color: var(--purple)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 1.4rem 1.2rem
}

.faq-a p {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7
}

/* ============ CTA ============ */
.cta-section {
    padding: 6rem 0;
    background: var(--bg)
}

.cta-box {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, .2), transparent 70%);
    pointer-events: none
}

.cta-box h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2
}

/* ============ PRICING ============ */
.pricing-country-selector {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .4rem .6rem .4rem 1rem;
    margin-top: 1.5rem
}

.pricing-country-selector label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap
}

.pricing-country-selector label i {
    color: var(--primary)
}

.pricing-country-selector select {
    border: none;
    outline: none;
    font-size: .85rem;
    font-weight: 600;
    color: var(--heading);
    background: transparent;
    cursor: pointer;
    padding: .3rem .2rem
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform .3s, box-shadow .3s
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08)
}

.pricing-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 8px 30px rgba(99, 102, 241, .12)
}

.pricing-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem 1rem;
    border-radius: 50px;
    white-space: nowrap
}

.pricing-header {
    margin-bottom: 1.2rem
}

.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: .8rem
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: .3rem
}

.pricing-subtitle {
    font-size: .8rem;
    color: var(--text-light)
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: .2rem;
    margin: .3rem 0 .1rem
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary)
}

.pricing-amount {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--heading);
    line-height: 1
}

.pricing-from {
    font-size: .75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.2rem
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    width: 100%;
    text-align: left
}

.pricing-features li {
    font-size: .82rem;
    color: var(--text);
    padding: .4rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid var(--border-light)
}

.pricing-features li:last-child {
    border-bottom: none
}

.pricing-features li i {
    color: var(--green);
    font-size: .7rem;
    flex-shrink: 0
}

.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    padding: .7rem 1rem;
    background: var(--gradient);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s;
    margin-top: auto
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, .3)
}

.pricing-popular .btn-pricing {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, .25)
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

/* ============ FOOTER ============ */
footer {
    background: var(--navy);
    padding: 4rem 0 0;
    color: var(--text-light)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.footer-brand p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem
}

.footer-social {
    display: flex;
    gap: .6rem;
    margin-top: .5rem
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: .9rem;
    text-decoration: none;
    transition: all .3s
}

.footer-social a i {
    line-height: 1;
    width: auto;
    height: auto
}

.footer-social a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px)
}

.footer-grid h4 {
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.footer-grid>div>a:not(.logo):not(.btn-footer-wa) {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: .85rem;
    padding: .25rem 0;
    transition: color .2s
}

.footer-grid>div>a:not(.logo):not(.btn-footer-wa):hover {
    color: var(--green)
}

.btn-footer-wa {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #25d366;
    color: #fff !important;
    padding: .55rem 1.2rem;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    margin-top: .3rem;
    transition: all .3s
}

.btn-footer-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, .3)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: .82rem
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s
}

.footer-bottom a:hover {
    color: #fff
}

/* ============ WA FLOAT ============ */
.wa-float-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: .8rem
}

.wa-float-label {
    background: var(--white);
    color: var(--heading);
    padding: .5rem 1rem;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: labelSlide 8s ease-in-out infinite;
    white-space: nowrap
}

@keyframes labelSlide {

    0%,
    20% {
        opacity: 0;
        transform: translateX(10px)
    }

    25%,
    75% {
        opacity: 1;
        transform: translateX(0)
    }

    80%,
    100% {
        opacity: 0;
        transform: translateX(10px)
    }
}

.wa-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
    transition: transform .3s, box-shadow .3s;
    animation: waFloat 3s ease-in-out infinite
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5)
}

@keyframes waFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* ============ MOBILE STYLES ============ */
.mobile-controls {
    display: none
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--heading);
    cursor: pointer;
    padding: .3rem
}

@media (max-width: 1024px) {

    .features-grid,
    .steps-grid,
    .about-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .solutions-mega-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .sol-card.sol-featured {
        grid-column: span 1
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .step-line {
        display: none
    }

    .modality-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .modality-vs {
        margin: 0 auto
    }

    .floating-card {
        display: none
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 4rem
    }

    .hero h1 {
        font-size: 2.2rem
    }

    .hero-grid,
    .product-section,
    .product-section.product-reverse {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .product-section.product-reverse {
        direction: ltr
    }

    .product-features-list {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem
    }

    .stat-item h3 {
        font-size: 2rem
    }

    .solutions-mega-grid {
        grid-template-columns: 1fr
    }

    .features-grid,
    .steps-grid,
    .about-grid,
    .testimonials-grid {
        grid-template-columns: 1fr
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .ia-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: .5rem
    }

    .dashboard-3d {
        transform: none
    }

    .hero-metrics {
        gap: .8rem
    }

    .hero-metric-value {
        font-size: 1.1rem
    }

    /* --- Mobile nav: hidden by default --- */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 1.5rem 0 2rem;
        list-style: none
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: .8rem
    }

    .nav-links a {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, .85) !important;
        display: block;
        padding: .85rem 0;
        transition: color .2s, padding-left .2s
    }

    .nav-links a:hover {
        color: #fff !important;
        padding-left: .5rem
    }

    .nav-links a::after {
        display: none !important
    }

    .nav-links a.active {
        color: #a78bfa !important
    }

    .nav-links .btn-nav-cta {
        width: 100%;
        justify-content: center;
        padding: .85rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
        margin-top: .5rem
    }

    .nav-links .nav-country-wrapper {
        padding: .5rem 0;
        width: 100%;
        border-bottom: none
    }

    .nav-links .nav-country-select {
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230f172a'/%3E%3C/svg%3E") no-repeat right .8rem center !important;
        border: 1px solid #cbd5e1;
        color: var(--navy) !important;
        width: 100%;
        padding: .55rem .8rem;
        font-size: .9rem;
        font-weight: 600;
        border-radius: 10px;
        padding-right: 2rem
    }

    .nav-links .nav-country-select option {
        background: #fff;
        color: var(--navy)
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: .8rem
    }

    /* --- Navbar expands to fullscreen when open --- */
    .navbar.nav-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        background: var(--navy);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        padding: .7rem 0;
        z-index: 9999;
        overflow-y: auto
    }

    .navbar.nav-open .navbar-inner {
        flex-wrap: wrap;
        align-items: flex-start;
        align-content: flex-start
    }

    .navbar.nav-open .logo img {
        filter: brightness(0) invert(1)
    }

    .navbar.nav-open .mobile-toggle {
        color: #fff
    }

    .navbar.nav-open .nav-links {
        display: flex
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center
    }

    .cta-box {
        padding: 3rem 1.5rem
    }

    .cta-box h2 {
        font-size: 1.8rem
    }

    .section-title {
        font-size: 1.8rem
    }

    .section-desc {
        font-size: .95rem
    }

    .contact-methods {
        flex-direction: column;
        align-items: center
    }

    .trust-logos {
        gap: 1.5rem
    }

    .wa-float-label {
        display: none
    }

    .hero-actions {
        flex-direction: column;
        width: 100%
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center
    }

    .scroll-indicator {
        display: none
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem
    }

    .hero h1 {
        font-size: 1.8rem
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .ia-metrics {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr
    }
}

/* ============ DOCUMENTATION ============ */
.doc-section {
    margin-bottom: 2rem
}

.doc-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.doc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    margin-bottom: 1rem;
    transition: border-color .3s
}

.doc-card:hover {
    border-color: rgba(99, 102, 241, .2)
}

.doc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.doc-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: .8rem
}

.doc-card ul,
.doc-card ol {
    padding-left: 1.2rem;
    color: var(--text);
    font-size: .9rem;
    line-height: 2
}

.doc-card li {
    padding: .15rem 0
}

.doc-card code {
    background: var(--bg);
    padding: .15rem .5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .82rem;
    color: var(--purple)
}

.doc-card pre {
    margin-top: .8rem;
    overflow-x: auto
}

@media (max-width: 768px) {
    .doc-card {
        padding: 1.2rem
    }
}