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

:root {
  --bg: #0c1b12;
  --bg-alt: #102219;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 8px 32px rgba(3, 30, 18, 0.55);
  --text: #f6f8f2;
  --text-muted: #aab9a4;
  --accent: #6fcf65; /* ripe avocado green */
  --accent-hover: #89db7f;
  --accent-glow: rgba(111, 207, 101, 0.35);
  --pink: #f2c94c; /* warm seed/yolk accent */
  --teal: #56cc9d;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(12, 27, 18, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  height: 28px;
  width: auto;
  display: block;
}

.logo-text {
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #0e0b1e;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
  background: var(--accent-hover);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

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

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.15);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -150px;
  opacity: 0.2;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: -50px;
  right: -100px;
  opacity: 0.15;
}

/* ─── Sections ─── */
.section {
  padding: 100px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

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

/* ─── Glass Card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.features-grid .glass-card {
  text-align: center;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.features-grid h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.features-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── How It Works ─── */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  color: #0e0b1e;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.author strong {
  display: block;
  font-size: 0.95rem;
}

.author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.pricing-card {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-card li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

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

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #0e0b1e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── FAQ ─── */
.faq-container {
  max-width: 760px;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── CTA Section ─── */
.section-cta {
  background: linear-gradient(135deg, rgba(111, 207, 101, 0.14), rgba(242, 201, 76, 0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ─── Footer ─── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--glass-border);
}

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

.logo-sm {
  font-weight: 700;
  font-size: 1rem;
}

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

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
}

.waitlist-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s;
}

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

.waitlist-form input:focus {
  border-color: var(--accent);
}

.modal-success {
  display: none;
  color: var(--teal) !important;
  font-weight: 600;
  margin-top: 8px;
}

.modal-success.show {
  display: block;
}

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

.login-footer {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.text-link-button {
  background: none;
  border: none;
  padding: 0 4px;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.text-link-button:hover {
  color: var(--accent-hover);
}

/* ─── Scroll Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .step { max-width: 100%; }

  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .nav-links,
  .navbar .btn-sm {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 11, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }

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

  .hero {
    padding: 100px 16px 60px;
  }

  .section {
    padding: 64px 16px;
  }

  .glass-card {
    padding: 24px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
