/* ═══════════════════════════════════════════════
   MediaDownloader — Premium CSS Design System
   ═══════════════════════════════════════════════ */

/* ── Reset & Variables ── */
:root {
    --bg:         #06060c;
    --bg-card:    #0c0c18;
    --bg-elevated:#111122;
    --bg-input:   #0a0a1a;
    --border:     #1a1a2e;
    --border-light:#2a2a44;
    --text:       #e8e8f0;
    --text-muted: #7878a0;
    --text-dim:   #4a4a6a;
    --accent:     #6366f1;
    --accent-light:#818cf8;
    --accent-glow: rgba(99,102,241,0.25);
    --success:    #22c55e;
    --danger:     #ef4444;
    --warning:    #f59e0b;
    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   24px;
    --shadow:     0 4px 30px rgba(0,0,0,.4);
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --font:       'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) var(--bg);
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #a5b4fc; }

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

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(6,6,12,.82);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(26,26,46,.6);
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    background: rgba(6,6,12,.96);
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(99,102,241,.05));
    border: 1px solid rgba(99,102,241,.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.logo-text {
    font-size: 18px; font-weight: 800; color: var(--text);
    letter-spacing: -0.3px;
}
.logo-accent { color: var(--accent-light); }
.nav-links {
    display: flex; align-items: center; gap: 4px;
}
.nav-link {
    display: block; padding: 8px 16px; border-radius: 8px;
    font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    transition: all var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--accent-light); background: rgba(99,102,241,.1); }
.nav-actions {
    display: flex; align-items: center; gap: 10px;
}
.btn-ghost {
    background: none; border: 1px solid var(--border-light);
    color: var(--text-muted); font-family: var(--font);
    padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(99,102,241,.08); }
.btn-primary-sm {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff; border: none; font-family: var(--font);
    padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all var(--transition);
    box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.nav-burger {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span {
    display: block; width: 20px; height: 2px;
    background: var(--text-muted); border-radius: 2px;
    transition: all .3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   PAGE LAYOUT (with side ads)
   ═══════════════════════════════════════════════ */
.page-layout {
    display: flex; justify-content: center;
    padding-top: 64px;
    min-height: 100vh;
}
.main-content {
    flex: 1; max-width: 960px; min-width: 0;
}
.side-ad {
    width: 180px; flex-shrink: 0;
    position: sticky; top: 80px; align-self: flex-start;
    padding: 16px 8px;
}
.ad-slot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.ad-label {
    text-align: center; padding: 6px;
    font-size: 9px; font-weight: 700; letter-spacing: 2px;
    color: var(--text-dim); background: rgba(255,255,255,.02);
    border-bottom: 1px solid var(--border);
}
.ad-content {
    padding: 12px;
}
.ad-placeholder {
    height: 560px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    background: repeating-linear-gradient(
        45deg,
        rgba(99,102,241,.03),
        rgba(99,102,241,.03) 10px,
        transparent 10px,
        transparent 20px
    );
    border-radius: var(--radius-sm);
    color: var(--text-dim); font-size: 11px; font-weight: 600;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero, .privacy-hero {
    position: relative; overflow: hidden;
    padding: 100px 24px 60px;
    text-align: center;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: .4;
    animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
    width: 400px; height: 400px; top: -100px; left: -50px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
}
.hero-orb-2 {
    width: 350px; height: 350px; top: 50px; right: -80px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    animation-delay: -4s;
}
.hero-orb-3 {
    width: 250px; height: 250px; bottom: -60px; left: 30%;
    background: radial-gradient(circle, #4f46e5, transparent 70%);
    animation-delay: -8s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero-content, .privacy-hero-content {
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 40px; padding: 6px 18px;
    font-size: 12px; font-weight: 600; color: var(--accent-light);
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(34,197,94,.5);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900; line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    color: var(--text-muted); font-size: 15px; font-weight: 500;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════
   DOWNLOADER CARD
   ═══════════════════════════════════════════════ */
.downloader-section {
    padding: 0 24px 40px;
}
.dl-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow: hidden;
}
.dl-card-glow {
    position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    border-radius: 2px;
}
.dl-header {
    text-align: center; margin-bottom: 28px;
}
.dl-header h2 {
    font-size: 20px; font-weight: 800; margin-bottom: 6px;
}
.dl-header p {
    color: var(--text-muted); font-size: 13.5px;
}
.dl-input-group {
    margin-bottom: 16px;
}
.dl-input-wrap {
    display: flex; align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 4px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.dl-input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.dl-input-icon {
    margin: 0 12px; color: var(--text-dim); flex-shrink: 0;
}
.dl-input {
    flex: 1; background: none; border: none; outline: none;
    font-family: var(--font); font-size: 14px;
    color: var(--text); padding: 12px 0;
}
.dl-input::placeholder { color: var(--text-dim); }
.paste-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    color: var(--accent-light); font-family: var(--font);
    font-size: 12.5px; font-weight: 700;
    padding: 10px 16px; border-radius: 10px;
    cursor: pointer; transition: all var(--transition);
    white-space: nowrap;
}
.paste-btn:hover {
    background: rgba(99,102,241,.2);
    border-color: var(--accent-light);
}

/* Format toggle */
.format-toggle {
    display: flex; gap: 8px; margin-bottom: 16px;
}
.fmt-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: var(--radius-sm);
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-muted); font-family: var(--font);
    font-size: 13.5px; font-weight: 700;
    cursor: pointer; transition: all var(--transition);
}
.fmt-btn:hover { border-color: var(--border-light); color: var(--text); }
.fmt-btn.active {
    background: rgba(99,102,241,.1);
    border-color: var(--accent);
    color: var(--accent-light);
}

/* Download button */
.dl-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent), #4338ca);
    border: none; border-radius: 14px;
    padding: 16px; cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
    position: relative; overflow: hidden;
}
.dl-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.35); }
.dl-btn:hover::before { opacity: 1; }
.dl-btn:active { transform: translateY(0); }
.dl-btn-content {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: #fff; font-family: var(--font); font-size: 15px; font-weight: 800;
}
.dl-btn-loading {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: rgba(255,255,255,.8); font-family: var(--font); font-size: 14px; font-weight: 600;
}
.spinner {
    width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff; border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Progress */
.dl-progress {
    margin-top: 20px;
    animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.progress-info {
    display: flex; justify-content: space-between; margin-bottom: 8px;
    font-size: 12px; color: var(--text-muted);
}
.progress-track {
    height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    transition: width .3s ease;
}

/* Result */
.dl-result {
    display: flex; align-items: center; gap: 14px;
    margin-top: 20px; padding: 16px;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.2);
    border-radius: var(--radius);
    animation: fadeIn .4s ease;
}
.result-icon { font-size: 24px; flex-shrink: 0; }
.result-info { flex: 1; }
.result-title { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.result-meta { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.result-download-btn {
    background: var(--success); color: #fff; border: none;
    padding: 8px 20px; border-radius: 8px;
    font-family: var(--font); font-size: 12.5px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    transition: all var(--transition);
}
.result-download-btn:hover { background: #16a34a; color: #fff; }

/* ═══════════════════════════════════════════════
   PLATFORMS
   ═══════════════════════════════════════════════ */
.platforms-section {
    padding: 20px 24px 40px;
}
.section-title {
    font-size: 22px; font-weight: 800;
    margin-bottom: 24px; text-align: center;
}
.platforms-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.platform-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: default;
}
.platform-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.platform-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.platform-name { font-size: 14px; font-weight: 700; }
.platform-tag {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    background: rgba(99,102,241,.08); padding: 3px 10px;
    border-radius: 20px;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-section {
    padding: 20px 24px 50px;
}
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.step-card {
    position: relative; padding: 28px 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.step-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.step-number {
    position: absolute; top: -14px; left: 20px;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900; color: #fff;
    box-shadow: 0 2px 10px var(--accent-glow);
}
.step-line {
    position: absolute; top: 0; right: -16px;
    width: 16px; height: 2px;
    background: var(--border-light);
}
.step-card:last-child .step-line { display: none; }
.step-card h3 {
    font-size: 15px; font-weight: 700;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 13px; color: var(--text-muted); line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════ */
.stats-section {
    padding: 0 24px 40px;
}
.stats-card {
    display: flex; justify-content: space-around; align-items: center;
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(99,102,241,.02));
    border: 1px solid rgba(99,102,241,.15);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
}
.stat-item { text-align: center; }
.stat-value {
    display: block; font-size: 28px; font-weight: 900;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--text-muted); margin-top: 4px;
}
.stat-divider {
    width: 1px; height: 40px; background: var(--border-light);
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
    padding: 0 24px 50px;
}
.cta-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1e1b4b, #0c0c18);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
}
.cta-glow {
    position: absolute; top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
    filter: blur(40px);
}
.cta-content { position: relative; z-index: 1; }
.cta-badge {
    display: inline-block;
    background: rgba(99,102,241,.15);
    border: 1px solid rgba(99,102,241,.3);
    border-radius: 20px; padding: 5px 14px;
    font-size: 11px; font-weight: 700; color: var(--accent-light);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.cta-content h2 {
    font-size: 26px; font-weight: 900;
    margin-bottom: 10px;
}
.cta-content p {
    font-size: 14px; color: var(--text-muted);
    max-width: 500px; margin-bottom: 24px;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff; padding: 14px 28px; border-radius: 12px;
    font-family: var(--font); font-size: 14px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all var(--transition);
}
.cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 50px 24px 0;
}
.footer-inner {
    max-width: 800px; margin: 0 auto;
    display: flex; justify-content: space-between; gap: 40px;
    padding-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
    font-size: 18px; font-weight: 800;
    margin-bottom: 12px; display: block;
}
.footer-brand p {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.footer-links {
    display: flex; gap: 50px;
}
.footer-col h4 {
    font-size: 12px; font-weight: 700; color: var(--text);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.footer-col a {
    display: block; font-size: 13px; color: var(--text-muted);
    margin-bottom: 8px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0; text-align: center;
    font-size: 12px; color: var(--text-dim);
}

/* ═══════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all .35s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1; visibility: visible;
}
.modal-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    width: 100%; max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,.6);
    transform: translateY(20px) scale(.96);
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text-muted);
    font-size: 20px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.1); color: var(--text); }
.modal-header {
    text-align: center; margin-bottom: 28px;
}
.modal-icon {
    width: 56px; height: 56px;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.modal-header h2 {
    font-size: 22px; font-weight: 800; margin-bottom: 6px;
}
.modal-header p {
    font-size: 13.5px; color: var(--text-muted);
}

/* Form elements */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 12.5px; font-weight: 600; color: var(--text-muted);
}
.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%; padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; color: var(--text);
    outline: none; transition: all var(--transition);
}
.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder { color: var(--text-dim); }
.password-wrap {
    position: relative;
}
.password-wrap input { padding-right: 44px; }
.pw-toggle {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-dim);
    padding: 8px; cursor: pointer; transition: color var(--transition);
}
.pw-toggle:hover { color: var(--text-muted); }

/* Password strength */
.password-strength {
    display: flex; align-items: center; gap: 10px; margin-top: 4px;
}
.strength-bar {
    flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.strength-fill {
    height: 100%; width: 0%; border-radius: 2px;
    transition: width .3s ease, background .3s ease;
}
.strength-label {
    font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* Checkbox */
.checkbox-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px; color: var(--text-muted);
    cursor: pointer;
}
.checkbox-label input { display: none; }
.checkmark {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    transition: all var(--transition);
    position: relative;
}
.checkbox-label input:checked + .checkmark {
    background: var(--accent); border-color: var(--accent);
}
.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute; left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-row {
    display: flex; justify-content: space-between; align-items: center;
}
.form-link {
    font-size: 12.5px; font-weight: 600; color: var(--accent-light);
}

/* Submit & social */
.modal-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff; border: none; border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all var(--transition);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.modal-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow); }
.modal-submit:active { transform: translateY(0); }

.modal-divider {
    display: flex; align-items: center; gap: 16px;
    margin: 20px 0;
}
.modal-divider::before, .modal-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.modal-divider span {
    font-size: 12px; color: var(--text-dim); font-weight: 600;
}

.social-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    font-family: var(--font); font-size: 13.5px; font-weight: 600;
    color: var(--text); cursor: pointer;
    transition: all var(--transition);
}
.social-btn:hover {
    background: rgba(255,255,255,.08);
    border-color: var(--border-light);
}

.modal-footer-text {
    text-align: center; margin-top: 20px;
    font-size: 13px; color: var(--text-muted);
}
.modal-footer-text a { font-weight: 600; }

/* ═══════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════ */
.toast {
    position: fixed; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
    z-index: 3000;
    font-size: 13.5px; font-weight: 600;
    opacity: 0;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: rgba(34,197,94,.3); }
.toast.error { border-color: rgba(239,68,68,.3); }
.toast-icon { font-size: 18px; }

/* ═══════════════════════════════════════════════
   PRIVACY PAGE SPECIFIC
   ═══════════════════════════════════════════════ */
.privacy-content {
    padding: 0 24px 60px;
}
.privacy-container {
    max-width: 760px; margin: 0 auto;
}

/* Table of contents */
.toc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px; margin-bottom: 36px;
}
.toc-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 700; margin-bottom: 16px;
    color: var(--accent-light);
}
.toc-links {
    display: flex; flex-direction: column; gap: 6px;
}
.toc-links a {
    display: block; padding: 8px 14px;
    font-size: 13.5px; color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition);
}
.toc-links a:hover {
    background: rgba(99,102,241,.08);
    color: var(--accent-light);
    padding-left: 20px;
}

/* Privacy sections */
.privacy-section {
    padding: 32px 0; border-bottom: 1px solid var(--border);
}
.privacy-section:last-child { border-bottom: none; }
.section-icon {
    margin-bottom: 14px;
}
.privacy-section h2 {
    font-size: 20px; font-weight: 800;
    margin-bottom: 14px;
}
.privacy-section p {
    font-size: 14.5px; color: var(--text-muted); line-height: 1.75;
    margin-bottom: 12px;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section strong { color: var(--text); }

/* Info cards in privacy */
.info-cards {
    display: flex; flex-direction: column; gap: 10px;
    margin: 16px 0;
}
.info-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    font-size: 13.5px; color: var(--text-muted); line-height: 1.6;
}
.info-card strong { display: block; margin-bottom: 2px; }
.info-card-icon {
    font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.info-card-green {
    background: rgba(34,197,94,.06);
    border: 1px solid rgba(34,197,94,.15);
}
.info-card-green .info-card-icon { color: var(--success); }
.info-card-blue {
    background: rgba(99,102,241,.06);
    border: 1px solid rgba(99,102,241,.15);
}

/* Privacy list */
.privacy-list {
    padding-left: 20px; margin: 12px 0;
}
.privacy-list li {
    font-size: 14px; color: var(--text-muted);
    margin-bottom: 8px; line-height: 1.6;
}
.privacy-list li::marker { color: var(--accent); }

/* Third party */
.third-party-list {
    display: flex; flex-direction: column; gap: 8px; margin-top: 14px;
}
.tp-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.tp-item:hover { border-color: var(--accent); }
.tp-item strong { font-size: 14px; color: var(--text); }
.tp-item span { font-size: 12px; color: var(--accent-light); }

/* Contact card */
.contact-card {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; margin-top: 14px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.contact-card a {
    font-size: 14px; font-weight: 600;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .side-ad { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-links.mobile-open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(6,6,12,.98);
        border-bottom: 1px solid var(--border);
        padding: 12px;
        backdrop-filter: blur(20px);
        animation: fadeIn .3s ease;
    }
    .nav-actions .btn-ghost,
    .nav-actions .btn-primary-sm {
        display: none;
    }
    .nav-links.mobile-open .btn-ghost,
    .nav-links.mobile-open .btn-primary-sm {
        display: block;
    }
    
    .hero, .privacy-hero { padding: 80px 16px 40px; }
    .hero-title { font-size: 1.8rem; }
    .dl-card { padding: 20px; }
    .paste-btn span { display: none; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .platform-card { padding: 16px 10px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-line { display: none; }
    .stats-card { flex-wrap: wrap; gap: 20px; padding: 24px 16px; }
    .stat-divider { display: none; }
    .stat-item { width: 40%; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 30px; }
    .cta-card { padding: 30px 20px; }
    .modal-card { padding: 28px 20px; }
    .privacy-section { padding: 24px 0; }
}

@media (max-width: 480px) {
    .dl-input-wrap { flex-direction: column; padding: 4px; }
    .paste-btn { width: 100%; justify-content: center; }
    .format-toggle { flex-direction: column; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge, .hero-title, .hero-sub,
.dl-card, .platform-card, .step-card,
.stats-card, .cta-card {
    animation: fadeInUp .6s ease both;
}
.hero-title { animation-delay: .1s; }
.hero-sub { animation-delay: .2s; }
.dl-card { animation-delay: .1s; }
.platform-card:nth-child(1) { animation-delay: .05s; }
.platform-card:nth-child(2) { animation-delay: .1s; }
.platform-card:nth-child(3) { animation-delay: .15s; }
.platform-card:nth-child(4) { animation-delay: .2s; }
.platform-card:nth-child(5) { animation-delay: .25s; }
.platform-card:nth-child(6) { animation-delay: .3s; }
.platform-card:nth-child(7) { animation-delay: .35s; }
.platform-card:nth-child(8) { animation-delay: .4s; }
