/* ============================================================
   TutorFlow — style.css
   Eunomia brand: calm, premium, tutor-first
   ============================================================ */

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

:root {
  /* Colour tokens */
  --bg-dark:       #0f1117;
  --bg-dark-2:     #12141a;
  --bg-dark-3:     #1a1d27;
  --bg-light:      #f8f7f4;
  --bg-light-2:    #f0ede8;
  --bg-light-3:    #e8e4de;

  --text-primary:  #f2f0ec;
  --text-muted:    #9a97a0;
  --text-dark:     #1a1b22;
  --text-dark-2:   #3a3b45;
  --text-dark-3:   #6b6c78;

  --accent:        #c8a96e;
  --accent-light:  #dcc48e;
  --accent-dark:   #a8893e;

  --border-dark:   rgba(255,255,255,0.08);
  --border-light:  rgba(0,0,0,0.10);

  --shadow-sm:     0 1px 4px rgba(0,0,0,0.18);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.22);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.28);

  /* Typography */
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;

  /* Spacing scale */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   1.5rem;
  --sp-lg:   2.5rem;
  --sp-xl:   4rem;
  --sp-2xl:  6rem;
  --sp-3xl:  8rem;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-dark-3);
  max-width: 600px;
  margin-top: var(--sp-sm);
  line-height: 1.65;
}

/* Dark variant overrides */
.section-heading--light { color: var(--text-primary); }
.section-sub--light     { color: var(--text-muted); }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }
.fade-in.delay-6 { transition-delay: 0.6s; }
.fade-in.delay-7 { transition-delay: 0.7s; }
.fade-in.delay-8 { transition-delay: 0.8s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(15, 17, 23, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #1a1200;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.22);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.22);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.2);
}

.btn--ghost-dark:hover {
  border-color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.05);
}

.btn--lg {
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
}

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

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

.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); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(15,17,23,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  padding: var(--sp-md);
  flex-direction: column;
  gap: var(--sp-sm);
  z-index: 99;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.2s ease;
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: 64px;
}

/* Atmospheric noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(200,169,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(80,100,180,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-md);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(200,169,110,0.28);
  border-radius: 999px;
  background: rgba(200,169,110,0.08);
}

.hero__heading {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}

.hero__heading em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}

.hero__badges {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   PROBLEM / STORY
   ============================================================ */
.problem {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: var(--sp-3xl) 0;
}

.problem__intro {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.problem__intro .section-heading {
  color: var(--text-dark);
  max-width: 640px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.pain-card {
  background: var(--bg-light-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-lg) var(--sp-md);
  position: relative;
}

.pain-card__icon {
  font-size: 1.6rem;
  margin-bottom: var(--sp-sm);
  line-height: 1;
}

.pain-card__text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark-2);
  line-height: 1.55;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0.7;
}

.story-block {
  background: var(--bg-light-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.story-block__quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}

.story-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark-2);
}

.story-block p strong {
  color: var(--text-dark);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--bg-dark-2);
  padding: var(--sp-3xl) 0;
}

.features__header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.features__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl) var(--sp-3xl);
  max-width: 920px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.feature-item__dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: #c8a96e;
  margin-top: 0.55rem;
  box-shadow: 0 0 6px rgba(200,169,110,0.45);
}

.feature-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.feature-item__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT FEELS
   ============================================================ */
.feel {
  background: var(--bg-dark);
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
}

.feel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.feel__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.feel__statement {
  margin-bottom: var(--sp-xl);
}

.feel__statement-text {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.feel__statement-text em {
  font-style: normal;
  color: var(--text-primary);
}

.feel__statement-attr {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: #c8a96e;
  letter-spacing: 0.03em;
}

.before-after {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  text-align: left;
}

.ba-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-sm);
  align-items: start;
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--sp-md);
}

.ba-before,
.ba-after {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ba-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ba-before .ba-label { color: #d97070; }
.ba-after  .ba-label { color: #6aad7e; }

.ba-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.ba-after .ba-text { color: var(--text-primary); }

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  padding-top: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   TUTORIALS
   ============================================================ */
.tutorials {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: var(--sp-3xl) 0;
}

.tutorials__header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.tutorials__header .section-heading {
  color: var(--text-dark);
}

.tutorials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-md);
}

.tutorial-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.tutorial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tutorial-card__video {
  aspect-ratio: 16/9;
  background: var(--bg-dark-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

.tutorial-card__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tutorial-card__soon {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tutorial-card__body {
  padding: var(--sp-md) var(--sp-md) var(--sp-lg);
}

.tutorial-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.tutorial-card__desc {
  font-size: 0.88rem;
  color: var(--text-dark-3);
  margin-bottom: var(--sp-md);
  line-height: 1.55;
}

.tutorial-card__steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tutorial-card__step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-dark-2);
  line-height: 1.5;
}

.step-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200,169,110,0.15);
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  background: var(--bg-dark-2);
  padding: var(--sp-3xl) 0;
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.pricing__card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-dark-3);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(200,169,110,0.07);
}

.pricing__card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1a1200;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.pricing__price {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing__price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

.pricing__divider {
  height: 1px;
  background: var(--border-dark);
  margin: var(--sp-lg) 0;
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: var(--sp-lg);
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.pricing__cta {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: var(--sp-md);
}

.pricing__reassure {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing__bulk {
  margin-top: var(--sp-xl);
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing__bulk a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: var(--sp-3xl) 0;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.faq__header .section-heading {
  color: var(--text-dark);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s ease;
}

.faq-item__trigger:hover {
  background: var(--bg-light-2);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-dark-3);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

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

.faq-item__body-inner {
  padding: 0 var(--sp-md) var(--sp-md);
  font-size: 0.92rem;
  color: var(--text-dark-2);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-md);
}

/* ============================================================
   FEEDBACK STRIP
   ============================================================ */
.feedback-strip {
  background: #1a1f2e;
  padding: 48px 0;
}
.feedback-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.feedback-strip__heading {
  color: #f8f7f4;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.feedback-strip__sub {
  color: rgba(248,247,244,0.6);
  font-size: 0.9rem;
  margin: 0;
}
.btn--outline-light {
  border: 1.5px solid rgba(248,247,244,0.4);
  color: #f8f7f4;
  background: transparent;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline-light:hover {
  background: rgba(248,247,244,0.1);
  border-color: rgba(248,247,244,0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-lg);
  align-items: start;
  margin-bottom: var(--sp-lg);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

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

.footer__contact {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer__contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

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

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

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--sp-md);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sp-xl:  2rem;
    --sp-2xl: 2.5rem;
    --sp-3xl: 3rem;
  }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__content { padding: var(--sp-xl) var(--sp-sm); }
  .hero__heading { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__sub { font-size: 1rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__badges { gap: var(--sp-sm); flex-wrap: wrap; justify-content: center; }

  .section-heading { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; }

  .ba-item {
    grid-template-columns: 1fr;
    gap: var(--sp-xs);
  }

  .ba-arrow { display: none; }
  .ba-after { padding-top: var(--sp-xs); border-top: 1px solid var(--border-dark); }

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

  .footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--sp-sm) var(--sp-md);
  }

  .story-block { padding: var(--sp-md) var(--sp-sm); }
  .pricing__card { padding: var(--sp-md) var(--sp-sm); }

  .features__list { grid-template-columns: 1fr; }
  .tutorials__grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }

  .pricing__list { font-size: 0.9rem; }
  .pricing__price { font-size: 3rem; }
}

@media (max-width: 480px) {
  .hero__heading { font-size: 2rem; }
  .hero__eyebrow { font-size: 0.7rem; }
  .section-heading { font-size: 1.6rem; }
}
