/* ============================================
   Overdrive Landing Page - Modern Dark Theme
   ============================================ */

:root {
    /* Colors - Matching App Theme */
    --bg-primary: #0F0F12;
    --bg-secondary: #16161A;
    --bg-tertiary: #1E1E24;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    
    --accent-primary: #00D4AA;
    --accent-secondary: #0EA5E9;
    --accent-gradient: linear-gradient(135deg, #00D4AA 0%, #0EA5E9 100%);
    
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
}
.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    overflow: hidden;
    /* Landing is dark-only — louder shadow + faint top highlight so the
       tile separates from the near-black backdrop. */
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 6px 16px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 212, 170, 0.25);
    transition: all var(--transition);
}
.btn-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}
.nav-discord {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #5865F2;
    border-radius: var(--radius-sm);
    color: white !important;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-discord:hover {
    background: #4752C4;
    transform: translateY(-1px);
}
.nav-discord svg {
    width: 18px;
    height: 18px;
}
.nav-setup-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.28);
    border-radius: 100px;
    color: var(--accent-primary) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.01em;
    transition: all var(--transition);
}
.nav-setup-guide::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}
.nav-setup-guide:hover {
    background: rgba(0, 212, 170, 0.14);
    border-color: rgba(0, 212, 170, 0.45);
    color: var(--accent-primary) !important;
    transform: translateY(-1px);
}
.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #25D366;
    border-radius: var(--radius-sm);
    color: white !important;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-1px);
}
.nav-whatsapp svg {
    width: 18px;
    height: 18px;
}
.btn-whatsapp {
    background: #25D366;
    color: white !important;
    border: none;
}
.btn-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(37, 211, 102, 0.35);
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.4);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666 0%, #888 100%);
    box-shadow: none;
}
.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent-primary); top: -200px; right: -100px; opacity: 0.3; }
.orb-2 { width: 400px; height: 400px; background: var(--accent-secondary); bottom: -100px; left: -100px; opacity: 0.25; }
.orb-3 { width: 300px; height: 300px; background: #6366f1; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.15; }
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.hero-badge svg { width: 16px; height: 16px; }
.badge-security { border-color: rgba(34, 197, 94, 0.3); color: var(--success); }
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--accent-primary); }
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--accent-primary); }
.stat-label { font-size: 0.85rem; color: var(--text-tertiary); }
.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 1; }
.phone-mockup { position: relative; }
.phone-frame {
    width: 320px;
    height: 650px;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 12px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 32px;
    overflow: hidden;
}
.phone-screen .screenshot { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-screen video.screenshot { background: var(--bg-tertiary); }

/* Hero video — clickable affordance */
.phone-screen { position: relative; cursor: zoom-in; }
.phone-screen video.hero-video {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
    will-change: transform;
}
.phone-screen:hover video.hero-video { transform: scale(1.03); filter: brightness(1.05); }
.phone-screen:hover .hero-video-expand { opacity: 1; transform: translate(0, 0) scale(1); }

.hero-video-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    cursor: zoom-in;
    opacity: 0;
    transform: translate(4px, -4px) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
    z-index: 2;
    pointer-events: none; /* parent screen handles click */
}
.hero-video-expand svg { width: 16px; height: 16px; }

/* Lightbox */
.video-lightbox[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
}
.video-lightbox::backdrop {
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: lb-backdrop-in 0.35s ease both;
}
.video-lightbox[closing]::backdrop { animation: lb-backdrop-out 0.25s ease both; }

.video-lightbox-video {
    width: min(92vw, calc(92vh * 16 / 9));
    height: auto;
    max-height: 92vh;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
    background: #000;
    animation: lb-pop-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.video-lightbox[closing] .video-lightbox-video { animation: lb-pop-out 0.3s ease both; }

.video-lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.video-lightbox-close:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.06); }
.video-lightbox-close svg { width: 22px; height: 22px; }

@keyframes lb-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes lb-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes lb-pop-in {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes lb-pop-out {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.92); }
}

/* View Transitions: smoother morph when supported */
::view-transition-old(hero-video),
::view-transition-new(hero-video) {
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-glow {
    position: absolute;
    inset: -50px;
    background: var(--accent-gradient);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
}

/* ============================================
   Section Styles
   ============================================ */
section { padding: var(--section-padding) 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-header p { font-size: 1.1rem; color: var(--text-secondary); }

/* ============================================
   Comparison Table
   ============================================ */
.comparison { background: var(--bg-secondary); }
.comparison-table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
.comparison-table th.highlight { color: var(--accent-primary); }
.comparison-table td.highlight { background: rgba(0, 212, 255, 0.05); }
.comparison-table tr:last-child td { border-bottom: none; }
.badge-good {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}
.badge-bad {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.feature-highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-color: rgba(0, 212, 255, 0.2);
}
.feature-new { border-color: rgba(34, 197, 94, 0.3); }
.feature-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 4px 12px;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
}
.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; color: white; stroke: white; }
.icon-gpu { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.icon-proximity { background: linear-gradient(135deg, #22c55e, #10b981); }
.icon-network { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.icon-dev { background: linear-gradient(135deg, #64748b, #475569); }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.feature-list { margin-top: 20px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}
.feature-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.mini-stat { display: flex; flex-direction: column; }
.mini-value { font-size: 1.25rem; font-weight: 700; color: var(--accent-primary); }
.mini-label { font-size: 0.75rem; color: var(--text-tertiary); }

/* ============================================
   Remote Access Section
   ============================================ */
.remote-access { background: var(--bg-secondary); }
.remote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.remote-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.remote-recommended {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 212, 170, 0.04) 100%);
}
.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
}
.remote-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.remote-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.remote-icon svg { width: 24px; height: 24px; stroke: var(--text-secondary); }
.icon-cloud svg { stroke: #f59e0b; }
.icon-zrok svg { stroke: var(--accent-primary); }
.icon-tailscale svg { stroke: #4b69d9; }
.remote-title h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.remote-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 100px;
}
.badge-easy { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.badge-quick { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-best { background: rgba(0, 212, 255, 0.15); color: var(--accent-primary); }
.remote-card > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.remote-url {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.remote-url code { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--accent-primary); }
.remote-pros { margin-bottom: 16px; }
.remote-pros li { padding: 6px 0; color: var(--text-secondary); font-size: 0.85rem; }
.remote-cons {
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--warning);
}
.remote-link {
    display: block;
    margin-top: 8px;
    color: var(--accent-primary);
    font-size: 0.8rem;
}
.zrok-setup, .tunnel-setup {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.zrok-setup h4, .tunnel-setup h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.zrok-setup ol, .tunnel-setup ol { padding-left: 20px; }
.zrok-setup li, .tunnel-setup li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    list-style: decimal;
}
.zrok-setup a, .tunnel-setup a { color: var(--accent-primary); }

/* ============================================
   Telegram Section
   ============================================ */
.telegram-section { padding: 80px 0; }
.telegram-card {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(0, 136, 204, 0.05) 100%);
    border: 1px solid rgba(0, 136, 204, 0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.telegram-content { display: flex; gap: 24px; }
.telegram-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0088cc;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.telegram-icon svg { width: 32px; height: 32px; fill: white; }
.telegram-info h3 { font-size: 1.5rem; font-weight: 700; margin: 8px 0 12px; }
.telegram-info p { color: var(--text-secondary); }
.telegram-setup h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.telegram-setup ol { padding-left: 20px; }
.telegram-setup li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    list-style: decimal;
}
.telegram-setup a { color: var(--accent-primary); }
.telegram-setup code {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin: 0 4px;
}
.telegram-preview { margin-top: 20px; }
.tg-message {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tg-bot { font-weight: 600; color: #0088cc; font-size: 0.9rem; }
.tg-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }
.tg-time { font-size: 0.75rem; color: var(--text-tertiary); align-self: flex-end; }

/* ============================================
   Phone Push Section (mirrors .telegram-* layout)
   ============================================ */
.push-section { padding: 80px 0; }
.push-card {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.push-content { display: flex; gap: 24px; }
.push-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: white;
}
.push-icon svg { width: 32px; height: 32px; }
.push-info h3 { font-size: 1.5rem; font-weight: 700; margin: 8px 0 12px; }
.push-info p { color: var(--text-secondary); }
.push-setup h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.push-setup ol { padding-left: 20px; }
.push-setup li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    list-style: decimal;
}
.push-setup a { color: var(--accent-primary); }
.push-setup code {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin: 0 4px;
}

/* Accordion: per-platform install steps */
.push-platforms {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.push-platform {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.push-platform[open] {
    border-color: var(--border-hover);
}
.push-platform > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    list-style: none;
}
.push-platform > summary::-webkit-details-marker { display: none; }
.push-platform-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.push-platform-label svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.push-platform-chevron {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}
.push-platform[open] .push-platform-chevron {
    transform: rotate(180deg);
}
.push-platform-body {
    padding: 0 18px 14px;
    border-top: 1px solid var(--border-color);
}
.push-platform-body ol {
    margin: 12px 0 0;
    padding-left: 18px;
    list-style: decimal;
}
.push-platform-body li {
    padding: 4px 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.push-platform-body strong { color: var(--text-primary); }
.push-platform-note {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Banner mock */
.push-preview { margin-top: 20px; }
.push-banner {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.push-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
}
.push-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.push-banner-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.push-banner-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.72rem;
}
.push-banner-app {
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.push-banner-time { color: var(--text-tertiary); }
.push-banner-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.push-banner-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   Security Section
   ============================================ */
.security-section { background: var(--bg-secondary); }
.security-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}
.security-content h2 { font-size: 2rem; font-weight: 700; margin: 12px 0 16px; }
.security-content > p { color: var(--text-secondary); margin-bottom: 32px; }
.security-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
}
.security-list svg {
    width: 24px;
    height: 24px;
    stroke: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}
.security-list span { color: var(--text-secondary); }
.security-list strong { color: var(--text-primary); }
.security-visual { display: flex; justify-content: center; }
.security-icon-large {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
}
.security-icon-large svg { width: 100px; height: 100px; stroke: var(--success); }

/* ============================================
   Showcase Section
   ============================================ */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.tab-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.tab-btn.active { background: var(--accent-gradient); border-color: transparent; color: white; }
.showcase-panel {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.showcase-panel.active { display: grid; }
.showcase-image {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--border-color);
}
.showcase-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.showcase-info h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; }
.showcase-info p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.showcase-info ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}
.showcase-info ul li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ============================================
   Specs Section
   ============================================ */
.specs { background: var(--bg-secondary); }
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.spec-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spec-card ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.spec-card ul li:last-child { border-bottom: none; }
.spec-card ul li span { color: var(--text-tertiary); }
.spec-card ul li strong { color: var(--text-primary); font-weight: 500; }

/* ============================================
   Changelog Section
   ============================================ */
.changelog-timeline { max-width: 800px; margin: 0 auto; }
.changelog-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}
.changelog-item::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(15px);
}
.changelog-item:last-child::before { display: none; }
.changelog-marker { text-align: right; padding-right: 32px; }
.version-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-gradient);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}
.version-date { display: block; font-size: 0.85rem; color: var(--text-tertiary); }
.changelog-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.changelog-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}
.changelog-content h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
.changelog-content ul li { padding: 6px 0; color: var(--text-secondary); font-size: 0.95rem; }
.changelog-content strong { color: var(--text-primary); }

/* ============================================
   Download Section
   ============================================ */
.download { padding: 80px 0 120px; }
.download-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 170, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}
.download-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    filter: blur(120px);
    opacity: 0.3;
}
.download-info { position: relative; z-index: 1; }
.download-info h2 { font-size: 2rem; font-weight: 700; margin: 12px 0; }
.download-info p { color: var(--text-secondary); margin-bottom: 20px; }
.download-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.download-meta span { font-size: 0.9rem; color: var(--text-tertiary); }
.download-meta strong { color: var(--text-primary); }
.download-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.community-buttons { display: flex; gap: 12px; }
.btn-community { flex: 1; justify-content: center; }
.btn-community svg { width: 18px; height: 18px; }

/* Alpha Disclaimer */
.alpha-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    margin-top: 8px;
}
.alpha-disclaimer svg {
    flex-shrink: 0;
    color: #ffc107;
    margin-top: 2px;
}
.alpha-disclaimer span {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.alpha-disclaimer strong {
    color: #ffc107;
}


/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-tertiary); font-size: 0.9rem; line-height: 1.7; }
.footer-links { display: flex; gap: 64px; }
.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    padding: 8px 0;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-bottom p { color: var(--text-tertiary); font-size: 0.85rem; }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-content { max-width: 100%; }
    .hero-badges { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { position: relative; right: auto; top: auto; transform: none; margin-top: 48px; }
    .phone-frame { width: 280px; height: 560px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-highlight { grid-column: span 2; }
    
    .remote-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    
    .telegram-card { grid-template-columns: 1fr; }
    .push-card { grid-template-columns: 1fr; }

    .security-grid { grid-template-columns: 1fr; text-align: center; }
    .security-list { display: inline-block; text-align: left; }
    .security-visual { margin-top: 48px; }
    
    .showcase-panel { grid-template-columns: 1fr; }
    .showcase-panel.active { display: flex; flex-direction: column; }
    
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    
    .changelog-item { grid-template-columns: 1fr; gap: 16px; }
    .changelog-item::before { display: none; }
    .changelog-marker { text-align: left; padding-right: 0; }
    .changelog-content::before { display: none; }
    
    .download-card { flex-direction: column; text-align: center; }
    .download-meta { justify-content: center; }
    .download-actions { width: 100%; }
    .download-actions .btn { width: 100%; justify-content: center; }
    
    .footer-content { flex-direction: column; gap: 48px; }
    .footer-brand { max-width: 100%; text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .footer-links { justify-content: center; }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 24px; }
    .phone-frame { width: 240px; height: 480px; }
    
    .section-header h2 { font-size: 1.75rem; }
    
    .comparison-table th,
    .comparison-table td { padding: 12px 16px; font-size: 0.85rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-highlight { grid-column: span 1; }
    
    .telegram-content { flex-direction: column; text-align: center; }
    .telegram-card { padding: 32px 24px; }
    .push-content { flex-direction: column; text-align: center; }
    .push-card { padding: 32px 24px; }

    .showcase-tabs { gap: 6px; }
    .tab-btn { padding: 10px 16px; font-size: 0.8rem; }
    
    .specs-grid { grid-template-columns: 1fr; }
    
    .footer-links { flex-direction: column; gap: 32px; text-align: center; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero { padding: 80px 16px 60px; }
    .hero-badges { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    
    .feature-card { padding: 24px; }
    .feature-stats { flex-direction: column; gap: 16px; }
    
    .remote-card { padding: 20px; }
    
    .telegram-card { padding: 24px 16px; }
    .push-card { padding: 24px 16px; }
    .push-banner { padding: 12px 14px; }
    .push-banner-icon { width: 32px; height: 32px; }

    .download-card { padding: 32px 24px; }
    .download-info h2 { font-size: 1.5rem; }
    .download-meta { flex-direction: column; gap: 8px; }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Animation Classes */
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-slide-left { animation: slideInLeft 0.6s ease forwards; }
.animate-slide-right { animation: slideInRight 0.6s ease forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease forwards; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Hover effects */
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon { transition: transform var(--transition); }

.remote-card:hover { transform: translateY(-4px); transition: transform var(--transition); }

.spec-card:hover { 
    background: var(--bg-card-hover); 
    border-color: var(--border-hover);
    transition: all var(--transition);
}

/* Phone mockup float animation */
.phone-mockup { animation: float 6s ease-in-out infinite; }
.phone-glow { animation: glow 4s ease-in-out infinite; }

/* Gradient orb animations */
.orb-1 { animation: float 8s ease-in-out infinite; }
.orb-2 { animation: float 10s ease-in-out infinite reverse; }
.orb-3 { animation: glow 6s ease-in-out infinite; }

/* Button hover ripple effect */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary { position: relative; overflow: hidden; }

/* Scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Loading state for images */
.showcase-image img,
.phone-screen img,
.phone-screen video {
    background: var(--bg-tertiary);
    min-height: 300px;
}

/* Focus states for accessibility */
.btn:focus-visible,
.tab-btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .phone-mockup, .phone-glow, .orb-1, .orb-2, .orb-3 {
        animation: none;
    }
}

/* ============================================
   Languages feature card
   ============================================ */
.feature-card.feature-langs {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 60%),
        var(--bg-card);
    border-color: rgba(14, 165, 233, 0.25);
}
.feature-card.feature-langs:hover {
    border-color: rgba(14, 165, 233, 0.45);
}
.feature-badge-langs {
    background: linear-gradient(135deg, #0EA5E9 0%, #00D4AA 100%);
    color: #0F0F12;
}
.feature-card .icon-langs {
    background: rgba(14, 165, 233, 0.12);
    color: #0EA5E9;
}
.lang-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}
.lang-strip span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   Get Started — download CTA + setup walkthrough
   ============================================ */
.get-started {
    padding: 120px 0 100px;
    position: relative;
    background:
        radial-gradient(circle at 15% 0%, rgba(0, 212, 170, 0.06), transparent 55%),
        radial-gradient(circle at 85% 100%, rgba(14, 165, 233, 0.06), transparent 55%),
        var(--bg-primary);
}
.get-started-container {
    max-width: 1500px;
    padding: 0 32px;
}
/* Override default .download-card layout when nested inside get-started for wider feel */
.get-started .download-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 170, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.get-started .download-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: var(--accent-gradient);
    filter: blur(140px);
    opacity: 0.28;
    pointer-events: none;
}
.get-started .download-info { position: relative; z-index: 1; }
.get-started .download-info h2 { font-size: 2.25rem; font-weight: 700; margin: 12px 0; letter-spacing: -0.01em; }
.get-started .download-info p { color: var(--text-secondary); margin-bottom: 20px; }
.get-started .download-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.get-started .download-meta span { font-size: 0.9rem; color: var(--text-tertiary); }
.get-started .download-meta strong { color: var(--text-primary); }
.get-started .download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Walkthrough header */
.install-intro {
    margin: 80px 0 36px;
    text-align: center;
}
.install-intro-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 14px;
}
.install-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.install-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.install-parts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.install-part {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition);
}
.install-part::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.7;
}
.install-part:hover { border-color: var(--border-hover); }
.install-part-head {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--border-color);
}
.install-part-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.install-part-tag-2 {
    background: rgba(14, 165, 233, 0.12);
    color: var(--accent-secondary);
    border-color: rgba(14, 165, 233, 0.25);
}
.install-part-head h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.install-part-sub {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 0.92rem;
}

/* Steps list */
.install-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.install-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 20px 0;
    position: relative;
}
.install-step + .install-step { border-top: 1px solid var(--border-color); }
.install-step:first-child { padding-top: 0; }
.install-step:last-child { padding-bottom: 0; }
.step-index {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-primary);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.install-part:nth-child(2) .step-index { color: var(--accent-secondary); }
.install-step-body { min-width: 0; }
.install-step-body h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 6px 0 8px;
    letter-spacing: -0.005em;
}
.install-step-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 10px;
}
.install-step-body p:last-child { margin-bottom: 0; }
.install-step-body strong { color: var(--text-primary); font-weight: 600; }
.install-step-body code,
.install-step-body kbd {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.85em;
    color: var(--accent-primary);
}
.install-step-body a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 212, 170, 0.4);
    transition: border-color var(--transition);
}
.install-step-body a:hover { border-bottom-color: var(--accent-primary); }

/* Inline highlighted code line */
.install-code {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    margin: 8px 0 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--radius-sm);
}
.install-code code {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}
.install-code a { border-bottom: none; }
.install-code a code { color: var(--accent-primary); }
.install-code-hint {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}
.install-code-hint code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1px 6px;
    font-size: 0.8em;
}

/* Shell/terminal block */
.install-shell {
    margin: 8px 0 12px;
    padding: 16px 18px;
    background: #0A0A0D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.install-shell::before {
    content: '$';
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--accent-primary);
    font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}
.install-shell code {
    display: block;
    padding-left: 20px;
    background: transparent;
    border: none;
    font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    color: #E6E6EA;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.55;
}

/* Checklist inside steps */
.install-checks {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.install-checks li {
    position: relative;
    padding: 6px 12px 6px 30px;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.install-checks li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Callout / note box */
.install-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.install-callout svg {
    width: 18px;
    height: 18px;
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 1px;
}
.install-callout-success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
}
.install-callout-success svg { color: var(--success); }

.install-zh {
    display: inline-block;
    padding: 1px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95em;
}

/* Get Started responsive */
@media (max-width: 1024px) {
    .get-started .download-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; text-align: center; }
    .get-started .download-meta { justify-content: center; }
    .get-started .download-actions { width: 100%; }
    .get-started .download-actions .btn { width: 100%; justify-content: center; }
    .install-parts { grid-template-columns: 1fr; gap: 24px; }
    .install-intro { margin-top: 56px; }
}
@media (max-width: 768px) {
    .get-started { padding: 80px 0 64px; }
    .get-started-container { padding: 0 16px; }
    .get-started .download-card { padding: 32px 22px; }
    .get-started .download-info h2 { font-size: 1.6rem; }
    .install-intro h3 { font-size: 1.5rem; }
    .install-part { padding: 28px 22px; }
    .install-step { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; }
    .step-index { width: 32px; height: 32px; font-size: 0.85rem; }
    .install-code { padding: 10px 14px; }
    .install-code code { font-size: 0.92rem; }
    .install-shell { padding: 14px 14px; }
    .install-shell::before { left: 14px; top: 16px; }
}

/* ============================================
   Changelog — scrollable timeline
   ============================================ */
.changelog-scroll {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}
.changelog-scroll .changelog-timeline {
    max-height: 620px;
    overflow-y: auto;
    padding: 8px 28px 8px 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 170, 0.4) transparent;
    scroll-behavior: smooth;
    mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.changelog-scroll .changelog-timeline::-webkit-scrollbar { width: 8px; }
.changelog-scroll .changelog-timeline::-webkit-scrollbar-track { background: transparent; }
.changelog-scroll .changelog-timeline::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 170, 0.35);
    border-radius: 100px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.changelog-scroll .changelog-timeline::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 170, 0.55);
    background-clip: padding-box;
}
/* Compact item layout for the scrollable variant */
.changelog-scroll .changelog-item {
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding-bottom: 28px;
}
.changelog-scroll .changelog-item::before { left: 140px; }
.changelog-scroll .changelog-marker { padding-right: 20px; }
.changelog-scroll .changelog-content { padding: 22px 26px; }
.changelog-scroll .changelog-content h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.changelog-scroll .changelog-content ul li {
    padding: 4px 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .changelog-scroll .changelog-timeline { max-height: 520px; padding-right: 16px; }
    .changelog-scroll .changelog-item { grid-template-columns: 1fr; gap: 12px; }
    .changelog-scroll .changelog-item::before { display: none; }
    .changelog-scroll .changelog-marker { text-align: left; padding-right: 0; }
    .changelog-scroll .changelog-content::before { display: none; }
}
