/* ==========================================================================
   星河娱乐 (Xinghe Entertainment) - Official Download Center Stylesheet
   Theme: Galaxy Dark Mode / Neon Cyan & Deep Sapphire Blue / Gold Highlights
   ========================================================================== */

:root {
    --bg-dark: #0B0F19;
    --bg-surface: #0E1424;
    --bg-card: rgba(18, 26, 45, 0.75);
    --bg-card-hover: rgba(26, 38, 66, 0.85);
    
    --primary-cyan: #00D2FF;
    --primary-blue: #0055FE;
    --gradient-primary: linear-gradient(135deg, #00D2FF 0%, #0055FE 100%);
    --gradient-gold: linear-gradient(135deg, #FFE082 0%, #FFB300 100%);
    --gradient-green: linear-gradient(135deg, #00E676 0%, #00B0FF 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    
    --text-white: #FFFFFF;
    --text-muted: #94A3B8;
    --text-gold: #FFC107;
    --text-cyan: #00D2FF;
    --text-green: #00E676;
    
    --border-light: rgba(255, 255, 255, 0.12);
    --border-cyan-glow: rgba(0, 210, 255, 0.4);
    
    --shadow-neon: 0 0 25px rgba(0, 210, 255, 0.35);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.5);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Canvas Background */
#galaxyCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gold { color: var(--text-gold) !important; }
.text-cyan { color: var(--text-cyan) !important; }
.text-green { color: var(--text-green) !important; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    height: 76px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image-box {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding: 5px 14px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
    transition: var(--transition);
}

.logo:hover .logo-image-box {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 210, 255, 0.6);
}

.brand-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.phone-logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 2px 6px;
    border-radius: 4px;
    display: block;
}

.qr-logo-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
    background: #FFFFFF;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    margin-bottom: 14px;
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 14px;
    opacity: 0.7;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.btn-live-chat {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-neon);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-live-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
}

.mobile-toggle {
    display: none;
    font-size: 22px;
    color: var(--text-white);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: 130px;
    padding-bottom: 70px;
    position: relative;
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 85, 254, 0.25) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-cyan-glow);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--text-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 580px;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 36px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Download CTA Cards */
.download-cta-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    max-width: 540px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.download-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-cyan);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 32px;
    color: var(--primary-cyan);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 10px;
}

.android-card .card-icon {
    color: var(--text-green);
    background: rgba(0, 230, 118, 0.1);
}

.web-card .card-icon {
    color: var(--text-gold);
    background: rgba(255, 193, 7, 0.1);
}

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-platform {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.app-ver {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-download-action {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-android {
    background: var(--gradient-green);
}

.btn-web {
    background: var(--gradient-gold);
    color: #111;
}

.btn-download-action:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.security-guarantee {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.security-guarantee i {
    color: var(--primary-cyan);
    margin-right: 4px;
}

/* Phone Mockup & QR Section */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-wrapper {
    position: relative;
    width: 290px;
    height: 580px;
    margin: 0 auto;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
}

.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border: 10px solid #222B3E;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 20px rgba(0, 210, 255, 0.2);
    overflow: hidden;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: #222B3E;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0D1322;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
}

.screen-header {
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.app-brand {
    font-weight: 700;
    color: #FFF;
}

.gold-amount {
    color: var(--text-gold);
    font-size: 12px;
}

.app-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 12px;
}

.app-slide {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
    pointer-events: none;
}

.app-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide-banner {
    height: 140px;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.casino-bg { background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,85,254,0.85)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%230b1329" width="100" height="100"/><circle cx="50" cy="50" r="30" fill="%2300d2ff" opacity="0.2"/></svg>'); }
.sports-bg { background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,180,216,0.85)); }
.chess-bg { background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(114,9,183,0.85)); }
.slots-bg { background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(247,37,133,0.85)); }

.game-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--primary-cyan);
}

.slide-banner h3 { font-size: 14px; color: #FFF; font-weight: 700; }
.slide-banner p { font-size: 10px; color: rgba(255,255,255,0.8); }

.game-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.mini-game-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
}

.mini-game-card i {
    color: var(--primary-cyan);
}

.phone-tabs {
    display: flex;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--border-light);
}

.p-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 12px 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.p-tab.active {
    color: var(--primary-cyan);
    border-top: 2px solid var(--primary-cyan);
    background: rgba(0, 210, 255, 0.08);
}

/* Floating QR Code Card */
.qr-code-box {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: rgba(14, 20, 36, 0.95);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 200px;
    box-shadow: var(--shadow-card), var(--shadow-neon);
    z-index: 20;
    backdrop-filter: blur(10px);
}

.qr-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.qr-tabs {
    display: flex;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 2px;
}

.q-tab {
    flex: 1;
    text-align: center;
    padding: 3px 0;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-muted);
}

.q-tab.active {
    background: var(--gradient-primary);
    color: #FFF;
    font-weight: 700;
}

.qr-body {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: #FFF;
    padding: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.qr-svg {
    width: 100%;
    height: 100%;
}

.qr-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
    font-size: 12px;
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: scanMove 2.5s infinite linear;
}

@keyframes scanMove {
    0% { top: 0; }
    50% { top: 137px; }
    100% { top: 0; }
}

.qr-tip {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Showcase Grid */
.game-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-cyan-glow);
    box-shadow: var(--shadow-card), var(--shadow-neon);
}

.cat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.gold-badge {
    background: rgba(255, 193, 7, 0.15);
    border-color: var(--text-gold);
    color: var(--text-gold);
}

.red-badge {
    background: rgba(255, 82, 82, 0.15);
    border-color: #FF5252;
    color: #FF5252;
}

.cat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.blue-glow { background: rgba(0, 85, 254, 0.15); color: var(--primary-cyan); }
.green-glow { background: rgba(0, 230, 118, 0.15); color: var(--text-green); }
.purple-glow { background: rgba(114, 9, 183, 0.15); color: #B5179E; }
.orange-glow { background: rgba(255, 152, 0, 0.15); color: #FF9800; }

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cat-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.cat-features li {
    font-size: 13px;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-features li i {
    color: var(--text-green);
    font-size: 12px;
}

.cat-link {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.cat-link:hover {
    gap: 10px;
    color: var(--text-white);
}

/* Speed Test Section */
.speedtest-box {
    background: var(--bg-card);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.speedtest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;

    flex-wrap: wrap;
    gap: 20px;
}

.btn-refresh-speed {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-refresh-speed:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.lines-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.line-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.line-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-cyan);
}

.line-name {
    font-size: 15px;
    font-weight: 700;
    display: block;
}

.line-url {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

.line-ping {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.ping-fast { color: var(--text-green); }
.ping-medium { color: var(--text-gold); }

.ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.btn-open-line {
    background: var(--gradient-primary);
    color: #FFF;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-open-line:hover {
    box-shadow: var(--shadow-neon);
}

/* Tutorial Section */
.tutorial-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.t-tab {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.t-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: var(--shadow-neon);
}

.tutorial-content {
    display: none;
}

.tutorial-content.active {
    display: block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    text-align: center;
}

.step-num {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 13px;
    font-weight: 900;
    color: var(--primary-cyan);
    font-family: 'Outfit', sans-serif;
}

.step-icon {
    font-size: 32px;
    color: var(--primary-cyan);
    margin-bottom: 14px;
    margin-top: 10px;
}

.step-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.tut-cta {
    text-align: center;
    margin-top: 36px;
}

.btn-trust-cert {
    background: var(--gradient-gold);
    color: #111;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    transition: var(--transition);
}

.btn-trust-cert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.adv-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.adv-icon {
    font-size: 36px;
    color: var(--text-gold);
    margin-bottom: 16px;
}

.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.adv-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-cyan);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(0,0,0,0.2);
}

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

.faq-answer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Licenses */
.footer-licenses {
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    background: rgba(0,0,0,0.3);
}

.license-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.license-item i {
    color: var(--primary-cyan);
    font-size: 18px;
}

/* Footer */
.footer {
    background: #070A12;
    padding: 50px 0 30px 0;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Download Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-card), var(--shadow-neon);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.modal-header h3 { font-size: 18px; font-weight: 800; }
.modal-header p { font-size: 13px; color: var(--text-muted); }

.progress-box {
    margin-bottom: 20px;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.download-meta {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-row { display: flex; justify-content: space-between; }
.meta-row span { color: var(--text-muted); }

.modal-instructions {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 193, 7, 0.1);
    border: 1px dashed var(--text-gold);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.btn-modal-primary {
    width: 100%;
    background: var(--gradient-primary);
    color: #FFF;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Chat Drawer */
.chat-drawer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 520px;
    background: var(--bg-surface);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), var(--shadow-neon);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-drawer.active {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: rgba(0, 85, 254, 0.2);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
}

.chat-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--text-green);
    border: 2px solid var(--bg-surface);
    border-radius: 50%;
}

.chat-title h4 { font-size: 14px; font-weight: 700; }
.chat-title p { font-size: 11px; color: var(--text-muted); }

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-msg.system {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-content {
    background: rgba(255,255,255,0.08);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-msg.user .msg-content {
    background: var(--gradient-primary);
    color: #FFF;
}

.msg-time {
    font-size: 10px;
    color: var(--text-muted);
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.quick-questions button {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-cyan-glow);
    color: var(--primary-cyan);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-questions button:hover {
    background: var(--primary-cyan);
    color: #000;
}

.chat-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 8px 16px;
    color: #FFF;
    font-size: 13px;
    outline: none;
}

.btn-send-msg {
    background: var(--gradient-primary);
    border: none;
    color: #FFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .download-cta-group {
        margin-left: auto;
        margin-right: auto;
    }

    .security-guarantee {
        justify-content: center;
    }

    .qr-code-box {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        width: 100%;
        max-width: 290px;
    }

    .hero-visual {
        flex-direction: column;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 34px;
    }

    .chat-drawer {
        width: calc(100vw - 30px);
        right: 15px;
        bottom: 15px;
    }
}
