:root {
  --blue: #0853cb;
  --blue-strong: #0048d0;
  --blue-bright: #2a78ff;
  --paper: #ffffff;
  --ink: #0853cb;
  --ink-on-blue: #f7f5f2;
  --accent: #c8102e;
  --border: rgba(8, 83, 203, 0.2);
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --curve: clamp(44px, 12vw, 68px);
  --page-w: 430px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --s1: 8px;
  --s2: 16px;
  --s3: 20px;
  --s4: 28px;
  --s5: 40px;
  --pad-x: clamp(20px, 5.5vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--blue);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  position: relative;
}

/* ── HERO ── */
.hero {
  width: 100%;
  background: var(--blue);
  color: var(--ink-on-blue);
  padding-top: var(--safe-top);
  padding-bottom: calc(var(--curve) + var(--s5));
  position: relative;
  z-index: 0;
}

.hero-panorama {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-panorama::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to bottom, transparent, var(--blue));
  pointer-events: none;
}

.hero-panorama::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 83, 203, 0.26) 0%,
    rgba(8, 83, 203, 0) 12%,
    rgba(8, 83, 203, 0) 88%,
    rgba(8, 83, 203, 0.26) 100%
  );
  pointer-events: none;
}

.hero-panorama img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1856 / 560;
  object-fit: contain;
  object-position: center;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s3) var(--pad-x) 0;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(1rem, 4.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  max-width: 32ch;
  opacity: 0.98;
  color: #f2f6ff;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 11vw, 3.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-shadow: 0 6px 20px rgba(2, 24, 82, 0.24);
}

.hero-title span { display: block; }

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 4.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  max-width: 34ch;
  opacity: 0.9;
}

/* ── SCROLL CONTENT ── */
.scroll-body {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--curve) * -0.7);
}

.sheet {
  width: 100%;
  position: relative;
  border-radius: var(--curve) var(--curve) 0 0;
  padding: var(--s5) var(--pad-x) calc(var(--s5) + var(--safe-bottom));
  transform: translateZ(0);
  backface-visibility: hidden;
}

.sheet--white {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.22);
}

.sheet--blue {
  background: var(--blue);
  color: var(--ink-on-blue);
  margin-top: calc(var(--s4) * -1);
  padding-top: var(--s5);
  padding-bottom: calc(var(--s5) + var(--safe-bottom));
  box-shadow: 0 -32px 100px rgba(0, 0, 0, 0.24);
  z-index: 2;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.accent {
  color: var(--accent);
  font-weight: 600;
}

/* ── VIDEO BLOCK ── */
.video-block {
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
}

.video-block--secondary {
  margin-top: var(--s4);
}

.video-block__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 44px rgba(8, 83, 203, 0.14);
}

.video-block__media {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  cursor: pointer;
  -webkit-touch-callout: none;
}

.video-block__play,
.video-block__replay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: rgba(8, 14, 28, 0.78);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.video-block__replay {
  background: rgba(8, 83, 203, 0.92);
}

.video-block__frame.is-playing .video-block__play,
.video-block__frame.is-playing .video-block__replay {
  display: none;
}

.video-block__play-icon,
.video-block__replay-icon {
  font-size: 14px;
  line-height: 1;
}

.video-block__subhint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(8, 83, 203, 0.74);
}

.video-block__cta {
  display: block;
  margin-top: var(--s2);
  width: 100%;
  height: 54px;
  line-height: 54px;
  padding: 0 18px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a78ff 0%, #0853cb 55%, #003ba8 100%);
  box-shadow: 0 16px 34px rgba(8, 83, 203, 0.35);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

/* ── 6-STEP SYSTEM ── */
.system-overview {
  margin-bottom: var(--s5);
}

.system-intro {
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: var(--s2);
  max-width: 34ch;
  opacity: 0.9;
}

.system-cta-btn {
  display: block;
  width: 100%;
  height: 56px;
  line-height: 56px;
  padding: 0 18px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a78ff 0%, #0853cb 55%, #003ba8 100%);
  box-shadow: 0 18px 36px rgba(8, 83, 203, 0.34);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: var(--s2);
  animation: cta-pulse 2.4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 34px rgba(8, 83, 203, 0.35);
    filter: saturate(100%);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(8, 83, 203, 0.44);
    filter: saturate(112%);
  }
}

.system-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.system-steps li {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  font-size: clamp(1.05rem, 4.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.system-overview.is-visible .system-steps li {
  opacity: 1;
  transform: translateX(0);
}

.system-overview.is-visible .system-steps li:nth-child(1) { transition-delay: 0.05s; }
.system-overview.is-visible .system-steps li:nth-child(2) { transition-delay: 0.1s; }
.system-overview.is-visible .system-steps li:nth-child(3) { transition-delay: 0.15s; }
.system-overview.is-visible .system-steps li:nth-child(4) { transition-delay: 0.2s; }
.system-overview.is-visible .system-steps li:nth-child(5) { transition-delay: 0.25s; }
.system-overview.is-visible .system-steps li:nth-child(6) { transition-delay: 0.3s; }

.system-steps__n {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 28px;
}

/* ── STEP DETAILS ── */
.step-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s5);
  padding: var(--s4);
  border-radius: 24px;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.step-block__tag {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #b8f02a;
  margin-bottom: var(--s1);
}

.step-block__body {
  font-size: clamp(1rem, 4vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 38ch;
  color: var(--ink-on-blue);
  opacity: 0.94;
}


/* ── CITY ROTATE ── */
.city-rotate {
  display: inline-block;
  line-height: 1.08;
  min-height: 1.12em;
  padding-bottom: 0.06em;
  transform-origin: 50% 70%;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), filter 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-rotate.is-fading {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  filter: blur(2px);
}

.city-rotate.is-entering {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(2px);
}

/* ── STORY CARDS ── */
.story-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-bottom: var(--s5);
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.story-card__frame {
  border-radius: 20px;
  overflow: hidden;
  background: #f0f4fa;
  box-shadow: 0 20px 52px rgba(8, 83, 203, 0.1);
  transform: scale(0.98);
  transition: transform 0.9s var(--ease-out), box-shadow 0.9s var(--ease-out);
}

.story-card.is-visible .story-card__frame {
  transform: scale(1);
  box-shadow: 0 24px 64px rgba(8, 83, 203, 0.12);
}

.story-card__media {
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 4 / 5;
  background: #eaf0fb;
}

.story-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.story-card__label {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--blue-strong);
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-strong) 55%, #003ba8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: var(--s1) var(--s1) 0;
}

.story-card__caption {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 0 var(--s1);
  max-width: 34ch;
  opacity: 0.92;
}

/* ── CITY MARQUEE ── */
.city-marquee {
  overflow: hidden;
  margin: 0 calc(var(--pad-x) * -1) var(--s5);
  padding: var(--s3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.city-marquee__track {
  display: flex;
  gap: var(--s4);
  width: max-content;
  animation: marquee 24s linear infinite;
}

.city-marquee__track span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── CORE STRATEGIES (display) ── */
.section-tag {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--s4);
  color: var(--blue);
}

.framework-list {
  display: flex;
  flex-direction: column;
}

.framework-item {
  display: block;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    background 0.2s ease,
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.framework-item:first-child {
  border-top: 1px solid var(--border);
}

.framework-list.is-visible .framework-item {
  opacity: 1;
  transform: translateX(0);
}

.framework-list.is-visible .framework-item:nth-child(1) { transition-delay: 0.04s; }
.framework-list.is-visible .framework-item:nth-child(2) { transition-delay: 0.08s; }
.framework-list.is-visible .framework-item:nth-child(3) { transition-delay: 0.12s; }
.framework-list.is-visible .framework-item:nth-child(4) { transition-delay: 0.16s; }
.framework-list.is-visible .framework-item:nth-child(5) { transition-delay: 0.20s; }
.framework-list.is-visible .framework-item:nth-child(6) { transition-delay: 0.24s; }
.framework-list.is-visible .framework-item:nth-child(7) { transition-delay: 0.28s; }
.framework-list.is-visible .framework-item:nth-child(8) { transition-delay: 0.32s; }
.framework-list.is-visible .framework-item:nth-child(9) { transition-delay: 0.36s; }
.framework-list.is-visible .framework-item:nth-child(10) { transition-delay: 0.40s; }
.framework-list.is-visible .framework-item:nth-child(11) { transition-delay: 0.44s; }
.framework-list.is-visible .framework-item:nth-child(12) { transition-delay: 0.48s; }

.framework-item:active { background: rgba(8, 83, 203, 0.04); }

/* ── CTA ── */
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6.8vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--s4);
  max-width: 28ch;
}

.cta-body {
  font-family: var(--font-body);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  margin-bottom: var(--s1);
}

.price-usd {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-inr {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.75;
  margin-bottom: var(--s4);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: var(--s4);
  touch-action: manipulation;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-btn:active { transform: scale(0.99); opacity: 0.92; }
.cta-btn.is-loading { opacity: 0.6; pointer-events: none; }

.cta-foot {
  font-size: clamp(1rem, 4vw, 1.1rem);
  line-height: 1.35;
  margin-bottom: var(--s2);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 34ch;
}

.cta-foot--dim {
  opacity: 0.65;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0;
}

.copyright {
  margin-top: var(--s5);
  font-size: 12px;
  opacity: 0.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.powered-by {
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.powered-by__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

.powered-by__brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: #b8f02a;
}

.terms-link {
  display: inline-block;
  margin-top: var(--s3);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 245, 242, 0.56);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 245, 242, 0.28);
  padding-bottom: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .framework-item,
  .story-card__frame,
  .system-steps li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .city-marquee__track { animation: none; }
  .video-block__cta,
  .system-cta-btn { animation: none !important; }
}
