/* ═══════════════════════════════════════════════════════════════════════════
   Glosador Landing Page — Premium Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ────────────────────────────────────────────────────── */
:root {
    --navy-900: #060e1a;
    --navy-800: #0a1628;
    --navy-700: #0d1b2a;
    --navy-600: #1b2838;
    --navy-500: #243447;
    --navy-400: #2a3a4a;
    --gold-600: #a8861e;
    --gold-500: #c9a227;
    --gold-400: #d4ad2e;
    --gold-300: #e0c04a;
    --gold-200: #f0d87a;
    --gold-100: #fdf3d0;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93bbfd;
    --gray-700: #4a5568;
    --gray-600: #636e80;
    --gray-500: #778da9;
    --gray-400: #9ba8b8;
    --gray-300: #bec8d4;
    --gray-200: #d9dee5;
    --gray-100: #eef1f5;
    --teal-500: #2dd4bf;
    --teal-400: #5eead4;
    --teal-300: #99f6e4;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
}

/* ─── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); background: var(--navy-900); color: var(--gray-300); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ─── SCROLLBAR ────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* ─── PARTICLE CANVAS ──────────────────────────────────────────────────── */
#particle-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: .4;
    will-change: contents;
}

/* ═══ NAVIGATION ═══════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 40px; height: 72px;
    display: flex; align-items: center;
    background: rgba(6, 14, 26, .6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(201, 162, 39, .08);
    transition: all .3s ease;
}
.nav.scrolled {
    background: rgba(6, 14, 26, .92);
    border-bottom-color: rgba(201, 162, 39, .15);
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-inner {
    max-width: 1320px; width: 100%; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon svg { width: 36px; height: 36px; }
.nav-logo-text {
    font-size: 20px; font-weight: 800; letter-spacing: 5px; color: var(--gold-500);
    font-family: var(--font-sans);
}
.nav-links { display: flex; gap: 36px; }
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--gray-400);
    letter-spacing: .5px; transition: color .2s;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gold-500);
    transition: width .3s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link-legal {
    color: var(--gold-400);
    padding: 4px 12px;
    background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.2);
    border-radius: 6px;
}
.nav-link-legal::after { display: none; }
.nav-link-legal:hover {
    color: var(--gold-300);
    background: rgba(201,162,39,.15);
    border-color: rgba(201,162,39,.4);
}
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-nav-login {
    padding: 8px 20px; font-size: 13px; font-weight: 600;
    color: var(--gray-300); border: 1px solid var(--navy-400);
    border-radius: 8px; transition: all .2s;
    letter-spacing: .5px;
}
.btn-nav-login:hover { color: var(--white); border-color: var(--gray-500); background: rgba(255,255,255,.05); }
.btn-nav-demo {
    padding: 8px 24px; font-size: 13px; font-weight: 600;
    color: var(--navy-900); background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 8px; transition: all .3s; letter-spacing: .5px;
    box-shadow: 0 2px 10px rgba(201,162,39,.25);
}
.btn-nav-demo:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,162,39,.4); }

/* Mobile nav toggle */
.nav-mobile-toggle {
    display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-mobile-toggle span {
    width: 22px; height: 2px; background: var(--gray-400);
    border-radius: 2px; transition: all .3s;
}
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(6, 14, 26, .95); backdrop-filter: blur(20px);
    padding: 24px 40px; z-index: 999;
    flex-direction: column; gap: 16px;
    border-bottom: 1px solid rgba(201,162,39,.1);
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 16px; color: var(--gray-400); padding: 8px 0; }
.mobile-link:hover { color: var(--gold-500); }
.mobile-legal-links {
    display: flex; gap: 12px; padding: 12px 0;
    border-top: 1px solid rgba(201,162,39,.1);
    margin-top: 8px;
}
.mobile-link-legal {
    font-size: 14px; font-weight: 600; color: var(--gold-400);
    padding: 8px 16px; background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.2); border-radius: 8px;
    transition: all .2s;
}
.mobile-link-legal:hover { background: rgba(201,162,39,.15); border-color: rgba(201,162,39,.4); }
.mobile-actions { display: flex; gap: 12px; margin-top: 8px; }

/* ═══ HERO ══════════════════════════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh; overflow: hidden;
    display: flex; align-items: center; padding: 120px 40px 80px;
}
.hero-bg-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(201,162,39,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,162,39,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0;
}
.hero-glow-1 {
    width: 600px; height: 600px; top: -100px; left: -100px;
    background: radial-gradient(circle, rgba(201,162,39,.12), transparent 70%);
}
.hero-glow-2 {
    width: 500px; height: 500px; bottom: -50px; right: -50px;
    background: radial-gradient(circle, rgba(59,130,246,.08), transparent 70%);
}
.hero-content {
    position: relative; z-index: 2; max-width: 640px; flex: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px 6px 12px; margin-bottom: 28px;
    background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.2);
    border-radius: 100px; font-size: 12px; font-weight: 600;
    color: var(--gold-400); letter-spacing: .5px;
    text-transform: uppercase;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-500);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,162,39,.6); }
    50% { opacity: .7; box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-sans); font-size: clamp(40px, 5vw, 64px);
    font-weight: 800; line-height: 1.1; color: var(--white);
    margin-bottom: 24px; letter-spacing: -1px;
}
.hero-title-line { display: block; }
.hero-accent {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 18px; line-height: 1.8; color: var(--gray-400);
    margin-bottom: 40px; max-width: 520px;
}

/* Hero Legal Links — Prominent */
.hero-legal {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 48px; flex-wrap: wrap;
}
.hero-legal-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; font-size: 13px; font-weight: 600;
    color: var(--gold-400); letter-spacing: .5px;
    background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.25);
    border-radius: 10px; transition: all .3s;
}
.hero-legal-btn svg { opacity: .7; flex-shrink: 0; }
.hero-legal-btn:hover {
    color: var(--gold-300);
    background: rgba(201,162,39,.15);
    border-color: rgba(201,162,39,.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,162,39,.15);
}
.hero-legal-divider {
    width: 1px; height: 24px;
    background: rgba(201,162,39,.2);
}

/* Hero CTAs */
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; font-size: 15px; font-weight: 600;
    color: var(--navy-900); background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    border-radius: 12px; transition: all .3s;
    box-shadow: 0 4px 20px rgba(201,162,39,.3), inset 0 1px 0 rgba(255,255,255,.2);
    letter-spacing: .3px;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,162,39,.45), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; font-size: 15px; font-weight: 500;
    color: var(--gray-300); border: 1px solid var(--navy-400);
    border-radius: 12px; transition: all .3s;
    background: rgba(255,255,255,.02);
}
.btn-hero-secondary:hover {
    color: var(--white); border-color: var(--gray-500);
    background: rgba(255,255,255,.06);
}

/* Hero Metrics */
.hero-metrics {
    display: flex; gap: 32px; align-items: center;
}
.hero-metric { text-align: center; }
.hero-metric-value {
    display: block; font-size: 32px; font-weight: 800;
    color: var(--gold-500); font-family: var(--font-mono);
    letter-spacing: -1px;
}
.hero-metric-label {
    display: block; font-size: 12px; color: var(--gray-500);
    margin-top: 4px; letter-spacing: .5px; text-transform: uppercase;
}
.hero-metric-divider {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, var(--navy-400), transparent);
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative; z-index: 2; flex: 1;
    display: flex; justify-content: center; align-items: center;
    min-width: 480px;
}
.hero-mockup {
    width: 420px; background: var(--navy-700);
    border: 1px solid var(--navy-400); border-radius: 12px;
    overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(201,162,39,.05);
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: transform .6s ease;
}
.hero-mockup:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.mockup-topbar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: var(--navy-800);
    border-bottom: 1px solid var(--navy-500);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }
.mockup-url {
    flex: 1; text-align: center; font-size: 11px;
    color: var(--gray-500); font-family: var(--font-mono);
    background: var(--navy-900); padding: 4px 12px; border-radius: 6px;
}
.mockup-body { display: flex; min-height: 260px; }
.mockup-body-tabs { flex-direction: column; }
.mockup-tabs {
    display: flex; gap: 0; padding: 0 12px;
    background: var(--navy-800); border-bottom: 1px solid var(--navy-500);
}
.mockup-tab {
    padding: 8px 10px; font-size: 9px; font-weight: 600;
    color: var(--gray-500); letter-spacing: .3px;
    border-bottom: 2px solid transparent; transition: all .3s;
    font-family: var(--font-sans);
}
.mockup-tab.active {
    color: var(--blue-400); border-bottom-color: var(--blue-400);
}
.mockup-content { flex: 1; padding: 16px; }
.mockup-content-full { padding: 12px; }
.mockup-doc-list { display: flex; flex-direction: column; gap: 6px; }
.mockup-doc-item {
    height: 32px; background: var(--navy-800); border: 1px solid var(--navy-500);
    border-radius: 4px; position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 8px; padding: 0 10px;
}
.mockup-doc-type {
    font-size: 7px; font-weight: 700; letter-spacing: .5px;
    padding: 2px 6px; border-radius: 3px; flex-shrink: 0;
    font-family: var(--font-mono);
}
.mockup-type-decreto { background: rgba(239,68,68,.15); color: #f87171; }
.mockup-type-acuerdo { background: rgba(59,130,246,.15); color: #60a5fa; }
.mockup-type-aviso { background: rgba(201,162,39,.15); color: var(--gold-400); }
.mockup-type-circular { background: rgba(139,92,246,.15); color: #a78bfa; }
.mockup-doc-text {
    flex: 1; height: 6px; background: var(--navy-400);
    border-radius: 3px; opacity: .4;
}

/* Floating cards */
.hero-floating-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    padding: 12px 18px; background: rgba(27,40,56,.9);
    border: 1px solid var(--navy-400); border-radius: 10px;
    font-size: 12px; color: var(--gray-300); font-weight: 500;
    backdrop-filter: blur(12px); white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    animation: float 6s ease-in-out infinite;
}
.hero-floating-card.card-1 { top: 20%; right: -20px; animation-delay: 0s; }
.hero-floating-card.card-2 { bottom: 15%; left: -10px; animation-delay: 3s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ═══ ANIMATIONS ═══════════════════════════════════════════════════════ */
.animate-in {
    opacity: 0; transform: translateY(30px);
    transition: all .8s cubic-bezier(.16, 1, .3, 1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }

/* ═══ TRUSTED ══════════════════════════════════════════════════════════ */
.trusted {
    position: relative; z-index: 2; padding: 48px 40px;
    border-top: 1px solid rgba(201,162,39,.06);
    border-bottom: 1px solid rgba(201,162,39,.06);
    background: rgba(10,22,40,.5);
}
.trusted-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.trusted-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    color: var(--gray-600); margin-bottom: 28px; font-weight: 600;
}
.trusted-logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trusted-logo-item {
    font-size: 14px; font-weight: 700; color: var(--gray-500);
    letter-spacing: 2px; text-transform: uppercase; opacity: .5;
    transition: opacity .3s;
}
.trusted-logo-item:hover { opacity: 1; color: var(--gold-500); }

/* ═══ SECTIONS (shared) ═══════════════════════════════════════════════ */
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 4px 14px; margin-bottom: 16px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--gold-500);
    background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.15);
    border-radius: 100px;
}
.section-title {
    font-size: clamp(32px, 4vw, 48px); font-weight: 800;
    color: var(--white); line-height: 1.2; margin-bottom: 16px;
    letter-spacing: -1px;
}
.section-title em {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 17px; color: var(--gray-400); max-width: 600px;
    margin: 0 auto; line-height: 1.7;
}

/* ═══ PRODUCTS ═════════════════════════════════════════════════════════ */
.products { position: relative; z-index: 2; padding: 120px 40px; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.product-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.product-card {
    position: relative; border-radius: 20px; overflow: hidden;
    background: var(--navy-700); border: 1px solid var(--navy-400);
    transition: all .4s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,162,39,.3);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.product-glosadof:hover { border-color: rgba(59,130,246,.3); }
.product-card-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    filter: blur(100px); pointer-events: none; opacity: 0;
    transition: opacity .4s;
}
.product-glosador .product-card-glow { background: rgba(201,162,39,.08); }
.product-glosadof .product-card-glow { background: rgba(59,130,246,.08); }
.product-card:hover .product-card-glow { opacity: 1; }
.product-card-inner { position: relative; z-index: 1; padding: 48px 40px; }
.product-icon { margin-bottom: 24px; }
.product-icon svg { width: 64px; height: 64px; }
.product-badge {
    display: inline-block; padding: 4px 12px; margin-bottom: 12px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--gold-500);
    background: rgba(201,162,39,.1); border-radius: 6px;
}
.product-badge-blue { color: var(--blue-400); background: rgba(59,130,246,.1); }
.product-name {
    font-size: 36px; font-weight: 900; color: var(--gold-500);
    letter-spacing: 4px; margin-bottom: 8px;
}
.product-name-blue { color: var(--blue-400); }
.product-tagline {
    font-size: 16px; color: var(--gray-400); margin-bottom: 20px;
    font-style: italic; font-family: var(--font-display);
}
.product-desc {
    font-size: 15px; color: var(--gray-400); line-height: 1.7;
    margin-bottom: 28px;
}
.product-features { list-style: none; margin-bottom: 32px; }
.product-features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; font-size: 14px; color: var(--gray-300);
}
.product-features li svg { flex-shrink: 0; margin-top: 2px; }
.btn-product {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: 14px; font-weight: 600;
    color: var(--navy-900); background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 10px; transition: all .3s; letter-spacing: .3px;
    box-shadow: 0 2px 10px rgba(201,162,39,.2);
}
.btn-product:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,.35); }
.btn-product-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    box-shadow: 0 2px 10px rgba(59,130,246,.2);
}
.btn-product-blue:hover { box-shadow: 0 6px 20px rgba(59,130,246,.35); }
.btn-product-disabled {
    background: var(--navy-500); color: var(--gray-500); cursor: default;
    box-shadow: none; pointer-events: none; opacity: .6;
}

/* ═══ FEATURES ═════════════════════════════════════════════════════════ */
.features {
    position: relative; z-index: 2; padding: 120px 40px;
    background: linear-gradient(180deg, rgba(10,22,40,.3), transparent);
    content-visibility: auto; contain-intrinsic-size: auto 700px;
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    padding: 36px 28px; background: var(--navy-700);
    border: 1px solid var(--navy-400); border-radius: 16px;
    transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    opacity: 0; transition: opacity .3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,162,39,.2);
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon { margin-bottom: 20px; }
.feature-icon svg { width: 48px; height: 48px; }
.feature-name {
    font-size: 18px; font-weight: 700; color: var(--white);
    margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

/* ═══ STATS ════════════════════════════════════════════════════════════ */
.stats {
    position: relative; z-index: 2; padding: 80px 40px;
    background: linear-gradient(135deg, rgba(201,162,39,.04), rgba(59,130,246,.02));
    border-top: 1px solid rgba(201,162,39,.06);
    border-bottom: 1px solid rgba(201,162,39,.06);
    content-visibility: auto; contain-intrinsic-size: auto 300px;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
    text-align: center;
}
.stat-item { position: relative; }
.stat-number {
    font-size: 56px; font-weight: 900; color: var(--gold-500);
    font-family: var(--font-mono); letter-spacing: -2px;
    line-height: 1;
}
.stat-suffix {
    font-size: 28px; font-weight: 700; color: var(--gold-400);
    vertical-align: super; margin-left: 2px;
}
.stat-label {
    display: block; font-size: 13px; color: var(--gray-500);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-top: 8px; font-weight: 600;
}

/* ═══ COVERAGE ═════════════════════════════════════════════════════════ */
.coverage { position: relative; z-index: 2; padding: 120px 40px; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.coverage-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.coverage-card {
    text-align: center; padding: 36px 24px;
    background: var(--navy-700); border: 1px solid var(--navy-400);
    border-radius: 16px; transition: all .3s;
}
.coverage-card:hover {
    transform: translateY(-4px); border-color: rgba(201,162,39,.2);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.coverage-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201,162,39,.06); border-radius: 12px;
    color: var(--accent, var(--gold-500));
}
.coverage-icon svg { width: 28px; height: 28px; }
.coverage-card h4 {
    font-size: 16px; font-weight: 700; color: var(--white);
    margin-bottom: 8px;
}
.coverage-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ═══ CTA ══════════════════════════════════════════════════════════════ */
.cta-section {
    position: relative; z-index: 2; padding: 120px 40px;
    text-align: center;
    content-visibility: auto; contain-intrinsic-size: auto 500px;
}
.cta-content {
    max-width: 640px; margin: 0 auto;
    padding: 80px 60px; background: var(--navy-700);
    border: 1px solid var(--navy-400); border-radius: 24px;
    position: relative; overflow: hidden;
}
.cta-content::before {
    content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,.06), transparent 70%);
    pointer-events: none;
}
.cta-title {
    font-size: 36px; font-weight: 800; color: var(--white);
    margin-bottom: 16px; position: relative;
}
.cta-subtitle {
    font-size: 16px; color: var(--gray-400); line-height: 1.7;
    margin-bottom: 36px; position: relative;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; flex-wrap: wrap; }
.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; font-size: 15px; font-weight: 700;
    color: var(--navy-900); background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    border-radius: 12px; transition: all .3s;
    box-shadow: 0 4px 20px rgba(201,162,39,.3);
    letter-spacing: .3px;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,.45); }
.btn-cta-secondary {
    display: inline-flex; align-items: center;
    padding: 16px 36px; font-size: 15px; font-weight: 600;
    color: var(--gray-300); border: 1px solid var(--navy-400);
    border-radius: 12px; transition: all .3s;
}
.btn-cta-secondary:hover { color: var(--white); border-color: var(--gray-500); }

/* ═══ FOOTER ═══════════════════════════════════════════════════════════ */
.footer {
    position: relative; z-index: 2; padding: 80px 40px 40px;
    background: var(--navy-800); border-top: 1px solid rgba(201,162,39,.08);
    content-visibility: auto; contain-intrinsic-size: auto 400px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo span { font-size: 18px; font-weight: 800; letter-spacing: 4px; color: var(--gold-500); }
.footer-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--gray-400); margin-bottom: 4px;
}
.footer-col a {
    font-size: 14px; color: var(--gray-500); transition: color .2s;
}
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--navy-500);
}
.footer-bottom p { font-size: 13px; color: var(--gray-600); }
.footer-bottom-links { display: flex; gap: 8px; font-size: 13px; }
.footer-bottom-links a { color: var(--gray-500); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--gold-500); }
.footer-divider { color: var(--navy-500); }

/* ═══ BRAND IDENTITY — MESOAMERICAN ═══════════════════════════════════ */

/* Logo text branding: Glosa=gold, DOF=teal */
.logo-glosa { color: var(--gold-500); }
.logo-dof { color: var(--teal-500); }

/* Nav logo image */
.nav-logo-img {
    width: 42px; height: 42px; object-fit: contain;
    border-radius: 4px;
    filter: drop-shadow(0 0 8px rgba(201,162,39,.2));
}

/* Footer logo image */
.footer-logo-img {
    width: 34px; height: 34px; object-fit: contain;
    border-radius: 3px;
}

/* Greca xicalcoliuhqui divider */
.greca-divider {
    width: 100%; height: 28px; position: relative; z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M0 20 L0 10 L10 10 L10 0 L20 0 L20 10 L30 10 L30 20 L40 20' fill='none' stroke='%23c9a227' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x center;
    background-size: 40px 20px;
    opacity: 0.15;
    margin: 0 auto;
    max-width: 600px;
}

/* Codex decorative elements */
.codex-deco {
    position: absolute; z-index: 1; pointer-events: none;
    color: var(--gold-500); opacity: 0.06;
}
.codex-deco svg { width: 100%; height: 100%; }

/* Xicalcoliuhqui spiral corners — hero */
.codex-deco-tl { top: 120px; left: 24px; width: 160px; height: 160px; }
.codex-deco-br { bottom: 40px; right: 24px; width: 160px; height: 160px; }

/* Speech scroll volutes — features */
.codex-deco-volute-l { top: 60px; left: 20px; width: 90px; height: 90px; opacity: 0.08; }
.codex-deco-volute-r { top: 60px; right: 20px; width: 90px; height: 90px; opacity: 0.08; }

/* ═══ RESPONSIVE ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding: 120px 24px 60px; }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .hero-visual { min-width: auto; margin-top: 60px; }
    .hero-mockup { transform: none; }
    .hero-mockup:hover { transform: none; }
    .hero-floating-card { display: none; }
    .product-cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .codex-deco-tl, .codex-deco-br { display: none; }
    .codex-deco-volute-l, .codex-deco-volute-r { width: 60px; height: 60px; }
}
@media (max-width: 768px) {
    /* Nav */
    .nav { padding: 0 16px; height: 64px; }
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-logo-text { font-size: 17px; letter-spacing: 3px; }
    .nav-logo-img { width: 32px; height: 32px; }
    .mobile-menu { padding: 20px 16px; top: 64px; }

    /* Hero */
    .hero { padding: 90px 16px 40px; min-height: auto; }
    .hero-badge { font-size: 10px; padding: 5px 12px 5px 10px; margin-bottom: 20px; }
    .hero-title { font-size: 28px; margin-bottom: 16px; letter-spacing: -.5px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 28px; max-width: 100%; line-height: 1.7; }
    .hero-ctas { flex-direction: column; gap: 12px; margin-bottom: 28px; }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%; justify-content: center; padding: 14px 24px; font-size: 14px;
    }
    .hero-metrics { flex-direction: column; gap: 20px; align-items: center; }
    .hero-metric-value { font-size: 26px; }
    .hero-metric-label { font-size: 11px; }
    .hero-metric-divider { width: 40px; height: 1px; }
    .hero-visual { display: none; }
    .hero-legal { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-legal-btn { justify-content: center; font-size: 12px; padding: 10px 16px; }
    .hero-legal-divider { width: 40px; height: 1px; align-self: center; }
    .mobile-legal-links { flex-direction: column; }

    /* Greca & Codex */
    .greca-divider { height: 18px; background-size: 28px 14px; max-width: 200px; }
    .codex-deco { display: none; }

    /* Trusted */
    .trusted { padding: 32px 16px; }
    .trusted-label { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 20px; }
    .trusted-logos { gap: 16px 24px; }
    .trusted-logo-item { font-size: 11px; letter-spacing: 1px; }

    /* Sections shared */
    .section-inner { padding: 0 4px; }
    .section-header { margin-bottom: 40px; }
    .section-tag { font-size: 11px; padding: 3px 12px; }
    .section-title { font-size: 26px; letter-spacing: -.5px; }
    .section-subtitle { font-size: 15px; }

    /* Products */
    .products { padding: 60px 16px; }
    .product-card-inner { padding: 28px 20px; }
    .product-icon svg { width: 48px; height: 48px; }
    .product-name { font-size: 24px; letter-spacing: 2px; }
    .product-tagline { font-size: 14px; }
    .product-desc { font-size: 14px; margin-bottom: 20px; }
    .product-features li { font-size: 13px; padding: 6px 0; }
    .btn-product { width: 100%; justify-content: center; padding: 12px 20px; font-size: 13px; }

    /* Features */
    .features { padding: 60px 16px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 20px; }
    .feature-icon svg { width: 40px; height: 40px; }
    .feature-name { font-size: 16px; }
    .feature-desc { font-size: 13px; }

    /* Stats */
    .stats { padding: 48px 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stat-number { font-size: 36px; letter-spacing: -1px; }
    .stat-suffix { font-size: 18px; }
    .stat-label { font-size: 11px; letter-spacing: 1px; }

    /* Coverage */
    .coverage { padding: 60px 16px; }
    .coverage-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .coverage-card { padding: 24px 16px; }
    .coverage-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .coverage-icon svg { width: 22px; height: 22px; }
    .coverage-card h4 { font-size: 14px; }
    .coverage-card p { font-size: 12px; }

    /* CTA */
    .cta-section { padding: 60px 16px; }
    .cta-content { padding: 40px 20px; border-radius: 16px; }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 14px; margin-bottom: 28px; }
    .cta-buttons { flex-direction: column; }
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%; justify-content: center; padding: 14px 24px; font-size: 14px;
    }

    /* Footer */
    .footer { padding: 48px 16px 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
    .footer-desc { font-size: 13px; max-width: 100%; }
    .footer-col h4 { font-size: 11px; }
    .footer-col a { font-size: 13px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding-top: 20px; }
    .footer-bottom p { font-size: 12px; }
    .footer-bottom-links { font-size: 12px; }
}

/* ═══ SMALL PHONES (375px and below) ═══════════════════════════════════ */
@media (max-width: 400px) {
    .hero-title { font-size: 24px; }
    .hero-badge { font-size: 9px; }
    .product-name { font-size: 20px; letter-spacing: 1px; }
    .stat-number { font-size: 30px; }
    .coverage-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══ TERMS & PRIVACY PAGES ═══════════════════════════════════════════ */
.legal-page {
    min-height: 100vh; background: var(--navy-900);
    padding: 120px 40px 80px;
}
.legal-container {
    max-width: 800px; margin: 0 auto;
    background: var(--navy-700); border: 1px solid var(--navy-400);
    border-radius: 16px; padding: 60px 56px;
}
.legal-container h1 {
    font-size: 32px; font-weight: 800; color: var(--white);
    margin-bottom: 8px;
}
.legal-container .legal-date {
    font-size: 14px; color: var(--gray-500); margin-bottom: 40px;
    display: block;
}
.legal-container h2 {
    font-size: 20px; font-weight: 700; color: var(--gold-500);
    margin-top: 36px; margin-bottom: 12px;
}
.legal-container h3 {
    font-size: 16px; font-weight: 600; color: var(--white);
    margin-top: 24px; margin-bottom: 8px;
}
.legal-container p, .legal-container li {
    font-size: 15px; color: var(--gray-400); line-height: 1.8;
    margin-bottom: 12px;
}
.legal-container ul, .legal-container ol {
    padding-left: 24px; margin-bottom: 16px;
}
.legal-container a { color: var(--gold-400); text-decoration: underline; }
.legal-container a:hover { color: var(--gold-300); }
.legal-back {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 32px; font-size: 14px; color: var(--gray-500);
    transition: color .2s;
}
.legal-back:hover { color: var(--gold-500); }
.legal-back svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
    .legal-page { padding: 100px 20px 60px; }
    .legal-container { padding: 36px 24px; }
}
