/* Momentum Terminal landing - brand family of momentuminvesting.courses */

:root {
  --black: #000000;
  --ink: #111111;
  --cream: #f5f1ea;
  --surface: #ffffff;
  --text: #292929;
  --muted: #5c574f;
  --faint: #8a8378;
  --line: #ddd6cc;
  --line-strong: #c9c0b4;
  --accent: #e4002b;
  --accent-hover: #c40024;
  --accent-deep: #9e001f;
  --on-accent: #ffffff;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --neon: #00e676;
  --header-h: 64px;
  --sticky-h: 48px;
  --container: 1190px;
  --narrow: 760px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --radius-cta: 20px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Roboto Condensed", "Roboto", sans-serif;
  --script: "Caveat", cursive;
  --focus: 0 0 0 3px rgba(228, 0, 43, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); }

.skip-link {
  position: absolute; left: 1rem; top: -80px;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem;
  z-index: 2000; font-weight: 700; border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 80px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, var(--narrow)); margin-inline: auto; }
@media (max-width: 719px) {
  .container { width: min(100% - 1.5rem, var(--container)); }
}

.eyebrow {
  display: block; margin: 0 0 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--on-dark { color: #ff6b82; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}
h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
.h2--light { color: #fff; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 46rem; }
.lead--on-dark { color: #cfc8be; }
.lead--center { margin-inline: auto; text-align: center; }
.script { font-family: var(--script); font-weight: 700; font-size: 1.35rem; text-transform: none; letter-spacing: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--display); font-weight: 900; letter-spacing: 0.04em;
  text-decoration: none; text-transform: uppercase; border: 0; cursor: pointer;
  border-radius: var(--radius-pill); padding: 0.85rem 1.5rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: #fff; color: var(--black); }
.btn--xl { font-size: 1.05rem; padding: 1rem 1.8rem; }
.btn--block { width: 100%; }

/* Header + sticky offer */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #000; border-bottom: 1px solid #1c1c1c;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo {
  color: #fff; text-decoration: none; font-family: var(--display);
  font-weight: 900; letter-spacing: 0.04em; line-height: 1.05; font-size: 0.95rem;
}
.logo span { color: var(--accent); display: block; font-size: 0.68rem; letter-spacing: 0.18em; }
.header-cta { font-size: 0.82rem; padding: 0.55rem 1rem; }

.sticky-bar {
  background: var(--accent); color: #fff; text-align: center;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.06em;
  font-size: 0.82rem; padding: 0.45rem 1rem; text-transform: uppercase;
}
.sticky-bar a { color: #fff; text-decoration: underline; }

/* Hero */
.hero { background: #000; color: #fff; padding: 1.5rem 0 0; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); margin-bottom: 1rem; }
.hero h1 .red { color: var(--accent); }
.hero__sub { color: #cfc8be; max-width: 36rem; margin: 0 0 0.85rem; font-size: 1.08rem; }
.hero__anchor {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0 0 1.25rem;
}
.hero__was {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.6vw, 2.05rem);
  letter-spacing: -0.03em;
  color: #ffffff;
  text-decoration: line-through;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
}
.hero__now {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--gold-bright); /* gold #e8c547, like the homepage hero ₹299 */
  line-height: 1;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.1rem; }
.hero__meta { color: #8a8378; font-size: 0.88rem; margin: 0 0 1.5rem; }
.hero__visual { position: relative; min-height: 280px; }
.hero__shot {
  width: 100%; border-radius: 12px 12px 0 0;
  border: 1px solid #2a2a2a; box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.hero__founder {
  position: absolute; right: -4%; bottom: 0; width: min(42%, 280px);
  pointer-events: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.badge {
  display: inline-block; background: var(--neon); color: #041; font-weight: 800;
  font-size: 0.68rem; letter-spacing: 0.12em; padding: 0.28rem 0.55rem;
  border-radius: 4px; margin-bottom: 0.7rem;
}

.tagline-band { background: #000; padding: 2.4rem 0 2.8rem; text-align: center; border-top: 1px solid #1a1a1a; }
.tagline-band__text {
  font-family: var(--display); font-weight: 900; color: #fff;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); letter-spacing: 0.04em; margin: 0 0 0.4rem;
}
.tagline-band__script { color: #fff; margin: 0; }

.blast-band { background: var(--accent); color: #fff; padding: 1.1rem 0; }
.blast-band__inner { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.blast-band__line {
  margin: 0; font-family: var(--display); font-weight: 900;
  letter-spacing: 0.08em; font-size: 1.05rem;
}

.section { padding: 4.2rem 0; }
.section--black { background: #000; color: #fff; }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--center { text-align: center; }

.pain-grid, .mech-grid, .feat-grid, .rule-grid, .price-grid {
  display: grid; gap: 1rem; margin-top: 1.8rem;
}
.pain-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.35rem 1.25rem;
}
.card h3 {
  font-family: var(--display); font-weight: 900; letter-spacing: 0.04em;
  font-size: 1.05rem; margin: 0 0 0.45rem; text-transform: uppercase;
}
.card p { margin: 0; color: var(--muted); }
.card--dark { background: #141414; border-color: #2a2a2a; color: #fff; }
.card--dark p { color: #b8b2a8; }

.mech-grid { grid-template-columns: repeat(4, 1fr); }
.mech-card { text-align: center; }
.mech-num {
  font-family: var(--display); font-weight: 900; color: var(--accent);
  font-size: 1.6rem; display: block; margin-bottom: 0.35rem;
}
.score-callout {
  margin-top: 1.6rem; background: #000; color: #fff; border-radius: var(--radius-card);
  padding: 1.3rem 1.4rem; text-align: center;
}
.score-callout strong { color: var(--neon); }

.feat-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.feat-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feat-list li {
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.feat-list li strong {
  display: block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 0.15rem;
}
.feat-shot { border-radius: 12px; border: 1px solid #222; box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.rule-grid { grid-template-columns: repeat(3, 1fr); }
.rule-card { background: #111; color: #fff; border-radius: 12px; padding: 1.4rem; }
.rule-card h3 { color: var(--accent); margin: 0 0 0.5rem; font-family: var(--display); text-transform: uppercase; }

.price-wrap { max-width: 920px; margin: 1.8rem auto 0; }
.price-hero {
  background: #000; color: #fff; border-radius: 16px; padding: 2rem 1.6rem; text-align: center;
}
.price-hero .was {
  color: #ffffff;
  text-decoration: line-through;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 0.08em;
  margin-right: 0.45rem;
}
.price-hero .now {
  font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  color: #fff;
}
.price-hero .sale { color: var(--accent); }
.price-hero .unit { color: #cfc8be; margin: 0.35rem 0 1.1rem; }
.anchors {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  color: #8a8378; font-size: 0.88rem; margin: 1rem 0 0;
}
.anchors s { color: #6a655c; }
.fine { color: #8a8378; font-size: 0.86rem; margin: 1rem 0 0; }

.honesty { border: 1px solid var(--line-strong); background: #fff; border-radius: 12px; padding: 1.5rem; }
.honesty ul { margin: 0.6rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.honesty li { margin: 0.35rem 0; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem;
  color: var(--ink);
}
.faq-item .ans { display: none; color: var(--muted); padding: 0 0 1rem; }
.faq-item.is-open .ans { display: block; }
.faq-item button span { color: var(--accent); font-size: 1.3rem; line-height: 1; }

.final-cta { background: #000; color: #fff; text-align: center; padding: 4.5rem 0; }
.final-cta h2 { margin-bottom: 0.8rem; }
.final-cta .lead { margin: 0 auto 1.4rem; }

.site-footer {
  background: #000; color: #8a8378; padding: 1.6rem 0 2rem; font-size: 0.88rem;
  border-top: 1px solid #1a1a1a;
}
.site-footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: #cfc8be; text-decoration: none; margin-left: 1rem; }
.site-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero__grid, .feat-grid, .pain-grid, .mech-grid, .rule-grid { grid-template-columns: 1fr; }
  .hero__founder { width: 38%; right: -2%; }
  .hero { padding-top: 1rem; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.15rem; }
  .hero__founder { display: none; }
  .blast-band__inner { gap: 0.4rem 1.2rem; }
  .header-cta { display: none; }
}

/* Screener plans (4 upfront plans) */
.hero__from {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: clamp(1rem, 2.2vw, 1.25rem); color: #cfc8be;
}
.plan-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin: 1.8rem auto 0; max-width: 1100px; align-items: stretch;
}
.plan-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  background: #000; color: #fff; border: 2px solid #1c1c1c; border-radius: 16px;
  padding: 1.8rem 1.2rem 1.4rem; text-align: center;
}
.plan-card--best {
  border-color: var(--accent); box-shadow: 0 18px 44px rgba(228, 0, 43, 0.22);
  transform: translateY(-6px);
}
.plan-card__ribbon {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold-bright); color: #000; font-family: var(--display); font-weight: 900;
  font-size: 0.74rem; letter-spacing: 0.14em; padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.plan-card__term {
  font-family: var(--display); font-weight: 900; letter-spacing: 0.12em;
  font-size: 0.95rem; color: #cfc8be; margin: 0 0 0.6rem;
}
.plan-card__price { margin: 0; line-height: 1; }
.plan-card__amount {
  font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em; color: #fff;
}
.plan-card--best .plan-card__amount { color: var(--accent); }
.plan-card__per { font-family: var(--display); font-weight: 700; font-size: 1rem; color: #cfc8be; margin-left: 0.15rem; }
.plan-card__total { color: #cfc8be; font-size: 0.92rem; margin: 0.7rem 0 0.35rem; }
.plan-card__total strong { color: #fff; }
.plan-card__renew { color: #8a8378; font-size: 0.78rem; letter-spacing: 0.04em; margin: 0 0 0.45rem; }
.plan-card__save { color: var(--neon); font-size: 0.84rem; font-weight: 700; margin: 0 0 1.2rem; min-height: 1.2em; }
.plan-card__btn { margin-top: auto; font-size: 0.92rem; padding: 0.85rem 1rem; }
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; row-gap: 1.6rem; }
}
@media (max-width: 600px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; }
  .plan-card--best { transform: none; }
}

/* On-page checkout modal */
body.co-open { overflow: hidden; }
.co-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.co-modal[hidden] { display: none; }
.co-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); }
.co-modal__panel {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 2rem); overflow: auto;
  background: var(--cream); color: var(--ink); border-radius: 16px; padding: 1.8rem 1.5rem 1.5rem;
  border-top: 6px solid var(--accent); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.co-modal__x {
  position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--muted);
}
.co-step h3 { font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.02em; margin: 0 0 0.4rem; }
.co-summary { color: var(--muted); margin: 0 0 1.1rem; }
.co-summary strong { color: var(--ink); }
.co-step label { display: block; font-weight: 700; font-size: 0.86rem; margin: 0 0 0.8rem; color: var(--ink); }
.co-step input {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.75rem 0.85rem; font: inherit; font-weight: 400;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
}
.co-step input:focus { outline: none; box-shadow: var(--focus); border-color: var(--accent); }
.co-error { color: var(--accent-deep); font-size: 0.88rem; min-height: 1.2em; margin: 0 0 0.6rem; }
.co-done { text-align: center; }
.co-done__tick {
  display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem;
  border-radius: 50%; background: var(--neon); color: #041; font-size: 1.7rem; font-weight: 900; margin-bottom: 0.7rem;
}
.co-done__big { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--accent); margin: 0 0 0.6rem; }

/* Razorpay Subscription Buttons inside plan cards */
.rzp-btn { width: 100%; margin-top: auto; padding: 0; min-height: 70px; }
.rzp-btn form { width: 100%; margin: 0; }
.rzp-btn .razorpay-subscription-button { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 0; }
.rzp-btn .subscription-button-widget { width: 100%; padding: 0; margin: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
/* the card already shows term and price, so hide the widget's own plan/price box */
.rzp-btn .subscription-button-widget > div:first-child,
.rzp-btn .item-label { display: none; }
.rzp-btn .SubscriptionButton { height: 48px; border-radius: var(--radius-pill); margin: 0; }
.rzp-btn .SubscriptionButton svg { margin: 14px 18px; }
.rzp-btn .SubscriptionButton-contents { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 0; }
.rzp-btn .SubscriptionButton-text { line-height: 1; font-size: 1rem; }
.rzp-btn .SubscriptionButton-rzpBranding { margin-top: 8px; }
.rzp-btn .powered-by-razorpay, .rzp-btn .powered-by-razorpay span { color: #8a8378; }
.rzp-btn .powered-by-razorpay svg { filter: brightness(0) invert(0.62); }
/* Loading placeholder until the Razorpay widget has rendered (see app.js) */
.rzp-btn .rzp-wait { display: none; }
.rzp-btn.is-loading .rzp-wait { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border: 0; border-radius: var(--radius-pill); background: rgba(35, 113, 236, 0.55); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: progress; -webkit-tap-highlight-color: transparent; touch-action: manipulation; animation: rzp-pulse 1.2s ease-in-out infinite; }
.rzp-btn.is-loading form { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.rzp-btn.is-pending .rzp-wait { background: rgba(35, 113, 236, 0.8); }
.rzp-btn .SubscriptionButton { touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
@keyframes rzp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) { .rzp-btn.is-loading .rzp-wait { animation: none; } }
.plan-note { text-align: center; }

/* Mobile: centre the hero copy column (desktop unchanged) */
@media (max-width: 768px) {
  .hero__grid > div:first-child { text-align: center; }
  .hero__grid > div:first-child .badge { margin-left: auto; margin-right: auto; }
  .hero h1 { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__anchor { justify-content: center; }
  .hero__actions { justify-content: center; }
}
