/* ========== Design Tokens ========== */
:root {
  --bg: #0b1020;
  --surface: #0f1630;
  --surface-2: #111a3b;
  --surface-3: #131d45;
  --primary: #7be0ff;
  --primary-2: #b3f0ff;
  --primary-dark: #4ac7ed;
  --accent: #ffd166;
  --accent-dark: #ffc14a;
  --ok: #7dffb3;
  --text: #e9f1ff;
  --muted: #a9b6d3;
  --danger: #ff7a7a;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.6);
  --glow: 0 0 60px rgba(123,224,255,.15);
  --maxw: 1200px;

  --step-0: clamp(0.95rem, 0.22vw + 0.85rem, 1.05rem);
  --step-1: clamp(1.1rem, 0.6vw + 0.95rem, 1.35rem);
  --step-2: clamp(1.35rem, 1.2vw + 1.05rem, 1.8rem);
  --step-3: clamp(1.8rem, 2vw + 1.2rem, 2.5rem);
  --step-4: clamp(2.2rem, 3.2vw + 1.4rem, 3.3rem);
  --step-5: clamp(2.8rem, 5vw + 1.6rem, 4.5rem);
  --pad: clamp(20px, 3vw, 32px);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9ff;
    --surface: #ffffff;
    --surface-2: #f0f4ff;
    --surface-3: #e6edff;
    --text: #0e1a34;
    --muted: #415580;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --glow: 0 0 60px rgba(123,224,255,.2);
  }
}

/* ========== Base ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  /*background: radial-gradient(1400px 800px at 70% -10%, #19306e 0%, transparent 60%), var(--bg);*/
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: var(--step-4);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 65ch;
  margin: 0 auto;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 32px);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(123,224,255,.3), rgba(255,209,102,.3));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

.card:hover .card-glow {
  opacity: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(123,224,255,.15);
  color: var(--primary-2);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(123,224,255,.2);
}

.eyebrow-icon {
  font-size: 1.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 28px;
  height: 54px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #001a24;
  border: none;
  box-shadow: 0 8px 24px rgba(123,224,255,.3), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(123,224,255,.4), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn--secondary {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}

.btn--secondary:hover {
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border-color: rgba(255,255,255,.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.3);
}

.btn--large {
  height: 62px;
  padding: 0 36px;
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 968px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.check svg {
  flex: 0 0 auto;
  stroke: var(--ok);
}

/* ========== Navigation ========== */
header.hero {
  padding: clamp(24px, 3vw, 40px) 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand svg {
  filter: drop-shadow(0 4px 12px rgba(123,224,255,.4));
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.nav-links a {
  opacity: 0.9;
  font-weight: 500;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary-2);
}

.nav .cta {
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav {
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav .cta {
    margin-left: 0;
  }
}

/* ========== Hero ========== */
.hero__inner {
  padding: clamp(40px, 8vw, 80px) 0;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: var(--step-5);
  line-height: 1.08;
  margin: 0.5em 0 0.5em;
  background: linear-gradient(135deg, var(--text), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 568px) {
  .hero .actions {
    flex-direction: column;
  }

  .hero .actions .btn {
    width: 100%;
  }
}

.badge-row {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
  margin-top: 24px;
  opacity: 0.95;
}

@media (max-width: 568px) {
  .badge-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========== Signup Card ========== */
.signup-card {
  padding: clamp(28px, 4vw, 36px);
  text-align: center;
}

.signup-card h2 {
  font-size: var(--step-3);
  margin: 0 0 12px;
  line-height: 1.2;
}

.signup-card .muted {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: var(--step-0);
}

/* ========== Lead Capture Form ========== */
form.capture {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 568px) {
  form.capture {
    grid-template-columns: 1fr;
  }
}

form.capture input,
form.capture button {
  height: 54px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 1rem;
  padding: 0 18px;
  outline: none;
  transition: all 0.2s ease;
}

form.capture input {
  font-family: inherit;
}

form.capture input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(123,224,255,.1);
}

form.capture input::placeholder {
  color: rgba(188,210,255,.7);
}

form.capture button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #2a1c00;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255,194,74,.3);
  padding: 0 32px;
}

form.capture button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,194,74,.4);
}

form.capture button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}

.fineprint a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.proof svg {
  stroke: var(--ok);
}

/* ========== Curiosity Teasers ========== */
.teaser-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.q-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(123,224,255,.1);
  border: 1px dashed rgba(123,224,255,.3);
  font-size: 1.05rem;
  line-height: 1.5;
}

.q-bubble strong {
  color: var(--primary-2);
  font-weight: 700;
}

.teaser-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-item svg {
  stroke: var(--muted);
}

.meta-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-badge.easy {
  background: rgba(125,255,179,.15);
  color: var(--ok);
  border: 1px solid rgba(125,255,179,.3);
}

.meta-badge.medium {
  background: rgba(255,209,102,.15);
  color: var(--accent);
  border: 1px solid rgba(255,209,102,.3);
}

/* ========== Features ========== */
.feature {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature h3 {
  margin: 0;
  font-size: var(--step-2);
  line-height: 1.3;
}

.feature p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(123,224,255,.12);
  border: 1px solid rgba(123,224,255,.25);
  font-size: 1.8rem;
}

/* ========== Social Proof ========== */
.social-proof-section {
  background: linear-gradient(180deg, transparent, rgba(123,224,255,.03), transparent);
}

.testimonial-card {
  padding: 32px;
}

.testimonial {
  position: relative;
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(123,224,255,.2);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: var(--step-1);
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #001a24;
  flex-shrink: 0;
}

.testimonial-author cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.author-role {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

/* ========== Stats Card ========== */
.stats-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-card h3 {
  font-size: var(--step-2);
  margin: 0;
}

.stats-grid {
  display: grid;
  gap: 24px;
}

.stat {
  padding: 20px;
  background: rgba(123,224,255,.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(123,224,255,.15);
}

.stat-number {
  font-size: var(--step-3);
  font-weight: 900;
  color: var(--primary-2);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========== Pricing ========== */
.pricing .toggle {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.toggle-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.save-badge {
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
}

.switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.2);
  transition: background 0.3s ease;
}

.switch input {
  display: none;
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  transition: left 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.switch:has(input:checked) {
  background: rgba(123,224,255,.3);
}

.switch:has(input:checked)::after {
  left: calc(100% - 28px);
}

.pricecard {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.pricecard--popular {
  border-color: rgba(123,224,255,.4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .pricecard--popular {
    transform: scale(1);
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #001a24;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(123,224,255,.3);
}

.pricecard h3 {
  font-size: var(--step-2);
  margin: 0;
}

.price {
  font-size: var(--step-3);
  font-weight: 900;
  line-height: 1.2;
}

.price small {
  font-size: 0.5em;
  color: var(--muted);
  font-weight: 500;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
  flex-grow: 1;
}

.bullets .check {
  color: var(--muted);
  align-items: flex-start;
}

/* ========== FAQ ========== */
details {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

details:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

details[open] {
  background: rgba(123,224,255,.08);
  border-color: rgba(123,224,255,.25);
}

summary {
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== Final CTA ========== */
.cta-final {
  padding: clamp(80px, 12vw, 140px) 0;
}

.cta-card {
  text-align: center;
  padding: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 64px);
  background: linear-gradient(135deg, var(--surface), var(--surface-3));
  border: 2px solid rgba(123,224,255,.2);
}

.cta-card h2 {
  font-size: var(--step-4);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: var(--step-1);
  color: var(--muted);
  margin-bottom: 32px;
}

/* ========== Footer ========== */
footer {
  padding: 60px 0 40px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}

.footgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footgrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  margin-bottom: 12px;
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
}

footer strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer ul li a {
  font-size: 0.95rem;
  opacity: 0.8;
}

footer ul li a:hover {
  opacity: 1;
  color: var(--primary-2);
}

/* ========== Animations ========== */
.orbit {
  position: relative;
  isolation: isolate;
}

.orbit::before,
.orbit::after {
  content: "?";
  position: absolute;
  font-weight: 900;
  font-size: clamp(24px, 2.5vw, 32px);
  color: rgba(123,224,255,.25);
  filter: blur(0.3px);
  animation: floaty 9s ease-in-out infinite;
  pointer-events: none;
}

.orbit::before {
  top: -20px;
  right: -20px;
}

.orbit::after {
  content: "!";
  color: rgba(255,209,102,.3);
  animation-duration: 11s;
  bottom: -20px;
  left: -20px;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(-4px) rotate(-3deg);
  }
  50% {
    transform: translateY(6px) rotate(3deg);
  }
}

/* ========== Utility Classes ========== */
.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hidden {
  display: none;
}