:root {
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --primary: #1d4ed8;
  --accent: #065f46;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  line-height: 1.6;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.subtitle {
  margin: 1rem 0 1.5rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.status-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.small-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-intro {
  margin-top: 0;
  color: var(--text-muted);
}

.waitlist-form {
  display: grid;
  gap: 0.75rem;
  max-width: 620px;
}

label {
  font-weight: 600;
}

input[type="email"],
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
  background: #ffffff;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.consent-row input {
  margin-top: 0.3rem;
}

button[type="submit"] {
  width: fit-content;
  background: var(--primary);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  min-height: 1.2rem;
  margin-top: 0.9rem;
  font-weight: 600;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: #b91c1c;
}

.footer {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 3.5rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  button[type="submit"] {
    width: 100%;
  }
}

:root {
  --bg: #08111f;
  --bg-alt: #0c1628;
  --panel: rgba(12, 22, 40, 0.9);
  --text: #e5eefc;
  --text-muted: #90a7c7;
  --border: rgba(137, 180, 255, 0.16);
  --primary: #4da3ff;
  --primary-strong: #1d7fff;
  --accent: #7fd3ff;
  --glow: rgba(77, 163, 255, 0.28);
  --radius: 18px;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.24), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(127, 211, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #08111f 46%, #09121f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -20% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.24), transparent 62%);
  filter: blur(18px);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  line-height: 0.96;
}

.subtitle,
.section-intro,
.small-note,
.status-note,
.feature-card p,
.flow-list p,
.note-band p {
  color: #bfd0ea;
}

.status-note {
  max-width: 56ch;
}

.cta {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 18px 34px rgba(29, 127, 255, 0.24);
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}

.cta-secondary {
  background: rgba(10, 18, 34, 0.58);
  border-color: rgba(137, 180, 255, 0.22);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.92), rgba(6, 12, 24, 0.96));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.section-kicker {
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.feature-card {
  grid-column: span 6;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 22, 40, 0.9), rgba(8, 16, 30, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.feature-card-accent {
  background:
    radial-gradient(circle at top right, rgba(77, 163, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(12, 22, 40, 0.94), rgba(7, 14, 27, 0.98));
  box-shadow: 0 0 0 1px rgba(77, 163, 255, 0.14), 0 24px 70px rgba(18, 110, 220, 0.18);
}

.feature-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 211, 255, 0.18);
  background: rgba(77, 163, 255, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
}

.flow-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(12, 22, 40, 0.78);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.12);
  border: 1px solid rgba(127, 211, 255, 0.2);
  color: var(--accent);
  font-weight: 800;
}

.note-band {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(127, 211, 255, 0.18);
  background: linear-gradient(90deg, rgba(77, 163, 255, 0.12), rgba(12, 22, 40, 0.78));
}

input[type="email"],
select {
  border-color: rgba(137, 180, 255, 0.2);
  border-radius: 14px;
  background: rgba(9, 17, 31, 0.9);
  color: var(--text);
}

input[type="email"]::placeholder {
  color: #6881a8;
}

button[type="submit"] {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 18px 34px rgba(29, 127, 255, 0.24);
}

.footer {
  background: rgba(6, 12, 24, 0.92);
}

.footer a {
  color: #a9bde0;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .flow-list li {
    grid-column: 1 / -1;
  }

  .cta,
  .hero-actions .cta,
  button[type="submit"] {
    width: 100%;
  }

  .flow-list li {
    grid-template-columns: 1fr;
  }

  .flow-list span {
    justify-self: flex-start;
  }
}

/* ── Hero Showcase Widgets ───────────────────── */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  perspective: 1000px;
}

.showcase-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.35),
    0 0 1px 1px rgba(77, 163, 255, 0.1) inset;
  backdrop-filter: blur(16px);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-4px) rotateY(-2deg) rotateX(2deg);
  box-shadow: 
    0 20px 40px rgba(77, 163, 255, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.45),
    0 0 1px 2px rgba(77, 163, 255, 0.28) inset;
}

/* Dashboard Widget */
.dashboard-widget {
  border-left: 3px solid var(--primary);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.widget-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.widget-dot.green {
  color: #4ade80;
  background: #4ade80;
}

.widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.widget-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.widget-submetrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
}

.sub-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.sub-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* FactuBot Widget */
.factubot-widget {
  border-left: 3px solid #818cf8;
  animation: float 6s ease-in-out infinite alternate;
}

.bot-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.bot-avatar {
  font-size: 1.6rem;
  animation: pulse 2s infinite alternate;
}

.bot-header h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.bot-status {
  font-size: 0.72rem;
  color: #818cf8;
  font-weight: 600;
}

.bot-terminal {
  background: rgba(4, 9, 19, 0.8);
  border: 1px solid rgba(137, 180, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.terminal-line {
  color: #bfd0ea;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.t-bullet.green {
  color: #4ade80;
}

.t-bullet.amber {
  color: #fbbf24;
}

.terminal-line.highlight {
  color: #fef08a;
  background: rgba(251, 191, 36, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

/* Animations */
@keyframes float {
  0% { transform: rotateY(-6deg) rotateX(4deg) translateY(0px); }
  100% { transform: rotateY(-4deg) rotateX(2deg) translateY(-8px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}
