/* ==========================================================================
   LIGHTCORD - Professional Software Engineering Design System
   Aesthetic: Ultra-clean Dark Gray & Deep Indigo, Zero Glow, Sharp 1px Borders
   ========================================================================== */

:root {
    /* Color Palette - Precise Dark Slate & Indigo */
    --bg-void: #07080d;
    --bg-base: #0b0d14;
    --bg-card: #0f121d;
    --bg-card-hover: #141827;
    --bg-surface: #121522;
    --bg-subtle: #171c2f;
    
    /* Indigo & Accent Colors - Flat / Matte, NO GLOW */
    --indigo-primary: #5865f2;
    --indigo-hover: #4752c4;
    --indigo-subtle: rgba(88, 101, 242, 0.08);
    --indigo-border: #282f4d;
    --indigo-border-hover: #5865f2;
    
    /* Neutrals & Borders */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Micro-Transitions */
    --ease-out: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-void);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* 3D Space Canvas Background */
#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background-color: var(--bg-void);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease-out);
}

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

/* Refined Tagline - Replaces pill badge (Requirement 3) */
.hero-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.92rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tagline-bar {
    width: 24px;
    height: 1px;
    background: #6366f1;
    display: inline-block;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: #121629;
    border: 1px solid var(--indigo-border);
    color: #a5b4fc;
}

.pill-badge i {
    font-size: 0.85rem;
    color: var(--indigo-primary);
}

/* Buttons - Sharp, Clean, Professional */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 9px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background-color var(--ease-out), border-color var(--ease-out), transform var(--ease-out);
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--indigo-primary);
    color: #ffffff;
    border-color: #6366f1;
}

.btn-primary:hover {
    background: var(--indigo-hover);
    border-color: var(--indigo-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: #111422;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: #171c2f;
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 7px 15px;
    font-size: 0.84rem;
    border-radius: 7px;
}

.btn-lg {
    padding: 13px 26px;
    font-size: 0.98rem;
    border-radius: 9px;
}

/* ==========================================================================
   Navbar - Sleek, Balanced, Professional
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 11, 18, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--ease-out), border-color var(--ease-out);
}

.nav-container {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-download-btn {
    padding: 8px 18px;
    font-size: 0.86rem;
    border-radius: 8px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section - Fixed Viewport Dimensions (Requirement 4)
   Guarantees 100vh exact fit on desktop so bottom section does NOT bleed in!
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Faded Microphone Watermark */
.hero-faded-mic {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-46%);
    width: 440px;
    height: 520px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 660px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.15;
}

.hero-title .accent-text {
    color: #818cf8;
}

.hero-description {
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 28px;
    color: var(--text-secondary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.detected-os {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.detected-os strong {
    color: var(--text-secondary);
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--indigo-primary);
}

/* Hero Client Preview Panel */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 390px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.preview-logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.preview-info h4 {
    font-size: 1.08rem;
    margin-bottom: 2px;
}

.preview-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preview-features-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.preview-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #141726;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.85rem;
}

.preview-feature-row span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-feature-row i {
    color: var(--indigo-primary);
    width: 16px;
}

.sim-switch {
    width: 30px;
    height: 17px;
    background: #252b42;
    border-radius: 20px;
    position: relative;
    cursor: default;
}

.sim-switch.active {
    background: var(--indigo-primary);
}

.sim-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform var(--ease-out);
}

.sim-switch.active::after {
    transform: translateX(13px);
}

/* ==========================================================================
   Requirement 5: Infinite Moving Marquee Ribbon Ticker
   Seamless loop moving left to right, semi-transparent, added metrics
   ========================================================================== */
.marquee-section {
    position: relative;
    background: rgba(9, 11, 18, 0.72);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
    overflow: hidden;
    width: 100%;
    user-select: none;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: marquee-infinite 36s linear infinite;
    flex-shrink: 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 20px;
    background: rgba(16, 20, 32, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    white-space: nowrap;
    transition: border-color var(--ease-out), background-color var(--ease-out);
}

.marquee-item:hover {
    border-color: var(--indigo-border);
    background: rgba(22, 28, 46, 0.9);
}

.marquee-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: #ffffff;
    line-height: 1;
}

.marquee-details {
    display: flex;
    flex-direction: column;
}

.marquee-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.marquee-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================================================
   3D Coverflow Showcase Carousel
   ========================================================================== */
.showcase-section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 46px;
}

.section-header .pill-badge {
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.carousel-stage {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1200px;
    padding: 10px 0 20px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.carousel-card {
    position: absolute;
    width: 720px;
    max-width: 82%;
    height: 400px;
    background: #0f121d;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-subtle);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color var(--ease-out);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    user-select: none;
}

.carousel-card.active {
    transform: translate3d(0, 0, 140px) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 10;
    border-color: var(--indigo-primary);
}

.carousel-card.prev {
    transform: translate3d(-50%, 0, 0) rotateY(30deg) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    filter: brightness(0.7);
}

.carousel-card.prev:hover {
    opacity: 0.7;
    filter: brightness(0.85);
}

.carousel-card.next {
    transform: translate3d(50%, 0, 0) rotateY(-30deg) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    filter: brightness(0.7);
}

.carousel-card.next:hover {
    opacity: 0.7;
    filter: brightness(0.85);
}

.carousel-card.hidden-left {
    transform: translate3d(-90%, 0, -180px) rotateY(45deg) scale(0.65);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.carousel-card.hidden-right {
    transform: translate3d(90%, 0, -180px) rotateY(-45deg) scale(0.65);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.card-zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(11, 13, 20, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 0.76rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity var(--ease-out);
}

.carousel-card.active:hover .card-zoom-badge {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #111422;
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background-color var(--ease-out), border-color var(--ease-out), transform var(--ease-out);
}

.carousel-btn:hover {
    background: var(--indigo-primary);
    border-color: var(--indigo-primary);
    transform: translateY(-50%) scale(1.06);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-caption-wrap {
    text-align: center;
    max-width: 680px;
    margin: 22px auto 0;
    padding: 0 16px;
}

.carousel-caption-title {
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.carousel-caption-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #252b42;
    border: none;
    cursor: pointer;
    transition: width var(--ease-out), background-color var(--ease-out);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--indigo-primary);
}

/* ==========================================================================
   8 Features Grid (4 on Top, 4 Below, Spacious Cards)
   ========================================================================== */
.features-section {
    padding: 90px 0;
    position: relative;
}

.features-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.feature-large-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--ease-out), transform var(--ease-out);
}

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

.feature-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #141829;
    border: 1px solid var(--indigo-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--indigo-primary);
    margin-bottom: 18px;
}

.feature-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==========================================================================
   Themes Showcase Section
   ========================================================================== */
.themes-section {
    padding: 90px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.themes-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.themes-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-filter-btn {
    padding: 7px 16px;
    border-radius: 8px;
    background: #111422;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--ease-out), color var(--ease-out), border-color var(--ease-out);
}

.theme-filter-btn:hover {
    color: #ffffff;
    border-color: var(--border-strong);
}

.theme-filter-btn.active {
    background: var(--indigo-primary);
    color: #ffffff;
    border-color: var(--indigo-primary);
}

.theme-search-box {
    position: relative;
    min-width: 260px;
}

.theme-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.theme-search-input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    background: #111422;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.86rem;
    outline: none;
    transition: border-color var(--ease-out);
}

.theme-search-input:focus {
    border-color: var(--indigo-primary);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--ease-out), transform var(--ease-out);
}

.theme-card:hover {
    transform: translateY(-3px);
    border-color: var(--indigo-border);
}

.theme-preview-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    background: #090b14;
    overflow: hidden;
}

.theme-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 20, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease-out);
}

.theme-card:hover .theme-hover-overlay {
    opacity: 1;
}

.theme-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(9, 11, 18, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a5b4fc;
}

.theme-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.theme-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.theme-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.theme-rating {
    font-size: 0.8rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.theme-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.theme-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.theme-author {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.theme-author span {
    color: var(--text-primary);
    font-weight: 500;
}

.theme-download-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
    border-radius: 7px;
    background: var(--indigo-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color var(--ease-out);
}

.theme-download-btn:hover {
    background: var(--indigo-hover);
}

.betterdiscord-banner {
    background: #0f121d;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bd-info h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.bd-info p {
    font-size: 0.9rem;
    max-width: 580px;
}

/* ==========================================================================
   Download Section
   ========================================================================== */
.download-section {
    padding: 90px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.download-platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 480px;
    margin: 0 auto 40px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color var(--ease-out), transform var(--ease-out);
}

.platform-card.recommended {
    border-color: var(--indigo-border);
    background: #111422;
}

.platform-card:hover {
    border-color: var(--indigo-border-hover);
    transform: translateY(-3px);
}

.platform-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #181d33;
    border: 1px solid var(--indigo-border);
    color: #a5b4fc;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.platform-icon {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.platform-name {
    font-size: 1.65rem;
    margin-bottom: 6px;
}

.platform-specs {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 22px;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.platform-alt-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.platform-alt-links a {
    color: #818cf8;
}

.platform-sha {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text-muted);
}

.copy-sha-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy-sha-btn:hover {
    color: #ffffff;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--ease-out);
}

.faq-item.active {
    border-color: var(--indigo-border);
}

.faq-question {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--indigo-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 22px 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 70px 0 35px;
    background: #050609;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 0.88rem;
    margin-top: 12px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h5 {
    font-size: 0.94rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Download Modal & Lightbox
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease-out);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 8, 0.85);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 10;
    background: #0f121d;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #181d30;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-progress-wrap {
    margin: 20px 0 14px;
}

.modal-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #181d30;
    border-radius: 999px;
    overflow: hidden;
}

.modal-progress-bar {
    height: 100%;
    background: var(--indigo-primary);
    width: 0%;
    transition: width 0.15s ease;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease-out);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 1060px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.lightbox-title {
    margin-top: 14px;
    font-size: 1.15rem;
    color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
    .features-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding: 110px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-tagline {
        justify-content: center;
    }

    .hero-faded-mic {
        right: 50%;
        transform: translate(50%, -50%);
        opacity: 0.08;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-group,
    .detected-os,
    .hero-trust-badges {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .download-platforms-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: #090b14;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--ease-out), opacity var(--ease-out);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid-8 {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        height: 320px;
    }

    .carousel-card {
        height: 280px;
    }

    .betterdiscord-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
