/* 
  Design Theme: Neo Obsidian / Matrix Glow
  Base: Deep Graphite (#0a0a0c)
  Primary: Cyber Lime (#a3e635)
  Secondary: Electric Indigo (#6366f1)
  Accent: Solar Amber (#f59e0b)
  Surface: Matte Black (#121214)
  Text: Pearl White (#f8fafc)
*/

:root {
  --bg: #0a0a0c;
  --surf: #121214;
  --surf-alt: #1a1a1c;
  --primary: #a3e635;
  --primary-glow: rgba(163, 230, 53, 0.3);
  --secondary: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.3);
  --accent: #f59e0b;
  --text: #f8fafc;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  background-color: var(--bg); 
  color: var(--text); 
  font-family: var(--font); 
  line-height: 1.6; 
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surf-alt); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-dim);
}

.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

/* Sections */
.sec { padding: 100px 0; }
.sec-alt { background-color: var(--surf); }
.sec-dark { background-color: #050505; }

.sec-head {
  text-align: center;
  margin-bottom: 64px;
}

.sec-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(163, 230, 53, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(163, 230, 53, 0.2);
}

.sec-title {
  font-size: 2.75rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.sec-sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero */
.hero {
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.trust-icon { width: 18px; height: 18px; color: var(--primary); }

.hero-visual {
  position: relative;
}

.cyber-frame {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.cyber-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.frame-header {
  height: 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #22c55e; }

.frame-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--surf-alt);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.module-icon { width: 32px; height: 32px; margin-bottom: 12px; color: var(--primary); }
.module-name { font-weight: 700; font-size: 1.1rem; }

/* Features Grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feat-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feat-card:hover {
  background: var(--surf-alt);
  border-color: var(--primary);
  transform: translateY(-8px);
}

.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.feat-card:hover::after { transform: scaleX(1); }

.feat-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 24px;
}

.feat-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feat-desc {
  color: var(--text-dim);
  font-size: 1rem;
}

/* Platforms */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plat-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.plat-card:hover {
  border-color: var(--primary);
  background: var(--surf-alt);
}

.plat-card.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--surf), #1a1a24);
  border-color: var(--primary);
}

.plat-icon { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--text); }
.plat-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.plat-ver { font-size: 0.85rem; color: var(--primary); margin-bottom: 24px; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rev-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.rev-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.rev-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.rev-name { font-weight: 700; font-size: 1.1rem; }
.rev-role { font-size: 0.85rem; color: var(--text-dim); }

.rev-text {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-q {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--surf);
  transition: background 0.3s;
}

.faq-q:hover { background: var(--surf-alt); }

.faq-title { font-weight: 600; font-size: 1.1rem; }

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  background: var(--surf-alt);
}

.faq-a-inner { padding: 0 32px 24px; color: var(--text-dim); }

.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-item.open .faq-a { max-height: 500px; transition: all 0.3s cubic-bezier(1, 0, 1, 0); }

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: #050505;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand .brand-text { font-size: 1.5rem; }

.footer-sec-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
}

/* Download Page Specific */
.dl-hero { text-align: center; padding: 100px 0; }
.dl-main-box {
  background: var(--surf);
  border: 1px solid var(--primary);
  border-radius: 32px;
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(163, 230, 53, 0.1);
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
  padding: 32px;
  background: var(--surf-alt);
  border-radius: 20px;
}

.spec-item { text-align: center; }
.spec-lbl { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 4px; }
.spec-val { font-weight: 700; color: var(--text); }

/* Article Page Specific */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  margin-top: 60px;
}

.art-body h2 { font-size: 2rem; margin: 48px 0 24px; color: var(--primary); }
.art-body p { margin-bottom: 24px; color: var(--text-dim); font-size: 1.1rem; }

.sidebar { position: sticky; top: 100px; height: fit-content; }
.side-box {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.side-box h3 { margin-bottom: 20px; font-size: 1.25rem; }

/* Utils */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 3.5rem; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .art-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 640px) {
  .feat-grid, .plat-grid, .review-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 2rem; }
  .nav-menu { display: none; } /* Simplified for this task */
  .dl-specs { grid-template-columns: 1fr; }
}
