/* ============================================================
   Stay Connected+ — Creative Layer
   Loads after base.css. Provides bolder hero, bento, motion.
   ============================================================ */

:root {
  /* Extended typography for big creative headlines */
  --text-7xl: 4.5rem;     /* 72 */
  --text-8xl: 6rem;       /* 96 */
  --text-9xl: 7.5rem;     /* 120 */

  /* Creative gradient stops */
  --grad-emerald: #34D399;
  --grad-emerald-deep: #047857;
  --grad-blue: #38BDF8;
  --grad-blue-deep: #075985;
  --grad-amber: #FBBF24;
  --grad-rose: #FB7185;
  --grad-violet: #A78BFA;

  /* Mesh background colors (very pastel) */
  --mesh-1: rgba(167, 243, 208, 0.55);
  --mesh-2: rgba(186, 230, 253, 0.55);
  --mesh-3: rgba(254, 240, 138, 0.40);
  --mesh-4: rgba(251, 207, 232, 0.40);
}

/* ============================================================
   AURORA HERO — animated mesh gradient + floating orbs
   ============================================================ */
.aurora {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  isolation: isolate;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.aurora::before {
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, var(--mesh-1) 0%, transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  top: -100px; right: -200px;
  background: radial-gradient(circle, var(--mesh-2) 0%, transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}
.aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.aurora__orb--amber {
  width: 320px; height: 320px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, var(--mesh-3) 0%, transparent 70%);
  animation: drift3 26s ease-in-out infinite alternate;
}
.aurora__orb--rose {
  width: 260px; height: 260px;
  bottom: 80px; right: 18%;
  background: radial-gradient(circle, var(--mesh-4) 0%, transparent 70%);
  animation: drift4 30s ease-in-out infinite alternate;
}
@keyframes drift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(80px,60px) scale(1.1); } }
@keyframes drift2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-100px,80px) scale(1.15); } }
@keyframes drift3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(60px,-40px) scale(1.1); } }
@keyframes drift4 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-80px,-60px) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after, .aurora__orb { animation: none !important; }
}

/* ============================================================
   Mega hero typography
   ============================================================ */
.hero-mega {
  padding: var(--space-24) 0 var(--space-20);
  text-align: center;
  position: relative;
}
.hero-mega__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
}
.hero-mega__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-j1-accent);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18); }
  50% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.05); }
}
.hero-mega h1 {
  font-size: clamp(2.5rem, 7vw, var(--text-8xl));
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 1000px;
  margin: 0 auto var(--space-6);
  color: var(--color-primary);
}
.hero-mega h1 .accent-j1 {
  background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-emerald-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-mega h1 .accent-j2 {
  background: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-mega h1 em {
  font-style: italic;
  font-weight: 400;
  font-family: "Lexend", serif;
  letter-spacing: -0.02em;
}
.hero-mega__sub {
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.5;
  color: var(--color-secondary);
  max-width: 680px;
  margin: 0 auto var(--space-10);
}
.hero-mega__cta {
  display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   Premium Journey Cards (gateway feature)
   ============================================================ */
.journey-grid {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-12);
  position: relative;
}
@media (min-width: 900px) { .journey-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }

.jcard {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: var(--space-6);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--color-border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.jcard::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--card-grad, linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%));
  z-index: -1;
  opacity: 0.6;
}
.jcard::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--card-bar);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.jcard.j1 {
  --card-grad: radial-gradient(ellipse at top right, rgba(52, 211, 153, 0.18) 0%, transparent 60%);
  --card-bar: linear-gradient(90deg, var(--grad-emerald) 0%, var(--grad-emerald-deep) 100%);
}
.jcard.j2 {
  --card-grad: radial-gradient(ellipse at top left, rgba(56, 189, 248, 0.18) 0%, transparent 60%);
  --card-bar: linear-gradient(90deg, var(--grad-blue) 0%, var(--grad-blue-deep) 100%);
}
.jcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

.jcard__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.jcard__num {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted-foreground);
}
.jcard.j1 .jcard__num { color: var(--color-j1-accent-hover); }
.jcard.j2 .jcard__num { color: var(--color-j2-accent-hover); }

.jcard__icon-big {
  width: 88px; height: 88px;
  border-radius: var(--radius-xl);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: var(--space-2);
}
.jcard.j1 .jcard__icon-big {
  background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-emerald-deep) 100%);
  box-shadow: 0 12px 24px -8px rgba(5, 150, 105, 0.45);
}
.jcard.j2 .jcard__icon-big {
  background: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-blue-deep) 100%);
  box-shadow: 0 12px 24px -8px rgba(3, 105, 161, 0.45);
}
.jcard__icon-big svg { width: 44px; height: 44px; color: #fff; }

.jcard h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.jcard__lead {
  color: var(--color-secondary);
  font-size: var(--text-lg);
  line-height: 1.55;
}
.jcard__features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.jcard__features li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  color: var(--color-secondary);
  font-size: var(--text-base);
  line-height: 1.5;
}
.jcard__features li svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
}
.jcard.j1 .jcard__features li svg {
  background: var(--color-j1-accent-light);
  color: var(--color-j1-accent-hover);
}
.jcard.j2 .jcard__features li svg {
  background: var(--color-j2-accent-light);
  color: var(--color-j2-accent-hover);
}

.jcard__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  background: var(--color-primary);
  color: #fff;
  transition: background 0.2s, transform 0.3s var(--ease-out);
}
.jcard.j1 .jcard__cta { background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-emerald-deep) 100%); }
.jcard.j2 .jcard__cta { background: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-blue-deep) 100%); }
.jcard__cta svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease-out); }
.jcard:hover .jcard__cta svg { transform: translateX(6px); }

/* Center divider "OR" between journey cards on wide screens */
.journey-divider {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-muted-foreground);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  align-items: center; justify-content: center;
}
@media (min-width: 900px) { .journey-divider { display: flex; } }

/* ============================================================
   BENTO GRID — varied size feature cards
   ============================================================ */
.bento {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); } }

.bento-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-card .num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1;
}
.bento-card h3 { font-size: var(--text-xl); }
.bento-card p { color: var(--color-secondary); line-height: 1.55; font-size: var(--text-base); }

/* Bento span helpers (desktop only) */
@media (min-width: 1100px) {
  .bento--c2 { grid-column: span 2; }
  .bento--c3 { grid-column: span 3; }
  .bento--c4 { grid-column: span 4; }
  .bento--r2 { grid-row: span 2; }
}

.bento-card.featured {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E293B 100%);
  color: var(--color-on-primary);
  border: none;
}
.bento-card.featured h3 { color: var(--color-on-primary); }
.bento-card.featured p { color: rgba(255,255,255,0.78); }
.bento-card.featured::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 60%);
  z-index: -1;
}
.bento-card.featured .num {
  background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-card .icon-pill {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-muted);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.bento-card .icon-pill svg { width: 22px; height: 22px; }
.bento-card.j1-tinted { background: linear-gradient(160deg, var(--color-j1-accent-bg) 0%, var(--color-card) 60%); border-color: var(--color-j1-accent-light); }
.bento-card.j2-tinted { background: linear-gradient(160deg, var(--color-j2-accent-bg) 0%, var(--color-card) 60%); border-color: var(--color-j2-accent-light); }
.bento-card.j1-tinted .icon-pill { background: var(--color-j1-accent-light); color: var(--color-j1-accent-hover); }
.bento-card.j2-tinted .icon-pill { background: var(--color-j2-accent-light); color: var(--color-j2-accent-hover); }

.bento-card.testimonial {
  border-left: 4px solid var(--color-j1-accent);
}
.bento-card.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-primary);
  font-weight: 500;
  margin: 0;
}
.bento-card.testimonial .who {
  display: flex; align-items: center; gap: var(--space-3);
  margin-top: var(--space-2);
  color: var(--color-muted-foreground);
  font-size: var(--text-sm);
}
.bento-card.testimonial .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-j1-accent-light);
  color: var(--color-j1-accent-hover);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
}

/* ============================================================
   Section heading kits
   ============================================================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.section-head .eyebrow { color: var(--color-muted-foreground); margin-bottom: var(--space-3); display: inline-block; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.section-head h2 .grad {
  background: linear-gradient(135deg, var(--grad-emerald) 0%, var(--grad-blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head p { font-size: var(--text-lg); color: var(--color-secondary); }

/* ============================================================
   Marquee strip — moving trust signals
   ============================================================ */
.trust-strip {
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: var(--space-6) 0;
  overflow: hidden;
  position: relative;
}
.trust-strip::before, .trust-strip::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.trust-strip::before { left: 0; background: linear-gradient(90deg, var(--color-primary), transparent); }
.trust-strip::after { right: 0; background: linear-gradient(-90deg, var(--color-primary), transparent); }

.trust-strip__track {
  display: flex;
  gap: var(--space-12);
  animation: marquee 32s linear infinite;
  width: max-content;
}
.trust-strip__item {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}
.trust-strip__item svg { width: 22px; height: 22px; color: var(--grad-emerald); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .trust-strip__track { animation: none; flex-wrap: wrap; } }

/* ============================================================
   Mega CTA band
   ============================================================ */
.mega-cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E293B 100%);
  color: var(--color-on-primary);
  overflow: hidden;
  isolation: isolate;
}
.mega-cta::before, .mega-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.mega-cta::before {
  width: 400px; height: 400px;
  top: -150px; left: -80px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.45) 0%, transparent 70%);
}
.mega-cta::after {
  width: 400px; height: 400px;
  bottom: -150px; right: -80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, transparent 70%);
}
.mega-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 700px;
  margin-left: auto; margin-right: auto;
  line-height: 1.1;
}
.mega-cta p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: 1.55;
}
.mega-cta__buttons { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.mega-cta .btn-primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.mega-cta .btn-primary:hover { background: var(--color-j1-accent-light); border-color: var(--color-j1-accent-light); }
.mega-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.mega-cta .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

/* Journey-tinted mega CTA variants (global) */
.mega-cta.j1 { background: linear-gradient(135deg, var(--grad-emerald-deep) 0%, #064E3B 100%); }
.mega-cta.j1::before { background: radial-gradient(circle, rgba(110, 231, 183, 0.45) 0%, transparent 70%); }
.mega-cta.j1::after { background: radial-gradient(circle, rgba(254, 243, 199, 0.30) 0%, transparent 70%); }
.mega-cta.j1 .btn-primary { color: var(--color-j1-accent-hover); }
.mega-cta.j1 .btn-primary:hover { background: var(--color-j1-accent-light); }

.mega-cta.j2 { background: linear-gradient(135deg, var(--grad-blue-deep) 0%, #0C4A6E 100%); }
.mega-cta.j2::before { background: radial-gradient(circle, rgba(125, 211, 252, 0.45) 0%, transparent 70%); }
.mega-cta.j2::after { background: radial-gradient(circle, rgba(196, 181, 253, 0.30) 0%, transparent 70%); }
.mega-cta.j2 .btn-primary { color: var(--color-j2-accent-hover); }
.mega-cta.j2 .btn-primary:hover { background: var(--color-j2-accent-light); }

/* ============================================================
   Page hero (interior pages) — enriched
   ============================================================ */
.page-hero-rich {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-rich::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}
.page-hero-rich.j1::before { background: radial-gradient(circle, rgba(52, 211, 153, 0.35) 0%, transparent 70%); }
.page-hero-rich.j2::before { background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%); }
.page-hero-rich.neutral::before { background: radial-gradient(circle, rgba(148, 163, 184, 0.30) 0%, transparent 70%); }

.page-hero-rich h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.page-hero-rich .lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto;
}
.page-hero-rich .pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.page-hero-rich.j1 .pill { color: var(--color-j1-accent-hover); border-color: var(--color-j1-accent-light); background: rgba(209, 250, 229, 0.55); }
.page-hero-rich.j2 .pill { color: var(--color-j2-accent-hover); border-color: var(--color-j2-accent-light); background: rgba(219, 234, 254, 0.55); }

/* ============================================================
   Tilt cards — softer micro-interactions
   ============================================================ */
.tilt {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.tilt:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.15);
}

/* ============================================================
   Section dividers — soft separators between blocks
   ============================================================ */
.wave-divider {
  display: block; width: 100%; height: 60px;
  margin-top: -1px;
}

/* ============================================================
   PHOTO MEDIA — Unsplash imagery
   ============================================================ */

/* Hero photo (used in split hero replacing SVG art) */
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  isolation: isolate;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}
.hero-photo:hover img { transform: scale(1.04); }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.08) 60%, rgba(15, 23, 42, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-photo__quote {
  position: absolute;
  bottom: var(--space-6); left: var(--space-6); right: var(--space-6);
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-photo__badge {
  position: absolute;
  top: var(--space-5); left: var(--space-5);
  z-index: 2;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.hero-photo__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-photo__badge.j1 .dot { background: var(--color-j1-accent); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2); }
.hero-photo__badge.j2 .dot { background: var(--color-j2-accent); box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.2); }

/* Split hero layout (text + photo) */
.split-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .split-hero { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); }
}
.split-hero__text { text-align: left; }
.split-hero__text h1 { text-align: left; }
.split-hero__text .hero-mega__cta { justify-content: flex-start; }
.split-hero__text .pill-j1,
.split-hero__text .pill-j2,
.split-hero__text .hero-mega__eyebrow { text-align: left; }

/* Moments strip — 4-photo horizontal showcase */
.moments {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .moments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .moments { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.moment {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.moment:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.moment img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.moment:hover img { transform: scale(1.06); }
.moment::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.moment__label {
  position: absolute;
  bottom: var(--space-4); left: var(--space-4); right: var(--space-4);
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Card with photo backdrop (bento-style) */
.bento-card.photo {
  padding: 0;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: none;
}
.bento-card.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease-out);
}
.bento-card.photo:hover img { transform: scale(1.05); }
.bento-card.photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}
.bento-card.photo .photo-body {
  position: relative; z-index: 2;
  padding: var(--space-8);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.bento-card.photo .photo-body h3 { color: #fff; font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.bento-card.photo .photo-body p { color: rgba(255,255,255,0.85); }

/* Skeleton/placeholder fallback (if image fails to load) */
.hero-photo, .moment, .bento-card.photo {
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-border) 100%);
}

/* ============================================================
   SCROLL REVEAL — fade-in-up on enter viewport
   Activated by reveal.js which adds .reveal-ready to <html>
   and .is-visible to each target as it scrolls in.
   ============================================================ */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* When reveal is disabled (no JS, no IO, or reduced-motion), show everything normally */
.reveal-disabled .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Slightly tighter motion on smaller / quicker elements */
.reveal-ready .bento-card.reveal,
.reveal-ready .moment.reveal,
.reveal-ready .step.reveal,
.reveal-ready .timeline-item.reveal,
.reveal-ready .channel.reveal {
  transform: translateY(20px);
  transition-duration: 0.65s;
}

/* Honor reduced-motion globally as a safety net */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal,
  .reveal-ready .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   TIMELINE — used by scplus_timeline_step widget (How It Works section)
   These styles were previously page-local; moved to global so the widget
   renders correctly anywhere it's placed.
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--color-muted-foreground);
  z-index: 0;
  opacity: 0.5;
}
body.journey-j1 .timeline::before { background: var(--color-j1-accent); opacity: 0.6; }
body.journey-j2 .timeline::before { background: var(--color-j2-accent); opacity: 0.6; }

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-6);
  align-items: start;
  position: relative;
  z-index: 1;
}

.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  box-shadow: 0 0 0 4px var(--color-background);
  flex-shrink: 0;
}

.timeline-content {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
}
.timeline-content h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xl);
}
.timeline-content > p {
  color: var(--color-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-3);
}
.timeline-content ul {
  margin: var(--space-3) 0 0;
  color: var(--color-secondary);
  padding-left: 1.25rem;
}
.timeline-content ul li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.timeline-meta {
  display: inline-flex !important;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
}
.timeline-meta svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

/* When timeline-step widget is wrapped in Elementor widget container */
.elementor-widget-scplus_timeline_step .elementor-widget-container { padding: 0; }

/* ============================================================
   FAQ TOC — "Jump to a topic" card (rendered by scplus_faq_toc)
   ============================================================ */
.faq-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-10);
}
.faq-toc h2 {
  font-size: var(--text-lg) !important;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 var(--space-4);
}
.faq-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}
@media (min-width: 600px) {
  .faq-toc ul { grid-template-columns: 1fr 1fr; }
}
.faq-toc li {
  list-style: none;
  margin: 0;
}
.faq-toc a {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--space-1) 0;
}
.faq-toc a:hover { text-decoration: underline; }
body.journey-j1 .faq-toc a { color: var(--color-j1-accent-hover); }
body.journey-j2 .faq-toc a { color: var(--color-j2-accent-hover); }

/* ============================================================
   FAQ GROUP — Section heading with underline accent
   ============================================================ */
.faq-group {
  margin-bottom: var(--space-12);
}
.faq-group h2 {
  font-size: var(--text-2xl) !important;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-muted);
}
body.journey-j1 .faq-group h2 { border-bottom-color: var(--color-j1-accent-light); }
body.journey-j2 .faq-group h2 { border-bottom-color: var(--color-j2-accent-light); }

/* Accordion details — card-like, smooth open/close (works with existing base.css) */
.faq-group .accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Elementor widget wrappers — remove default padding so cards are flush */
.elementor-widget-scplus_faq_toc .elementor-widget-container,
.elementor-widget-scplus_faq_group .elementor-widget-container { padding: 0; }

/* ============================================================
   FAQ TABS — when JS upgrades .faq-toc into a tab nav
   ============================================================ */
.faq-toc.faq-tabs-nav {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  margin-bottom: var(--space-8);
}
.faq-toc.faq-tabs-nav h2 {
  display: none; /* "Jump to a topic" label not needed in tab mode */
}
.faq-toc.faq-tabs-nav ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--space-2) !important;
  grid-template-columns: none !important;
  margin: 0;
  padding: 0;
}
.faq-toc.faq-tabs-nav li {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
}
.faq-toc.faq-tabs-nav a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5) !important;
  border-radius: var(--radius-md);
  background: transparent !important;
  border: 1px solid transparent;
  color: var(--color-secondary) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm) !important;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-decoration: none !important;
  white-space: nowrap;
}
.faq-toc.faq-tabs-nav a:hover {
  background: var(--color-muted) !important;
  color: var(--color-primary) !important;
}
.faq-toc.faq-tabs-nav a:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}
.faq-toc.faq-tabs-nav a.is-active {
  background: var(--color-primary) !important;
  color: var(--color-on-primary) !important;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
body.journey-j1 .faq-toc.faq-tabs-nav a.is-active {
  background: var(--color-j1-accent) !important;
  border-color: var(--color-j1-accent);
  color: #fff !important;
}
body.journey-j2 .faq-toc.faq-tabs-nav a.is-active {
  background: var(--color-j2-accent) !important;
  border-color: var(--color-j2-accent);
  color: #fff !important;
}

/* Tab-mode panel switching.
   The JS adds `faq-tabs-ready` to <html> once it has initialized;
   before that, all groups are visible (graceful fallback for no-JS / slow init). */
html.faq-tabs-ready body .faq-group {
  display: none;
}
html.faq-tabs-ready body .faq-group.is-active {
  display: block;
  animation: faq-fade-in 0.3s var(--ease-out);
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* In tab mode, the active group's h2 is redundant (active tab button shows it). */
html.faq-tabs-ready body .faq-group.is-active > h2 {
  display: none;
}

/* ============================================================
   JOURNEY SPLIT — two side-by-side cards (j1/j2) cross-link
   Used by scplus_journey_split widget on /faq/
   ============================================================ */
.journey-split {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .journey-split {
    grid-template-columns: 1fr 1fr !important;
  }
}
.journey-split > a {
  display: flex !important;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.journey-split > a.j1:hover {
  border-color: var(--color-j1-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.journey-split > a.j2:hover {
  border-color: var(--color-j2-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.journey-split > a > .badge {
  align-self: flex-start;
}
.journey-split > a > h3 {
  margin: var(--space-3) 0 var(--space-2);
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.journey-split > a > p {
  color: var(--color-secondary);
  line-height: 1.55;
  margin: 0 0 var(--space-3);
}
.journey-split > a > .arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-block;
  margin-top: auto;
}
.journey-split > a.j1 > .arrow { color: var(--color-j1-accent-hover); }
.journey-split > a.j2 > .arrow { color: var(--color-j2-accent-hover); }

/* Elementor widget wrapper for journey-split */
.elementor-widget-scplus_journey_split .elementor-widget-container { padding: 0; }

/* ============================================================
   Extracted from page-level <style> blocks — globalized so
   pages render without inline CSS. v1.1.9
   ============================================================ */

/* Aurora journey gradients (override aurora's default mesh) */
.aurora.j1::before { background: radial-gradient(circle, rgba(167, 243, 208, 0.65) 0%, transparent 70%); }
.aurora.j1::after  { background: radial-gradient(circle, rgba(254, 243, 199, 0.50) 0%, transparent 70%); }
.aurora.j2::before { background: radial-gradient(circle, rgba(186, 230, 253, 0.65) 0%, transparent 70%); }
.aurora.j2::after  { background: radial-gradient(circle, rgba(224, 231, 255, 0.55) 0%, transparent 70%); }

/* Hero-mega pill (journey-tinted info pill above heading) */
.hero-mega .pill-j1,
.hero-mega .pill-j2 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.hero-mega .pill-j1 { border: 1px solid var(--color-j1-accent-light); color: var(--color-j1-accent-hover); }
.hero-mega .pill-j2 { border: 1px solid var(--color-j2-accent-light); color: var(--color-j2-accent-hover); }
.hero-mega .pill-j1 .dot, .hero-mega .pill-j2 .dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-mega .pill-j1 .dot { background: var(--color-j1-accent); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18); }
.hero-mega .pill-j2 .dot { background: var(--color-j2-accent); box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.18); }

/* Safety callout (j2 themed) */
.safety-callout {
  background: linear-gradient(135deg, var(--color-j2-accent-bg) 0%, var(--color-card) 100%);
  border: 1px solid var(--color-j2-accent-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .safety-callout { grid-template-columns: 100px 1fr; align-items: center; } }
.safety-callout__icon {
  width: 100px; height: 100px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-blue-deep) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.safety-callout__icon svg { width: 48px; height: 48px; }
.safety-callout h3 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }

/* Compare 2-col (j1/j2 cards) — used on how-it-works */
.compare {
  display: grid; gap: var(--space-6); grid-template-columns: 1fr;
  margin-top: var(--space-10);
}
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.compare__col {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.compare__col.j1 { border-color: var(--color-j1-accent-light); }
.compare__col.j2 { border-color: var(--color-j2-accent-light); }
.compare__head { display: flex; align-items: center; gap: var(--space-3); }
.compare__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.compare__col.j1 .compare__icon { background: var(--color-j1-accent-light); color: var(--color-j1-accent-hover); }
.compare__col.j2 .compare__icon { background: var(--color-j2-accent-light); color: var(--color-j2-accent-hover); }
.compare__icon svg { width: 28px; height: 28px; }
.compare__col h3 { font-size: var(--text-2xl); }
.compare__col ol {
  padding-left: 1.25rem;
  color: var(--color-secondary);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.compare__col ol li { padding-left: var(--space-2); }
.compare__col ol li::marker { color: var(--color-j1-accent); font-weight: 700; font-family: var(--font-heading); }
.compare__col.j2 ol li::marker { color: var(--color-j2-accent); }
.compare__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: auto; }

/* Support page grid (form column + channels column) */
.support-grid {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .support-grid { grid-template-columns: 1.2fr 0.8fr; } }
.channel { padding: var(--space-8); display: flex; gap: var(--space-5); align-items: flex-start; }
.channel__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-muted); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.channel__icon svg { width: 22px; height: 22px; }
.channel h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.channel p { font-size: var(--text-sm); margin-bottom: var(--space-3); color: var(--color-muted-foreground); line-height: 1.5; }
.channel a { font-weight: 500; color: var(--color-primary); }
.channel a:hover { text-decoration: underline; }
.support-channels { display: flex; flex-direction: column; gap: var(--space-6); }

/* Legal layout (privacy / terms) */
.legal-layout { display: grid; gap: var(--space-10); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px 1fr; gap: var(--space-12); } }
.legal-toc {
  position: sticky; top: 96px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal-toc h2 {
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-muted-foreground); margin-bottom: var(--space-4);
}
.legal-toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); counter-reset: toc; }
.legal-toc ol li { counter-increment: toc; }
.legal-toc a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-secondary);
  line-height: var(--leading-snug);
}
.legal-toc a::before { content: counter(toc) ". "; color: var(--color-muted-foreground); margin-right: var(--space-1); }
.legal-toc a:hover { background: var(--color-muted); color: var(--color-primary); }
.legal-body { max-width: 720px; }
.legal-body h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12); margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 { font-size: var(--text-xl); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.legal-body p, .legal-body li { color: var(--color-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.legal-body ul, .legal-body ol { padding-left: 1.5rem; margin-bottom: var(--space-5); }
.legal-body ul li, .legal-body ol li { margin-bottom: var(--space-2); }
.legal-meta {
  background: var(--color-muted);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-10);
  color: var(--color-secondary);
  font-size: var(--text-sm);
}
