:root {
  --bg: #07090f;
  --card: #0f1422;
  --muted: #9ca8c5;
  --text: #f3f6ff;
  --line: #1d263d;
  --primary: #6c8bff;
  --primary-strong: #4d70ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #131b31, #07090f 40%);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 24px 24px 60px;
  min-height: 100vh;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: #dce3ff;
}

.hero-content {
  max-width: 1120px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  text-align: center;
  max-width: 760px;
}

.eyebrow {
  color: #98adff;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.lede {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
  border: 1px solid transparent;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

.btn-secondary {
  border-color: var(--line);
  color: #d7e0ff;
  background: rgba(255, 255, 255, 0.02);
}

.macbook-wrap {
  position: relative;
  width: min(960px, 96vw);
}

.macbook {
  border: 1px solid #2e3b5d;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #111728, #0a0f1d);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  min-height: 560px;
}

.macbook-base {
  height: 18px;
  width: 92%;
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #8e96ad, #6b748f);
}

.desktop-topbar {
  display: flex;
  justify-content: space-between;
  color: #c1cae8;
  font-size: 0.75rem;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
}

.sim-stage {
  position: relative;
  width: min(92%, 760px);
  margin: 0 auto;
  padding-top: 0;
  min-height: 260px;
}

.notch-shell {
  width: min(100%, 460px);
  margin: 0 auto;
  background: #000;
  border: 1px solid #1d1d1f;
  border-top: none;
  border-radius: 0 0 22px 22px;
  padding: 8px 12px 12px;
  transition: transform 260ms ease, box-shadow 260ms ease;
  animation: notchPulse 450ms ease;
}

.notch-shell.is-transitioning {
  transform: translateY(-2px) scale(0.992);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
}

.notch-compact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 700;
}

.compact-pill {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.compact-right {
  justify-self: end;
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #b7b7bf;
}

.notch-expanded {
  margin-top: 8px;
  display: none;
}

.notch-expanded.visible {
  display: block;
}

.hud-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.hud-icon {
  width: 24px;
  text-align: center;
  font-size: 18px;
}

.hud-copy b {
  display: block;
  font-size: 12px;
}

.hud-copy span {
  color: #9b9ba6;
  font-size: 11px;
}

.hud-note-icon {
  font-size: 18px;
  color: #30d17a;
}

.hud-bar-wrap {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.hud-bar {
  height: 100%;
  border-radius: inherit;
  transition: width 300ms ease;
}

.sim-bubble {
  margin: 10px auto 0;
  width: min(100%, 380px);
  display: none;
  border: 1px solid #2b3550;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 31, 56, 0.96), rgba(10, 17, 31, 0.96));
  color: #fff;
  padding: 12px 14px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.sim-bubble.visible {
  display: block;
}

.bubble-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.bubble-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: rgba(70, 126, 255, 0.2);
}

.bubble-copy b {
  display: block;
  font-size: 13px;
}

.bubble-copy span {
  display: block;
  color: #9eb0de;
  font-size: 11px;
  margin-top: 2px;
}

.bubble-close {
  color: #a1abc6;
  font-size: 18px;
}

.inline-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.team-side {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.score {
  font-size: 14px;
  font-weight: 800;
  color: #46d887;
}

.minute {
  justify-self: end;
  color: #ff5f57;
  font-size: 11px;
  font-weight: 700;
}

.desktop-cards {
  padding: 20px 16px 18px;
  display: grid;
  gap: 10px;
}

.notch-bar {
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67f0a7, #2acb87);
  transition: width 400ms ease, background 300ms ease;
}

.desktop-cards {
  padding: 22px 16px 18px;
  display: grid;
  gap: 10px;
}

.desktop-card {
  padding: 12px 14px;
  border: 1px solid #2a3554;
  border-radius: 10px;
  background: rgba(14, 20, 34, 0.85);
  color: #d6ddfb;
  font-size: 0.84rem;
}

.dock {
  margin: 8px 14px 14px;
  border: 1px solid #2a3352;
  border-radius: 12px;
  background: rgba(9, 12, 21, 0.9);
  padding: 10px 12px;
  display: flex;
  justify-content: space-around;
  color: #bec8e6;
  font-size: 0.74rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 24px 24px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.section-lede {
  color: var(--muted);
  margin: 10px 0 0;
}

.feature-grid {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-item {
  border: 1px solid var(--line);
  background: rgba(15, 20, 34, 0.75);
  border-radius: 12px;
  padding: 16px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
  color: #b1bddf;
  line-height: 1.45;
  font-size: 0.92rem;
}

.plan-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  border: 1px solid var(--line);
  background: rgba(15, 20, 34, 0.8);
  border-radius: 14px;
  padding: 20px;
}

.plan-card.featured {
  border-color: #5d79eb;
  box-shadow: 0 0 0 1px rgba(93, 121, 235, 0.25) inset;
}

.tag {
  margin: 0 0 8px;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9eb2ff;
}

.price {
  margin: 10px 0 14px;
  font-size: 2rem;
  font-weight: 800;
}

.price span {
  font-size: 0.9rem;
  color: #a8b4da;
  margin-left: 4px;
}

.plan-card ul {
  margin: 0 0 16px 18px;
  padding: 0;
  color: #bfcae8;
  line-height: 1.7;
}

.footer {
  text-align: center;
  color: #90a1d0;
  padding: 52px 24px 26px;
  font-size: 0.86rem;
}

.footer-links {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7f90be;
}

.footer-links a:hover {
  color: #bac9ef;
}

@keyframes notchPulse {
  from { transform: translateY(-4px) scale(0.985); opacity: 0.86; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .macbook {
    min-height: 500px;
  }
}

@media (max-width: 680px) {
  .feature-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 18px 16px 50px;
  }
  .section {
    padding: 68px 16px 10px;
  }
}

/* Legal pages (privacy, terms) */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  line-height: 1.65;
  color: var(--text);
}
.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.legal-page h2 {
  margin: 32px 0 10px;
  font-size: 1.15rem;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.legal-page ul {
  margin: 8px 0 16px;
  padding-left: 1.25rem;
}
.legal-page a {
  color: var(--primary);
}
.legal-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}
