/* ============================================================
   Fear of Flying Landing Pages — Shared Stylesheet
   members.drpotterpsychology.co.uk

   V2 — Premium polish pass
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg-primary: #0F1629;
  --bg-secondary: #111318;
  --bg-card: #1A2035;
  --bg-card-hover: #1F2847;
  --text-primary: #F5F5F0;
  --text-secondary: #9CA3AF;
  --accent-gold: #C9A84C;
  --accent-gold-hover: #D4B65E;
  --accent-gold-dim: rgba(201, 168, 76, 0.15);
  --accent-gold-glow: rgba(201, 168, 76, 0.08);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --section-padding: clamp(3.5rem, 8vw, 6.5rem);
  --border-radius: 12px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

/* Film grain overlay — subtle texture on the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Selection colour --- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--text-primary);
}

/* --- Logo Bar --- */
.logo-bar {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-bar__img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.logo-bar__img:hover {
  opacity: 1;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Gold text with gradient shimmer --- */
.gold {
  background: linear-gradient(135deg, #C9A84C 0%, #E8D48B 45%, #C9A84C 65%, #A88B3A 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 6s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

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

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

/* Subtle top-border glow on alternating sections */
.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.15) 50%, transparent 100%);
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

/* --- Fade-in on scroll (enhanced with stagger support) --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children inside card grids */
.card-grid .card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible .card:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.fade-in.visible .card:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.fade-in.visible .card:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.fade-in.visible .card:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.fade-in.visible .card:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.fade-in.visible .card:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* Stagger creator cards */
.creators .creator-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow var(--transition);
}

.fade-in.visible .creator-card:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.fade-in.visible .creator-card:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, #C9A84C 0%, #D4B65E 50%, #C9A84C 100%);
  background-size: 200% 100%;
  color: var(--bg-primary);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.15);
}

.btn--primary:hover {
  color: var(--bg-primary);
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.3),
              0 0 0 1px rgba(201, 168, 76, 0.1);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.2);
}

/* Subtle shine sweep on hover */
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  left: 125%;
}

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

.btn--outline:hover {
  background-color: var(--accent-gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.12);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0F1629 0%, #1A2035 50%, #0F1629 100%);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 12s ease-out;
}

/* Gentle ken-burns drift on load */
.hero.loaded .hero__bg img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 22, 41, 0.65) 0%,
    rgba(15, 22, 41, 0.8) 45%,
    rgba(15, 22, 41, 0.92) 75%,
    var(--bg-primary) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-top: 1.25rem;
  line-height: 1.65;
}

.hero .btn {
  margin-top: 2rem;
}

/* Subtle hero CTA (anxiety page) — outline, doesn't scream "buy" */
.hero__cta-subtle {
  margin-top: 2rem;
  font-size: 0.9rem;
  padding: 0.8rem 1.75rem;
  opacity: 0.8;
  border-color: rgba(201, 168, 76, 0.35);
  color: rgba(201, 168, 76, 0.8);
}

.hero__cta-subtle:hover {
  opacity: 1;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Decorative gold line beneath hero headline */
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  margin-top: 1.25rem;
  opacity: 0.6;
}

/* --- Social Proof Bar --- */
.proof-bar {
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  background-color: var(--bg-secondary);
  position: relative;
}

.proof-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.proof-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.proof-bar__icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 0.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

/* Gold pip before section labels */
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.5;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.3);
}

/* --- Two-Column Creator Grid --- */
.creators {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .creators {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.creator-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow on hover */
.creator-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.creator-card:hover::before {
  opacity: 1;
}

.creator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.1);
}

.creator-card__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(201, 168, 76, 0.2);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.creator-card:hover .creator-card__img {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.12);
}

.creator-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.creator-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.creator-card__bio {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}

/* Top edge gold accent line on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.08);
  background-color: var(--bg-card-hover);
}

.card:hover::after {
  opacity: 1;
}

.card__icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent-gold-dim), rgba(201, 168, 76, 0.08));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover .card__icon {
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.12);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Includes List --- */
.includes-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .includes-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background-color var(--transition);
}

.includes-list li:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.includes-list__icon {
  width: 22px;
  height: 22px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Pricing --- */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.06),
              0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Radial glow behind pricing */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--text-primary);
  margin: 1rem 0 0.5rem;
  position: relative;
}

.pricing-card__note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

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

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-question__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  color: var(--accent-gold);
}

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

.faq-item.open .faq-question {
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* Background radial glow for CTA */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  max-width: 520px;
  margin: 0 auto 2rem;
  position: relative;
}

/* --- Footer --- */
.footer {
  padding: 2.5rem 0;
  padding-bottom: 5rem; /* Space for sticky CTA */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  opacity: 0.7;
}

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

.footer a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

/* --- Narrative Prose (Page 2) --- */
.prose {
  max-width: 640px;
  margin: 0 auto;
}

.prose p {
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose--centered {
  text-align: center;
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 0 auto 2rem;
  border: none;
  opacity: 0.5;
}

/* --- Sticky Footer CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(15, 18, 28, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0.75rem 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sticky-cta__text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__text span {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
  z-index: 200;
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.35);
  pointer-events: none;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Top Navigation Bar (anxiety.html) --- */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1rem 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-bar__brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(245, 245, 240, 0.6);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.top-bar__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition);
  text-decoration: none;
}

.top-bar__link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

/* --- Responsive — Mobile First (390px target) --- */

/* Tablets and small laptops */
@media (max-width: 768px) {
  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .pricing-card::before {
    width: 200px;
    height: 200px;
  }

  .cta-section::before {
    width: 300px;
    height: 300px;
  }
}

/* Phones */
@media (max-width: 480px) {
  /* Typography tightening */
  h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  /* Logo */
  .logo-bar {
    top: 1rem;
  }

  .logo-bar__img {
    width: 42px;
    height: 42px;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero__content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .hero h1::after {
    width: 40px;
    margin-top: 1rem;
  }

  .hero__subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 1rem;
  }

  /* Sections */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-label {
    font-size: 0.72rem;
    padding-left: 1.25rem;
  }

  .section-label::before {
    width: 6px;
    height: 6px;
  }

  /* Proof bar */
  .proof-bar {
    padding: 1.25rem 0;
  }

  .proof-bar__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .proof-bar__item {
    font-size: 0.82rem;
  }

  /* Cards */
  .card-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.5rem;
  }

  .card__icon {
    width: 40px;
    height: 40px;
  }

  .card__icon svg {
    width: 20px;
    height: 20px;
  }

  /* Creator cards */
  .creators {
    gap: 1.5rem;
  }

  .creator-card {
    padding: 1.5rem;
  }

  .creator-card__img {
    width: 100px;
    height: 100px;
  }

  .creator-card__name {
    font-size: 1.15rem;
  }

  .creator-card__bio {
    font-size: 0.88rem;
  }

  /* Includes list */
  .includes-list {
    grid-template-columns: 1fr;
  }

  .includes-list li {
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Pricing */
  .pricing-card {
    padding: 1.75rem;
  }

  .pricing-card__price {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .pricing-card__features li {
    font-size: 0.88rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.92rem;
    padding: 1rem 0;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  /* Buttons */
  .btn:not(.btn--sm) {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Sticky CTA — critical for 390px */
  .sticky-cta {
    padding: 0.6rem 0;
  }

  .sticky-cta__inner {
    gap: 0.75rem;
  }

  .sticky-cta__text strong {
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sticky-cta__text span {
    font-size: 0.7rem;
  }

  .btn--sm {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }

  /* Prose (Page 2) */
  .prose p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .prose h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem);
  }

  /* CTA section */
  .cta-section p {
    font-size: 0.92rem;
  }

  /* Footer */
  .footer p {
    font-size: 0.75rem;
  }

  /* Top bar */
  .top-bar {
    padding: 0.75rem 0;
  }

  .top-bar__brand {
    font-size: 0.78rem;
  }

  .top-bar__link {
    font-size: 0.72rem;
  }

  /* Disable grain on mobile for perf */
  body::after {
    display: none;
  }

  /* Kill large radial glows that can cause phantom scroll */
  .cta-section::before,
  .pricing-card::before {
    display: none;
  }

  /* Ensure no pseudo-elements cause overflow */
  .creator-card::before {
    display: none;
  }
}

/* Extra small phones (320px) */
@media (max-width: 360px) {
  h1 {
    font-size: 1.6rem;
  }

  .hero__content {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .sticky-cta__text strong {
    font-size: 0.72rem;
  }

  .btn--sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .card-grid .card,
  .creators .creator-card {
    opacity: 1;
    transform: none;
  }

  .hero__bg img {
    transform: scale(1);
  }

  .gold {
    animation: none;
    background-size: 100% 100%;
  }
}
