:root {
  --bg: #0d0d0e;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --border: rgba(255,255,255,0.07);
  --green: #00e87a;
  --green-dim: rgba(0,232,122,0.12);
  --red: #ff4444;
  --red-dim: rgba(255,68,68,0.10);
  --text: #f0ede8;
  --muted: #7a7870;
  --accent: #f5e642;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(13,13,14,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

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

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--green);
  color: #000;
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-nav:hover { opacity: 0.85; transform: translateY(-1px); }

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

.hero-bg-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,232,122,0.13) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(0,232,122,0.25);
  color: var(--green);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 540px;
  margin: 28px auto 0;
  font-weight: 400;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.3s both;
}

.btn-primary {
  background: var(--green);
  color: #000;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 36px rgba(0,232,122,0.25);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0,232,122,0.35);
}

.btn-ghost {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* WIDGET PREVIEW */
.widget-showcase {
  position: relative;
  margin: 80px auto 0;
  max-width: 420px;
  width: 100%;
  animation: fadeUp 0.8s ease 0.4s both;
}

.phone-frame {
  background: #1a1a1c;
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.08);
  padding: 20px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,232,122,0.07);
}

.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 20px 20px;
}

.phone-time {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  align-self: flex-start;
}

.widget {
  width: 100%;
  background: linear-gradient(145deg, #0f2a1a, #0d1f15);
  border: 1.5px solid rgba(0,232,122,0.2);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.widget::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,232,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.widget-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
}

.widget-score {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(0,232,122,0.4);
}

.widget-score-unit {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: rgba(0,232,122,0.6);
  margin-top: 4px;
}

.widget-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  margin: 16px 0 8px;
  overflow: hidden;
}

.widget-bar-fill {
  height: 100%;
  width: 62%;
  background: var(--green);
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(0,232,122,0.5);
  animation: barGrow 1.5s ease 1.2s both;
}

@keyframes barGrow {
  from { width: 0; }
  to { width: 62%; }
}

.widget-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
}

.widget-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

.phone-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
  width: 100%;
  opacity: 0.4;
}

.phone-app-icon {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: 14px;
}

/* NOISE OVERLAY */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HOW IT WORKS */
.section {
  padding: 120px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 600px;
}

.section-title em { font-style: italic; color: var(--green); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.step {
  background: var(--surface);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.step:first-child { border-radius: 24px 0 0 24px; }
.step:last-child  { border-radius: 0 24px 24px 0; }
.step:hover { background: var(--surface-2); }

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.step h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* DIVIDER */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  max-width: 720px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 24px 0 0 24px;
}

.plan.featured {
  background: linear-gradient(160deg, #0e2118 0%, #0d1a13 100%);
  border-color: rgba(0,232,122,0.25);
  border-radius: 0 24px 24px 0;
  position: relative;
  overflow: hidden;
}

.plan.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 20px; right: -30px;
  background: var(--green);
  color: #000;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 40px;
  transform: rotate(35deg);
}

.plan-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-price {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price span {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.plan-features li.muted { color: var(--muted); }
.plan-features li.muted::before { content: '–'; color: var(--muted); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 28px;
  transition: all 0.2s;
}

.plan-btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.plan-btn-outline:hover { border-color: rgba(255,255,255,0.2); }

.plan-btn-primary {
  background: var(--green);
  color: #000;
}
.plan-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* TICKER */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.ticker-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
}

.ticker-author {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* SIGNUP */
.signup-section {
  background: linear-gradient(160deg, #0c2017 0%, #0d0d0e 60%);
  border-top: 1px solid rgba(0,232,122,0.1);
  border-bottom: 1px solid rgba(0,232,122,0.1);
  padding: 100px 24px;
  text-align: center;
}

.signup-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.signup-section h2 em { font-style: italic; color: var(--green); }

.signup-section p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(0,232,122,0.25);
  border-radius: 100px;
  overflow: hidden;
  background: var(--surface);
}

.email-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 16px 24px;
  color: var(--text);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.email-form input::placeholder { color: var(--muted); }

.email-form button {
  background: var(--green);
  border: none;
  padding: 14px 24px;
  border-radius: 0 100px 100px 0;
  color: #000;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.email-form button:hover { opacity: 0.85; }

.signup-social {
  margin-top: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step:first-child { border-radius: 24px 24px 0 0; }
  .step:last-child { border-radius: 0 0 24px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan { border-radius: 24px 24px 0 0; }
  .plan.featured { border-radius: 0 0 24px 24px; }
  footer { flex-direction: column; gap: 16px; }
}
