/* ============================================================
   YOUR NUDGE — Design System & Styles
   Colors sourced directly from app source (Colors.xcassets)
   Primary: #1D365D  PrimaryDark: #0F1C38
   Secondary (accent blue): #63B0F8
   Orange accent: #FF9D5C
   Teal: #71CAEE  Sage: #83C59B
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg:          #0B1629;
  --bg-alt:      #0F1C38;
  --bg-card:     #1A2D52;
  --bg-panel:    #1D365D;
  --blue:        #63B0F8;
  --blue-dim:    rgba(99,176,248,0.15);
  --orange:      #FF9D5C;
  --orange-dim:  rgba(255,157,92,0.15);
  --teal:        #71CAEE;
  --sage:        #83C59B;
  --yellow:      #FFE16A;
  --text:        #FFFFFF;
  --text-mid:    #B8C4D4;
  --text-dim:    #6A7A8E;
  --border:      rgba(99,176,248,0.12);
  --border-warm: rgba(255,157,92,0.2);
  --white:       #FFFFFF;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-full:9999px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.5);
  --glow-blue: 0 0 40px rgba(99,176,248,0.15);
  --glow-orange: 0 0 40px rgba(255,157,92,0.2);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #0B1629;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(255,157,92,0.4);
}
.btn--primary:hover {
  background: #ffb07a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,157,92,0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn--secondary {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(99,176,248,0.45);
}
.btn--secondary:hover {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(99,176,248,0.1);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn--nav {
  padding: 10px 22px;
  font-size: 0.875rem;
  background: var(--orange);
  color: #0B1629;
  font-weight: 600;
  border-radius: var(--r-full);
  box-shadow: 0 2px 16px rgba(255,157,92,0.35);
}
.btn--nav:hover {
  background: #ffb07a;
  transform: translateY(-1px);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ---------- Section Header ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 16px 0 20px;
  color: var(--white);
}
.section-head p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(99,176,248,0.2);
}
.tag--orange {
  background: var(--orange-dim);
  color: var(--orange);
  border-color: rgba(255,157,92,0.2);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(11,22,41,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(99,176,248,0.1), 0 4px 24px rgba(0,0,0,0.4);
  padding: 10px 0;
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  flex-shrink: 0;
}
.nav__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav__links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  transform-origin: left;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-alt);
  z-index: 99;
  padding: 100px 32px 40px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 100px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.40;
  filter: grayscale(1);
  mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, transparent 0%, transparent 45%, black 78%);
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, transparent 0%, transparent 45%, black 78%);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(11,22,41,0.7) 82%,
    rgba(11,22,41,0.98) 100%
  );
}
.hero .container { position: relative; z-index: 1; }
.hero__content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255,157,92,0.12);
  color: var(--orange);
  border: 1px solid rgba(255,157,92,0.25);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--blue);
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.scroll-indicator__dot {
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: var(--r-full);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-alt);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.2s;
}
.stat:hover { background: var(--bg-card); }
.stat__n {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__l {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   FEATURES / THREE PILLARS
   ============================================================ */
.features {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt) 80px, var(--bg-alt));
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.fcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.3s;
}
.fcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  border-color: rgba(99,176,248,0.25);
}
.fcard:hover::after { opacity: 1; }
.fcard__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.fcard__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fcard__num {
  font-family: var(--ff-serif);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.fcard h3 {
  font-family: var(--ff-serif);
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.fcard p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 24px;
}
.fcard__pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-dim);
  border: 1px solid rgba(99,176,248,0.2);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  align-self: flex-start;
}

/* Clickable pillar cards */
a.fcard {
  cursor: pointer;
}
.fcard__explore {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.04em;
  align-self: flex-start;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}
a.fcard:hover .fcard__explore {
  opacity: 1;
  transform: translateX(4px);
}

/* ============================================================
   GUIDED MEDITATION
   ============================================================ */
.meditation-section {
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg) 80px, var(--bg));
  padding: 120px 0;
}
.meditation__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.meditation__copy .tag { margin-bottom: 20px; }
.meditation__copy h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.meditation__copy > p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.meditation__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   STAY SECTION
   ============================================================ */
.stay-section {
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg) 80px, var(--bg));
  padding: 120px 0;
}
.stay__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stay__copy .tag { margin-bottom: 20px; }
.stay__copy h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.stay__copy > p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.stay__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stay__feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.stay__feature-icon {
  font-size: 1.3rem;
  color: var(--blue);
  opacity: 0.8;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  padding-top: 3px;
  line-height: 1;
}
.stay__feature strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 6px;
}
.stay__feature p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
.stay__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* "More" chip as a link */
a.chip--more {
  cursor: pointer;
  text-decoration: none;
}
a.chip--more:hover {
  background: rgba(255,157,92,0.25);
  border-color: rgba(255,157,92,0.4);
  transform: translateY(-1px);
}

/* ============================================================
   PHILOSOPHY / FOUNDATION
   ============================================================ */
.philosophy {
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg) 80px, var(--bg));
  padding: 120px 0;
}
.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.philosophy__copy .tag { margin-bottom: 20px; }
.philosophy__copy h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--white);
}
.philosophy__copy blockquote {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--blue);
  border-left: 2px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 24px;
}
.philosophy__copy p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.philosophy__copy em { color: var(--orange); font-style: italic; }

/* Mandala Viz */
.mandala-viz {
  position: relative;
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.mv-ring {
  position: absolute;
  border-radius: 50%;
}
.mv-ring--1 { inset: 0; border: 1px solid rgba(99,176,248,0.15); animation: pulsate 4s ease-in-out infinite; }
.mv-ring--2 { inset: 30px; border: 1px solid rgba(99,176,248,0.25); animation: pulsate 4s ease-in-out infinite 0.5s; }
.mv-ring--3 { inset: 60px; border: 1px solid rgba(99,176,248,0.4); animation: pulsate 4s ease-in-out infinite 1s; }
.mv-ring--4 { inset: 90px; border: 1px solid rgba(255,157,92,0.4); animation: pulsate 4s ease-in-out infinite 1.5s; }
.mv-core {
  font-size: 2rem;
  color: var(--orange);
  animation: gentleSpin 20s linear infinite;
  z-index: 1;
}
.philosophy__visual img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 36px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,176,248,0.15), 0 0 48px rgba(99,176,248,0.15);
}

@keyframes pulsate {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(1.04); opacity: 0.8; }
}
@keyframes gentleSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   TECHNIQUES / ANCIENT WISDOM
   ============================================================ */
.techniques {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt) 80px, var(--bg-alt));
}
.techniques__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99,176,248,0.3);
}
.tcard__n {
  font-family: var(--ff-serif);
  font-size: 0.75rem;
  color: var(--orange);
  opacity: 0.8;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.tcard h4 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--white);
}
.tcard p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.techniques__footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.techniques__footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ============================================================
   GUIDED ACTIVITIES
   ============================================================ */
.activities {
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt) 80px, var(--bg-alt));
  padding: 120px 0;
}
.activities__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.activities__copy .tag { margin-bottom: 20px; }
.activities__copy h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.activities__copy > p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(99,176,248,0.07);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: all 0.2s;
  cursor: default;
}
.chip:hover {
  background: rgba(99,176,248,0.14);
  border-color: rgba(99,176,248,0.3);
  color: var(--white);
}
.chip--more {
  background: var(--orange-dim);
  border-color: var(--border-warm);
  color: var(--orange);
  font-weight: 500;
}

/* Phone / Screenshot — order: -1 puts phone left on desktop and top on mobile */
.activities__phone {
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1;
}
.phone-wrap {
  position: relative;
  width: 260px;
}
.phone-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(99,176,248,0.4), rgba(255,157,92,0.3), rgba(113,202,238,0.2));
  z-index: 0;
}
.phone-screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 42px;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

/* Two-phone pair layout */
.phones-pair {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.phone-wrap--front {
  width: 220px;
  flex-shrink: 0;
  z-index: 1;
}
.phone-wrap--back {
  width: 195px;
  flex-shrink: 0;
  margin-top: 32px;
  opacity: 0.55;
  filter: brightness(0.8);
  z-index: 0;
}

/* ============================================================
   PRICING — Three Plans
   ============================================================ */
.pricing {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg) 80px, var(--bg));
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(99,176,248,0.3);
  box-shadow: var(--shadow-md);
}
.plan--featured {
  background: var(--bg-panel);
  border-color: rgba(255,157,92,0.35);
  box-shadow: 0 0 40px rgba(255,157,92,0.07);
}
.plan--featured:hover {
  border-color: rgba(255,157,92,0.55);
  box-shadow: 0 0 56px rgba(255,157,92,0.1), var(--shadow-md);
}
.plan--deep {
  border-color: rgba(113,202,238,0.25);
}
.plan--deep:hover {
  border-color: rgba(113,202,238,0.45);
}
.plan__price {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}
.plan__price span {
  font-size: 1rem;
  color: var(--text-dim);
  font-family: var(--ff-sans);
}
.plan--featured .plan__price { color: var(--orange); }
.plan--deep .plan__price { color: var(--teal); }
.plan__name {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.plan__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
}
.plan__features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.plan--featured .plan__features li::before { color: var(--orange); }
.plan--deep .plan__features li::before { color: var(--teal); }

.plan__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,157,92,0.2);
  border: 1px solid rgba(255,157,92,0.35);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  align-self: flex-start;
}

.plans__same-note {
  text-align: center;
  margin-bottom: 20px;
}
.plans__same-note span {
  display: inline-block;
  padding: 8px 20px;
  background: var(--blue-dim);
  border: 1px solid rgba(99,176,248,0.2);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.plans__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.plans__note > span {
  font-size: 1.5rem;
  color: var(--orange);
  opacity: 0.6;
}
.plans__note p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt) 80px, var(--bg-alt));
  padding: 120px 0;
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fq {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.fq.open { border-color: rgba(99,176,248,0.3); }
.fq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text-mid);
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.fq__q:hover { color: var(--white); background: rgba(99,176,248,0.05); }
.fq.open .fq__q { color: var(--white); }
.fq__icon {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.2s, border-color 0.2s;
  line-height: 1;
  text-align: center;
}
.fq.open .fq__icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--bg);
  border-color: var(--orange);
}
.fq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-in-out);
}
.fq.open .fq__a { max-height: 400px; }
.fq__a p {
  padding: 0 28px 24px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg) 80px, var(--bg));
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,176,248,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-final__mandala {
  position: relative;
  width: 160px; height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.cta-final__mandala .mv-ring--1 { animation-duration: 3s; }
.cta-final__mandala .mv-ring--2 { animation-duration: 3s; animation-delay: 0.4s; }
.cta-final__mandala .mv-core { font-size: 1.4rem; }
.cta-final h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final h2 em { color: var(--blue); font-style: italic; }
.cta-final > div > p {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 40px;
}
.cta-final__note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 12px 0 24px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
}
.footer__social a:hover {
  color: var(--white);
  border-color: rgba(99,176,248,0.4);
  background: var(--blue-dim);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__ios {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 4px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Large tablet / small desktop (iPad Pro landscape, 13" laptops) --- */
@media (max-width: 1024px) {
  .features__grid { gap: 16px; }
  .philosophy__inner { gap: 48px; }
  .activities__inner { gap: 48px; }
  .meditation__inner { gap: 48px; }
  .stay__inner { gap: 48px; }
  .footer__top { gap: 40px; }
  /* Shrink phone pair so it doesn't overflow the column at narrow desktop */
  .phone-wrap--front { width: 200px; }
  .phone-wrap--back { width: 170px; }
}

/* --- Tablet landscape (iPad Mini/Air landscape, large Android tablets) --- */
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .features, .techniques, .pricing, .cta-final { padding: 88px 0; }
  .philosophy, .activities, .faq, .meditation-section, .stay-section { padding: 88px 0; }

  .philosophy__inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophy__visual { order: -1; }
  .philosophy__visual img { width: 160px; height: 160px; }

  .activities__inner { grid-template-columns: 1fr; gap: 40px; }
  .activities__phone { order: -1; }

  .meditation__inner { grid-template-columns: 1fr; gap: 40px; }
  .meditation__phone { order: -1; }
  .phone-wrap--back { display: none; }
  .phones-pair { display: block; }
  .phones-pair .phone-wrap--front { width: 220px; margin: 0 auto; }

  .stay__inner { grid-template-columns: 1fr; gap: 40px; }
  .stay__phone { order: -1; }

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

/* --- Tablet portrait / large phone (iPad portrait, iPhone Plus/Max) --- */
@media (max-width: 768px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav__inner { gap: 16px; }

  .hero { padding: 120px 20px 80px; }

  .stats { padding: 40px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }
  .stat__n { font-size: 2.2rem; }

  .features__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .fcard { padding: 40px 28px; }
  .fcard__explore { opacity: 1; }

  .mandala-viz { width: 240px; height: 240px; }
  .mv-ring--3 { inset: 50px; }
  .mv-ring--4 { inset: 70px; }

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

  .phone-wrap { width: 220px; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* --- Large phone / phone landscape (iPhone 14 Pro Max, large Android) --- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .features, .techniques, .pricing, .cta-final { padding: 72px 0; }
  .philosophy, .activities, .faq, .meditation-section, .stay-section { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }

  .fcard { padding: 32px 24px; }
  .plan { padding: 32px 24px; }
  .plan__price { font-size: 2.6rem; }
  .plans__note { padding: 32px 20px; }

  .cta-final::before { width: 360px; height: 360px; }

  .chip { padding: 9px 14px; }
}

/* --- Standard phone (iPhone 14, Pixel, most Androids) --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 110px 16px 72px; }
  .hero__bg-img {
    mask-image: radial-gradient(ellipse 88% 62% at 50% 50%, transparent 0%, transparent 42%, black 75%);
    -webkit-mask-image: radial-gradient(ellipse 88% 62% at 50% 50%, transparent 0%, transparent 42%, black 75%);
  }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .stat { padding: 20px 12px; }
  .stat__n { font-size: 2rem; }

  .features, .techniques, .pricing, .cta-final { padding: 64px 0; }
  .philosophy, .activities, .faq, .meditation-section, .stay-section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

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

  .phone-wrap { width: 200px; }
  .phones-pair .phone-wrap--front { width: 200px; }

  .fq__q { padding: 18px 20px; font-size: 0.93rem; }
  .fq__a p { padding: 0 20px 20px; }

  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- Small phone (iPhone SE, iPhone 12 mini, small Android) --- */
@media (max-width: 390px) {
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__sub { font-size: 0.95rem; }

  .stat__n { font-size: 1.8rem; }
  .stat__l { font-size: 0.72rem; }

  .fcard h3 { font-size: 1.4rem; }
  .fcard { padding: 28px 20px; }

  .plan__price { font-size: 2.2rem; }

  .phone-wrap { width: 180px; }
  .phones-pair .phone-wrap--front { width: 180px; }

  .nav__inner { padding: 0 16px; }
  .mobile-menu { padding: 90px 24px 40px; }
  .mobile-menu a { font-size: 1.4rem; }
}

/* --- Very small phone (360px and under, small Android) --- */
@media (max-width: 360px) {
  .hero__badge { font-size: 0.7rem; padding: 6px 12px; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  .chip { padding: 8px 12px; font-size: 0.8rem; }
  .stat__n { font-size: 1.6rem; }
  .phone-wrap { width: 160px; }
  .phones-pair .phone-wrap--front { width: 160px; }
}

/* --- Reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-img,
  .mv-core,
  .mv-ring,
  .scroll-indicator__dot { animation: none !important; }
  .reveal { transition-duration: 0.01ms !important; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav { position: relative; }
  .hero { min-height: auto; padding: 80px 24px 60px; }
  .hero__scroll { display: none; }
}
