@import url("./tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

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

html, body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p  { color: var(--color-text-muted); max-width: 60ch; }
small { color: var(--color-text-muted); font-size: 0.85rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 13, 0.75);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: 0.02em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent), #1aa6cc);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 2px solid var(--color-background); border-radius: 4px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--color-text-muted); font-size: 0.92rem; }
.nav-links a:hover { color: var(--color-text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { background: var(--color-surface-elevated); border-color: var(--color-accent); text-decoration: none; }
.btn-primary {
  background: var(--color-accent);
  color: #05070D;
  border-color: transparent;
}
.btn-primary:hover { background: #5edcff; transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; }

/* hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -10% -10% 0 -10%;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(57, 213, 255, 0.18), transparent 70%),
    radial-gradient(40% 40% at 80% 0%, rgba(57, 213, 255, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 { max-width: 18ch; }
.hero p { font-size: 1.15rem; margin-top: 20px; max-width: 56ch; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* journey strip — animated SVG path running through node icons */
.journey-strip {
  margin-top: 64px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.journey-strip svg { width: 100%; height: 80px; display: block; }
.journey-step-line {
  fill: none; stroke: var(--color-accent); stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: dashflow 12s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -100; } }
.journey-node circle {
  fill: var(--color-background);
  stroke: var(--color-accent);
  stroke-width: 2;
}
.journey-node text {
  font: 600 11px var(--font-mono);
  fill: var(--color-text-muted);
  text-anchor: middle;
}

/* sections */
.section {
  padding: var(--spacing-section) 0;
  border-top: 1px solid var(--color-border);
}
.section-eyebrow { color: var(--color-accent); font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section h2 { margin-top: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* card */
.card {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--color-accent); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card-icon {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
  font-family: var(--font-mono); font-weight: 700;
}

/* status preview */
.status-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.status-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.status-row:last-child { border-bottom: 0; }
.status-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 228, 155, 0.12);
  color: var(--color-success);
}
.status-pill.warn { background: rgba(255, 176, 32, 0.14); color: var(--color-warning); }

/* pricing */
.tier-card {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 16px;
}
.tier-card.featured { border-color: var(--color-accent); }
.tier-name { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.tier-price { font-size: 2rem; font-weight: 600; }
.tier-price small { color: var(--color-text-muted); font-size: 0.9rem; font-weight: 400; }
.tier-list { list-style: none; padding: 0; color: var(--color-text-muted); font-size: 0.92rem; }
.tier-list li { padding: 6px 0; border-bottom: 1px solid var(--color-border); }
.tier-list li:last-child { border-bottom: 0; }

/* faq */
.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--color-text);
  font-size: 1.05rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-accent); font-family: var(--font-mono); }
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: 12px; }

/* lead form */
.lead-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.lead-form input[type="email"] {
  flex: 1; min-width: 240px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}
.lead-form input:focus {
  outline: none; border-color: var(--color-accent);
}
.form-status {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.form-status.success { color: var(--color-success); }
.form-status.error { color: var(--color-warning); }

/* footer */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-text); text-decoration: none; }

.section-title-row {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px;
  gap: 24px; flex-wrap: wrap;
}
