/* ===== FoxCloud — Modern Landing ===== */

/* --- Tokens --- */
:root {
    --orange: #ff8c42;
    --orange-dark: #e67a35;
    --orange-light: #ffb380;
    --coral: #ff6b35;
    --amber: #ffc078;
    --gradient: linear-gradient(135deg, #ff8c42, #ff6b35);
    --gradient-wide: linear-gradient(135deg, #ff8c42 0%, #ff6b35 50%, #ffb380 100%);

    /* dark (default) */
    --bg: #0a0a0f;
    --bg-2: #111118;
    --bg-card: rgba(255,255,255,0.035);
    --bg-card-h: rgba(255,255,255,0.07);
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --glass-border-h: rgba(255,140,66,0.35);
    --text: #f5f5f7;
    --text-2: rgba(255,255,255,0.72);
    --text-3: rgba(255,255,255,0.45);
    --header-bg: rgba(10,10,15,0.82);
    --modal-bg: #16161e;
    --input-bg: rgba(255,255,255,0.06);
    --shadow: 0 24px 64px rgba(0,0,0,0.45);
    --glow: 0 0 60px rgba(255,140,66,0.25);
    --success: #34d399;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #fefaf5;
        --bg-2: #fff6ed;
        --bg-card: rgba(255,140,66,0.045);
        --bg-card-h: rgba(255,140,66,0.09);
        --glass: rgba(255,255,255,0.55);
        --glass-border: rgba(255,140,66,0.18);
        --glass-border-h: rgba(255,140,66,0.45);
        --text: #1a1410;
        --text-2: rgba(26,20,16,0.7);
        --text-3: rgba(26,20,16,0.45);
        --header-bg: rgba(254,250,245,0.88);
        --modal-bg: #ffffff;
        --input-bg: rgba(255,140,66,0.07);
        --shadow: 0 24px 64px rgba(255,140,66,0.12);
        --glow: 0 0 60px rgba(255,140,66,0.15);
    }
}

/* --- Reset --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

img { max-width:100%; display:block; }
button { font-family:inherit; }

/* --- Ambient background --- */
.ambient-bg {
    position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none;
}

.ambient-blob {
    position:absolute; border-radius:50%; filter:blur(100px); will-change:transform;
}
.blob-1 { width:600px; height:600px; background:rgba(255,140,66,0.12); top:-10%; left:-5%; animation:drift 22s ease-in-out infinite; }
.blob-2 { width:500px; height:500px; background:rgba(255,107,53,0.09); bottom:-15%; right:-10%; animation:drift 26s ease-in-out infinite reverse; }
.blob-3 { width:350px; height:350px; background:rgba(255,192,120,0.07); top:40%; left:50%; animation:drift 18s ease-in-out infinite 3s; }

@keyframes drift {
    0%,100% { transform:translate(0,0) scale(1); }
    33% { transform:translate(40px,-30px) scale(1.08); }
    66% { transform:translate(-20px,25px) scale(0.95); }
}

.noise-layer {
    position:absolute; inset:0;
    background:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    opacity:0.5;
}

/* --- Container --- */
.container { max-width:1140px; margin:0 auto; padding:0 24px; }

/* --- Header --- */
.header {
    position:fixed; top:0; left:0; right:0; z-index:200;
    padding:0;
    background:var(--header-bg);
    backdrop-filter:blur(24px) saturate(1.4);
    -webkit-backdrop-filter:blur(24px) saturate(1.4);
    border-bottom:1px solid var(--glass-border);
    transition:background 0.3s, box-shadow 0.3s;
}

.header.scrolled { box-shadow:0 4px 30px rgba(0,0,0,0.12); }

.header-inner {
    display:flex; align-items:center; justify-content:space-between;
    height:64px;
}

.logo { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); }
.logo-img { width:36px; height:36px; border-radius:10px; }
.logo-text { font-size:22px; font-weight:800; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.nav { display:flex; align-items:center; gap:32px; }
.nav-link { color:var(--text-2); text-decoration:none; font-size:14px; font-weight:500; transition:color 0.2s; position:relative; }
.nav-link::after {
    content:''; position:absolute; left:0; bottom:-4px; width:0; height:2px;
    background:var(--orange); border-radius:1px; transition:width 0.25s ease;
}
.nav-link:hover { color:var(--text); }
.nav-link:hover::after { width:100%; }

.nav-login {
    padding:8px 22px; border-radius:var(--radius-sm);
    border:1.5px solid var(--glass-border-h);
    color:var(--orange) !important; font-weight:600; font-size:14px;
    text-decoration:none; transition:all 0.25s;
}
.nav-proxy {
    padding:8px 18px; border-radius:var(--radius-sm);
    background:rgba(0,136,204,0.1); border:1.5px solid rgba(0,136,204,0.35);
    color:#29b6f6 !important; font-weight:600; font-size:14px;
    text-decoration:none; transition:all 0.25s; white-space:nowrap;
    display:inline-flex; align-items:center; gap:7px;
    animation:tg-pulse 2.5s ease-in-out infinite;
}
.nav-proxy:hover { background:rgba(0,136,204,0.18); border-color:#29b6f6; animation:none; }

.tg-icon { width:18px; height:18px; flex-shrink:0; }

@keyframes tg-pulse {
    0%,100% { box-shadow:0 0 0 0 rgba(41,182,246,0.4); }
    50% { box-shadow:0 0 12px 3px rgba(41,182,246,0.25); }
}

.nav-login:hover { background:rgba(255,140,66,0.1); border-color:var(--orange); }

/* Burger */
.burger {
    display:none; flex-direction:column; gap:5px; background:none; border:none;
    padding:8px; cursor:pointer; z-index:210;
}
.burger span {
    display:block; width:22px; height:2px; background:var(--text);
    border-radius:2px; transition:all 0.3s ease;
}
.burger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity:0; }
.burger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    min-height:100vh; display:flex; align-items:center;
    padding:100px 0 60px;
    position:relative;
}

.hero-layout {
    display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}

.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 18px; border-radius:100px;
    background:rgba(255,140,66,0.1); border:1px solid rgba(255,140,66,0.25);
    font-size:13px; font-weight:500; color:var(--orange);
    margin-bottom:24px;
}
.badge-dot {
    width:6px; height:6px; border-radius:50%; background:var(--orange);
    animation:blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-title {
    font-size:clamp(36px,5.5vw,68px); font-weight:900; line-height:1.08;
    letter-spacing:-0.02em; margin-bottom:20px;
}

.text-gradient {
    background:var(--gradient); -webkit-background-clip:text;
    -webkit-text-fill-color:transparent; background-clip:text;
}

.hero-desc {
    font-size:clamp(16px,1.8vw,19px); color:var(--text-2);
    max-width:520px; margin-bottom:36px; line-height:1.7;
}

.hero-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:48px; }

.hero-metrics { display:flex; align-items:center; gap:0; }
.metric { display:flex; flex-direction:column; padding:0 24px; }
.metric:first-child { padding-left:0; }
.metric-val { font-size:28px; font-weight:800; color:var(--orange); line-height:1.2; }
.metric-lbl { font-size:12px; color:var(--text-3); font-weight:500; text-transform:uppercase; letter-spacing:0.5px; }
.metric-sep { width:1px; height:36px; background:var(--glass-border); }

/* Fox orb */
.hero-visual { display:flex; justify-content:center; align-items:center; }

.fox-orb { position:relative; width:320px; height:320px; display:flex; justify-content:center; align-items:center; }
.fox-glow {
    position:absolute; width:180px; height:180px; border-radius:50%;
    background:var(--gradient); filter:blur(70px); opacity:0.4;
    animation:glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{transform:scale(1);opacity:0.4;} 50%{transform:scale(1.3);opacity:0.2;} }

.fox-avatar {
    width:110px; height:110px; border-radius:22px; z-index:2;
    box-shadow:0 12px 40px rgba(255,140,66,0.3);
    animation:float-avatar 3s ease-in-out infinite;
}
@keyframes float-avatar { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }

.fox-ring {
    position:absolute; border:1.5px solid rgba(255,140,66,0.25); border-radius:50%;
    animation:ring-expand 4s ease-out infinite;
}
.fox-ring-1 { width:160px; height:160px; animation-delay:0s; }
.fox-ring-2 { width:230px; height:230px; animation-delay:0.7s; }
.fox-ring-3 { width:300px; height:300px; animation-delay:1.4s; }
@keyframes ring-expand { 0%{transform:scale(0.85);opacity:0.8;} 100%{transform:scale(1.15);opacity:0;} }

/* --- Buttons --- */
.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:13px 28px; border-radius:var(--radius-sm); font-size:15px;
    font-weight:600; text-decoration:none; border:none; cursor:pointer;
    transition:all 0.25s ease; position:relative; overflow:hidden;
}

.btn-primary {
    background:var(--gradient); color:#fff;
    box-shadow:0 4px 20px rgba(255,140,66,0.25);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(255,140,66,0.35); }
.btn-primary:active { transform:translateY(0); }

.btn-outline {
    background:transparent; color:var(--text);
    border:1.5px solid var(--glass-border-h);
}
.btn-outline:hover { border-color:var(--orange); background:rgba(255,140,66,0.08); color:var(--orange); }

.btn-gradient {
    background:linear-gradient(135deg,#f59e0b,#ef4444); color:#fff;
    box-shadow:0 4px 20px rgba(245,158,11,0.25);
}
.btn-gradient:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(245,158,11,0.35); }

.btn-ghost {
    background:transparent; color:var(--text-2); border:1.5px solid var(--glass-border);
}
.btn-ghost:hover { border-color:var(--glass-border-h); color:var(--text); background:var(--bg-card); }

.btn-lg { padding:16px 36px; font-size:16px; border-radius:14px; }
.btn-block { width:100%; }

/* --- Sections --- */
.section { padding:clamp(80px,12vw,120px) 0; }
.section-accent {
    background:linear-gradient(180deg,transparent,rgba(255,140,66,0.03) 30%,rgba(255,140,66,0.03) 70%,transparent);
}

.section-head { text-align:center; margin-bottom:60px; }

.chip {
    display:inline-block; padding:5px 14px; border-radius:100px;
    background:rgba(255,107,53,0.1); border:1px solid rgba(255,107,53,0.25);
    font-size:12px; font-weight:600; color:var(--coral); letter-spacing:0.3px;
    text-transform:uppercase; margin-bottom:14px;
}

.section-title { font-size:clamp(28px,4vw,48px); font-weight:800; letter-spacing:-0.02em; margin-bottom:12px; }
.section-desc { font-size:17px; color:var(--text-2); max-width:560px; margin:0 auto; }

/* --- Features --- */
.features-grid {
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}

.f-card {
    background:var(--bg-card); border:1px solid var(--glass-border);
    border-radius:var(--radius-xl); padding:32px 28px;
    transition:all 0.35s ease; position:relative;
}
.f-card::before {
    content:''; position:absolute; inset:0; border-radius:var(--radius-xl);
    background:linear-gradient(135deg,rgba(255,140,66,0.08),transparent 60%);
    opacity:0; transition:opacity 0.35s ease;
}
.f-card:hover {
    transform:translateY(-6px);
    border-color:var(--glass-border-h);
    box-shadow:var(--shadow);
}
.f-card:hover::before { opacity:1; }

.f-icon { font-size:40px; margin-bottom:16px; position:relative; z-index:1; }
.f-card h3 { font-size:18px; font-weight:700; margin-bottom:8px; position:relative; z-index:1; }
.f-card p { font-size:14px; color:var(--text-2); line-height:1.6; position:relative; z-index:1; }

/* --- Pricing --- */
.pricing-row {
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
    max-width:920px; margin:0 auto;
}

.p-card {
    background:var(--bg-card); border:1px solid var(--glass-border);
    border-radius:var(--radius-xl); padding:32px 26px;
    position:relative; transition:all 0.35s ease;
    display:flex; flex-direction:column;
}
.p-card:hover { transform:translateY(-5px); border-color:var(--glass-border-h); }

.p-card-pop {
    border-color:var(--orange); background:rgba(255,140,66,0.06);
    box-shadow:0 0 0 1px rgba(255,140,66,0.15);
    transform:scale(1.03);
}
.p-card-pop:hover { transform:scale(1.03) translateY(-5px); }

.p-card-best {
    border-color:var(--coral); background:rgba(255,107,53,0.06);
}

.p-badge {
    position:absolute; top:-13px; left:50%; transform:translateX(-50%);
    padding:6px 20px; border-radius:100px;
    background:var(--gradient); color:#fff; font-size:12px; font-weight:700;
    white-space:nowrap; box-shadow:0 4px 16px rgba(255,140,66,0.35);
    letter-spacing:0.3px;
}
.p-badge-best {
    background:linear-gradient(135deg,#ff6b35,#e55a2b);
}

.p-header { text-align:center; margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--glass-border); }
.p-header h3 { font-size:18px; font-weight:600; margin-bottom:12px; }

.p-price { display:flex; align-items:baseline; justify-content:center; gap:4px; }
.p-val {
    font-size:48px; font-weight:800;
    background:var(--gradient); -webkit-background-clip:text;
    -webkit-text-fill-color:transparent; background-clip:text;
}
.p-cur { font-size:22px; color:var(--text-3); font-weight:600; }
.p-period { display:block; font-size:13px; color:var(--text-3); margin-top:4px; }

.p-save {
    display:inline-block; padding:3px 10px; border-radius:100px; margin-top:8px;
    background:rgba(52,211,153,0.1); border:1px solid rgba(52,211,153,0.3);
    color:var(--success); font-size:11px; font-weight:700;
}

.p-list { list-style:none; margin-bottom:24px; flex:1; }
.p-list li {
    padding:9px 0; font-size:14px; color:var(--text-2);
    display:flex; align-items:center; gap:10px;
}
.check { color:var(--orange); font-weight:700; font-size:14px; }

/* --- Apps --- */
.apps-grid {
    display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
}

.a-card {
    background:var(--bg-card); border:1px solid var(--glass-border);
    border-radius:var(--radius); padding:28px 20px; text-align:center;
    transition:all 0.3s ease;
}
.a-card:hover { transform:translateY(-4px); border-color:var(--glass-border-h); }

.a-icon { display:flex; justify-content:center; margin-bottom:14px; }
.a-icon img { width:48px; height:48px; border-radius:12px; object-fit:contain; }

.a-card h3 { font-size:15px; font-weight:700; margin-bottom:4px; }
.a-card p { font-size:12px; color:var(--text-3); }

/* --- FAQ --- */
.faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }

.faq-item {
    background:var(--bg-card); border:1px solid var(--glass-border);
    border-radius:var(--radius); overflow:hidden;
    transition:all 0.3s ease;
}
.faq-item:hover { border-color:var(--glass-border-h); }
.faq-item.active { border-color:var(--orange); background:rgba(255,140,66,0.05); }

.faq-q {
    width:100%; padding:20px 24px; display:flex; justify-content:space-between;
    align-items:center; background:none; border:none; color:var(--text);
    font-size:15px; font-weight:600; text-align:left; cursor:pointer; gap:16px;
}

.faq-chevron { color:var(--orange); transition:transform 0.3s ease; flex-shrink:0; }
.faq-item.active .faq-chevron { transform:rotate(180deg); }

.faq-a { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.faq-item.active .faq-a { max-height:200px; }
.faq-a p { padding:0 24px 20px; font-size:14px; color:var(--text-2); line-height:1.7; }

/* --- Footer --- */
.footer {
    background:var(--bg-2); border-top:1px solid var(--glass-border);
    padding:48px 0 28px;
}

.footer-top {
    display:flex; justify-content:space-between; align-items:flex-start;
    margin-bottom:36px; gap:40px;
}
.footer-brand p { color:var(--text-3); font-size:14px; margin-top:12px; max-width:300px; }

.footer-nav { display:flex; gap:28px; flex-wrap:wrap; }
.footer-nav a { color:var(--text-2); text-decoration:none; font-size:14px; font-weight:500; transition:color 0.2s; }
.footer-nav a:hover { color:var(--orange); }

.footer-bottom { text-align:center; padding-top:24px; border-top:1px solid var(--glass-border); }
.footer-bottom p { color:var(--text-3); font-size:13px; }

/* --- Modal --- */
.modal {
    display:none; position:fixed; inset:0; z-index:1000;
    align-items:center; justify-content:center; padding:20px;
}
.modal.active { display:flex; }

.modal .modal-overlay {
    position:absolute; inset:0; background:rgba(0,0,0,0.7);
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}

.modal-content {
    position:relative; background:var(--modal-bg); border:1px solid var(--glass-border);
    border-radius:var(--radius-xl); padding:36px; max-width:440px; width:100%;
    animation:modal-in 0.35s ease;
}
@keyframes modal-in { from{opacity:0;transform:scale(0.92) translateY(16px);} to{opacity:1;transform:none;} }

.modal-close {
    position:absolute; top:16px; right:16px; width:36px; height:36px;
    background:var(--bg-card); border:1px solid var(--glass-border);
    border-radius:50%; display:flex; align-items:center; justify-content:center;
    color:var(--text-2); cursor:pointer; transition:all 0.2s;
}
.modal-close:hover { border-color:var(--glass-border-h); color:var(--orange); }

.modal-head { text-align:center; margin-bottom:28px; }
.modal-logo { width:56px; height:56px; border-radius:14px; margin:0 auto 14px; }
.modal-head h2 { font-size:22px; font-weight:700; margin-bottom:8px; }
.modal-plan-info { color:var(--text-2); font-size:15px; }
.modal-plan-info strong { color:var(--orange); }

.form-group { margin-bottom:22px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--text-2); margin-bottom:8px; }
.form-group input {
    width:100%; padding:14px 18px; background:var(--input-bg);
    border:1.5px solid var(--glass-border); border-radius:var(--radius-sm);
    color:var(--text); font-size:15px; transition:all 0.25s; font-family:inherit;
}
.form-group input:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(255,140,66,0.12); }
.form-group input::placeholder { color:var(--text-3); }
.form-hint { display:block; margin-top:6px; font-size:12px; color:var(--text-3); }

.pay-secure {
    display:flex; align-items:center; justify-content:center; gap:6px;
    margin-top:18px; color:var(--text-3); font-size:12px;
}

.spinner { width:20px; height:20px; animation:spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg);} }

.btn-loader { display:inline-flex; align-items:center; justify-content:center; }

/* --- Scroll reveal --- */
.reveal {
    opacity:0; transform:translateY(32px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.12s; }
.reveal-delay-2 { transition-delay:0.24s; }

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width:1024px) {
    .features-grid { grid-template-columns:repeat(2,1fr); }
    .apps-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width:900px) {
    .hero-layout { grid-template-columns:1fr; text-align:center; }
    .hero-desc { margin-left:auto; margin-right:auto; }
    .hero-actions { justify-content:center; }
    .hero-metrics { justify-content:center; }
    .hero-visual { order:-1; margin-bottom:16px; }
    .fox-orb { width:240px; height:240px; }
    .fox-avatar { width:90px; height:90px; }
    .fox-ring-1 { width:120px; height:120px; }
    .fox-ring-2 { width:175px; height:175px; }
    .fox-ring-3 { width:230px; height:230px; }
    .pricing-row { grid-template-columns:1fr; max-width:380px; margin:0 auto; }
    .p-card-pop { transform:none; }
    .p-card-pop:hover { transform:translateY(-5px); }
}

@media (max-width:768px) {
    /* Mobile nav */
    .nav {
        position:fixed; top:0; right:0; width:280px; height:100vh;
        background:var(--bg-2); border-left:1px solid var(--glass-border);
        flex-direction:column; align-items:flex-start; padding:80px 28px 40px;
        gap:0; transform:translateX(100%); transition:transform 0.35s ease;
        box-shadow:-10px 0 40px rgba(0,0,0,0.2); z-index:205;
    }
    .nav.open { transform:translateX(0); }
    .nav-link, .nav-login { font-size:16px; width:100%; padding:14px 0; border-bottom:1px solid var(--glass-border); }
    .nav-link::after { display:none; }
    .nav-login { border:none !important; padding:14px 0; text-align:left; }

    .burger { display:flex; }

    .hero { padding-top:90px; min-height:auto; }
    .features-grid { grid-template-columns:1fr; }
    .apps-grid { grid-template-columns:repeat(2,1fr); }

    .footer-top { flex-direction:column; align-items:center; text-align:center; }
    .footer-nav { justify-content:center; }
}

@media (max-width:480px) {
    .container { padding:0 16px; }
    .hero { padding-top:80px; padding-bottom:40px; }
    .hero-title { font-size:clamp(28px,8vw,38px); }
    .hero-desc { font-size:15px; }
    .hero-metrics { flex-wrap:wrap; gap:16px; }
    .metric { padding:0 16px; }
    .metric-val { font-size:24px; }
    .metric-sep { height:28px; }

    .fox-orb { width:180px; height:180px; }
    .fox-avatar { width:72px; height:72px; border-radius:16px; }
    .fox-ring-1 { width:95px; height:95px; }
    .fox-ring-2 { width:135px; height:135px; }
    .fox-ring-3 { width:175px; height:175px; }

    .f-card { padding:24px 20px; }
    .f-icon { font-size:32px; }
    .f-card h3 { font-size:16px; }

    .p-val { font-size:40px; }
    .apps-grid { grid-template-columns:1fr 1fr; gap:12px; }
    .a-card { padding:20px 14px; }
    .a-icon img { width:40px; height:40px; }
    .a-card h3 { font-size:14px; }

    .section-title { font-size:clamp(24px,6vw,32px); }
    .section-desc { font-size:15px; }

    .modal-content { padding:28px 20px; }
    .btn-lg { padding:14px 28px; font-size:15px; }
}

@media (max-width:360px) {
    .hero-metrics { flex-direction:column; align-items:center; }
    .metric-sep { width:40px; height:1px; }
    .nav { width:100%; }
    .apps-grid { grid-template-columns:1fr; max-width:200px; margin:0 auto; }
}

@media (max-height:500px) and (orientation:landscape) {
    .hero { min-height:auto; padding:100px 0 40px; }
    .hero-visual { display:none; }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation-duration:0.01ms!important; transition-duration:0.1s!important; }
    .ambient-bg { display:none; }
    .reveal { opacity:1; transform:none; }
}

@media print {
    .ambient-bg, .header, .modal { display:none; }
    body { background:#fff; color:#000; }
}

/* High-DPI */
@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi) {
    .logo-img, .fox-avatar, .modal-logo { image-rendering:-webkit-optimize-contrast; }
}
