/* ================================================================
   PageBuilderHQ — styles.css
   Landing pages that don't look like landing pages.
   ================================================================ */

/* ============================
   0. Custom Properties
   ============================ */
:root {
  /* Dark palette */
  --dark-1: #07080e;
  --dark-2: #0c0e18;
  --dark-3: #14162a;
  --dark-4: #1c1f36;

  /* Light palette */
  --light-1: #f5f3ee;
  --light-2: #eae7e0;
  --light-3: #ddd9cf;

  /* Accent */
  --accent: #ff5c3a;
  --accent-soft: #ff8c6b;
  --accent-glow: rgba(255, 92, 58, 0.12);
  --accent-glow-strong: rgba(255, 92, 58, 0.25);

  /* Secondary */
  --teal: #3dd6c8;
  --teal-glow: rgba(61, 214, 200, 0.1);

  /* Text */
  --text-light: #e5e3de;
  --text-light-muted: rgba(229, 227, 222, 0.45);
  --text-dark: #1a1a1a;
  --text-dark-muted: #7a7a7a;

  /* Spacing */
  --section-pad: clamp(80px, 12vh, 140px);
  --container-max: 1200px;
  --container-pad: clamp(24px, 5vw, 60px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark-1);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ============================
   2. Typography
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================
   3. Layout
   ============================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

/* ============================
   4. Scroll Progress
   ============================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  z-index: 1000;
  transition: width 0.15s ease-out;
}

/* ============================
   5. Navigation
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 var(--container-pad);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: rgba(7, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo svg {
  width: 28px;
  height: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav__links a:hover {
  color: var(--text-light);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav__cta:hover {
  background: var(--accent-soft);
  color: #fff;
  transform: translateY(-1px);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}
.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 14, 0.97);
  backdrop-filter: blur(30px);
  z-index: 899;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__mobile--open {
  display: flex;
}

.nav__mobile a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.25s;
}

.nav__mobile a:hover {
  color: var(--accent);
}

/* ============================
   6. Hero
   ============================ */
.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 70% 50% at 65% 35%, rgba(255, 92, 58, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 25% 65%, rgba(61, 214, 200, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(100, 80, 200, 0.03) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
}

/* Subtle grain texture */
.section--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Corner ornaments */
.section--hero::after {
  content: '';
  position: absolute;
  top: 100px;
  right: var(--container-pad);
  width: 80px;
  height: 80px;
  border-right: 1px solid rgba(255, 92, 58, 0.15);
  border-top: 1px solid rgba(255, 92, 58, 0.15);
  pointer-events: none;
  z-index: 2;
}

.hero__corner {
  position: absolute;
  bottom: 60px;
  left: var(--container-pad);
  width: 80px;
  height: 80px;
  border-left: 1px solid rgba(255, 92, 58, 0.15);
  border-bottom: 1px solid rgba(255, 92, 58, 0.15);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow-strong);
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.02;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

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

.hero__rule {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-light-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.hero__scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================
   7. Problem Section
   ============================ */
.section--problem {
  background: var(--light-1);
  color: var(--text-dark);
  position: relative;
}

/* Accent top edge */
.section--problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft), transparent);
}

.problem__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.problem__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem__heading {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text-dark);
  line-height: 1.05;
  position: sticky;
  top: 120px;
}

.problem__heading-line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin-top: 24px;
}

.problem__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem__item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.problem__item:first-child {
  padding-top: 0;
}

.problem__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 92, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.problem__item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.problem__item-text {
  font-size: 1rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* ============================
   8. How It Works
   ============================ */
.section--how {
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(61, 214, 200, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-2) 0%, var(--dark-1) 100%);
  position: relative;
}

/* Corner ornaments */
.section--how .corner-tl,
.section--how .corner-br {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.section--how .corner-tl {
  top: 40px;
  left: var(--container-pad);
  border-left: 1px solid rgba(61, 214, 200, 0.15);
  border-top: 1px solid rgba(61, 214, 200, 0.15);
}

.section--how .corner-br {
  bottom: 40px;
  right: var(--container-pad);
  border-right: 1px solid rgba(61, 214, 200, 0.15);
  border-bottom: 1px solid rgba(61, 214, 200, 0.15);
}

.how__header {
  text-align: center;
  margin-bottom: clamp(60px, 8vh, 100px);
}

.how__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 20px;
}

.how__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-light);
}

.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.how__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
}

.how__step:last-child {
  border-bottom: none;
}

.how__step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.how__step-content {
  padding-top: 4px;
}

.how__step-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-light);
  margin-bottom: 12px;
}

.how__step-text {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 520px;
}

.how__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(61, 214, 200, 0.2);
  color: var(--teal);
}

.how__step-tag svg {
  width: 14px;
  height: 14px;
}

/* ============================
   9. Templates Section
   ============================ */
.section--templates {
  background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-3) 50%, var(--dark-1) 100%);
  position: relative;
}

.templates__header {
  text-align: center;
  margin-bottom: clamp(50px, 7vh, 80px);
}

.templates__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.templates__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.templates__subtitle {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

.templates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.template-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}

.template-card__preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Individual template themes */
.template-card__preview--midnight {
  background: linear-gradient(135deg, #0c1222 0%, #162040 100%);
}

.template-card__preview--midnight .tp__badge {
  font-size: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4a853;
  margin-bottom: 6px;
}

.template-card__preview--midnight .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4a853;
  margin-bottom: 4px;
}

.template-card__preview--midnight .tp__sub {
  font-size: 0.55rem;
  color: rgba(240, 236, 228, 0.4);
  font-style: italic;
}

.template-card__preview--midnight .tp__rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #d4a853, transparent);
  margin-top: 12px;
}

.template-card__preview--clean {
  background: #ffffff;
}

.template-card__preview--clean .tp__logo {
  font-size: 0.5rem;
  font-weight: 700;
  color: #0066ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.template-card__preview--clean .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 8px;
}

.template-card__preview--clean .tp__sub {
  font-size: 0.55rem;
  color: #64748b;
}

.template-card__preview--clean .tp__btn {
  margin-top: 14px;
  display: inline-block;
  padding: 4px 12px;
  background: #0066ff;
  color: #fff;
  font-size: 0.45rem;
  font-weight: 700;
  border-radius: 4px;
}

.template-card__preview--bold {
  background: #0a0a0a;
}

.template-card__preview--bold .tp__num {
  font-size: 0.5rem;
  font-weight: 700;
  color: #737373;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.template-card__preview--bold .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.template-card__preview--bold .tp__company {
  font-size: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #737373;
  margin-top: 14px;
}

.template-card__preview--gradient {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.template-card__preview--gradient .tp__eyebrow {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.template-card__preview--gradient .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.template-card__preview--gradient .tp__line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00ff88, #00aaff);
  border-radius: 1px;
}

.template-card__preview--coral {
  background: linear-gradient(135deg, #fff5f2, #ffeae4);
}

.template-card__preview--coral .tp__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  margin-bottom: 10px;
}

.template-card__preview--coral .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 6px;
}

.template-card__preview--coral .tp__sub {
  font-size: 0.55rem;
  color: #8b7b74;
  line-height: 1.5;
}

.template-card__preview--neon {
  background: linear-gradient(135deg, #0d0117, #1a0a2e);
}

.template-card__preview--neon .tp__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.45rem;
  font-weight: 600;
  color: #ff2d95;
  margin-bottom: 10px;
}

.template-card__preview--neon .tp__tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff2d95;
  box-shadow: 0 0 6px #ff2d95;
}

.template-card__preview--neon .tp__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.template-card__preview--neon .tp__sub {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
}

.template-card__preview--neon .tp__glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.template-card__info {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.template-card__type {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* ============================
   9b. Email Capture Section
   ============================ */
.section--email {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 92, 58, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
}

.email-capture {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.email-capture__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.email-capture__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.email-capture__text {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 36px;
}

.email-capture__form {
  max-width: 480px;
  margin: 0 auto;
}

.email-capture__fields {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-capture__input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.email-capture__input::placeholder {
  color: var(--text-light-muted);
}

.email-capture__input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.email-capture__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.email-capture__btn:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 92, 58, 0.25);
}

.email-capture__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.email-capture__btn svg {
  width: 16px;
  height: 16px;
}

.email-capture__note {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-top: 12px;
}

.email-capture__status {
  margin-top: 24px;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.email-capture__status--success {
  background: rgba(61, 214, 200, 0.1);
  border: 1px solid rgba(61, 214, 200, 0.2);
  color: var(--teal);
}

.email-capture__status--error {
  background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.2);
  color: var(--accent-soft);
}

/* ============================
   9c. Footer Ecosystem Links
   ============================ */
.footer__ecosystem {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__ecosystem-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.footer__ecosystem a {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  transition: color 0.25s;
}

.footer__ecosystem a:hover {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .email-capture__fields {
    flex-direction: column;
  }

  .footer__ecosystem {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .footer__ecosystem-label {
    width: 100%;
    text-align: center;
  }
}

/* ============================
   10. Pricing Section
   ============================ */
.section--pricing {
  background: var(--light-1);
  color: var(--text-dark);
  position: relative;
}

.section--pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing__header {
  text-align: center;
  margin-bottom: clamp(50px, 7vh, 80px);
}

.pricing__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.pricing__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.pricing__subtitle {
  font-size: 1.1rem;
  color: var(--text-dark-muted);
  max-width: 440px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(255, 92, 58, 0.08);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(255, 92, 58, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-card__amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.pricing-card__cta--outline {
  border: 2px solid rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
}

.pricing-card__cta--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-card__cta--filled {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.pricing-card__cta--filled:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

/* ============================
   11. FAQ Section
   ============================ */
.section--faq {
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(255, 92, 58, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(50px, 7vh, 80px);
}

.faq__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.faq__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-light);
}

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

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  transition: color 0.25s;
  gap: 16px;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-light-muted);
  transition: transform 0.35s ease, color 0.25s;
}

.faq__item--open .faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq__item--open .faq__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq__answer p {
  font-size: 1rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================
   12. Footer
   ============================ */
.footer {
  background: var(--dark-1);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light-muted);
}

.footer__brand svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--text-light);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================
   13. Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 92, 58, 0.25);
}

.btn--ghost {
  color: var(--text-light-muted);
  padding: 16px 24px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============================
   14. Scroll Animations
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ============================
   15. Animations
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ============================
   16. Media Queries
   ============================ */

/* Tablet */
@media (max-width: 1024px) {
  .problem__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem__heading {
    position: static;
  }

  .templates__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: clamp(60px, 10vh, 100px);
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .section--hero::after,
  .hero__corner {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .problem__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .how__step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .how__step-number {
    font-size: 2rem;
  }

  .section--how .corner-tl,
  .section--how .corner-br {
    display: none;
  }

  .templates__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .template-card__preview {
    height: 170px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: opacity 0.3s;
    transform: none;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__rule,
  .hero__subtitle,
  .hero__actions,
  .hero__scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__scroll-line {
    animation: none;
  }
}

/* Print */
@media print {
  .nav, .scroll-progress, .hero__scroll {
    display: none;
  }

  .section {
    padding: 40px 20px;
    break-inside: avoid;
  }

  .section--hero {
    min-height: auto;
  }

  body {
    background: #fff;
    color: #000;
  }

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