/* -------------------------------------------------------
   ROOT + GLOBAL
------------------------------------------------------- */

:root {
  --purple: #7c3aed;
  --purple-dark: #4c1d95;

  --nav-default: #6C7381;
  --nav-hover: #7C3AED;

  --headline: rgb(30, 27, 75);

  --pill-purple: #5B21B6;
  --pill-bg: #FBFBFF;
  --pill-border: #F2E8FF;

  --text-main: #0f172a;
  --text-muted: #4b5563;

  --radius-lg: 16px;
  --radius-md: 10px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--headline);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* -------------------------------------------------------
   LAYOUT
------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-light {
  background: #ffffff;
}

.section-purple {
  background: radial-gradient(circle at top left, #a855f7 0, #4c1d95 55%, #1e1b4b 100%);
  color: #f9fafb;
}

.section-purple .split-text p,
.section-purple .feature p,
.section-purple .persona p {
  color: #e5e7eb;
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: white;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
 transition:
    background 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 28px;
  color: #1E1B4B;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo:hover {
  color: #7C3AED;
}

.nav {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  top: 0;
  z-index: 50;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--nav-default);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--nav-hover);
}

.nav-cta {
  background: var(--purple);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  height: 40px; /* ← EXACT HEIGHT */
  width: 148px; /* match original */
  padding: 0 1.1rem; /* horizontal only */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #7C3AED, #5B21B6); /* gradient */
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease;
}

/* -------------------------------------------------------
   HERO
------------------------------------------------------- */

.hero {
  min-height: calc(100vh - 75px);
  padding-top: 75px;
  background: linear-gradient(
    to bottom right,
    #FAFAFE 0%,
    #EDE9FE 50%,
    #DDD6FE 100%
  );
  display: block;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.hero-inner {
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* -------------------------------------------------------
   COMING SOON PILL
------------------------------------------------------- */

.pill {
  width: 140px;
  justify-content: center;
  height: 38px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--pill-purple);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transform-origin: center;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

.pill-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--pill-purple);
}

/* -------------------------------------------------------
   HERO TEXT
------------------------------------------------------- */

.hero h1 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 700;
  color: var(--headline);
  max-width: 520px;
  margin: 0 0 1.25rem;
}

.gradient-text {
  background: linear-gradient(to right, #7C3BED, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #6B7280;
  max-width: 512px;
  margin-bottom: 2rem;
}

/* -------------------------------------------------------
   BUTTONS (FINAL + CLEAN)
------------------------------------------------------- */

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

/* Primary button (hero + header CTA match) */
.btn-primary {
  height: 58px;
  width: 187px;
  padding: 0 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: white;
background: linear-gradient(to right, #7C3AED, #5B21B6); /* gradient */

  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

/* Secondary button (Learn More) */
.btn-secondary {
  height: 58px;
  width: 154px;
  padding: 0 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7F6FF;
  border: 1px solid #E9D5FF;
  color: var(--purple);
  box-shadow: none;
}

/* Hover behaviour for both buttons */
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

/* Learn More hover colour */
.btn-secondary:hover {
  background: #FBFAFF;
  border-color: #E9D5FF;
}

.nav-cta {
  color: white !important;
}

/* -------------------------------------------------------
   HERO IMAGE
------------------------------------------------------- */

.hero-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

/* -------------------------------------------------------
   REMAINING SECTIONS (UNCHANGED)
------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.split-text h2 {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
}

.split-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.section-purple .split-text p {
  color: #e5e7eb;
}

.split-visual img {
  width: 100%;
  max-width: 460px;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Too much list */

.too-much-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.too-much-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
}

.too-much-list .icon {
  font-size: 1.2rem;
}

/* Features */

.feature-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: #e5e7eb;
}

/* Steps */

.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.step-body p {
  margin: 0;
  color: var(--text-muted);
}

/* Personas */

.centered {
  text-align: center;
  margin: 0 0 2rem;
}

.persona-grid {
  display: grid;
  gap: 1.5rem;
}

.persona {
  background: rgba(15, 23, 42, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.persona h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.persona p {
  margin: 0;
}

/* Final CTA */

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.final-cta-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.final-cta-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.waitlist-form {
  display: grid;
  gap: 1rem;
  max-width: 360px;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row input {
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.form-row input:focus {
  outline: 2px solid #c4b5fd;
  outline-offset: 1px;
  border-color: #a855f7;
}

.final-cta-visual img {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Background image wrappers */

.section-purple .section-bg,
.section-purple .section-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-purple .section-bg img {
  object-fit: cover;
  opacity: 0.35;
}

.section-purple > .container,
.section-purple > .container.split {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .final-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    text-align: left;
  }

  .hero-visual {
    order: -1;
  }

  .split-visual,
  .final-cta-visual {
    order: -1;
    justify-self: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Scrollbar track */
::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar background */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #C4B5FD;
  border-radius: 9999px;
  border: 0px;
}

/* Scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #A78BFA;
}