:root {
  --bg: #050505;
  --bg2: #0d0d0d;
  --bg3: #141414;
  --accent: #A6FF00;
  --accent2: #dfe958;
  --accent-dim: rgba(166,255,0,0.12);
  --accent-glow: rgba(166,255,0,0.35);
  --text: #f2f2f2;
  --muted: #666;
  --muted2: #999;
  --border: #1a1a1a;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot { color: var(--accent); }

.nav-pill {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(166,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,255,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(166,255,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(166,255,0,0.3);
  background: rgba(166,255,0,0.06);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-tag .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted2);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 28px rgba(166,255,0,0.3);
}

.btn-primary:hover {
  text-decoration: none;
  background: #bfff33;
  box-shadow: 0 0 40px rgba(166,255,0,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted2);
}

.btn-ghost:hover {
  border-color: #333;
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ─── SENSOR VIZ ─── */
.sensor-viz {
  margin: 60px auto 0;
  position: relative;
  width: 280px;
  height: 280px;
}

.sensor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(166,255,0,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ring-expand 3s ease-out infinite;
}

.sensor-ring:nth-child(1) { width: 80px; height: 80px; border-color: rgba(166,255,0,0.5); animation-delay: 0s; }
.sensor-ring:nth-child(2) { width: 140px; height: 140px; animation-delay: 0.6s; }
.sensor-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1.2s; }
.sensor-ring:nth-child(4) { width: 260px; height: 260px; animation-delay: 1.8s; }

@keyframes ring-expand {
  0% { opacity: 0.8; transform: translate(-50%,-50%) scale(0.9); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.05); }
}

.sensor-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 40px rgba(166,255,0,0.6);
  z-index: 2;
}

.sensor-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(166,255,0,0.8);
}

/* dots placed around the ring */
.sensor-dot:nth-child(5)  { top: 10px;  left: 50%; transform: translateX(-50%); }
.sensor-dot:nth-child(6)  { bottom: 10px; left: 50%; transform: translateX(-50%); }
.sensor-dot:nth-child(7)  { left: 10px; top: 50%; transform: translateY(-50%); }
.sensor-dot:nth-child(8)  { right: 10px; top: 50%; transform: translateY(-50%); }
.sensor-dot:nth-child(9)  { top: 30px; right: 30px; }
.sensor-dot:nth-child(10) { bottom: 30px; left: 30px; }

/* ─── STATS BAR ─── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ─── SECTIONS ─── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--bg2);
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-size: 64px;
  font-weight: 900;
  color: rgba(166,255,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -3px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
}

.step-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

/* ─── ACTIVITIES GRID ─── */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 48px;
}

.activity-chip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  cursor: default;
}

.activity-chip:hover {
  border-color: rgba(166,255,0,0.3);
  background: rgba(166,255,0,0.04);
  transform: translateY(-2px);
}

.activity-chip .icon { font-size: 28px; }
.activity-chip .name { font-size: 13px; font-weight: 600; color: var(--muted2); text-align: center; }

/* ─── FEATURES BENTO ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.bento-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s;
}

.bento-card:hover { border-color: rgba(166,255,0,0.2); }

.bento-card.wide   { grid-column: span 7; }
.bento-card.med    { grid-column: span 5; }
.bento-card.half   { grid-column: span 6; }
.bento-card.third  { grid-column: span 4; }
.bento-card.full   { grid-column: span 12; }

.bento-card .card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 380px;
}

/* mini bar chart vis */
.bar-vis {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin-top: 24px;
}

.bar-vis .bar {
  flex: 1;
  background: rgba(166,255,0,0.15);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.bar-vis .bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  height: var(--h, 40%);
  opacity: 0.9;
}

.bento-card:hover .bar-vis .bar::after { opacity: 1; }

/* wave vis */
.wave-vis {
  margin-top: 20px;
  height: 48px;
  position: relative;
  overflow: hidden;
}

.wave-vis svg { width: 100%; height: 100%; }

/* ring vis */
.ring-vis {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.ring-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ring-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  opacity: 0.8;
}

.ring-label { font-size: 10px; color: var(--muted); text-align: center; font-weight: 600; }

/* accent bg card */
.bento-card.accent-bg {
  background: var(--accent);
  border-color: var(--accent);
}

.bento-card.accent-bg h3,
.bento-card.accent-bg p,
.bento-card.accent-bg .card-tag { color: #000; }

.bento-card.accent-bg .card-tag { opacity: 0.6; }

/* glow card */
.bento-card.glow {
  background: linear-gradient(135deg, rgba(166,255,0,0.08) 0%, var(--bg2) 60%);
  border-color: rgba(166,255,0,0.25);
}

/* ─── DIVIDER ─── */
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ─── LEGAL PAGES ─── */
.legal-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-wrap h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-wrap h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: #ccc;
}

.legal-wrap p, .legal-wrap li {
  font-size: 15px;
  color: #999;
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-wrap li { margin-bottom: 6px; }

.highlight-box {
  background: rgba(166,255,0,0.06);
  border: 1px solid rgba(166,255,0,0.2);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}

.highlight-box p { margin: 0; color: var(--text); }

/* ─── SUPPORT ─── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.support-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.support-card:hover { border-color: rgba(166,255,0,0.2); }

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.support-card p {
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 24px;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); text-decoration: none; }

footer .copy {
  color: var(--muted);
  font-size: 12px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .bento-card.wide, .bento-card.med,
  .bento-card.half, .bento-card.third { grid-column: span 12; }
  .stats-bar { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .stat-item { border-right: none; padding: 0 24px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 60px 20px 40px; }
  .hero h1 { letter-spacing: -2px; }
  .steps { grid-template-columns: 1fr; }
  .sensor-viz { width: 200px; height: 200px; }
}
