/* ── Variables ── */
:root {
  --bg-main: #0b0b0c;
  --bg-card: rgba(20, 20, 22, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.3);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
}

a,
button {
  cursor: pointer;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Aurora ambient glow */
body::before {
  content: "";
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(147, 51, 234, 0.04) 50%,
    transparent 100%
  );
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

/* ── Nav ── */
nav[aria-label="Main navigation"] {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
}

nav[aria-label="Main navigation"] ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav[aria-label="Main navigation"] ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

nav[aria-label="Main navigation"] ul a:hover {
  color: var(--text-primary);
}

/* ── Header / Hero ── */
header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

header h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #ffffff 40%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header h1 span {
  background: linear-gradient(135deg, var(--accent), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── CTA Button ── */
.cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.cta-btn.outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.cta-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Main content wrapper ── */
main {
  position: relative;
  z-index: 1;
}

/* ── Results bar ── */
.results-bar {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.results-bar dl {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.result-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
}

.result-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.result-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.result-item dd {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Features ── */
#features {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 24px;
  text-align: center;
}

#features h2,
#pricing h2,
.how h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  background: linear-gradient(to bottom, #ffffff 40%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.06);
  box-shadow:
    0 8px 32px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.1) inset;
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 28px;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ── */
.how {
  margin-bottom: 80px;
  padding: 0 24px;
}

.how-inner {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
  margin-top: 8px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 160px;
}

.step-num {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.step p {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

/* ── Pricing ── */
#pricing {
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 0 24px;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  text-align: left;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.price-card.pro {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(20, 20, 22, 0.8);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.1) inset,
    0 16px 40px rgba(59, 130, 246, 0.08);
}

.popular-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1;
}

.price-amount span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 12px;
}

.price-card .cta-btn {
  width: 100%;
  text-align: center;
  padding: 12px;
  margin-top: auto;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

footer nav[aria-label="Footer navigation"] {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  border: none;
  backdrop-filter: none;
  background: none;
  padding: 0;
  position: static;
}

footer nav[aria-label="Footer navigation"] a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

footer nav[aria-label="Footer navigation"] a:hover {
  color: var(--text-primary);
}

footer address {
  font-style: normal;
}

.footer-credits {
  font-size: 12px;
  color: #475569;
}

.footer-credits a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ── Focus styles (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Responsive ── */

/* Tablet & small laptop */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  #features,
  #pricing,
  .how {
    margin-bottom: 64px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  nav[aria-label="Main navigation"] {
    padding: 14px 18px;
  }

  nav[aria-label="Main navigation"] ul {
    gap: 16px;
  }

  nav[aria-label="Main navigation"] ul a {
    font-size: 13px;
  }

  header {
    padding: 64px 18px 48px;
  }

  header h1 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero-desc {
    font-size: 15px;
  }

  .results-bar {
    padding: 0 18px;
    margin-bottom: 56px;
  }

  .results-bar dl {
    flex-direction: column;
    gap: 12px;
  }

  .result-item {
    max-width: 100%;
    padding: 18px 22px;
  }

  /* Features — single column on mobile so cards have full width */
  #features,
  #pricing,
  .how {
    padding: 0 18px;
    margin-bottom: 56px;
  }

  #features h2,
  #pricing h2,
  .how h2 {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 28px;
  }

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

  .feature-card {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 14px;
  }

  /* How It Works — stack vertically with full-width steps */
  .how-inner {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .steps {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .step {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
  }

  .step-num {
    width: 38px;
    height: 38px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .step h3 {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .step p {
    font-size: 13px;
    text-align: left;
  }

  /* Pricing — single column, edge-to-edge */
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .price-card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .price-card h3 {
    font-size: 18px;
  }

  .price-amount {
    font-size: 36px;
  }

  /* Footer */
  footer {
    padding: 32px 18px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  nav[aria-label="Main navigation"] ul {
    gap: 12px;
  }

  nav[aria-label="Main navigation"] ul a {
    font-size: 12px;
  }

  .nav-brand {
    font-size: 14px;
  }

  header {
    padding: 56px 14px 40px;
  }

  #features,
  #pricing,
  .how,
  .results-bar {
    padding: 0 14px;
  }
}
