/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #101318;
  --color-surface: #1a1e27;
  --color-surface-raised: #242a36;
  --color-border: #3d4556;
  --color-text: #f5f6fa;
  --color-text-muted: #c4c9d8;
  --color-primary: #f09a1a;
  --color-primary-hover: #fbb740;
  --color-primary-subtle: rgba(240, 154, 26, 0.15);
  --color-accent: #fbb740;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1120px;
  --radius: 10px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1100;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
  background: var(--color-primary-subtle);
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  border-radius: 6px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

/* ===== Hero ===== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(217, 119, 6, 0.10), transparent),
    var(--color-bg);
}

.hero-inner {
  max-width: 720px;
}

.hero-logo {
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px solid rgba(249, 168, 37, 0.45);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.waitlist-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-field {
  flex: 1;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.form-field input[type="text"],
.form-field input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder {
  color: var(--color-text-muted);
}

.form-field input:focus {
  border-color: var(--color-primary);
}

.form-field-submit {
  display: flex;
  align-items: flex-end;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--color-primary-hover);
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ===== Trust Strip ===== */
.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
  background: var(--color-surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Features ===== */
.features {
  padding: 6rem 0;
}

.features h2,
.how-it-works h2,
.pricing h2,
.cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius);
  color: var(--color-primary-hover);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 6rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps {
  max-width: 640px;
  margin: 0 auto;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
}

.step + .step {
  border-top: 1px solid var(--color-border);
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-hover);
  background: var(--color-primary-subtle);
  border-radius: 50%;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.code-block {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--color-text);
}

.code-comment {
  color: var(--color-text-muted);
}

/* ===== Pricing ===== */
.pricing {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  padding: 2.5rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
}

.price-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.06) 0%, var(--color-surface) 100%);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  padding: 0.2rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price {
  margin-bottom: 0.25rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.price-features {
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta {
  padding: 6rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(217, 119, 6, 0.08), transparent),
    var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.cta-inner {
  max-width: 600px;
}

.cta p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Privacy Page ===== */
.privacy-page {
  padding: 4rem 0;
}

.privacy-content {
  max-width: 720px;
}

.privacy-content h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.privacy-content section {
  margin-bottom: 2.5rem;
}

.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: left;
}

.privacy-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.privacy-content ul {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.privacy-content li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: 0.2rem 0;
  list-style: disc;
}

.privacy-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-content a:hover {
  color: var(--color-primary-hover);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .form-row {
    flex-direction: column;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .features,
  .how-it-works,
  .pricing,
  .cta {
    padding: 4rem 0;
  }
}
