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

:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --text: #F9FAFC;
  --text-muted: #9CA3AF;
  --purple: #7C3AED;
  --purple-hover: #6D28D9;
  --cyan: #00D4FF;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── FOCUS INDICATORS (WCAG 2.4.7) ─── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Increase nav and footer link tap targets (WCAG 2.5.5) */
.nav-links a,
.footer-links a {
  padding: 10px 4px;
  display: inline-block;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple);
  color: #F9FAFC;
}

.btn-primary:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}

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

.btn-outline:hover {
  border-color: rgba(124, 58, 237, 0.5);
  color: var(--purple);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 100px 0;
}

/* ─── TYPOGRAPHIC SCALE (Inter only, weight/size varies by purpose) ─── */
/* Labels: 11px / 700 / tracked caps — orientation/category */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan); /* #00D4FF — 11.7:1 contrast on #0D0D0D, passes WCAG AA */
  margin-bottom: 14px;
}

/* Section headings: 38px / 800 / tight tracking — primary hierarchy */
.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

/* Section subtext: 17px / 400 / relaxed — supporting body copy */
.section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 540px;
}

/* Card headings: 16px / 700 — component-level hierarchy */
.step h3, .feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Card body: 14px / 400 — secondary readable copy */
.step p, .feature-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Pricing tier label: 12px / 600 / tracked caps */
.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Pricing period: 13px / 400 */
.pricing-period {
  font-size: 13px;
  font-weight: 400;
}

/* Feature list items: 14px / 400 */
.pricing-features li {
  font-size: 14px;
  font-weight: 400;
}

/* Nav links: 14px / 500 */
.nav-links a {
  font-size: 14px;
  font-weight: 500;
}

/* ─── HERO ─── */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
  white-space: nowrap; /* allows single line on desktop */
}

@media (max-width: 600px) {
  .hero-title {
    white-space: normal;
    font-size: 28px;
    letter-spacing: -0.5px;
  }
}

.highlight-cyan {
  color: #00D4FF;
}

.hero-title .highlight {
  color: var(--purple);
}

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

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wordmark {
  width: 320px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan); /* switched from purple — cyan passes 11.7:1 at small size */
  margin-bottom: 20px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FEATURES ─── */
.features-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.pricing-card.featured {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.06);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #F9FAFC;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-price sup {
  font-size: 20px;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features li .check {
  color: var(--cyan);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li.muted {
  opacity: 0.4;
}

.pricing-includes {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ─── FAQ ─── */
.faq-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 8px;
}

.faq-q {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--surface-2); }

.faq-q .arrow {
  color: var(--text-muted);
  font-size: 18px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 28px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--surface);
}

.faq-item.open .faq-a {
  display: block;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-logo .accent { color: var(--cyan); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

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

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ─── PROSE (privacy) ─── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px;
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  section { padding: 72px 0; }
  .hero-title { font-size: 40px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  footer { flex-direction: column; align-items: flex-start; }
  .prose { padding: 48px 24px; }
}
