/* ═══════════════════════════════════════
   AGT CODE — Design System (Light Theme)
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Core palette */
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;

    --fg: #0f172a;
    --fg2: #334155;
    --fg3: #64748b;
    --fg4: #94a3b8;

    --border: #e2e8f0;
    --border-hover: rgba(59, 130, 246, 0.3);

    /* Brand */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dim: rgba(37, 99, 235, 0.06);
    --primary-glow: rgba(37, 99, 235, 0.15);

    /* Product accents */
    --itam-color: #0ea5e9;
    --itam-dim: rgba(14, 165, 233, 0.08);
    --equip-color: #10b981;
    --equip-dim: rgba(16, 185, 129, 0.08);
    --ev-color: #8b5cf6;
    --ev-dim: rgba(139, 92, 246, 0.08);

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing & Radius */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
}

/* ── Reset ──────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--fg4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg3); }

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 80px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; height: 100%;
    padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 4px; text-decoration: none; flex-shrink: 0; min-width: 0;
}
.nav-logo img {
    height: 36px; width: auto; max-width: 100%;
}
.nav-logo-tagline {
    font-size: 14px; font-weight: 500; color: var(--fg3);
    letter-spacing: 0.3px; line-height: 1; margin-left: 2px;
}
.nav-logo-fallback {
    font-family: var(--font-display); font-weight: 800;
    font-size: 22px; color: var(--fg); letter-spacing: -0.5px;
}
.nav-logo-fallback span { color: var(--primary); }

.nav-center {
    display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-center a {
    color: var(--fg3); font-size: 15px; font-weight: 500;
    transition: color 0.2s; position: relative; white-space: nowrap;
}
.nav-center a:hover { color: var(--fg); }
.nav-center a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.25s ease;
}
.nav-center a:hover::after { width: 100%; }

.nav-right {
    display: flex; align-items: center; gap: 12px;
}

/* ─── LANGUAGE DROPDOWN ─── */
.nav-lang-dropdown {
    position: relative;
}
.lang-toggle {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: transparent;
    cursor: pointer; transition: all 0.2s;
    color: var(--fg2); font-family: var(--font-body); font-size: 13px;
}
.lang-toggle:hover {
    background: var(--primary-dim); border-color: var(--border-hover);
}
.lang-flag {
    width: 22px; height: 15px; border-radius: 2px;
    object-fit: cover; display: block;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.lang-code {
    font-family: var(--font-mono); font-weight: 600;
    font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase;
}
.lang-chevron {
    transition: transform 0.2s; opacity: 0.5;
}
.nav-lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}
.lang-menu {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 6px;
    min-width: 200px; z-index: 1000;
    box-shadow: var(--shadow-md);
    animation: langFadeIn 0.15s ease;
}
@keyframes langFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-lang-dropdown.open .lang-menu {
    display: block;
}
.lang-option {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--fg2);
    font-family: var(--font-body); font-size: 14px;
    transition: background 0.15s;
}
.lang-option:hover {
    background: var(--primary-dim);
}
.lang-option.active {
    background: var(--primary-dim); font-weight: 600;
}
.lang-option .lang-name { flex: 1; }
.lang-option .lang-check { color: var(--primary); flex-shrink: 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 14px; border: none; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), background 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.98); transition-duration: 80ms; }
.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-md { padding: 12px 28px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 22px var(--primary-glow); }

.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-dim); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--fg2); padding: 8px 16px; }
.btn-ghost:hover { background: var(--bg-alt); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; transition: background 0.2s ease; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--fg); transition: transform 0.3s ease, opacity 0.2s ease; border-radius: 2px; transform-origin: center; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 140px 48px 100px; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 70%);
}
.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(37,99,235,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center; max-width: 780px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px; background: var(--primary-dim);
    border: 1px solid rgba(37,99,235,0.12); border-radius: 100px;
    font-size: 13px; font-weight: 500; color: var(--primary);
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.3)} }

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800;
    margin-bottom: 20px; color: var(--fg);
}
.hero h1 .grad,
.grad {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--fg2);
    max-width: 560px; margin: 0 auto 40px; line-height: 1.75;
}
.hero-actions {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section { padding: 100px 48px; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-label {
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem; color: var(--fg2); line-height: 1.75;
}

/* ═══════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════ */
.products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1140px; margin: 0 auto;
}
.product-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 28px 28px; display: flex; flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: var(--shadow-xs);
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 24px; right: 24px;
    height: 3px; border-radius: 0 0 3px 3px;
    background: var(--card-accent, var(--primary));
    opacity: 0; transition: opacity 0.35s;
}
.product-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-xl);
    border-color: var(--border-hover);
}
.product-card:hover::before { opacity: 1; }

.product-card[data-product="itam"]      { --card-accent: var(--itam-color); }
.product-card[data-product="equipflow"] { --card-accent: var(--equip-color); }
.product-card[data-product="evsecure"]  { --card-accent: var(--ev-color); }

.product-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 24px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card:hover .product-icon {
    transform: scale(1.08) rotate(-4deg);
}
.product-card[data-product="itam"] .product-icon      { background: var(--itam-dim); }
.product-card[data-product="equipflow"] .product-icon  { background: var(--equip-dim); }
.product-card[data-product="evsecure"] .product-icon   { background: var(--ev-dim); }

.product-badge {
    display: inline-block; font-family: var(--font-mono);
    font-size: 10px; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 3px 10px;
    border-radius: 100px; margin-bottom: 14px; width: fit-content;
}
.product-card[data-product="itam"] .product-badge      { background: var(--itam-dim); color: var(--itam-color); }
.product-card[data-product="equipflow"] .product-badge  { background: var(--equip-dim); color: var(--equip-color); }
.product-card[data-product="evsecure"] .product-badge   { background: var(--ev-dim); color: var(--ev-color); }

.product-name { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.product-desc { font-size: 0.9rem; color: var(--fg2); line-height: 1.7; margin-bottom: 24px; flex-grow: 1; }

.product-features { list-style: none; margin-bottom: 28px; }
.product-features li {
    padding: 7px 0; font-size: 13px; color: var(--fg2);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border);
}
.product-features li:last-child { border-bottom: none; }
.check-icon { color: var(--card-accent, var(--primary)); font-weight: 700; font-size: 14px; }

.product-screenshot {
    width: 100%; height: 180px; border-radius: var(--radius-sm);
    background: var(--bg-alt); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-top: auto; overflow: hidden;
}
.product-screenshot-placeholder {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg4); text-align: center; line-height: 1.6;
}

.product-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; margin-top: 20px;
    color: var(--card-accent, var(--primary)); transition: gap 0.2s;
}
.product-link:hover { gap: 12px; }

/* ═══════════════════════════════════════
   WHY / VALUE CARDS
   ═══════════════════════════════════════ */
.why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; max-width: 1140px; margin: 0 auto;
}
.why-card {
    position: relative;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 24px;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.25s ease;
    box-shadow: var(--shadow-xs);
    will-change: transform;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(37,99,235,0.18), var(--shadow-md);
    border-color: transparent;
}
.why-card:hover::before { opacity: 1; }
.why-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--primary-dim);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; font-size: 20px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
}
.why-card:hover .why-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--primary-dim), rgba(6,182,212,0.12));
}
.why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--fg2); line-height: 1.65; }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section { text-align: center; }
.cta-box {
    max-width: 760px; margin: 0 auto; padding: 72px 56px;
    background: linear-gradient(135deg, var(--primary-dim), rgba(6,182,212,0.06));
    border: 1px solid rgba(37,99,235,0.08); border-radius: var(--radius-xl);
}
.cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
    margin-bottom: 14px;
}
.cta-box p { font-size: 1rem; color: var(--fg2); margin-bottom: 32px; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--bg-white); border-top: 1px solid var(--border);
    padding: 56px 48px 28px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; max-width: 1140px; margin: 0 auto;
    padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 28px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--fg3); line-height: 1.7; max-width: 300px; }

.footer-col h4 {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--fg4); margin-bottom: 18px;
}
.footer-col a {
    display: block; font-size: 13px; color: var(--fg3);
    padding: 5px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    max-width: 1140px; margin: 0 auto; padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--fg4); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: all 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.animate-enter {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* ═══════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════ */
.container { max-width: 1140px; margin: 0 auto; }
.text-center { text-align: center; }
.text-muted { color: var(--fg3); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.gap-sm { gap: 8px; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ═══ THEME TOGGLE BUTTON ═══ */
.theme-toggle {
    background: none; border: 1px solid var(--border); border-radius: 8px;
    padding: 7px 9px; cursor: pointer; color: var(--fg3);
    display: flex; align-items: center; transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--border-hover); color: var(--fg); background: var(--primary-dim); }

/* ═══ DARK MODE ═══ */
[data-theme="dark"] {
    --bg: #080b14;
    --bg-white: #111827;
    --bg-alt: #0c1220;
    --bg-card: #141a2a;
    --fg: #f1f5f9;
    --fg2: #cbd5e1;
    --fg3: #94a3b8;
    --fg4: #64748b;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(99,102,241,0.35);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dim: rgba(99,102,241,0.1);
    --primary-glow: rgba(99,102,241,0.2);
    --itam-color: #38bdf8;
    --itam-dim: rgba(56,189,248,0.1);
    --equip-color: #34d399;
    --equip-dim: rgba(52,211,153,0.1);
    --ev-color: #a78bfa;
    --ev-dim: rgba(167,139,250,0.1);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
}
/* Logo theme switching */
.logo-dark { display: none; }
.logo-light { display: inline-block; }
[data-theme="dark"] .logo-dark { display: inline-block; }
[data-theme="dark"] .logo-light { display: none; }

[data-theme="dark"] body {
    background: linear-gradient(180deg, #080b14 0%, #12162a 50%, #1a1040 100%) fixed;
}
[data-theme="dark"] .navbar { background: rgba(8,11,20,0.85); }
[data-theme="dark"] .navbar.scrolled { background: rgba(8,11,20,0.96); }
[data-theme="dark"] .footer { background: rgba(8,11,20,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-theme="dark"] .hero { background: transparent; }
[data-theme="dark"] .section-alt { background: rgba(8,11,20,0.35); }
[data-theme="dark"] .legal-page { background: transparent; }
[data-theme="dark"] .product-card { background: rgba(20,26,42,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
[data-theme="dark"] .why-card { background: rgba(20,26,42,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
[data-theme="dark"] .cta-box { background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08)); border-color: rgba(99,102,241,0.15); }
[data-theme="dark"] .hero-badge { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.2); color: #818cf8; }
[data-theme="dark"] .hero-badge-dot { background: #818cf8; }

@media (max-width: 768px) {
    html { scroll-padding-top: 72px; }
    .navbar { height: 64px; }
    .nav-container { padding: 0 16px; gap: 8px; }
    .nav-logo img { height: 28px; }
    .nav-logo-tagline { display: none; }
    .nav-right { gap: 6px; }
    .nav-center { display: none; }
    .nav-hamburger {
        display: flex;
        width: 40px; height: 40px;
        border-radius: 8px;
        padding: 0;
        justify-content: center; align-items: center;
    }
    .nav-hamburger:hover { background: var(--primary-dim); }

    /* Hamburger menu — panel que aparece quando clicado */
    .nav-center.show {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        gap: 2px;
        padding: 12px 16px;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        z-index: 999;
        animation: nav-slide-down 0.22s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    [data-theme="dark"] .nav-center.show {
        background: rgba(12,18,32,0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .nav-center.show li { list-style: none; width: 100%; }
    .nav-center.show a {
        display: block;
        padding: 14px 16px;
        border-radius: 8px;
        color: var(--fg);
        font-size: 15px;
        font-weight: 500;
        transition: background 0.15s ease, color 0.15s ease;
    }
    .nav-center.show a::after { display: none; }
    .nav-center.show a:hover,
    .nav-center.show a:active {
        background: var(--primary-dim);
        color: var(--primary);
    }
    @keyframes nav-slide-down {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .section { padding: 72px 20px; }
    .hero { padding: 120px 20px 72px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand img { height: 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-box { padding: 48px 28px; }
}

@media (max-width: 380px) {
    .nav-logo img { height: 24px; }
    .nav-right { gap: 4px; }
    .lang-toggle { padding: 6px 8px; }
    .lang-toggle .lang-code { display: none; }
    .theme-toggle { padding: 7px 8px; }
}

/* ═══ Reduced-motion — respeitar utilizadores com preferência de menos animação ═══ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .why-card:hover,
    .product-card:hover,
    .btn-primary:hover,
    .btn-outline:hover,
    .faq-item:hover,
    .as-phone-frame:hover,
    .why-card:hover .why-icon,
    .product-card:hover .product-icon {
        transform: none !important;
    }
}

/* ═══════════════════════════════════════
   PRODUCT CARD — video cover (homepage)
   ═══════════════════════════════════════ */
.product-card-cover {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    text-decoration: none;
    cursor: pointer;
    margin-top: auto;
    transition: transform 220ms cubic-bezier(0.25,0.46,0.45,0.94),
                box-shadow 220ms ease;
}
.product-card-cover:hover,
.product-card-cover:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -10px rgba(0,0,0,0.18);
}
.product-card-cover picture,
.product-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card-cover-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1),
                background 200ms ease;
    pointer-events: none;
}
.product-card-cover:hover .product-card-cover-play,
.product-card-cover:focus-visible .product-card-cover-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}
.product-card-cover-play svg {
    margin-left: 3px; /* corrige assimetria visual do triângulo */
}

/* ═══════════════════════════════════════
   PRODUCT VIDEO — secção na página /products/animasom
   ═══════════════════════════════════════ */
.product-video-section {
    padding: 72px 24px;
    background: var(--bg);
}
.product-video-container {
    max-width: 960px;
    margin: 0 auto;
}
.product-video-header {
    text-align: center;
    margin-bottom: 32px;
}
.product-video-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--fg);
    letter-spacing: -0.01em;
}
.product-video-header p {
    font-size: 1.05rem;
    color: var(--fg2);
    margin: 0;
}
.product-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px -12px rgba(0,0,0,0.28);
    background: #000;
}
.product-video-wrapper lite-youtube {
    width: 100%; height: 100%; max-width: none;
    border-radius: inherit;
}
[data-theme="dark"] .product-video-section { background: transparent; }

@media (max-width: 768px) {
    .product-video-section { padding: 48px 16px; }
    .product-video-wrapper { border-radius: var(--radius); }
    .product-card-cover-play { width: 56px; height: 56px; }
}

/* Pequenos ajustes ao componente lite-youtube (sem alterar comportamento) */
lite-youtube { background-color: #000; }
lite-youtube > .lty-playbtn { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
