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

:root {
  --gray-900: #0f1117;
  --gray-800: #1a1d27;
  --gray-700: #252836;
  --gray-600: #373a4d;
  --gray-400: #8b8fa8;
  --gray-200: #d1d5e8;
  --gray-100: #f0f1f7;
  --gray-50:  #f8f9fc;
  --white:    #ffffff;

  --brand:        #4f6ef7;
  --brand-hover:  #3d5ce6;
  --brand-light:  #eef1fe;

  --green: #22c55e;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-light { background: var(--gray-50); }
.section-dark  { background: var(--gray-900); color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-light); }

.btn-ghost {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.nav-links a:hover { color: var(--gray-900); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 20px;
}
.badge-light {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  padding: 112px 0 96px;
  text-align: center;
}

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

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 580px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== SECTION TITLES ===== */
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-400);
  margin-bottom: 52px;
  max-width: 560px;
}

.section-dark .section-sub { color: var(--gray-400); }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== ADD-ONS ===== */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.addon-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 28px;
}

.addon-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.addon-icon { font-size: 32px; flex-shrink: 0; }

.addon-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.addon-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}
.addon-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}

.addon-card > p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.6;
}

.addon-features li {
  font-size: 13px;
  color: var(--gray-200);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.addon-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== BUNDLE ROW ===== */
.bundle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bundle-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.bundle-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--brand);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.bundle-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.bundle-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.bundle-price span { font-size: 15px; font-weight: 500; color: var(--gray-400); }
.bundle-price em { font-size: 14px; font-style: normal; color: var(--gray-400); }

.bundle-card > p:last-child {
  font-size: 14px;
  color: var(--gray-400);
}

/* ===== PRICING ===== */
.pricing-container { text-align: center; }
.pricing-container .section-sub { margin: 0 auto 52px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.pricing-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-card .price-sub {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

.pricing-card ul { display: flex; flex-direction: column; gap: 8px; flex: 1; }

.pricing-card li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
}
.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== WAITLIST ===== */
.section-waitlist {
  background: var(--brand);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.section-waitlist h2 { color: var(--white); }
.section-waitlist .section-sub { color: rgba(255,255,255,.75); }

.waitlist-container { max-width: 640px; margin: 0 auto; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row input,
.form-row select {
  flex: 1 1 220px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color .15s;
}

.form-row input::placeholder { color: rgba(255,255,255,.6); }
.form-row select option { color: var(--gray-900); background: var(--white); }

.form-row input:focus,
.form-row select:focus { border-color: rgba(255,255,255,.8); }

.waitlist-form .btn-primary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  font-size: 16px;
  padding: 14px 24px;
}
.waitlist-form .btn-primary:hover { background: var(--gray-100); border-color: var(--gray-100); }

.wl-message {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  font-weight: 500;
}

.wl-message.success { color: #a7f3c8; }
.wl-message.error   { color: #fca5a5; }

.waitlist-note {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-align: center;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo { color: var(--white); font-size: 18px; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }

  .nav-links a:not(.btn) { display: none; }

  .bundle-row { grid-template-columns: 1fr; }

  .form-row { flex-direction: column; }
  .form-row input,
  .form-row select { flex: 1 1 auto; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
