/* ============================================================
   GRCK FOUNDATION — RAHU FREQUENCY ALIGNMENT
   Deep Space Purple + Sacred Gold — Mobile-First
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --purple:       #1a0b2e;
  --purple2:      #220d3a;
  --purple3:      #2c1050;
  --surface:      #1e0e35;
  --surface2:     #271345;
  --gold:         #e5a93b;
  --gold-light:   #f0c060;
  --gold-dark:    #b07820;
  --border:       rgba(229,169,59,0.18);
  --text:         #ede8f5;
  --text-muted:   #9988bb;
  --white:        #ffffff;
  --danger:       #e05252;
  --success:      #52c99a;
  --font-head:    'Cinzel', serif;
  --font-body:    'Raleway', sans-serif;
  --radius:       12px;
  --radius-lg:    18px;
  --shadow:       0 8px 40px rgba(0,0,0,0.7);
  --shadow-gold:  0 0 30px rgba(229,169,59,0.28);
  --transition:   all 0.3s cubic-bezier(0.4,0,0.2,1);

  /* top bar height — used everywhere for offset */
  --topbar-h:     44px;
  --navbar-h:     52px;
  --total-fixed:  96px; /* topbar + navbar */
}

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

html {
  scroll-behavior: smooth;
  /* prevent font-size scaling on iOS */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--purple);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  /* prevent horizontal scroll on mobile */
  width: 100%;
  max-width: 100vw;
}

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

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* larger tap targets on mobile */
a, button { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--purple); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ============================================================
   PARTICLES BG
   ============================================================ */
#particles-bg {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none; overflow: hidden;
}
#particles-bg::before,
#particles-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  animation: driftA 20s ease-in-out infinite alternate;
}
#particles-bg::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold), transparent);
  top: -200px; left: -200px;
}
#particles-bg::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7b2fff, transparent);
  bottom: -150px; right: -150px;
  animation-name: driftB; animation-duration: 24s;
}
@keyframes driftA {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(100px,70px) scale(1.2); }
}
@keyframes driftB {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-80px,-60px) scale(1.15); }
}

/* ============================================================
   TOP COUNTDOWN BAR — sticky topmost
   ============================================================ */
.top-countdown-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--topbar-h);
  background: linear-gradient(90deg, #0e0520, #1a0b2e, #0e0520);
  border-bottom: 1px solid var(--gold);
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.tcb-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tcb-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-transform: uppercase;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcb-clock {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.tcb-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(229,169,59,0.1);
  border: 1px solid rgba(229,169,59,0.2);
  border-radius: 5px;
  padding: 3px 8px;
  min-width: 38px;
}
.tcb-block span {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.tcb-block small {
  font-size: 0.42rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1px;
}
.tcb-sep {
  font-size: 0.95rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.tcb-btn {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--gold);
  color: #0a0515;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  /* min tap target */
  min-height: 32px;
  display: flex;
  align-items: center;
}
.tcb-btn:hover { background: var(--gold-light); color: #0a0515; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(14,5,28,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  /* prevent overflow on small screens */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-foundation {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS — large tap targets
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px; /* iOS minimum tap target */
  -webkit-appearance: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0515;
  box-shadow: 0 4px 18px rgba(229,169,59,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0515;
  box-shadow: 0 6px 28px rgba(229,169,59,0.5);
  transform: translateY(-1px);
}
.btn-sm  { font-size: 0.72rem; padding: 8px 16px; min-height: 40px; }
.btn-lg  { font-size: 0.9rem;  padding: 15px 32px; }
.btn-xl  {
  font-size: 1rem;
  padding: 16px 24px;
  width: 100%;
  min-height: 54px;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 28px;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.section:nth-child(odd)  { background: var(--purple2); }
.section:nth-child(even) { background: var(--purple);  }

.img-caption {
  font-size: 0.64rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 7px;
  font-style: italic;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh; /* small viewport height — iOS safe */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--total-fixed) + 32px) 16px 80px;
  overflow: hidden;
  text-align: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(26,11,46,0.55) 0%, rgba(26,11,46,0.9) 65%),
    linear-gradient(180deg, rgba(26,11,46,0.4) 0%, rgba(26,11,46,0.98) 100%);
}
.hero-rahu-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-rahu-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.3;
  filter: saturate(0.6) sepia(0.35);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 6.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 18px;
  animation: fadeInUp 0.9s 0.1s ease both;
  text-shadow: 0 2px 30px rgba(0,0,0,0.9);
}
.hero-h1 span { color: var(--gold); }
.hero-h1 br { display: none; } /* no forced line break on mobile */

.hero-sub {
  font-size: clamp(0.88rem, 3.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 22px;
  animation: fadeInUp 0.9s 0.2s ease both;
}
.hero-sub strong { color: var(--gold-light); }

/* price badge — stacks on mobile */
.hero-price-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(229,169,59,0.07);
  border: 1px solid rgba(229,169,59,0.28);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  margin: 0 auto 22px;
  max-width: 460px;
  animation: fadeInUp 0.9s 0.25s ease both;
}
.price-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.price-modes {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

.hero-cta-group { animation: fadeInUp 0.9s 0.3s ease both; }
.btn-lg.hero-cta { width: 100%; max-width: 360px; }
.urgency-text {
  font-size: 0.76rem;
  color: var(--gold);
  margin-top: 10px;
  letter-spacing: 0.02em;
  padding: 0 8px;
}

/* scroll hint — hidden on very small phones */
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  text-align: center; z-index: 2;
  animation: fadeInUp 1s 1s ease both;
}
.scroll-hint span {
  display: block; width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 0 auto 5px;
  animation: scrollLine 1.6s ease-in-out infinite;
}
.scroll-hint p {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.4); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.section-intro {
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.8;
}
.section-intro strong { color: var(--gold); }

/* side Rahu image — centered on mobile, floated on desktop */
.section-rahu-wrap {
  width: 130px;
  margin: 0 auto 20px;
  text-align: center;
}
.rahu-side-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: sepia(0.2) brightness(0.85);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}
.problem-card:active { border-color: var(--gold); }
.problem-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.problem-card-text { flex: 1; }
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.problem-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

.problem-body {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
}
.problem-body p { font-size: 0.92rem; color: var(--text); line-height: 1.75; }
.problem-body strong { color: var(--gold); }

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.solution-text p {
  font-size: 0.95rem; color: var(--text);
  line-height: 1.8; margin-bottom: 14px;
}
.solution-text strong { color: var(--gold); }
.solution-text em { color: var(--gold-light); font-style: italic; }

.solution-list {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.solution-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text);
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-height: 44px;
}
.gold-dot { color: var(--gold); font-size: 0.55rem; flex-shrink: 0; }

.energy-exchange-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(229,169,59,0.07);
  border: 1px solid rgba(229,169,59,0.28);
  border-radius: var(--radius-lg);
}
.energy-exchange-box span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  width: 100%;
}
.energy-exchange-box strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold);
}
.energy-exchange-box .btn { margin-left: auto; }

/* Rahu feature card — portrait, image on top on mobile */
.rahu-feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.rahu-feature-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.15) brightness(0.9);
  display: block;
}
.rahu-card-caption { padding: 12px 14px; text-align: center; }
.rahu-card-caption p {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 3px;
}
.rahu-card-caption small { font-size: 0.66rem; color: var(--text-muted); }

/* ============================================================
   EVENT SECTION
   ============================================================ */
.event-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}
.event-info { display: flex; flex-direction: column; gap: 12px; }
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}
.event-card:active { border-color: var(--gold); }
.event-card .lc-icon { font-size: 1.6rem; margin-bottom: 8px; }
.event-card h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.event-card p {
  font-size: 0.84rem; color: var(--text-muted);
  margin-bottom: 5px; line-height: 1.55;
}
.event-card strong { color: var(--text); }
.highlight-card { border-color: rgba(229,169,59,0.32); }
.price-big {
  font-family: var(--font-head) !important;
  font-size: 2rem !important;
  color: var(--gold) !important;
  margin: 4px 0 4px !important;
  line-height: 1 !important;
}

.rahu-event-img-wrap { text-align: center; }
.rahu-event-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: sepia(0.2) brightness(0.85);
  box-shadow: var(--shadow);
}

/* Wide Rahu strip */
.rahu-wide-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.rahu-wide-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(0.3) brightness(0.6) saturate(0.8);
  display: block;
}
.rahu-wide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(26,11,46,0.96) 0%, transparent 100%);
  text-align: center;
}
.rahu-wide-overlay p {
  font-family: var(--font-head);
  font-size: clamp(0.78rem, 3vw, 1rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 4px;
  line-height: 1.4;
}
.rahu-wide-overlay small { font-size: 0.64rem; color: var(--text-muted); }

/* ============================================================
   AUTHORITY SECTION
   ============================================================ */
.authority-section { text-align: center; }
.authority-body {
  font-size: clamp(0.88rem, 3vw, 1rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.8;
}
.dasha-tags {
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center;
}
.tag {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em; text-transform: uppercase;
  min-height: 36px;
  display: flex; align-items: center;
  transition: var(--transition);
}
.tag:active { background: var(--gold); color: var(--purple); }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: var(--shadow);
}
/* all form rows stack on mobile */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { /* no grid-column needed in flex */ }

label {
  font-size: 0.7rem; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
input, select, textarea {
  background: var(--purple3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* 16px min prevents iOS zoom on focus */
  font-size: 16px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  /* min touch target */
  min-height: 48px;
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted); opacity: 0.5;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229,169,59,0.1);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e5a93b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select option { background: var(--surface2); color: var(--text); }
textarea { resize: vertical; min-height: 90px; font-size: 16px; }

.form-submit { margin-top: 20px; }
.form-disclaimer {
  font-size: 0.7rem; color: var(--text-muted);
  text-align: center; margin-top: 10px;
  line-height: 1.6; opacity: 0.7;
  padding: 0 4px;
}
.form-success { text-align: center; padding: 32px 16px; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.3rem; color: var(--gold); margin-bottom: 10px;
}
.form-success p { font-size: 0.92rem; color: var(--text); margin-bottom: 8px; }
.success-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   STICKY FOOTER
   ============================================================ */
.sticky-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(14,5,28,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  /* safe area for notch phones */
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.sticky-footer.visible { transform: translateY(0); }
.sf-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.sf-text { display: flex; flex-direction: column; gap: 2px; }
.sf-text strong {
  font-family: var(--font-head);
  font-size: 0.78rem; color: var(--white);
  line-height: 1.3;
}
.sf-status { font-size: 0.68rem; color: var(--gold); }
.sf-inner .btn { width: 100%; max-width: 300px; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  position: relative; z-index: 1;
  background: #0e051e;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  /* space above sticky footer bar */
  margin-bottom: 90px;
  padding-bottom: max(36px, calc(36px + env(safe-area-inset-bottom)));
}
.footer-inner { text-align: center; padding: 0 16px; }
.footer-inner > p:first-child {
  font-family: var(--font-head);
  font-size: 0.95rem; color: var(--gold); margin-bottom: 4px;
}
.footer-org {
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-contact a {
  font-size: 0.82rem; color: var(--text-muted);
  /* large tap target */
  padding: 6px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-contact a:hover { color: var(--gold); }
.footer-disc {
  font-size: 0.68rem; color: var(--text-muted);
  max-width: 420px; margin: 0 auto 8px;
  opacity: 0.6; line-height: 1.55;
}
.footer-copy { font-size: 0.68rem; color: var(--text-muted); opacity: 0.4; margin-bottom: 5px; }
.footer-attr { font-size: 0.6rem; color: var(--text-muted); opacity: 0.3; }

/* ============================================================
   REVEAL ANIMATIONS — reduced on mobile for performance
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TABLET — 600px+
   ============================================================ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  .hero { padding: calc(var(--total-fixed) + 48px) 24px 80px; }
  .hero-h1 br { display: inline; }

  .problem-card { flex-direction: column; text-align: center; align-items: center; }
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    display: grid;
  }

  .form-wrapper { padding: 36px 32px; }
  .form-row { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-group.full-width { grid-column: 1 / -1; }

  .sf-inner { flex-direction: row; text-align: left; }
  .sf-inner .btn { width: auto; }

  .footer-contact { flex-direction: row; gap: 20px; }

  .section-rahu-wrap {
    float: right;
    width: 160px;
    margin: 0 0 20px 28px;
  }

  .rahu-wide-img { height: 300px; }
}

/* ============================================================
   DESKTOP — 900px+
   ============================================================ */
@media (min-width: 900px) {
  :root { --topbar-h: 44px; --navbar-h: 56px; --total-fixed: 100px; }

  .container { padding: 0 24px; }
  .section { padding: 100px 0; }

  .tcb-label { display: block; }

  .nav-logo { font-size: 0.95rem; max-width: none; }
  .nav-foundation { display: block; }

  /* problem cards side by side already via grid */
  .problem-card {
    flex-direction: column;
    padding: 30px 24px;
    text-align: center;
    align-items: center;
  }

  /* solution: 2 column */
  .solution-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: start;
  }
  .rahu-feature-img { max-height: none; aspect-ratio: 3/4; }

  /* event: 2 column */
  .event-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    margin-bottom: 40px;
  }

  .rahu-wide-img { height: 380px; }

  .form-wrapper { padding: 44px 44px; }

  .sf-inner { text-align: left; }
  .sf-text strong { font-size: 0.9rem; }
}

/* ============================================================
   DESKTOP LARGE — 1180px+
   ============================================================ */
@media (min-width: 1180px) {
  .solution-layout { grid-template-columns: 1fr 340px; gap: 60px; }
  .event-layout { grid-template-columns: 1fr 340px; }
  .rahu-wide-img { height: 400px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   iOS SAFE AREA — notch / home bar
   ============================================================ */
@supports (padding: max(0px)) {
  .top-countdown-bar {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .sticky-footer {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   COMPACT OVERRIDES — smaller padding, tighter spacing
   ============================================================ */

/* sections tighter */
.section           { padding: 44px 0; }
.section-h2        { font-size: clamp(1.1rem, 4.5vw, 2rem); margin-bottom: 18px; }
.section-tag       { font-size: 0.6rem; padding: 3px 10px; margin-bottom: 8px; }

/* hero compact */
.hero              { padding: calc(var(--total-fixed) + 16px) 16px 56px; min-height: 92svh; }
.hero-badge        { font-size: 0.56rem; padding: 4px 12px; margin-bottom: 12px; }
.hero-h1           { font-size: clamp(1.35rem, 5.5vw, 3rem); margin-bottom: 12px; }
.hero-sub          { font-size: clamp(0.82rem, 3vw, 1rem); margin-bottom: 16px; }
.hero-price-badge  { padding: 9px 14px; margin-bottom: 14px; gap: 8px; }
.price-amount      { font-size: 1.6rem; }
.urgency-text      { font-size: 0.7rem; margin-top: 8px; }
.scroll-hint       { bottom: 12px; }

/* problem section */
.problem-grid      { gap: 10px; margin-bottom: 16px; }
.problem-card      { padding: 14px 14px; gap: 10px; }
.problem-icon      { font-size: 1.4rem; }
.problem-card h3   { font-size: 0.82rem; margin-bottom: 3px; }
.problem-card p    { font-size: 0.76rem; line-height: 1.5; }
.problem-body      { padding: 14px 16px; }
.problem-body p    { font-size: 0.84rem; }
.section-intro     { font-size: 0.88rem; margin-bottom: 16px; }

/* solution */
.solution-layout   { gap: 20px; }
.solution-text p   { font-size: 0.88rem; margin-bottom: 10px; }
.solution-list     { gap: 6px; margin-top: 12px; }
.solution-list li  { padding: 8px 12px; font-size: 0.82rem; min-height: 38px; }
.energy-exchange-box { padding: 10px 14px; margin-top: 14px; gap: 8px; }
.energy-exchange-box strong { font-size: 1.3rem; }
.rahu-feature-img  { max-height: 200px; }

/* event */
.event-layout      { gap: 14px; margin-bottom: 18px; }
.event-card        { padding: 14px; }
.event-card .lc-icon { font-size: 1.3rem; margin-bottom: 5px; }
.event-card h3     { font-size: 0.8rem; margin-bottom: 6px; }
.event-card p      { font-size: 0.8rem; margin-bottom: 3px; }
.price-big         { font-size: 1.7rem !important; }
.rahu-event-img    { max-height: 180px; }
.rahu-wide-img     { height: 160px; }
.rahu-wide-overlay { padding: 12px 14px; }
.rahu-wide-overlay p { font-size: 0.76rem; }

/* authority */
.authority-body    { font-size: 0.86rem; margin-bottom: 16px; }
.dasha-tags        { gap: 6px; }
.tag               { padding: 5px 11px; font-size: 0.66rem; min-height: 30px; }

/* form compact */
.form-wrapper      { padding: 18px 14px; border-radius: var(--radius); }
.form-row          { gap: 10px; margin-bottom: 10px; }
.form-group        { gap: 4px; }
label              { font-size: 0.64rem; }
input, select, textarea {
  padding: 10px 12px;
  font-size: 16px; /* keep 16px to prevent iOS zoom */
  min-height: 42px;
  border-radius: 9px;
}
textarea           { min-height: 72px; }
.form-submit       { margin-top: 14px; }
.btn-xl            { min-height: 48px; font-size: 0.9rem; padding: 14px 20px; }
.form-disclaimer   { font-size: 0.64rem; margin-top: 8px; }

/* sticky footer compact */
.sticky-footer     { padding: 8px 14px; }
.sf-text strong    { font-size: 0.72rem; }
.sf-status         { font-size: 0.62rem; }

/* top bar compact */
.top-countdown-bar { height: 38px; }
:root              { --topbar-h: 38px; --navbar-h: 48px; --total-fixed: 86px; }
.tcb-block         { padding: 2px 6px; min-width: 32px; }
.tcb-block span    { font-size: 0.82rem; }
.tcb-block small   { font-size: 0.38rem; }
.navbar            { top: 38px; height: 48px; }

/* site footer */
.site-footer       { padding: 24px 0; margin-bottom: 76px; }

/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,3,22,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.popup-overlay.active {
  opacity: 1; pointer-events: all;
}
.popup-box {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 18px;
  width: 100%; max-width: 420px;
  display: flex; flex-direction: row;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(229,169,59,0.15);
  position: relative;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.popup-overlay.active .popup-box {
  transform: scale(1) translateY(0);
}
.popup-close {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.75rem;
  cursor: pointer; transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.popup-close:hover { background: var(--danger); color: #fff; }

/* left: rahu image strip */
.popup-rahu-img {
  width: 110px; flex-shrink: 0;
}
.popup-rahu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.2) brightness(0.8);
}

/* right: content */
.popup-content {
  flex: 1;
  padding: 20px 16px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.popup-badge {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(229,169,59,0.1);
  border: 1px solid rgba(229,169,59,0.25);
  border-radius: 100px;
  padding: 3px 10px;
  display: inline-block; align-self: flex-start;
}
.popup-title {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--white); line-height: 1.2;
}
.popup-sub {
  font-size: 0.76rem; color: var(--text-muted);
  line-height: 1.5;
}
.popup-price {
  display: flex; align-items: center; gap: 8px;
  background: rgba(229,169,59,0.07);
  border: 1px solid rgba(229,169,59,0.2);
  border-radius: 10px; padding: 8px 12px;
}
.popup-price span {
  font-size: 0.62rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.popup-price strong {
  font-family: var(--font-head);
  font-size: 1.4rem; color: var(--gold); line-height: 1;
}
.popup-countdown {
  display: flex; align-items: center; gap: 4px;
}
.pcd-block {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(229,169,59,0.08);
  border: 1px solid rgba(229,169,59,0.2);
  border-radius: 6px; padding: 4px 7px; min-width: 34px;
}
.pcd-block span {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.pcd-block small {
  font-size: 0.38rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 1px;
}
.pcd-sep {
  font-size: 0.9rem; color: var(--gold); opacity: 0.4; margin-bottom: 8px;
}
.btn-popup {
  width: 100%; font-size: 0.76rem;
  padding: 11px 14px; min-height: 42px;
  border-radius: 10px;
}
.popup-dismiss {
  background: none; border: none;
  font-size: 0.62rem; color: var(--text-muted);
  text-decoration: underline; cursor: pointer;
  font-family: var(--font-body);
  padding: 2px 0; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.popup-dismiss:hover { color: var(--danger); }

/* mobile: stack popup vertically */
@media (max-width: 440px) {
  .popup-box { flex-direction: column; max-width: 320px; }
  .popup-rahu-img { width: 100%; height: 100px; }
  .popup-rahu-img img { object-position: center 30%; }
  .popup-content { padding: 14px 14px 14px; }
  .popup-title { font-size: 0.92rem; }
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 90px; /* above sticky footer */
  z-index: 990;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 14px 10px 12px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: var(--transition);
  text-decoration: none;
  min-height: 44px;
  /* pulse animation */
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
  animation: none;
}
.wa-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; color: #fff;
  white-space: nowrap;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.75); }
}

/* when sticky footer is NOT visible, WA button sits lower */
.whatsapp-float.low { bottom: 24px; }

/* ============================================================
   DESKTOP COMPACT OVERRIDES — restore some size on big screens
   ============================================================ */
@media (min-width: 900px) {
  .section          { padding: 70px 0; }
  .hero             { padding: calc(var(--total-fixed) + 32px) 24px 70px; }
  .hero-h1          { font-size: clamp(1.8rem, 3.5vw, 3rem); }
  .problem-card     { padding: 22px 18px; }
  .problem-icon     { font-size: 1.8rem; }
  .problem-card h3  { font-size: 0.9rem; }
  .solution-list li { padding: 9px 14px; }
  .event-card       { padding: 18px 20px; }
  .rahu-wide-img    { height: 260px; }
  .form-wrapper     { padding: 32px 36px; }
  .whatsapp-float   { bottom: 28px; right: 28px; }
  :root { --topbar-h: 40px; --navbar-h: 52px; --total-fixed: 92px; }
  .top-countdown-bar { height: 40px; }
  .navbar           { top: 40px; height: 52px; }
}

/* ============================================================
   NEW SECTIONS — Challenge, Compare, Myth, Pillars, FAQ
   ============================================================ */

/* Hero quote */
.hero-quote {
  font-family: var(--font-head);
  font-size: clamp(0.78rem, 2.5vw, 0.96rem);
  color: var(--gold-light);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  margin: 0 auto 20px;
  max-width: 640px;
  text-align: left;
  background: rgba(229,169,59,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  animation: fadeInUp 0.9s 0.28s ease both;
}

/* Challenge section */
.challenge-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.challenge-text p {
  font-size: 0.92rem; color: var(--text);
  line-height: 1.8; margin-bottom: 12px;
}
.challenge-text strong { color: var(--gold); }
.challenge-text em { color: var(--gold-light); font-style: italic; }
.challenge-img { text-align: center; }
.challenge-img .rahu-side-img {
  max-height: 220px;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  object-fit: cover;
  filter: sepia(0.15) brightness(0.88);
}

/* Compare table */
.compare-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
}
.compare-header {
  background: var(--surface2);
  font-family: var(--font-head);
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare-dim { color: var(--text-muted); border-right: 1px solid var(--border); }
.compare-bad {
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  background: rgba(224,82,82,0.04);
}
.compare-good {
  color: var(--text);
  background: rgba(229,169,59,0.05);
}
.compare-header .compare-dim { color: var(--text-muted); }
.compare-header .compare-bad { color: var(--danger); }
.compare-header .compare-good { color: var(--gold); }
.compare-row:nth-child(even) .compare-dim { background: rgba(255,255,255,0.02); }

/* Myth section */
.myth-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.myth-text p {
  font-size: 0.92rem; color: var(--text);
  line-height: 1.82; margin-bottom: 12px;
}
.myth-text strong { color: var(--gold); }
.myth-text em { color: var(--gold-light); font-style: italic; }
.myth-img { text-align: center; }
.myth-img .rahu-feature-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: sepia(0.15) brightness(0.88);
  box-shadow: var(--shadow);
}

/* Pillars */
.pillars-intro {
  font-size: 0.92rem; color: var(--text-muted);
  max-width: 700px; margin-bottom: 28px; line-height: 1.75;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}
.pillar-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.pillar-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1.2; }
.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 0.88rem; color: var(--gold);
  margin-bottom: 5px;
}
.pillar-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.pillar-card em { color: var(--gold-light); font-style: italic; }

/* Register sub */
.register-sub {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 20px; line-height: 1.6;
}

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 42px;
}
.checkbox-item:hover { border-color: var(--gold); }
.checkbox-item input[type="checkbox"] {
  width: 16px; height: 16px;
  min-height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}
.checkbox-item span {
  font-size: 0.76rem; color: var(--text);
  line-height: 1.3;
}
.checkbox-item input:checked ~ span { color: var(--gold); }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  min-height: 48px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.faq-q:hover { color: var(--gold); }
.faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-icon {
  font-size: 1.2rem; font-weight: 300;
  color: var(--gold); flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 16px;
}
.faq-a.open {
  max-height: 300px;
  padding: 0 16px 14px;
}
.faq-a p {
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.75;
}
.faq-a em { color: var(--gold-light); font-style: italic; }
.faq-a strong { color: var(--text); }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (min-width: 600px) {
  .challenge-layout { flex-direction: row; align-items: center; gap: 32px; }
  .challenge-text { flex: 1; }
  .challenge-img { width: 160px; flex-shrink: 0; }
  .challenge-img .rahu-side-img { max-height: 300px; }

  .myth-layout { flex-direction: row; align-items: flex-start; gap: 32px; }
  .myth-text { flex: 1; }
  .myth-img { width: 200px; flex-shrink: 0; }

  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }

  .compare-row { grid-template-columns: 120px 1fr 1fr; }
}

@media (min-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
  .challenge-img { width: 200px; }
  .compare-row { grid-template-columns: 160px 1fr 1fr; }
  .compare-row > div { padding: 16px 18px; font-size: 0.86rem; }
}

@media (max-width: 480px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-dim { border-right: none; border-bottom: 1px solid var(--border); background: var(--surface2) !important; }
  .compare-bad, .compare-good { border-right: none; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .hero-quote { font-size: 0.72rem; }
}
