/* ============================================================
   SYRIO DESIGN SYSTEM — Warm, Organic, Constellation Theme
   Colors match app/src/constants/colors.ts exactly
   With dark mode + smooth transitions
   ============================================================ */
:root {
    --primary: #CF6637;
    --primary-dark: #A84E22;
    --primary-light: #FDEFEA;
    --accent: #E8941F;
    --accent-light: #FFF3E0;
    --accent-dark: #CC7A15;
    --bg: #F8F5F0;
    --surface: #FFFFFF;
    --surface-hover: #F2EDE7;
    --text: #1F1610;
    --text-secondary: #7A6A5E;
    --text-muted: #8B7A6A;
    --border: #E5DDD4;
    --green: #3E8A5F;
    --green-light: #E8F5EE;
    --green-dark: #2A6B45;
    --amber: #E89B20;
    --amber-light: #FFF8E1;
    --amber-dark: #9A5E08;
    --emergency: #E04040;
    --emergency-light: #FEF0F0;
    --star: #D4830F;
    --star-light: #FFF8E1;
    --white: #FFFFFF;
    --skeleton: #E8E1D8;
    --skeleton-shimmer: #F0EBE5;
    color-scheme: light dark;
}

/* ─── Dark Mode (Agente 47) ─── */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #C3825E;
        --primary-dark: #A36B4A;
        --primary-light: rgba(195, 130, 94, 0.12);
        --accent: #D49B3E;
        --accent-light: rgba(212, 155, 62, 0.12);
        --bg: #161210;
        --surface: #241E18;
        --surface-hover: #2A2218;
        --text: #F5EDE2;
        --text-secondary: #B8A69A;
        --text-muted: #8B7A6A;
        --border: #3A2E24;
        --green: #4EA875;
        --green-light: rgba(78, 168, 117, 0.12);
        --amber: #D49B3E;
        --amber-light: rgba(212, 155, 62, 0.1);
        --emergency: #E06060;
        --emergency-light: rgba(224, 96, 96, 0.1);
        --skeleton: #2A2218;
        --skeleton-shimmer: #322A20;
        --star: #D49B3E;
    }
    .footer { background: #0D0A08; }
    .navbar.scrolled { background: rgba(22, 18, 16, 0.88); }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.4s ease;
}

/* ─── Smooth transitions for interactive elements ─── */
.bento-card, .blog-card, .screenshot-card, .newsletter-box,
.navbar, .btn-primary, .btn-secondary, .nav-cta,
input, button, .trust-item, .newsletter-form input,
.footer, .section, .hero, .cta-section {
    transition: background 0.4s ease, border-color 0.4s ease,
                color 0.3s ease, box-shadow 0.3s ease,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#constellation-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0; opacity: 0.45;
}

.organic-blob {
    position: absolute;
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    filter: blur(60px); opacity: 0.10; pointer-events: none;
}

.main-content { position: relative; z-index: 1; }

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

.section { padding: 100px 0; position: relative; }

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
    background: rgba(248, 245, 240, 0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.navbar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo span { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 15px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 22px; border-radius: 14px; font-weight: 700 !important; transition: all 0.2s !important; }
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(207,102,55,0.25); }

/* ─── Hero ─── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-text h1 { font-size: clamp(38px, 5.5vw, 60px); font-weight: 900; line-height: 1.08; color: var(--text); margin-bottom: 20px; letter-spacing: -0.04em; }
.hero-text h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.hero-text h1 .highlight::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 8px; background: var(--primary-light); border-radius: 4px; z-index: -1; opacity: 0.7; }
.hero-text p { font-size: 19px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary), #E07B4A); color: #fff;
    border: none; padding: 18px 32px; border-radius: 16px;
    font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: glow-pulse 3s ease-in-out infinite;
    position: relative; overflow: hidden;
}
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%); transform: translateX(-100%); transition: transform 0.6s; }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(207,102,55,0.35); }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(207,102,55,0.35); } 50% { box-shadow: 0 0 0 16px rgba(207,102,55,0); } }

.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--primary); border: 2px solid var(--primary-light); padding: 18px 32px; border-radius: 16px; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.2s; }
.btn-secondary:hover { background: var(--primary-light); border-color: var(--primary); }

.trust-badges { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.trust-badge .stars { color: var(--amber); letter-spacing: 1px; }

/* ─── Video Placeholder ─── */
.video-placeholder { width: 100%; aspect-ratio: 9/16; max-width: 320px; margin: 0 auto; background: linear-gradient(135deg, var(--primary-light), var(--amber-light)); border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 2px dashed var(--primary); position: relative; overflow: hidden; cursor: default; transition: all 0.3s; }
.video-placeholder:hover { border-color: var(--amber); transform: scale(1.02); box-shadow: 0 16px 48px rgba(207,102,55,0.15); }
.video-placeholder .play-icon { width: 72px; height: 72px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; animation: play-pulse 2s ease-in-out infinite; }
@keyframes play-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(207,102,55,0.4); } 50% { box-shadow: 0 0 0 20px rgba(207,102,55,0); } }
.video-placeholder .label { font-size: 14px; font-weight: 700; color: var(--primary); text-align: center; padding: 0 24px; }
.video-placeholder .sub-label { font-size: 12px; color: var(--text-muted); }

/* ─── Phone Mockup ─── */
.phone-mockup { position: relative; width: 300px; height: 600px; margin: 0 auto; perspective: 1200px; }
.phone-mockup-inner { width: 100%; height: 100%; background: linear-gradient(145deg, #2a2a2a, #111); border-radius: 40px; padding: 14px; box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 0 2px #333, 0 0 0 7px #141414, 0 32px 84px rgba(207,102,55,0.25); position: relative; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease; animation: phone-float 7s ease-in-out infinite; }
.phone-mockup-inner:hover { transform: rotateY(-6deg) rotateX(4deg) scale(1.02); box-shadow: inset 0 2px 4px rgba(255,255,255,0.15), 0 0 0 2px #444, 0 0 0 7px #141414, 0 40px 100px rgba(207,102,55,0.3); }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 28px; overflow: hidden; position: relative; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.8s ease; }
.phone-screen img.active { opacity: 1; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 30px; background: #1a1a1a; border-radius: 0 0 18px 18px; z-index: 2; }

/* ─── Trust Bar ─── */
.trust-bar { display: flex; justify-content: center; gap: 56px; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 80px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--text-secondary); }
.trust-item .icon { font-size: 22px; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; color: var(--primary); margin-bottom: 14px; display: inline-block; background: var(--primary-light); padding: 6px 16px; border-radius: 10px; }
.section-header h2 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; color: var(--text); margin-bottom: 14px; letter-spacing: -0.03em; }
.section-header p { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ─── Features Bento Grid ─── */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-card { background: var(--surface); border-radius: 26px; padding: 36px 30px; position: relative; overflow: hidden; border: 1px solid var(--border); transform: translateY(40px); opacity: 0; animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-play-state: paused; }
.bento-card.visible { animation-play-state: running; border-color: var(--primary-light); }
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(207,102,55,0.10); border-color: var(--primary-light); }
.bento-card.feature-large { grid-column: span 2; }
.bento-icon { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.bento-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -0.02em; }
.bento-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.bento-card .bento-badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 8px; letter-spacing: 0.5px; }

/* ─── Screenshot Carousel ─── */
.screenshot-carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 20px 0; scrollbar-width: none; }
.screenshot-carousel::-webkit-scrollbar { display: none; }
.screenshot-card { flex: 0 0 280px; scroll-snap-align: start; border-radius: 28px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.09); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); border: 3px solid transparent; }
.screenshot-card:hover { transform: translateY(-8px) rotate(2.5deg) scale(1.03); box-shadow: 0 20px 56px rgba(207,102,55,0.25); border-color: var(--primary-light); z-index: 2; position: relative; }
.screenshot-card img { width: 100%; display: block; }

/* ─── Video Showcase Section ─── */
.video-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.video-showcase-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--text); margin-bottom: 16px; letter-spacing: -0.03em; }
.video-showcase-text p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.video-wrapper { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 72px rgba(0,0,0,0.14); }

/* ─── Blog Preview Cards ─── */
.blog-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--surface); border-radius: 24px; overflow: hidden; border: 1px solid var(--border); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; color: inherit; display: block; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(207,102,55,0.10); }
.blog-card-image { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.blog-card-body { padding: 22px 24px 24px; }
.blog-card-category { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px; }
.blog-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.blog-card-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-muted); margin-top: 14px; font-weight: 600; }

/* ─── Newsletter ─── */
.newsletter-box { background: var(--surface); border-radius: 28px; padding: 56px; text-align: center; border: 1px solid var(--border); position: relative; overflow: hidden; }
.newsletter-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, transparent 60%); opacity: 0.3; pointer-events: none; }
.newsletter-box h2 { font-size: 30px; font-weight: 900; color: var(--text); margin-bottom: 10px; letter-spacing: -0.03em; position: relative; }
.newsletter-box p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; position: relative; }
.newsletter-form { display: flex; gap: 14px; max-width: 460px; margin: 0 auto; position: relative; }
.newsletter-form input { flex: 1; height: 56px; border: 2px solid var(--border); border-radius: 16px; padding: 0 20px; font-size: 16px; background: var(--bg); color: var(--text); font-family: inherit; font-weight: 600; outline: none; transition: all 0.2s; }
.newsletter-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(207,102,55,0.08); }
.newsletter-form button { height: 56px; padding: 0 28px; background: var(--primary); color: #fff; border: none; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--primary-dark); }
.newsletter-success { display: none; color: var(--green); font-size: 16px; font-weight: 700; padding: 14px; position: relative; }

/* ─── CTA Section ─── */
.cta-section { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta-section h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; color: var(--text); margin-bottom: 20px; letter-spacing: -0.03em; }
.cta-section p { font-size: 19px; color: var(--text-secondary); margin-bottom: 36px; }
.cta-tagline { font-size: 22px; color: var(--primary); font-weight: 700; font-style: italic; margin-bottom: 28px; }

/* ─── Footer ─── */
.footer { background: #14110D; color: #B8A69A; padding: 72px 0 36px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
.footer-brand h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.footer-brand p { font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: #B8A69A; text-decoration: none; transition: all 0.2s; font-size: 20px; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-col a { display: block; color: #8B7A6A; text-decoration: none; font-size: 15px; font-weight: 600; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 56px; padding-top: 28px; font-size: 13px; text-align: center; color: #6B5D4F; }

/* ─── Blog Pages ─── */
.blog-header { padding: 140px 0 60px; text-align: center; }
.blog-header h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 30px; padding-bottom: 80px; }
.blog-detail { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; }
.blog-detail h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; color: var(--text); line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.03em; }
.blog-detail .meta { display: flex; gap: 22px; font-size: 14px; color: var(--text-muted); margin-bottom: 36px; font-weight: 600; }
.blog-detail .content { font-size: 18px; line-height: 1.85; color: var(--text-secondary); }
.blog-detail .content h2 { font-size: 26px; color: var(--text); margin: 48px 0 18px; font-weight: 800; }
.blog-detail .content h3 { font-size: 21px; color: var(--text); margin: 36px 0 14px; font-weight: 700; }
.blog-detail .content p { margin-bottom: 20px; }
.blog-detail .content ul { margin: 18px 0; padding-left: 26px; }
.blog-detail .content li { margin-bottom: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; font-weight: 700; font-size: 16px; margin-bottom: 36px; transition: gap 0.2s; }
.back-link:hover { gap: 12px; }

/* ─── Legal Pages ─── */
.legal-content { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; }
.legal-content h1 { font-size: 36px; font-weight: 900; color: var(--text); margin-bottom: 36px; letter-spacing: -0.03em; }
.legal-content h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 40px 0 14px; }
.legal-content p { font-size: 16px; line-height: 1.85; color: var(--text-secondary); margin-bottom: 18px; }
.legal-content ul { margin: 16px 0; padding-left: 24px; color: var(--text-secondary); }
.legal-content li { margin-bottom: 8px; }

/* ─── Fade-in animations ─── */
.fade-in { transform: translateY(20px); opacity: 0; animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-play-state: paused; }
.fade-in.visible { animation-play-state: running; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.fade-in-stagger:nth-child(1) { transition-delay: 0ms; }
.fade-in-stagger:nth-child(2) { transition-delay: 80ms; }
.fade-in-stagger:nth-child(3) { transition-delay: 160ms; }
.fade-in-stagger:nth-child(4) { transition-delay: 240ms; }
.fade-in-stagger:nth-child(5) { transition-delay: 320ms; }
.fade-in-stagger:nth-child(6) { transition-delay: 400ms; }

/* ─── Accessibility ─── */
.skip-link:focus { top: 16px; outline: 3px solid var(--amber); outline-offset: 2px; }
*:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@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;
    }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ─── Parallax ─── */
.parallax-slow { will-change: transform; }

/* ─── Mobile Hamburger Menu (Agente 44) ─── */
@media (max-width: 960px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-text p { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .trust-badges { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.feature-large { grid-column: span 1; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .newsletter-form { flex-direction: column; }
    .video-showcase { grid-template-columns: 1fr; }
    .phone-mockup { width: 240px; height: 480px; }
    .phone-mockup-inner { border-radius: 32px; padding: 11px; }
    .phone-screen { border-radius: 22px; }
    .trust-bar { gap: 28px; }
    .blog-grid { grid-template-columns: 1fr; }

    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(248,245,240,0.95); backdrop-filter: blur(16px);
        padding: 24px; gap: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .hamburger { display: flex !important; }
}
@media (min-width: 961px) { .hamburger { display: none; } }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 101;
}
.hamburger span {
    display: block; width: 24px; height: 2.5px;
    background: var(--text); border-radius: 2px; transition: all 0.3s;
}

@media (max-width: 600px) {
    .section { padding: 60px 0; }
    .container { padding: 0 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 130px 0 60px; }
    .newsletter-box { padding: 36px 24px; }
    .phone-mockup { width: 200px; height: 400px; }
    .blog-detail { padding: 120px 18px 60px; }
}

/* ─── Premium Transitions (GSAP enhances these) ─── */
.btn-primary, .btn-secondary, .nav-cta, .blog-card, .bento-card, .screenshot-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background 0.3s ease;
}

#cookie-banner button:hover { transform: translateY(-1px); }
#cookie-reject:hover { border-color: var(--primary) !important; color: var(--primary) !important; }

/* ─── Image lazy loading placeholders ─── */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

/* ─── Smooth scroll offset for fixed navbar ─── */
@media (min-width: 768px) {
    html { scroll-padding-top: 90px; }
}
