/* Theme: Neon Space / Emerald Teal & Cyan */
:root {
    --bg-dark: #090e17;
    --bg-card: #131b2b;
    --bg-card-hover: #1c263a;
    --primary: #00d287;
    --primary-hover: #00ea96;
    --secondary: #00a4ff;
    --text-main: #f0f4f8;
    --text-muted: #8b9bb4;
    --border: rgba(255, 255, 255, 0.08);
    --glow: rgba(0, 210, 135, 0.15);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }

/* Nav */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: 70px; background: rgba(9, 14, 23, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; display: flex; align-items: center; justify-content: center; }
.nav-inner { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--text-main); }
.logo svg { width: 32px; height: 32px; fill: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-link { color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-link:hover { color: var(--text-main); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { content: ""; position: absolute; bottom: -24px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
.nav-toggle { display: none; color: var(--text-main); font-size: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s; gap: 8px; }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px var(--glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--bg-card-hover); border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 18px; }

/* Global Sections */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 100px 0; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; background: linear-gradient(90deg, #fff, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sec-desc { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Hero Index */
.hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(circle, var(--glow) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.2; margin-bottom: 24px; background: linear-gradient(135deg, #fff 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-p { font-size: 20px; color: var(--text-muted); max-width: 800px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; padding: 30px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.stat-item { text-align: center; }
.stat-val { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.stat-lbl { font-size: 14px; color: var(--text-muted); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 40px 30px; transition: all 0.3s; position: relative; overflow: hidden; }
.feat-card:hover { transform: translateY(-5px); border-color: rgba(0, 210, 135, 0.3); background: var(--bg-card-hover); }
.feat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); opacity: 0; transition: opacity 0.3s; }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--primary); }
.feat-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feat-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Platforms */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 20px; text-align: center; transition: all 0.3s; }
.plat-card:hover { border-color: var(--secondary); background: var(--bg-card-hover); }
.plat-icon { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--text-main); }
.plat-name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.plat-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* Content Sections */
.deep-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.deep-row.rev { flex-direction: row-reverse; }
.deep-info { flex: 1; }
.deep-title { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.deep-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.deep-list { list-style: none; margin-bottom: 30px; }
.deep-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 15px; color: var(--text-main); }
.deep-list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.deep-vis { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; position: relative; }
.dv-mock { width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.dv-head { background: rgba(0,0,0,0.5); padding: 10px; display: flex; gap: 6px; }
.dv-dot { width: 12px; height: 12px; border-radius: 50%; background: #333; }
.dv-dot.r { background: #ff5f56; }
.dv-dot.y { background: #ffbd2e; }
.dv-dot.g { background: #27c93f; }
.dv-body { padding: 20px; background: #0f141f; min-height: 200px; display: flex; flex-direction: column; gap: 15px; }
.dv-line { height: 20px; background: rgba(255,255,255,0.05); border-radius: 4px; }
.dv-line.short { width: 60%; }

/* Reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card { background: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 16px; }
.rev-stars { color: #ffca28; margin-bottom: 16px; display: flex; gap: 4px; }
.rev-stars svg { width: 18px; height: 18px; fill: currentColor; }
.rev-text { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.rev-user { display: flex; align-items: center; gap: 12px; }
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #000; font-size: 16px; }
.rev-name { font-weight: 600; font-size: 16px; color: var(--text-main); }
.rev-role { font-size: 13px; color: var(--text-muted); }

/* Table */
.cmp-wrap { overflow-x: auto; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.cmp-table th, .cmp-table td { padding: 20px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp-table th { font-weight: 600; background: rgba(0,0,0,0.2); color: var(--text-muted); text-align: left; }
.cmp-table th:not(:first-child) { text-align: center; }
.cmp-table td:first-child { text-align: left; font-weight: 500; }
.cmp-table .hl { background: rgba(0, 210, 135, 0.05); }
.cmp-table .hl th, .cmp-table .hl td { color: var(--primary); font-weight: 600; }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; transition: all 0.3s; }
.faq-q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; }
.faq-icon { width: 20px; height: 20px; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; transition: all 0.3s; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 500px; opacity: 1; padding: 0 24px 20px; color: var(--text-muted); }

/* CTA */
.cta-sec { text-align: center; padding: 80px 0; }
.cta-box { background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 210, 135, 0.1) 100%); border: 1px solid rgba(0, 210, 135, 0.2); padding: 60px 40px; border-radius: 24px; position: relative; overflow: hidden; }
.cta-box h2 { font-size: 40px; margin-bottom: 20px; }
.cta-box p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }

/* Download Page */
.dl-hero { padding: 140px 0 60px; text-align: center; }
.dl-main { background: var(--bg-card); border: 1px solid var(--primary); border-radius: 24px; padding: 50px; max-width: 800px; margin: 0 auto 60px; box-shadow: 0 20px 50px var(--glow); position: relative; }
.dl-main-top { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; }
.dl-main-icon { width: 64px; height: 64px; color: var(--text-main); }
.dl-main-title { font-size: 32px; font-weight: 700; }
.dl-specs { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; }
.dl-spec { text-align: center; }
.dl-spec-lbl { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.dl-spec-val { font-size: 16px; font-weight: 600; }
.dl-actions { display: flex; justify-content: center; gap: 20px; }

.dl-plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.dp-card { background: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 16px; }
.dp-head { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.dp-icon { width: 40px; height: 40px; color: var(--primary); }
.dp-title { font-size: 20px; font-weight: 600; }
.dp-req { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.dp-steps { list-style: none; margin-bottom: 24px; font-size: 14px; color: var(--text-muted); }
.dp-steps li { margin-bottom: 8px; display: flex; gap: 8px; }
.dp-steps li::before { content: "•"; color: var(--primary); }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.guide-col { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid var(--border); }
.guide-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.gstep { display: flex; gap: 20px; margin-bottom: 24px; position: relative; }
.gstep:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: -20px; width: 2px; background: var(--border); }
.gstep-num { width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 210, 135, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; z-index: 2; border: 1px solid var(--primary); }
.gstep-info { padding-top: 4px; }
.gstep-t { font-weight: 600; margin-bottom: 8px; }
.gstep-d { font-size: 14px; color: var(--text-muted); }

/* Article Page */
.art-hero { padding: 120px 0 60px; background: var(--bg-card); border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.art-hero-h1 { font-size: 40px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.kw-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.kw-tag { padding: 6px 16px; background: rgba(255,255,255,0.05); border-radius: 20px; font-size: 13px; color: var(--text-muted); border: 1px solid var(--border); }

.art-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-bottom: 80px; }
.art-content { font-size: 16px; color: #cbd5e1; }
.art-content h2 { font-size: 28px; color: var(--text-main); margin: 40px 0 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.art-content h3 { font-size: 22px; color: var(--text-main); margin: 30px 0 15px; }
.art-content p { margin-bottom: 20px; line-height: 1.8; }
.art-content ul { margin-left: 20px; margin-bottom: 20px; }
.art-content li { margin-bottom: 10px; }
.inline-cta { background: linear-gradient(90deg, rgba(0, 210, 135, 0.1), transparent); border-left: 4px solid var(--primary); padding: 30px; border-radius: 0 12px 12px 0; margin: 40px 0; display: flex; justify-content: space-between; align-items: center; }

.sidebar { position: sticky; top: 100px; }
.sbox { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.sbox-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sdl-btn { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 12px; transition: background 0.3s; }
.sdl-btn:hover { background: rgba(0, 210, 135, 0.1); }
.sdl-icon { width: 24px; height: 24px; color: var(--text-main); }
.stoc { list-style: none; }
.stoc li { margin-bottom: 10px; }
.stoc a { color: var(--text-muted); font-size: 14px; transition: color 0.3s; }
.stoc a:hover { color: var(--primary); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 80px; text-align: center; }
.footer p { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-sec { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 20px; background: rgba(0, 210, 135, 0.1); padding: 8px 16px; border-radius: 20px; }

@media (max-width: 900px) {
    .feat-grid, .plat-grid, .rev-grid, .dl-plat-grid, .guide-grid, .art-wrap { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .deep-row, .deep-row.rev { flex-direction: column; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--bg-dark); padding: 20px; border-bottom: 1px solid var(--border); }
    .nav-links.show { display: flex; }
    .nav-toggle { display: block; }
    .inline-cta { flex-direction: column; gap: 20px; text-align: center; }
}
