/* ══════════════════════════════════════════════
   ScrobbleMate Landing — Mobile-First Stylesheet
   ══════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --bg-elevated: #1a1a24;
    --text: #e8e8ed;
    --text-muted: #8888a0;
    --text-dim: #55556a;
    --accent: #c850c0;
    --accent-2: #4158d0;
    --accent-3: #ffcc70;
    --gradient: linear-gradient(135deg, #4158d0 0%, #c850c0 46%, #ffcc70 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(65,88,208,0.15) 0%, rgba(200,80,192,0.15) 46%, rgba(255,204,112,0.08) 100%);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 64px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Typography ───────────────────────────── */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Layout ───────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.92);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient);
    border-radius: 100px;
    color: #fff !important;
    font-weight: 600;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 20px 24px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
}

.nav-mobile .nav-cta {
    display: inline-block;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-3);
    bottom: -5%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.meta-dot {
    color: var(--text-dim);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(200, 80, 192, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(200, 80, 192, 0.45);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* Hero Screenshot */
.hero-screenshot {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    max-width: 640px;
    width: 100%;
}

.screenshot-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.screenshot-window:hover {
    transform: scale(1.02);
}

.screenshot-window img {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 18px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */
.how-it-works {
    background: var(--bg);
}

.detection-stack {
    max-width: 640px;
    margin: 0 auto;
}

.detection-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}

.detection-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.detection-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.detection-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.detection-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-realtime {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-polling {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.detection-connector {
    width: 2px;
    height: 24px;
    background: var(--border);
    margin: 0 auto;
}

.detection-status {
    text-align: center;
    margin-top: 40px;
}

.status-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.status-count {
    color: var(--text-dim);
    margin-left: 4px;
}

.status-caption {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ══════════════════════════════════════════════
   SCREENSHOTS
   ══════════════════════════════════════════════ */
.screenshots {
    background: var(--bg);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.gallery-item {
    text-align: center;
}

.gallery-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 6px;
}

.gallery-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
}

.gallery-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.gallery-window:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════
   CONTROL / SETTINGS
   ══════════════════════════════════════════════ */
.control-section {
    background: var(--bg);
}

.control-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.control-text {
    max-width: 520px;
}

.control-text .section-title {
    text-align: left;
}

.control-text .section-label {
    text-align: left;
}

.control-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.control-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.control-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #34d399;
}

.control-list li span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.control-list li strong {
    color: var(--text);
}

.control-image {
    max-width: 520px;
    width: 100%;
}

/* ══════════════════════════════════════════════
   PRIVACY
   ══════════════════════════════════════════════ */
.privacy {
    background: var(--bg);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.privacy-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.privacy-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.privacy-card li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.privacy-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 2px;
}

.privacy-icon.good {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.privacy-icon.bad {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.privacy-card li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.privacy-card li p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.privacy-good {
    border-color: rgba(52, 211, 153, 0.15);
}

.privacy-bad {
    border-color: rgba(248, 113, 113, 0.15);
}

.privacy-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.privacy-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.privacy-note p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.privacy-note strong {
    color: var(--text);
}

/* ══════════════════════════════════════════════
   DOWNLOAD CTA
   ══════════════════════════════════════════════ */
.download {
    padding: 80px 0 100px;
}

.download-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 56px 28px;
    text-align: center;
}

.download-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    top: -30%;
    right: -20%;
    animation-delay: -5s;
    opacity: 0.3;
}

.orb-5 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    bottom: -40%;
    left: -15%;
    animation-delay: -12s;
    opacity: 0.25;
}

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

.download-content h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.download-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.download-actions {
    margin-bottom: 20px;
}

.download-reqs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-bottom p + p {
    margin-top: 6px;
}

/* ══════════════════════════════════════════════
   TERMS MODAL
   ══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px 28px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.modal-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-body a {
    color: var(--accent);
    text-decoration: underline;
}

/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */

/* Base states — hidden until observed */
.anim-fade-up,
.anim-slide-up,
.anim-slide-left,
.anim-slide-right,
.anim-fade-in,
.anim-scale-in {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up {
    transform: translateY(40px);
    transition-delay: var(--delay, 0s);
}

.anim-slide-up {
    transform: translateY(60px);
}

.anim-slide-left {
    transform: translateX(-60px);
}

.anim-slide-right {
    transform: translateX(60px);
}

.anim-fade-in {
    /* no transform, just fade */
}

.anim-scale-in {
    transform: scale(0.92);
}

/* Visible state */
.anim-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger children */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.4s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.5s; }

.screenshot-gallery .gallery-item:nth-child(1) { transition-delay: 0s; }
.screenshot-gallery .gallery-item:nth-child(2) { transition-delay: 0.1s; }
.screenshot-gallery .gallery-item:nth-child(3) { transition-delay: 0.15s; }
.screenshot-gallery .gallery-item:nth-child(4) { transition-delay: 0.2s; }
.screenshot-gallery .gallery-item:nth-child(5) { transition-delay: 0.25s; }
.screenshot-gallery .gallery-item:nth-child(6) { transition-delay: 0.3s; }

.detection-stack .detection-card:nth-child(1) { transition-delay: 0s; }
.detection-stack .detection-card:nth-child(3) { transition-delay: 0.15s; }
.detection-stack .detection-card:nth-child(5) { transition-delay: 0.3s; }
.detection-stack .detection-connector:nth-child(2) { transition-delay: 0.08s; }
.detection-stack .detection-connector:nth-child(4) { transition-delay: 0.22s; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .anim-fade-up,
    .anim-slide-up,
    .anim-slide-left,
    .anim-slide-right,
    .anim-fade-in,
    .anim-scale-in {
        transition: opacity 0.4s;
        transform: none;
    }
    .gradient-orb { animation: none; }
    .scroll-arrow { animation: none; }
    .badge-dot { animation: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET (640px+)
   ══════════════════════════════════════════════ */
@media (min-width: 640px) {
    .container {
        padding: 0 32px;
    }

    .section {
        padding: 100px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .screenshot-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 40px;
    }

    .download-card {
        padding: 64px 40px;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — DESKTOP (900px+)
   ══════════════════════════════════════════════ */
@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .section {
        padding: 120px 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .screenshot-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .control-split {
        flex-direction: row;
        gap: 64px;
    }

    .control-text {
        flex: 1;
    }

    .control-image {
        flex: 1;
    }

    .download-card {
        padding: 80px 60px;
        border-radius: 28px;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (1200px+)
   ══════════════════════════════════════════════ */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .section {
        padding: 140px 0;
    }
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ── Selection ────────────────────────────── */
::selection {
    background: rgba(200, 80, 192, 0.3);
    color: var(--text);
}
