/* 
    Software Download - Rich Dark Theme (Clean Center)
    Theme: Minimal, High Contrast, Dark
*/

:root {
    --bg-page: #000000;
    --bg-surface: #09090B;
    --bg-surface-hover: #18181B;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-tertiary: #52525B;
    
    --border-subtle: #27272A;
    --border-medium: #3F3F46;
    --border-strong: #FFFFFF;
    
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-orange: #F59E0B;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.page-software-download {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navbar Override */
.page-software-download .navbar {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-subtle);
}
.page-software-download .navbar .logo-text, 
.page-software-download .navbar .nav-links a { color: var(--text-primary) !important; }
.page-software-download .navbar .nav-links a:hover { color: #fff !important; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Hero Section (Centered)
   ========================================= */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image: radial-gradient(#27272A 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-grid-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    width: 100%;
}

/* New Release Pill */
.new-release-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid var(--border-medium);
    padding: 6px 6px 6px 12px;
    border-radius: 100px;
    margin-bottom: 40px;
    font-size: 13px;
    transition: 0.2s;
    cursor: pointer;
}
.new-release-pill:hover { border-color: var(--text-primary); transform: translateY(-1px); }
.pill-tag { background: var(--text-primary); color: #000; padding: 2px 8px; border-radius: 100px; font-weight: 700; font-size: 11px; }
.pill-text { color: var(--text-secondary); font-weight: 500; }
.pill-arrow { width: 24px; height: 24px; background: var(--bg-surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--text-secondary); }

/* Typography */
.display-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    color: #fff;
}
.text-stroke {
    background: linear-gradient(135deg, #fff 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Row */
.hero-cta-row { display: flex; justify-content: center; gap: 20px; margin-bottom: 80px; }

.btn-primary-xl {
    background: #fff; color: #000;
    padding: 16px 40px; border-radius: 10px;
    font-weight: 600; text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    transition: 0.2s;
    font-size: 16px;
}
.btn-primary-xl:hover { background: #E4E4E7; transform: translateY(-2px); }

.btn-secondary-xl {
    background: #000; color: #fff;
    padding: 16px 40px; border-radius: 10px;
    font-weight: 600; text-decoration: none;
    border: 1px solid var(--border-medium);
    display: flex; align-items: center; gap: 10px;
    transition: 0.2s;
    font-size: 16px;
}
.btn-secondary-xl:hover { border-color: #fff; background: var(--bg-surface); }

/* Stats Row */
.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}
.stat-block { display: flex; flex-direction: column; align-items: center; }
.stat-val { font-size: 32px; font-weight: 800; color: #fff; }
.stat-lbl { font-size: 13px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-medium); }

/* =========================================
   Logo Ticker
   ========================================= */
.ticker-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-subtle);
    background: #050505;
    overflow: hidden;
}
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 80px;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}
.ticker-track span { color: var(--text-tertiary); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.ticker-track i { color: #3F3F46; font-size: 28px; transition: 0.3s; }
.ticker-track i:hover { color: var(--text-secondary); }
.ticker-track .divider { color: var(--border-subtle); }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   Bento Grid (Dense)
   ========================================= */
.bento-section { padding: 120px 0; background: #000; }
.section-head { margin-bottom: 80px; text-align: center; }
.section-head h2 { font-size: 40px; color: #fff; margin-bottom: 16px; font-weight: 800; }
.section-head p { font-size: 20px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.bento-grid-dense {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 340px);
    gap: 24px;
}

.bento-box {
    background: #09090B;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}
.bento-box:hover { transform: translateY(-4px); border-color: var(--text-tertiary); background: #121214; }

.span-2 { grid-column: span 2; }
.row-2 { grid-row: span 2; }

.box-content { padding: 40px; height: 100%; display: flex; flex-direction: column; }
.icon-lg { font-size: 40px; margin-bottom: 24px; color: #fff; background: #18181B; width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); }
.icon-md { font-size: 24px; margin-bottom: 20px; color: #fff; background: #18181B; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); }

.bento-box h3 { font-size: 22px; margin: 0 0 12px 0; color: #fff; font-weight: 700; }
.bento-box p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Visuals inside Bento */
.speed-visual-graph {
    margin-top: auto;
    display: flex; align-items: flex-end; gap: 8px;
    height: 120px;
}
.bar { flex: 1; background: #18181B; border-radius: 4px; transition: 0.3s; }
.bar:hover { background: #27272A; }
.bar.active { background: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.2); }

.box-content.horizontal { flex-direction: row; align-items: center; justify-content: space-between; }
.visual-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 240px; justify-content: flex-end; }
.tag-pill { font-size: 12px; padding: 6px 12px; border-radius: 100px; background: #000; border: 1px solid var(--border-medium); color: var(--text-secondary); font-weight: 500; }
.tag-pill.red { color: var(--accent-red); border-color: rgba(239,68,68,0.3); }
.tag-pill.blue { color: var(--accent-blue); border-color: rgba(59,130,246,0.3); }
.tag-pill.green { color: var(--accent-green); border-color: rgba(16,185,129,0.3); }
.tag-pill.yellow { color: var(--accent-orange); border-color: rgba(245,158,11,0.3); }

/* =========================================
   Testimonials
   ========================================= */
.testimonials-section { padding: 100px 0; border-top: 1px solid var(--border-subtle); background: #050505; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.testi-card {
    background: #09090B;
    border: 1px solid var(--border-subtle);
    padding: 32px;
    border-radius: 16px;
    transition: 0.2s;
}
.testi-card:hover { border-color: var(--text-tertiary); transform: translateY(-2px); }

.user-info { display: flex; gap: 16px; margin-bottom: 24px; }
.avatar { width: 48px; height: 48px; background: #18181B; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; border: 1px solid var(--border-subtle); }
.meta .name { color: #fff; font-weight: 700; font-size: 16px; }
.meta .role { color: var(--text-tertiary); font-size: 13px; font-weight: 500; }
.quote { color: var(--text-secondary); font-size: 16px; line-height: 1.6; margin-bottom: 24px; min-height: 72px; font-style: italic; }
.rating { color: #F59E0B; font-size: 14px; display: flex; gap: 4px; }

/* =========================================
   FAQ
   ========================================= */
.faq-section { padding: 100px 0; background: #000; border-top: 1px solid var(--border-subtle); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.faq-item { margin-bottom: 40px; }
.faq-item h4 { font-size: 18px; color: #fff; margin-bottom: 12px; font-weight: 700; }
.faq-item p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

/* =========================================
   Mega CTA
   ========================================= */
.cta-mega-section { padding: 120px 0; background: #09090B; border-top: 1px solid var(--border-subtle); }
.cta-mega-box {
    background: #fff;
    border-radius: 32px;
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #000;
}
.cta-badge {
    display: inline-block; color: #000; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 24px; background: rgba(0,0,0,0.05); padding: 6px 12px; border-radius: 100px;
}
.cta-title { font-size: 48px; color: #000; margin-bottom: 16px; letter-spacing: -0.02em; font-weight: 800; }
.cta-subtitle { font-size: 20px; color: #52525B; margin-bottom: 60px; }

.download-grid {
    display: flex; justify-content: center; gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.dl-tile {
    background: #000; border: 1px solid #000;
    border-radius: 16px;
    padding: 24px;
    width: 300px;
    display: flex; align-items: center; gap: 20px;
    text-decoration: none;
    transition: 0.2s;
}
.dl-tile:hover { background: #27272A; border-color: #27272A; transform: translateY(-4px); }
.dl-tile .tile-icon, .dl-tile .os, .dl-tile .ver, .dl-tile .tile-action { color: #fff !important; }

.tile-icon { font-size: 32px; transition: 0.2s; }
.tile-info { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.os { font-weight: 700; font-size: 18px; transition: 0.2s; }
.ver { opacity: 0.7; font-size: 13px; transition: 0.2s; }
.tile-action { opacity: 0.5; transition: 0.2s; }

.cta-footer { display: flex; justify-content: center; gap: 32px; color: #52525B; font-size: 14px; }
.cta-footer i { margin-right: 8px; color: #10B981; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .bento-grid-dense { grid-template-columns: 1fr; grid-template-rows: auto; }
    .span-2, .row-2 { grid-column: span 1; grid-row: span 1; }
    .testimonial-grid, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .display-title { font-size: 42px; }
    .hero-cta-row { flex-direction: column; width: 100%; }
    .btn-primary-xl, .btn-secondary-xl { justify-content: center; }
    .hero-stats-row { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .stat-divider { display: none; }
    .download-grid { flex-direction: column; align-items: center; }
    .dl-tile { width: 100%; }
}