@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;600&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #0c1016;
  --bg-alt: #0f1721;
  --text: #e5edf5;
  --muted: #9fb0c2;
  --accent: #2bd4c7;
  --accent-strong: #18a899;
  --glow: rgba(43, 212, 199, 0.18);
  --card: rgba(17, 24, 35, 0.72);
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.45);
  --grid: rgba(148, 163, 184, 0.08);
  --header-bg: rgba(12, 16, 22, 0.75);
  --font-body: 'Space Grotesk', sans-serif;
  --font-display: 'Fraunces', serif;
}

body.theme-retro {
  --bg: #f7f1e4;
  --bg-alt: #efe0c4;
  --text: #1b242b;
  --muted: #2f3c46;
  --accent: #f26b3a;
  --accent-strong: #d94d22;
  --glow: rgba(242, 107, 58, 0.2);
  --card: rgba(239, 224, 196, 0.95);
  --border: rgba(47, 62, 70, 0.22);
  --shadow: 6px 10px 0 rgba(47, 62, 70, 0.2);
  --grid: rgba(47, 62, 70, 0.12);
  --header-bg: rgba(239, 224, 196, 0.9);
  --font-body: 'Sora', sans-serif;
  --font-display: 'Fraunces', serif;
}

body.theme-signal {
  --bg: #06080f;
  --bg-alt: #0e1524;
  --text: #e7f1ff;
  --muted: #8ca0bb;
  --accent: #36e2d9;
  --accent-strong: #1bb7af;
  --glow: rgba(54, 226, 217, 0.2);
  --card: rgba(15, 22, 38, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(2, 4, 14, 0.6);
  --grid: rgba(96, 120, 160, 0.12);
  --header-bg: rgba(6, 8, 15, 0.82);
  --font-body: 'Space Grotesk', sans-serif;
  --font-display: 'Sora', sans-serif;
}

body.theme-hypernova {
  --bg:
    radial-gradient(120% 120% at 12% 6%, rgba(255, 181, 90, 0.35) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(236, 240, 255, 0.95) 100%),
    radial-gradient(120% 120% at 80% 18%, rgba(255, 112, 178, 0.22) 0%, rgba(255, 255, 255, 0) 55%),
    #f4f6ff;
  --bg-alt: #eef2ff;
  --text: #1b1d2a;
  --muted: #4b5563;
  --accent: #ff8a2a;
  --accent-strong: #7c3aed;
  --glow: rgba(255, 138, 42, 0.22);
  --card: rgba(255, 255, 255, 0.9);
  --border: rgba(30, 41, 59, 0.12);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --grid: rgba(30, 41, 59, 0.08);
  --header-bg: rgba(248, 250, 255, 0.92);
  --font-body: 'Sora', sans-serif;
  --font-display: 'Fraunces', serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.inline-link:hover {
  color: var(--accent-strong);
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  background: radial-gradient(circle, var(--glow), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.orb-1 {
  top: -120px;
  right: -80px;
}

.orb-2 {
  bottom: -180px;
  left: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #02131a;
}

.brand-text .brand-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
}

.theme-switch select {
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43, 212, 199, 0.15);
  color: var(--accent);
  border: 1px solid rgba(43, 212, 199, 0.4);
}

.hero {
  padding: 90px 0 70px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #02131a;
  box-shadow: 0 16px 32px rgba(43, 212, 199, 0.25);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}

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

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.panel-card.mini {
  background: var(--card);
}

.panel-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.panel-metric {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.panel-divider {
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section.alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.trust-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card,
.trust-card,
.price-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.demo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.demo-card {
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-preview {
  min-height: 150px;
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: center;
  background: linear-gradient(140deg, rgba(43, 212, 199, 0.18), rgba(17, 24, 35, 0.9));
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.demo-preview.is-image {
  padding: 0;
  background: var(--bg-alt);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  aspect-ratio: 16 / 9;
}

.demo-preview.is-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.demo-preview.is-image video {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.demo-preview strong {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.demo-meta {
  padding: 20px 24px 26px;
}

.demo-meta p {
  color: var(--muted);
  margin-top: 10px;
}

.demo-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  gap: 6px;
}

.demo-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.demo-links .demo-link {
  margin-top: 0;
}

.demo-link:hover {
  text-decoration: underline;
}

.demo-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.price-card.highlight {
  border-color: rgba(43, 212, 199, 0.6);
  box-shadow: 0 20px 50px rgba(43, 212, 199, 0.2);
}

.price {
  font-size: 1.4rem;
  margin: 12px 0 18px;
  color: var(--accent);
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  color: var(--text);
}

.timeline-step p {
  color: var(--muted);
}

.step-index {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(43, 212, 199, 0.2);
  color: var(--accent);
  font-weight: 700;
}

.disclaimer {
  margin-top: 30px;
  padding: 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}

.contact-card {
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(43, 212, 199, 0.14), rgba(15, 23, 33, 0.9));
  border: 1px solid rgba(43, 212, 199, 0.4);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #070b10;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .theme-switch {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 70px;
  }

  .demo-preview.is-image {
    aspect-ratio: 4 / 3;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
