/*
Theme Name: SnapQio
Theme URI: https://snapqio.com/
Author: ZaroSofts
Author URI: https://snapqio.com/
Description: A premium, SEO-optimized, high-performance WordPress theme for the SnapQio screenshot & screen-recording app. Freemium landing page with Lemon Squeezy / Paddle checkout, rich schema markup, and a fast, dependency-free front end.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: snapqio
Tags: landing-page, one-page, software, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   Self-hosted Inter (OFL) — no external font request for a faster score
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url("assets/fonts/Inter-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url("assets/fonts/Inter-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url("assets/fonts/Inter-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url("assets/fonts/Inter-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 800; src: url("assets/fonts/Inter-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --bg: #0b0e14;
    --bg-soft: #0e121b;
    --surface: #12161f;
    --surface-2: #161b26;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #e7eaf0;
    --text-muted: #9aa4b2;
    --text-dim: #6b7280;
    --accent: #3b82f6;
    --accent-2: #6366f1;
    --accent-3: #22d3ee;
    --accent-grad: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --glow: radial-gradient(60% 60% at 50% 0%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
    --success: #34c759;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    --container: 1140px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #93b4fb; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }
strong { color: var(--text); font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.text-center { text-align: center; }
.eyebrow {
    display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px;
}
.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; margin-inline: auto; }
.gradient-text {
    background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
    padding: 15px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
    cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap; text-align: center;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(59, 130, 246, 0.7); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 36px -10px rgba(59, 130, 246, 0.8); }
.btn-pro {
    background: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%); color: #fff;
    box-shadow: 0 12px 26px -10px rgba(244, 63, 94, 0.6);
}
.btn-pro:hover { color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    background: rgba(11, 14, 20, 0.6); border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { background: rgba(11, 14, 20, 0.85); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark {
    width: 32px; height: 32px; border-radius: 9px; flex: none;
    background: var(--accent-grad); display: grid; place-items: center;
    box-shadow: 0 6px 16px -6px rgba(59, 130, 246, 0.8);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand img { max-height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: 0.97rem; padding: 9px 14px; border-radius: 8px; }
.nav-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
    .nav-menu, .nav-actions .btn-ghost { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header.nav-open .nav-menu {
        display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
        align-items: stretch; gap: 2px; padding: 12px; background: var(--surface);
        border-bottom: 1px solid var(--border);
    }
    .site-header.nav-open .nav-menu a { padding: 13px 14px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: clamp(70px, 11vw, 150px) 0 clamp(50px, 7vw, 90px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.hero::after {
    content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 900px; max-width: 130vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, transparent 60%); pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500;
    color: var(--text-muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lede { margin-top: 22px; font-size: 1.28rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-dim); }
.hero-note strong { color: var(--text-muted); }

.hero-shot {
    margin: clamp(46px, 7vw, 80px) auto 0; max-width: 980px; position: relative; z-index: 1;
    border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
    background: var(--surface); padding: 10px; box-shadow: var(--shadow-lg);
}
.hero-shot img { border-radius: 14px; width: 100%; }
.hero-shot::after {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); pointer-events: none;
}

/* logos / trust row */
.trust { padding: 8px 0 0; }
.trust p { text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; opacity: 0.7; margin-top: 16px; }
.trust-row span { font-weight: 600; color: var(--text-muted); }

/* ==========================================================================
   Section heading
   ========================================================================== */
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { font-size: 1.12rem; }

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature-icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
    background: rgba(59, 130, 246, 0.12); color: var(--accent-3); border: 1px solid rgba(59, 130, 246, 0.2);
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { margin-bottom: 8px; color: #fff; }
.feature p { margin: 0; font-size: 0.98rem; }

/* ==========================================================================
   Steps / how it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
    counter-increment: step; content: counter(step); display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 11px; font-weight: 800; color: #fff;
    background: var(--accent-grad); margin-bottom: 16px; box-shadow: 0 8px 18px -8px rgba(59, 130, 246, 0.8);
}
.step h3 { color: #fff; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.97rem; }

/* ==========================================================================
   Showcase / split
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media {
    border-radius: var(--radius); border: 1px solid var(--border-strong); overflow: hidden;
    background: var(--surface); box-shadow: var(--shadow); padding: 8px;
}
.split-media img { border-radius: 10px; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--success); margin-top: 2px; }
.feature-list strong { display: block; color: var(--text); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 860px; margin: 0 auto; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.plan {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 34px; display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: rgba(59, 130, 246, 0.5); background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), var(--surface) 60%); box-shadow: var(--shadow-lg); }
.plan-tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent-grad); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan-price .amount { font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.plan-price .period { color: var(--text-dim); font-weight: 500; }
.plan-desc { font-size: 0.95rem; min-height: 24px; }
.plan ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: 0.97rem; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--accent-3); margin-top: 2px; }
.plan li.muted { color: var(--text-dim); }
.plan li.muted svg { color: var(--text-dim); }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-top: 26px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; background: none; border: 0; cursor: pointer; color: var(--text);
    font-family: inherit; font-size: 1.08rem; font-weight: 600; text-align: left;
    padding: 22px 44px 22px 0; position: relative;
}
.faq-q::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
    border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
    transform: translateY(-65%) rotate(45deg); transition: transform 0.25s;
}
.faq-item.open .faq-q::after { transform: translateY(-35%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { padding: 0 0 22px; margin: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.28); border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px); text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner .hero-cta { margin-top: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 36px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 320px; font-size: 0.95rem; margin-top: 14px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
    color: var(--text-dim); font-size: 0.88rem;
}
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--text-muted); }
.social a:hover { color: #fff; border-color: var(--border-strong); }
.social svg { width: 18px; height: 18px; }

/* ==========================================================================
   Generic content (blog / pages)
   ========================================================================== */
.page-hero { padding: clamp(60px, 9vw, 110px) 0 0; text-align: center; }
.entry { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 0; }
.entry-meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 28px; text-align: center; }
.entry-content { font-size: 1.08rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; color: #fff; }
.entry-content img, .entry-content figure { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: 4px 0 4px 22px; color: var(--text); font-style: italic; }
.entry-content pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; overflow: auto; }
.entry-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.5em; color: var(--text-muted); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s var(--ease), border-color 0.25s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; }
.post-card h3 { color: #fff; font-size: 1.15rem; }
.post-card h3 a { color: inherit; }
.post-card .meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 8px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 9px; border: 1px solid var(--border); color: var(--text-muted); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* 404 */
.error-404 { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.error-404 .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; }

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Download page
   ========================================================================== */
.dl-detect {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
    background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--text); padding: 10px 18px; border-radius: 999px; font-size: 0.95rem;
}
.dl-detect strong { color: #fff; }
.dl-detect .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--accent-3); animation: dl-spin 0.8s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dl-detect .spin { animation: none; } }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px; text-align: center;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.dl-card.is-recommended { border-color: rgba(59, 130, 246, 0.55); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dl-rec-badge {
    display: none; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent-grad); color: #fff; font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.dl-card.is-recommended .dl-rec-badge { display: inline-block; }
.dl-os { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent-3); border: 1px solid rgba(59,130,246,0.2); }
.dl-os svg { width: 28px; height: 28px; }
.dl-card h3 { color: #fff; margin-bottom: 4px; }
.dl-arch { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; }
.dl-card .btn { width: 100%; }
.dl-meta { margin-top: 14px; color: var(--text-dim); font-size: 0.82rem; }
.dl-help { text-align: center; margin-top: 40px; color: var(--text-muted); }
.dl-steps { max-width: 620px; margin: 50px auto 0; display: grid; gap: 14px; }
.dl-step { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.dl-step .n { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.dl-step p { margin: 0; font-size: 0.95rem; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
