:root {
  --bg: #080a12;
  --bg2: #0c101c;
  --card: #121a2b;
  --line: #ffffff14;
  --text: #e8eefc;
  --muted: #8b9bb8;
  --accent: #8b7dff;
  --accent2: #36e58a;
  --pink: #ff6b9a;
  --gold: #ffd56a;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Desktop-like layered background */
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% -5%, rgba(109, 100, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(54, 229, 138, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 110%, rgba(255, 107, 154, 0.1), transparent 45%),
    linear-gradient(180deg, #080a12 0%, #0a0e18 50%, #080a12 100%);
}
.orb {
  position: fixed; border-radius: 50%; filter: blur(70px); opacity: 0.28; pointer-events: none; z-index: 0;
  animation: float 14s ease-in-out infinite;
}
.orb-a { width: 320px; height: 320px; background: #6d64ff; top: 12%; left: -100px; }
.orb-b { width: 260px; height: 260px; background: #36e58a; bottom: 8%; right: -80px; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(12px,-28px,0) scale(1.05); }
}
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.35; }

.nav, main, .site-footer { position: relative; z-index: 1; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 6vw;
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(8, 10, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex; gap: 10px; align-items: center;
  color: inherit; text-decoration: none; font-weight: 700; letter-spacing: 0.02em;
}
.logo-mark, .logo-mark.sm {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #7a6dff, #36e58a);
  color: #061018; font-weight: 900;
  box-shadow: 0 0 24px rgba(109, 100, 255, 0.35);
}
.logo-mark.sm { width: 28px; height: 28px; font-size: 12px; }
.nav nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px !important; border-radius: 999px;
  background: linear-gradient(135deg, #6d64ff, #36c9a0);
  color: #061018 !important; font-weight: 800 !important;
  box-shadow: 0 8px 28px rgba(54, 229, 138, 0.2);
}

.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  padding: 80px 6vw 56px; align-items: center; max-width: 1180px; margin: 0 auto;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; }
  .nav nav a:not(.nav-cta) { display: none; }
}

.eyebrow {
  letter-spacing: 0.16em; font-size: 11px; color: var(--muted);
  text-transform: uppercase; margin: 0 0 14px; font-weight: 700;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.7rem); line-height: 1.04;
  margin: 0 0 18px; letter-spacing: -0.035em; font-weight: 900;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.12;
  margin: 0 0 12px; letter-spacing: -0.025em; font-weight: 850;
}
.grad {
  background: linear-gradient(120deg, #a99bff 0%, #6d8cff 40%, #36e58a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 1.06rem; line-height: 1.65; max-width: 34rem; margin: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px; font-weight: 800; text-decoration: none;
  border: 1px solid var(--line); color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.btn:hover { transform: translateY(-3px); }
.btn.primary {
  border: none; color: #061018;
  background: linear-gradient(135deg, #6d64ff, #36c9a0);
  box-shadow: 0 14px 40px rgba(54, 229, 138, 0.25);
}
.btn.ghost {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.btn.ghost:hover { border-color: rgba(109, 100, 255, 0.45); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 12px; font-weight: 600;
}
.hero-meta span {
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}

/* Desktop control-panel inspired card */
.hero-card {
  position: relative;
  background: linear-gradient(165deg, rgba(24, 28, 48, 0.95), rgba(10, 14, 24, 0.98));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: cardIn 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.hero-card::before {
  content: '';
  position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(109,100,255,0.35), transparent 70%);
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.mini-titlebar {
  display: flex; gap: 7px; align-items: center; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.2);
}
.mini-titlebar .dot { width: 9px; height: 9px; border-radius: 50%; }
.mini-titlebar .dot:nth-child(1) { background: #ff6b7a; }
.mini-titlebar .dot:nth-child(2) { background: #ffd56a; }
.mini-titlebar .dot:nth-child(3) { background: #36e58a; }
.mini-titlebar strong { margin-left: 10px; font-size: 12px; opacity: 0.75; letter-spacing: 0.04em; }
.mini-body { padding: 22px; position: relative; }
.mini-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pill {
  font-size: 11px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: var(--muted); font-weight: 700;
}
.pill.live {
  background: rgba(54, 229, 138, 0.12); color: var(--accent2);
  box-shadow: 0 0 16px rgba(54, 229, 138, 0.15);
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 10px rgba(54,229,138,0.12); }
  50% { box-shadow: 0 0 22px rgba(54,229,138,0.28); }
}
.hash {
  font-size: 2.75rem; font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fff, #c8d4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hash small { font-size: 1rem; color: var(--muted); font-weight: 700; }
.mini-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0;
}
.mini-grid div {
  background: rgba(8, 12, 22, 0.85); border-radius: 14px; padding: 12px 10px;
  border: 1px solid var(--line);
}
.mini-grid small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 4px; }
.mini-grid b { font-size: 15px; }
.mini-btn {
  text-align: center; padding: 15px; border-radius: 14px; font-weight: 800; color: #061018;
  background: linear-gradient(135deg, #ff6b9a, #ffb07a);
  box-shadow: 0 10px 30px rgba(255, 107, 154, 0.25);
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

.section { padding: 80px 6vw; max-width: 1180px; margin: 0 auto; }
.section.alt {
  max-width: none;
  background: linear-gradient(180deg, rgba(12,16,28,0.5), rgba(10,12,22,0.8));
  border-block: 1px solid var(--line);
}
.section.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 6vw; padding-right: 6vw; }
.section-head { margin-bottom: 40px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: linear-gradient(160deg, rgba(22, 28, 44, 0.9), rgba(12, 16, 28, 0.95));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 100, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.f-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(109,100,255,0.2), rgba(54,229,138,0.12));
  border: 1px solid var(--line); margin-bottom: 14px; font-size: 18px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #141c2e, #0c121e);
  transition: transform 0.25s ease;
}
.step:hover { transform: translateY(-4px); }
.num {
  display: inline-block; font-weight: 900; color: #061018;
  background: linear-gradient(135deg, #6d64ff, #36e58a);
  padding: 5px 11px; border-radius: 9px; margin-bottom: 14px; font-size: 12px;
}
.step p { color: var(--muted); line-height: 1.55; margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.remote-preview { display: flex; justify-content: center; }
.phone {
  width: 250px; border-radius: 32px; padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(165deg, #171f33, #0a101c);
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}
.phone-notch {
  width: 86px; height: 8px; border-radius: 8px; background: rgba(255,255,255,0.12);
  margin: 6px auto 16px;
}
.phone-top {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
  margin-bottom: 22px; font-weight: 700;
}
.phone-hash { font-size: 1.7rem; font-weight: 900; margin-bottom: 18px; letter-spacing: -0.03em; }
.phone-btn {
  text-align: center; padding: 13px; border-radius: 14px; font-weight: 800; font-size: 12px; color: #061018;
  background: linear-gradient(135deg, #ff6b9a, #ffb07a);
}

.download-section { padding-bottom: 110px; }
.download-card {
  border-radius: 24px; padding: 42px 28px; text-align: center;
  border: 1px solid rgba(54, 229, 138, 0.22);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(109,100,255,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(54,229,138,0.12), transparent 45%),
    linear-gradient(160deg, #0f1a28, #101826 50%, #0a121c);
  box-shadow: var(--shadow);
}
.download-card p { color: var(--muted); max-width: 40rem; margin: 12px auto 22px; line-height: 1.6; }
.download-card code { color: #a99bff; font-size: 0.95em; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { font-size: 12px; opacity: 0.55; margin-top: 16px !important; }

.site-footer {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 28px 16px 48px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.on { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.web-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #e8eefc; }
.web-check input { width: 18px; height: 18px; accent-color: #36e58a; }
.hidden { display: none !important; }
.section-gap { margin-top: 8px; }
