/* ============================================================
   DUNITHRA DE SILVA — THE FREEDOM ARCHITECT
   Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #04050a;
  --ink2:      #080b12;
  --panel:     rgba(255,255,255,0.032);
  --rim:       rgba(255,255,255,0.12);
  --rim2:      rgba(255,255,255,0.07);
  --c:         #66FCF1;
  --cd:        rgba(102,252,241,0.08);
  --cg:        rgba(102,252,241,0.18);
  --w:         #F2F5FA;
  --g:         #B8C2D8;   /* was #8791A8 — much brighter now */
  --d:         #7A8499;   /* was #3A4056 — was nearly invisible, now readable */
  --gold:      #F5C842;
  --gold-d:    rgba(245,200,66,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--w);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--c); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--w);
}
h1 { font-size: clamp(48px, 8vw, 100px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 18px; }

.grad-text {
  background: linear-gradient(120deg, var(--c) 0%, #a5f9f4 50%, var(--c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.italic-outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.25);
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.kicker::before, .kicker::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(102,252,241,0.4);
}
.kicker.left::before { display: none; }
.kicker.left::after  { width: 100%; max-width: 120px; }
p.lead {
  font-size: 17px;
  color: #C8D0E0;
  font-weight: 300;
  line-height: 1.85;
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container  { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* ── GRID BACKGROUNDS ─────────────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(rgba(102,252,241,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,252,241,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(4,5,10,0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rim2);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(4,5,10,0.92); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.diamond {
  width: 22px; height: 22px;
  border: 1.5px solid rgba(102,252,241,0.55);
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diamond-inner {
  width: 8px; height: 8px;
  background: var(--c);
  box-shadow: 0 0 10px var(--c), 0 0 20px rgba(102,252,241,0.4);
  animation: blink 3s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.5} }

.nav-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A96B0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c); text-decoration: none; }
.nav-cta {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(102,252,241,0.4);
  color: var(--c);
  padding: 9px 22px;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--cd); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--w);
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(4,5,10,0.97);
  border-bottom: 1px solid var(--rim2);
  padding: 20px 48px 28px;
  gap: 18px;
}
.nav-mobile a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B8C2D8;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--c); text-decoration: none; }
.nav-mobile.open { display: flex; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  padding: 14px 36px;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--c);
  color: #04050a;
  box-shadow: 0 0 40px rgba(102,252,241,0.28), 0 0 80px rgba(102,252,241,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(102,252,241,0.45), 0 0 120px rgba(102,252,241,0.15);
  text-decoration: none;
  color: #04050a;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(242,245,250,0.6);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--w);
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: #1a1200;
  box-shadow: 0 0 40px rgba(245,200,66,0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(245,200,66,0.45);
  text-decoration: none;
  color: #1a1200;
}
.btn-outline-c {
  background: transparent;
  border: 1px solid rgba(102,252,241,0.4);
  color: var(--c);
}
.btn-outline-c:hover {
  background: var(--cd);
  text-decoration: none;
  color: var(--c);
}
.btn svg { flex-shrink: 0; }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--rim2);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(102,252,241,0.2);
  transform: translateY(-4px);
}
.card-top-glow::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  margin-bottom: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .card-top-glow::before,
.card-top-glow:hover::before { opacity: 1; }

/* ── STAT STRIP ───────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rim2);
  background: var(--rim2);
  gap: 1px;
}
.stat-cell {
  background: var(--ink);
  padding: 24px 20px;
  text-align: center;
}
.stat-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--c);
  letter-spacing: -0.03em;
  text-shadow: 0 0 24px rgba(102,252,241,0.35);
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A96B0;
  line-height: 1.5;
}

/* ── SECTION DIVIDER ──────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rim), transparent);
  margin: 0 auto;
}

/* ── PILL / BADGE ─────────────────────────────────────────── */
.pill {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--rim);
  padding: 5px 11px;
  color: #8A96B0;
  transition: all 0.2s;
}
.pill.active {
  border-color: rgba(102,252,241,0.3);
  color: var(--c);
  background: var(--cd);
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rim2);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A96B0;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A96B0;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(242,245,250,0.5); text-decoration: none; }
.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.12em;
}

/* ── HERO (shared) ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(102,252,241,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,252,241,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 20%, #04050a 100%);
}
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(102,252,241,0.055) 0%, transparent 65%);
  animation: drift 8s ease-in-out infinite;
}
@keyframes drift { 0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-52%) scale(1.06)} }

.hero-scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(102,252,241,0.12);
  animation: scan 7s linear infinite;
}
@keyframes scan { 0%{top:-2px}100%{top:100%} }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 28px;
  animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.eyebrow-line { width: 44px; height: 1px; background: rgba(102,252,241,0.45); }
.eyedot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c), 0 0 18px rgba(102,252,241,0.5);
}

.hero h1 {
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
.hero .lead {
  max-width: 520px;
  margin: 24px auto 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s both;
}
.hero .stat-strip {
  max-width: 560px;
  width: 100%;
  margin: 68px auto 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.7s both;
}

/* Page-hero (non-home) */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(36px, 6vw, 72px); }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0);    }
}

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,5,10,0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #0b0e18;
  border: 1px solid rgba(102,252,241,0.2);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #B8C2D8;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--w); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .hero { padding: 100px 24px 60px; }
  .page-hero { padding: 110px 24px 60px; }
  .section { padding: 64px 0; }
  .stat-strip { grid-template-columns: repeat(3,1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .stat-strip { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ============================================================
   MOBILE OPTIMIZATION PASS — comprehensive fixes
   ============================================================ */

/* Touch targets — all interactive elements min 44px */
.btn               { min-height: 44px; }
.nav-toggle        { min-width: 44px; min-height: 44px; justify-content: center; }
.filter-btn        { min-height: 40px; padding: 8px 16px; }
.gender-btn        { min-height: 48px; }
.program-cta       { min-height: 40px; }
.modal-close       { min-width: 44px; min-height: 44px; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; }

/* Prevent horizontal overflow everywhere */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }
.container { max-width: 100%; }

/* ── NAV mobile ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-mobile { padding: 20px 20px 28px; position: fixed; top: 60px; left: 0; right: 0; z-index: 999; }
}

/* ── HERO mobile ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero      { padding: 88px 20px 56px; }
  .page-hero { padding: 100px 20px 56px; min-height: 44vh; }
  .hero h1   { font-size: clamp(38px, 11vw, 60px); }
  .page-hero h1 { font-size: clamp(32px, 10vw, 56px); }
  .hero-eyebrow { font-size: 8.5px; letter-spacing: .3em; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .eyebrow-line { width: 28px; }
}

/* ── SECTION padding mobile ───────────────────────────────── */
@media (max-width: 600px) {
  .section    { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .container  { padding: 0 18px; }
}

/* ── MODAL mobile ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    max-width: 100%;
    max-height: 92vh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
  }
}

/* ── BUTTONS mobile ───────────────────────────────────────── */
@media (max-width: 480px) {
  .btn { font-size: 10px; padding: 14px 24px; letter-spacing: .18em; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── FOOTER mobile ────────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-inner { gap: 12px; }
  .footer-links { gap: 16px; }
}

/* ── INDEX PAGE: about-grid hardcoded 300px column ───────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 28px !important; padding: 48px 0 !important; }
}

/* ── INDEX PAGE: pillar grid ──────────────────────────────── */
@media (max-width: 600px) {
  .pillar-grid { grid-template-columns: 1fr !important; }
  .pillar { padding: 28px 22px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── INDEX PAGE: cta-band ─────────────────────────────────── */
@media (max-width: 600px) {
  .cta-band-inner { flex-direction: column !important; text-align: center; gap: 24px; }
  .cta-band { padding: 48px 0; }
  .lock-icon { justify-content: center; }
}

/* ── ABOUT: stat row 5-col → 3+2 → 2+3 ──────────────────── */
@media (max-width: 750px) {
  .stat-row { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: repeat(2,1fr) !important; }
  .stat-lg { padding: 20px 12px; }
  .stat-lg-val { font-size: 26px; }
}

/* ── ABOUT: timeline ──────────────────────────────────────── */
@media (max-width: 600px) {
  .timeline-item { gap: 18px; padding-bottom: 44px; }
  .timeline-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .timeline-icon svg { width: 16px; height: 16px; }
  .timeline::before { left: 17px; }
  .timeline-title { font-size: 18px; }
  .timeline-body { font-size: 13.5px; }
  .item1-grid { grid-template-columns: 1fr !important; }
  .photo-frame { max-width: 100%; aspect-ratio: 16/9 !important; }
  .roi-num { font-size: clamp(44px, 14vw, 64px); }
}

/* ── ABOUT: values grid ───────────────────────────────────── */
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr !important; }
  .value-card  { padding: 24px 20px; }
}

/* ── ABOUT: mission box ───────────────────────────────────── */
@media (max-width: 600px) {
  .mission-box { padding: 28px 20px !important; }
  .mission-box .btn { width: 100%; justify-content: center; }
}

/* ── CRYPTO: guide box ────────────────────────────────────── */
@media (max-width: 600px) {
  .guide-box { padding: 32px 20px !important; }
  .guide-lead { font-size: 14px !important; }
  .guide-what { gap: 8px; }
  .guide-item { font-size: 11px; padding: 7px 12px; }
  .guide-box h2 { font-size: clamp(24px, 8vw, 40px) !important; }
  .guide-box .btn { width: 100%; justify-content: center; }
}

/* ── CRYPTO: modules 2-col → 1-col ───────────────────────── */
@media (max-width: 700px) {
  .course-modules { grid-template-columns: 1fr !important; }
  .module { padding: 24px 20px; }
}

/* ── CRYPTO: video grid 3-col → 1-col ────────────────────── */
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr !important; max-width: 480px; margin: 0 auto; }
}

/* ── CRYPTO: cycle chart ──────────────────────────────────── */
@media (max-width: 600px) {
  .two-col-cycle { grid-template-columns: 1fr !important; }
  .cycle-chart   { padding: 24px 18px; }
  .cycle-phases  { grid-template-columns: repeat(4,1fr) !important; gap: 6px; }
  .phase-bar-wrap { height: 56px; }
  .phase-label { font-size: 8px; letter-spacing: .08em; }
  .phase-desc  { font-size: 9px; }
}

/* ── CRYPTO: platform CTA ─────────────────────────────────── */
@media (max-width: 600px) {
  .platform-cta { padding: 28px 20px !important; flex-direction: column !important; text-align: center; }
  .platform-badge { justify-content: center; }
  .platform-cta .btn { width: 100%; justify-content: center; }
}

/* ── VIDEO MODALS ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .modal-box > div { padding: 24px 18px !important; }
}

/* ── WORKOUTS: gender toggle ──────────────────────────────── */
@media (max-width: 480px) {
  .gender-toggle { flex-direction: column; width: 100%; max-width: 320px; }
  .gender-btn { width: 100%; justify-content: center; }
  .gender-toggle-wrap { flex-direction: column; gap: 12px; }
  .filter-bar { gap: 6px; }
  .filter-btn { font-size: 8.5px; padding: 7px 12px; }
}

/* ── WORKOUTS: program grid ───────────────────────────────── */
@media (max-width: 1100px) {
  .program-grid { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 800px) {
  .program-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .program-grid { grid-template-columns: 1fr !important; }
  .program-info  { padding: 16px 16px 16px; }
}

/* ── WORKOUTS: program modal ──────────────────────────────── */
@media (max-width: 600px) {
  .prog-modal-header { padding: 56px 18px 16px !important; }
  .prog-modal-body   { padding: 18px 18px 24px !important; }
  .prog-feature-list { grid-template-columns: 1fr !important; }
  .prog-price-row    { flex-direction: column !important; gap: 16px; text-align: center; }
  .prog-price-row .btn { width: 100%; justify-content: center; }
}

/* ── MENTORSHIP: tiers ────────────────────────────────────── */
@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr !important; }
  .tier.featured { margin: 0 !important; }
}
@media (max-width: 600px) {
  .tier { padding: 28px 22px !important; }
  .tier-price { font-size: 34px !important; }
}

/* ── MENTORSHIP: process steps ────────────────────────────── */
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr 1fr !important; }
  .process-step  { padding: 24px 18px; }
}
@media (max-width: 380px) {
  .process-steps { grid-template-columns: 1fr !important; }
}

/* ── MENTORSHIP: form ─────────────────────────────────────── */
@media (max-width: 900px) {
  .form-box  { padding: 32px 20px !important; }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-group.full { grid-column: 1 !important; }
}
@media (max-width: 600px) {
  .form-box { padding: 24px 16px !important; }
  .form-input, .form-select, .form-textarea { font-size: 16px !important; } /* prevent iOS zoom */
  .form-box .btn { width: 100%; justify-content: center; }
}

/* ── MENTORSHIP: tier apply buttons full-width on mobile ──── */
@media (max-width: 600px) {
  .tier .btn { font-size: 10px; padding: 14px 20px; }
}

/* ── GENERAL: prevent font-size zoom on iOS inputs ───────── */
input, select, textarea { font-size: 16px; }
@media (min-width: 600px) {
  input, select, textarea { font-size: inherit; }
}

/* ── SCROLLBAR thin on mobile ─────────────────────────────── */
@media (max-width: 900px) {
  .modal-box::-webkit-scrollbar { width: 4px; }
  .modal-box::-webkit-scrollbar-track { background: transparent; }
  .modal-box::-webkit-scrollbar-thumb { background: rgba(102,252,241,.2); }
}

/* ── Safe area insets (iPhone notch / home bar) ───────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .modal-overlay { padding-bottom: env(safe-area-inset-bottom); }
}
