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

:root {
  --bg: #05070d;
  --surface: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef2f9;
  --muted: #8d96ac;
  --accent: #2dd4bf;
  --accent2: #60a5fa;
  --danger: #f87171;
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.narrow {
  max-width: 720px;
}

h1,
h2,
h3,
.logo,
.price,
.calc-stat strong {
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Animated aurora background */
.aurora {
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 25% 20%, rgba(45, 212, 191, 0.16), transparent 70%),
    radial-gradient(35% 30% at 75% 15%, rgba(96, 165, 250, 0.14), transparent 70%),
    radial-gradient(45% 40% at 60% 85%, rgba(45, 212, 191, 0.08), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate;
}

@keyframes aurora {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(6deg) scale(1.12);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.7s ease var(--d, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}

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

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

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

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

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  text-align: center;
  padding: 110px 24px 80px;
  max-width: 860px;
}

.pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(92deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 22px auto 34px;
}

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

.hero-trust {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(92deg, var(--accent), #3fc6b0);
  color: #04201b;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-glow {
  animation: glow 2.8s infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(45, 212, 191, 0.3);
  }

  50% {
    box-shadow: 0 6px 42px rgba(45, 212, 191, 0.55);
  }
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

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

/* Sections */
.section {
  padding: 95px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  text-align: center;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 12px auto 46px;
  max-width: 560px;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

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

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.45);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Workflow diagrams */
.flow-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.node {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 11px;
  font-size: 0.82rem;
}

.arrow {
  color: var(--accent);
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.chip {
  display: inline-block;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-controls label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.calc-controls strong {
  color: var(--text);
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(45, 212, 191, 0.5);
  transition: transform 0.15s;
}

input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  border-left: 1px solid var(--border);
  padding-left: 26px;
}

.calc-stat span {
  color: var(--muted);
  font-size: 0.9rem;
  display: block;
}

.calc-stat strong {
  font-size: 1.9rem;
  font-weight: 800;
}

.loss {
  color: var(--danger);
}

.gain {
  color: var(--accent);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: transform 0.25s;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(45, 212, 191, 0.16);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(92deg, var(--accent), var(--accent2));
  color: #04201b;
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 12px;
}

.price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

.price-mo {
  color: var(--accent);
  font-weight: 600;
  margin: 4px 0 18px;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 26px;
  color: var(--muted);
}

.price-card li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guarantee {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
}

/* Founding Client */
.founding-card {
  text-align: center;
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.08), rgba(96, 165, 250, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 22px;
  padding: 56px 40px;
  max-width: 760px;
  margin: auto;
}

.founding-card p {
  color: var(--muted);
  max-width: 560px;
  margin: 16px auto 28px;
}

.founding-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.founding-perks div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.92rem;
}

.spots {
  display: block;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Timeline */
.timeline {
  max-width: 680px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.t-step {
  display: flex;
  gap: 22px;
  padding-bottom: 38px;
  position: relative;
}

.t-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}

.t-step:last-child::before {
  display: none;
}

.t-dot {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04201b;
  font-weight: 800;
}

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

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--muted);
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.footer {
  text-align: center;
  padding: 44px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: rgba(5, 7, 13, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.35s ease;
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .nav-links a {
    padding: 12px;
    font-size: 1.05rem;
  }

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

  .calc-results {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 26px 0 0;
  }

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

/* Template Preview Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.modal {
  background: #0b0f1a;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-steps {
  margin: 18px 0 0 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--surface);
  border-radius: 10px;
  padding: 12px 16px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
}
