:root {
  --void:       #080608;
  --ember:      #1A0A06;
  --plasma:     #C8200A;
  --flare:      #FF6A1A;
  --accretion:  #FFB830;
  --core:       #FFF4DC;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--void);
  color: var(--core);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,106,26,0.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,106,26,0.5); }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  background: rgba(26,10,6,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,244,220,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text {
  font-family: 'Audiowide', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 0.06em;
  background: linear-gradient(90deg, #fff 0%, #FFD580 30%, #FF6A1A 65%, #C8200A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 13px; color: rgba(255,244,220,0.45); text-decoration: none; transition: color .15s; }
.nav-link:hover { color: var(--core); }
.btn-dl {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--core); background: var(--plasma); border: none; border-radius: 6px;
  padding: 8px 18px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s, box-shadow .15s;
}
.btn-dl:hover { background: #e0260c; box-shadow: 0 0 20px -2px rgba(200,32,10,0.55); }
.btn-ghost {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,244,220,0.55); background: transparent;
  border: 1px solid rgba(255,244,220,0.12); border-radius: 6px;
  padding: 8px 18px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: rgba(255,106,26,0.3); color: var(--core); }

/* ── STARFIELD ───────────────────────────────────────── */
#starfield { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 76px 48px 60px; text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%);
  width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, rgba(200,32,10,.13) 0%, rgba(255,106,26,.05) 38%, transparent 68%);
}
.hero-icon-svg {
  width: 152px; height: 152px; margin-bottom: 40px;
  filter: drop-shadow(0 0 28px rgba(200,32,10,.45)) drop-shadow(0 0 56px rgba(255,106,26,.15));
}
/* icon rings — static, no spin */
.ring-1 { transform-box: fill-box; transform-origin: center; transform: rotate(-30deg); }
.ring-2 { transform-box: fill-box; transform-origin: center; transform: rotate(60deg); }
.ring-3 { transform-box: fill-box; transform-origin: center; transform: rotate(10deg); }
.core-glow { animation: cPulse 3s ease-in-out infinite; }
@keyframes cPulse { 0%,100%{opacity:1} 50%{opacity:.65} }

/* large background rings */
.hero-rings {
  position: absolute; top: 50%; left: 50%;
  pointer-events: none; z-index: 0;
}
.h-ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  top: 0; left: 0;
}
@keyframes hr1 { from{transform:translate(-50%,-50%) rotate(-28deg)} to{transform:translate(-50%,-50%) rotate(332deg)} }
@keyframes hr2 { from{transform:translate(-50%,-50%) rotate(18deg)}  to{transform:translate(-50%,-50%) rotate(378deg)} }
@keyframes hr3 { from{transform:translate(-50%,-50%) rotate(-8deg)}  to{transform:translate(-50%,-50%) rotate(352deg)} }
@keyframes hr4 { from{transform:translate(-50%,-50%) rotate(35deg)}  to{transform:translate(-50%,-50%) rotate(395deg)} }

.hero-ver {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,244,220,.04); border: 1px solid rgba(255,244,220,.09);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,244,220,.38);
}
.ver-dot { width: 6px; height: 6px; border-radius: 50%; background: #48C830; box-shadow: 0 0 6px #48C830; }
.hero-title {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(48px,8vw,80px); font-weight: 400; letter-spacing: .06em; line-height: 1;
  background: linear-gradient(90deg, #fff 0%, #FFD580 28%, #FF6A1A 62%, #C8200A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.hero-sub {
  font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 300;
  letter-spacing: .28em; text-transform: uppercase; color: #E0783A;
  margin-bottom: 22px;
}
.hero-desc { font-size: 16px; color: rgba(255,244,220,.55); max-width: 480px; line-height: 1.75; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── MOCKUP ──────────────────────────────────────────── */
.mockup-wrap {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto 0; width: calc(100% - 96px);
  height: 640px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,244,220,.08);
  box-shadow: 0 48px 100px rgba(0,0,0,.85), 0 0 0 1px rgba(255,244,220,.04);
  display: flex; flex-direction: column;
}
.mockup-frame {
  width: 100%; flex: 1; min-height: 0;
  border: none; display: block;
}
.mockup-mobile {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 48px 32px; text-align: center; flex: 1;
}
.mm-title {
  font-family: 'Exo 2', sans-serif; font-size: 18px; font-weight: 600;
  color: rgba(255,244,220,.65);
}
.mm-desc { font-size: 14px; color: rgba(255,244,220,.35); line-height: 1.75; }
/* ── MOCKUP TOOLBAR ──────────────────────────────────── */
.mockup-toolbar {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 8px auto 80px; width: calc(100% - 96px);
  display: flex; justify-content: flex-end;
}
.btn-reset-demo {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,244,220,0.35); background: transparent; border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 0;
  transition: color .15s;
}
.btn-reset-demo:hover { color: rgba(255,244,220,0.65); }
@media (max-width: 900px) { .mockup-toolbar { display: none; } }

/* ── SECTION ─────────────────────────────────────────── */
.section { position: relative; z-index: 1; padding: 72px 48px; max-width: 1100px; margin: 0 auto; }
.s-chip {
  font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--flare); margin-bottom: 10px;
}
.s-title {
  font-family: 'Exo 2', sans-serif; font-size: clamp(26px,4vw,36px); font-weight: 700;
  color: var(--core); margin-bottom: 12px; line-height: 1.2;
}
.s-desc { font-size: 15px; color: rgba(255,244,220,.48); line-height: 1.75; max-width: 520px; margin-bottom: 44px; }

/* ── FEATURE GRID ────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:860px){ .feat-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:540px){ .feat-grid{ grid-template-columns:1fr; } }
.feat-card {
  background: rgba(26,10,6,.65); border: 1px solid rgba(255,244,220,.07);
  border-radius: 10px; padding: 22px;
  transition: border-color .2s, background .2s;
}
.feat-card:hover { border-color: rgba(255,106,26,.2); background: rgba(26,10,6,.95); }
.feat-ico {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(200,32,10,.1); border: 1px solid rgba(200,32,10,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feat-title { font-family: 'Exo 2', sans-serif; font-size: 14px; font-weight: 600; color: var(--core); margin-bottom: 7px; }
.feat-desc { font-size: 13px; color: rgba(255,244,220,.45); line-height: 1.65; }

/* ── LOADERS BAR ─────────────────────────────────────── */
.loaders-bar {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,244,220,.05); border-bottom: 1px solid rgba(255,244,220,.05);
  background: rgba(26,10,6,.3); padding: 48px; text-align: center;
}
.loaders-lbl {
  font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,244,220,.28); margin-bottom: 22px;
}
.loaders-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lbadge {
  font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 8px 22px; border-radius: 20px; border: 1px solid;
}
.lb-van { background:rgba(255,244,220,.04); color:rgba(255,244,220,.45); border-color:rgba(255,244,220,.1); }
.lb-fab { background:rgba(138,123,113,.1);  color:#8a7b71; border-color:rgba(138,123,113,.22); }
.lb-fge { background:rgba(91,97,151,.1);    color:#5b6197; border-color:rgba(91,97,151,.22); }
.lb-qlt { background:rgba(139,97,180,.1);   color:#8b61b4; border-color:rgba(139,97,180,.22); }
.lb-neo { background:rgba(220,137,92,.1);   color:#dc895c; border-color:rgba(220,137,92,.22); }

/* ── DOWNLOAD CTA ────────────────────────────────────── */
.dl-section {
  position: relative; z-index: 1;
  padding: 96px 48px; text-align: center;
}
.dl-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 560px; height: 380px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(200,32,10,.09) 0%, transparent 68%);
}
.dl-ver { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,244,220,.28); margin-top: 16px; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,244,220,.06);
  background: rgba(26,10,6,.4);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.ft-brand { display: flex; align-items: center; gap: 9px; }
.ft-brand-txt {
  font-family: 'Audiowide', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: .05em;
  background: linear-gradient(90deg, #fff, #FF6A1A, #C8200A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ft-copy { font-size: 12px; color: rgba(255,244,220,.22); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-link { display: none; }

  .hero { padding: 76px 24px 60px; }
  .demo-hero-btn { display: none; }

  .mockup-wrap { width: calc(100% - 40px); height: auto; }
  .mockup-frame { display: none; }
  .mockup-mobile { display: flex; }

  .section { padding: 60px 24px; }
  .loaders-bar { padding: 40px 24px; }
  .dl-section { padding: 72px 24px; }
  footer { padding: 24px 20px; }
}

@media (max-width: 540px) {
  nav { padding: 0 16px; }
  .btn-dl { font-size: 11px; padding: 7px 14px; }
  .hero-desc { font-size: 14px; }
  .section { padding: 48px 20px; }
  footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
