:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --text: #0f172a; /* Deep Slate / Black */
  --text-soft: #475569; /* Slate 600 */
  --accent: #ff8a00; /* Pride Orange */
  --accent-strong: #ea580c; /* Darker Orange for contrast */
  --accent-2: #dc2626; /* Red */
  --accent-glow: rgba(255, 138, 0, 0.15);
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --radius: 24px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(255, 138, 0, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 138, 0, 0.04) 0%, transparent 40%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* ── Global responsive media ── */
img, video, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.2;
}

.orb-a {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  left: -200px;
}

.orb-b {
  width: 700px;
  height: 700px;
  background: rgba(255, 138, 0, 0.2);
  right: -250px;
  bottom: -100px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
  /* Required for absolute-positioned open nav */
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.15rem;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
}

.main-nav .btn-small {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.is-open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.market-strip {
  width: min(1200px, 92vw);
  margin: 1.5rem auto 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.market-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.market-strip-head p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.market-strip-head span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.indices-ticker {
  overflow: hidden;
  padding: 0.5rem 0;
}

.indices-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.index-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.5rem 2rem;
  border-right: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.index-label {
  color: var(--text-soft);
  font-weight: 400;
  font-size: 0.8rem;
}

.index-price {
  font-family: monospace;
  font-weight: 600;
}

.index-change {
  font-size: 0.85rem;
  font-weight: 600;
}

.index-change.up { color: #10b981; }
.index-change.down { color: #ef4444; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

.text-gradient {
  color: var(--accent);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.2);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  margin: 0 0 2.5rem;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  max-width: 55ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(255, 138, 0, 0.15);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 12px 24px rgba(255, 138, 0, 0.25);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.hero-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent);
}

.lead-form-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-brand img { width: 44px; height: 44px; border-radius: 8px; }
.panel-title { font-weight: 700; color: var(--accent); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; margin: 0; }

.schedule { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.schedule li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.schedule li:last-child { border-bottom: none; }
.schedule span { font-weight: 700; color: var(--accent); min-width: 40px; }
.schedule p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

.panel-note { font-size: 0.85rem; color: var(--text-soft); font-style: italic; margin: 0; text-align: center; }

/* ── Community Join Cards (WhatsApp / Telegram / YouTube) — Premium Corporate ─────── */
/* Shared shell; per-card colour theme is driven entirely by CSS variables below. */
.whatsapp-panel,
.telegram-panel,
.youtube-panel {
  background: #ffffff;
  border: 1px solid rgba(var(--card-brand-rgb), 0.25);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(var(--card-brand-rgb), 0.12), 0 4px 20px rgba(0,0,0,0.06);
}

.whatsapp-panel::before,
.telegram-panel::before,
.youtube-panel::before { display: none; }

/* ── Theme palettes ── */
.whatsapp-panel {
  --card-brand-rgb: 37, 211, 102;
  --card-hdr-1: #064e3b; --card-hdr-2: #065f46; --card-hdr-3: #047857;
  --card-badge: #25D366;
  --card-accent: #6ee7b7;
  --card-perk-bg: #f0fdf4; --card-perk-bg-hover: #dcfce7; --card-perk-text: #14532d;
  --card-scan: #16a34a; --card-scan-rgb: 22, 163, 74;
  --card-btn-1: #25D366; --card-btn-2: #1db954;
  --card-btn-hover-1: #128C7E; --card-btn-hover-2: #0e7a6e;
}
.telegram-panel {
  --card-brand-rgb: 34, 158, 217;
  --card-hdr-1: #0b3a5b; --card-hdr-2: #0f5a86; --card-hdr-3: #1478ab;
  --card-badge: #229ED9;
  --card-accent: #8ecdf0;
  --card-perk-bg: #eff8fd; --card-perk-bg-hover: #d6ecfa; --card-perk-text: #0c4a6e;
  --card-scan: #0284c7; --card-scan-rgb: 2, 132, 199;
  --card-btn-1: #229ED9; --card-btn-2: #0088cc;
  --card-btn-hover-1: #1c86b8; --card-btn-hover-2: #006fa8;
}
.youtube-panel {
  --card-brand-rgb: 255, 0, 0;
  --card-hdr-1: #4c0d0d; --card-hdr-2: #7a1414; --card-hdr-3: #a81c1c;
  --card-badge: #FF0000;
  --card-accent: #ff9b9b;
  --card-perk-bg: #fef2f2; --card-perk-bg-hover: #fde0e0; --card-perk-text: #7f1d1d;
  --card-scan: #dc2626; --card-scan-rgb: 220, 38, 38;
  --card-btn-1: #FF0000; --card-btn-2: #cc0000;
  --card-btn-hover-1: #d40000; --card-btn-hover-2: #a30000;
}

/* Dark header band */
.wa-header-band {
  background: linear-gradient(135deg, var(--card-hdr-1) 0%, var(--card-hdr-2) 40%, var(--card-hdr-3) 100%);
  padding: 1.5rem 2rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.wa-header-band::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.wa-header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.wa-header-inner img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
}

.wa-community-title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  background: var(--card-badge);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(var(--card-brand-rgb),0.4);
}

.wa-headline {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.wa-headline span {
  color: var(--card-accent);
}

/* Body section */
.wa-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.community-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.community-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: var(--card-perk-bg);
  border: 1px solid rgba(var(--card-brand-rgb), 0.18);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.community-perks li:hover {
  background: var(--card-perk-bg-hover);
  border-color: rgba(var(--card-brand-rgb), 0.4);
  transform: translateY(-2px);
}

.perk-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.community-perks p {
  margin: 0;
  color: var(--card-perk-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

/* QR block */
.wa-qr-block {
  background: linear-gradient(135deg, var(--card-perk-bg) 0%, #ffffff 100%);
  border: 2px solid rgba(var(--card-brand-rgb), 0.35);
  border-radius: 18px;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 24px rgba(var(--card-brand-rgb), 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Scan-corner decorations */
.wa-qr-block::before,
.wa-qr-block::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--card-badge);
  border-style: solid;
}
.wa-qr-block::before {
  top: 10px; left: 10px;
  border-width: 3px 0 0 3px;
  border-radius: 4px 0 0 0;
}
.wa-qr-block::after {
  bottom: 10px; right: 10px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 4px 0;
}

.wa-qr-img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.wa-scan-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--card-scan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.wa-scan-label::before,
.wa-scan-label::after {
  content: "";
  display: block;
  height: 1px;
  width: 28px;
  background: rgba(var(--card-scan-rgb), 0.35);
}

.btn-whatsapp,
.btn-telegram,
.btn-youtube {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--card-btn-1) 0%, var(--card-btn-2) 100%);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(var(--card-brand-rgb), 0.35);
  transition: all 0.3s ease;
  animation: wa-pulse 3s ease-in-out infinite;
  letter-spacing: 0.01em;
}

.btn-whatsapp:hover,
.btn-telegram:hover,
.btn-youtube:hover {
  background: linear-gradient(135deg, var(--card-btn-hover-1) 0%, var(--card-btn-hover-2) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(var(--card-brand-rgb), 0.45);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(var(--card-brand-rgb), 0.35); }
  50% { box-shadow: 0 8px 36px rgba(var(--card-brand-rgb), 0.6); }
}

/* ── Hero Join-Card Slideshow (WhatsApp / Telegram / YouTube) ─────── */
.hero-slideshow {
  position: relative;
}

.hero-slides {
  position: relative;
}

.hero-slideshow .slide {
  display: none;
}

.hero-slideshow .slide.is-active {
  display: block;
  backface-visibility: hidden;
  animation: card-flip 0.7s cubic-bezier(.2, .7, .2, 1) both;
}

/* Directional 3D flip — --flip-deg is set per-transition by JS
   (+90deg = flip in from the right / next, -90deg = from the left / prev). */
@keyframes card-flip {
  0%   { opacity: 0; transform: perspective(1400px) rotateY(var(--flip-deg, 90deg)) scale(.96); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: perspective(1400px) rotateY(0deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .slide.is-active { animation: none; }
}

/* Prev / next arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text, #111);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.slide-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.slide-arrow--prev { left: -18px; }
.slide-arrow--next { right: -18px; }

/* Dots */
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slide-dot:hover { background: rgba(0, 0, 0, 0.35); }

.slide-dot.is-active {
  width: 26px;
  background: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stats-grid article {
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stats-grid span {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* Premium Stats for Performance Teaser */
.premium-stats article {
  background: linear-gradient(145deg, #1f2937, #111827);
  border-color: rgba(255, 138, 0, 0.2);
  color: #f9fafb;
}

.premium-stats strong {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

.premium-stats span {
  color: #9ca3af;
}

/* Performance Tables */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.perf-table th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 700;
  padding: 1rem;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.perf-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  white-space: nowrap;
}

.perf-table tr:last-child td {
  border-bottom: none;
}

.perf-table tr:hover {
  background: #f9fafb;
}

.val-positive { color: #059669; font-weight: 700; }
.val-negative { color: #dc2626; font-weight: 700; }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-running { background: #dbeafe; color: #1d4ed8; }
.status-closed { background: #f3f4f6; color: #4b5563; }
.status-sl-hit { background: #fee2e2; color: #b91c1c; }
.status-t1-hit { background: #d1fae5; color: #047857; }
.status-t2-hit { background: #a7f3d0; color: #065f46; }

/* Tabs for Performance Page */
.perf-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.perf-tab-btn {
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.perf-tab-btn.active, .perf-tab-btn:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

.perf-tab-content {
  display: none;
}
.perf-tab-content.active {
  display: block;
}

/* Loading state */
.loading-data {
  text-align: center;
  padding: 3rem;
  color: var(--text-soft);
  font-style: italic;
}

/* Feature & Program Cards */
.feature-grid, .program-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card, .program-card, .faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover, .program-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.program-card.featured {
  background: #fffaf5;
  border-color: var(--accent);
  position: relative;
}

.program-card .level {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.program-card ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.program-card li { padding: 0.5rem 0; color: var(--text-soft); position: relative; padding-left: 1.5rem; }
.program-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* FinTech Section - Professional White/Orange */
.pro-account-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.glass-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 4.5rem;
  gap: 4rem;
}

.pro-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #fff7ed;
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 138, 0, 0.1);
}

.pro-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.pro-feature-item { display: flex; gap: 1.25rem; align-items: center; }

.pro-icon {
  width: 52px;
  height: 52px;
  background: #fff7ed;
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.pro-text strong { display: block; color: var(--text); font-size: 1.05rem; }
.pro-text p { margin: 0; font-size: 0.85rem; color: var(--text-soft); }

.pro-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.pro-support { margin: 0; color: var(--text-soft); font-size: 0.9rem; }
.pro-support a { color: var(--accent); font-weight: 700; }

.qr-glass-shell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 3rem;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.qr-brand-area img { height: 32px; margin-bottom: 2rem; }

.qr-visual-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.qr-visual-box img { width: 100%; display: block; }
.qr-scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); box-shadow: 0 0 15px var(--accent); animation: scan 3s infinite linear; }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

/* Form Elements */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.span-2 {
  grid-column: span 2;
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.1);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.form-helper {
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 300px;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-note.is-success { color: #059669; }
.form-note.is-error { color: #dc2626; }

.form-honeypot {
  display: none;
}

/* Compact Info Box */
.compact-info-box {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-section strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-section p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.compact-steps {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.compact-steps span {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--text);
  border: 1px solid var(--line);
}

/* Testimonials */
blockquote.card { margin: 0; font-style: italic; color: var(--text-soft); font-size: 1.1rem; }
cite { display: block; margin-top: 1.5rem; color: var(--accent); font-weight: 700; font-style: normal; }

/* FAQ */
.faq-list { display: grid; gap: 1rem; margin-top: 3rem; }
.faq-item { padding: 1.5rem 2rem; }
.faq-item button { width: 100%; text-align: left; background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-item button::after { content: "+"; color: var(--accent); font-size: 1.5rem; }
.faq-item.open button::after { content: "−"; }
.faq-item p { margin: 1.5rem 0 0; color: var(--text-soft); display: none; }
.faq-item.open p { display: block; }

/* Contact Section */
.contact-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.hub-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.hub-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.hub-icon {
  width: 60px;
  height: 60px;
  background: #fff7ed;
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.hub-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.hub-content p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hub-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-links a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.hub-links a:hover {
  text-decoration: underline;
}

/* Footer */
/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 6rem;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

/* Brand column */
.footer-brand-col {}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.5rem;
  max-width: 28ch;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); }

.footer-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social-btn:hover svg { fill: #fff; }

/* Link columns */
.footer-links-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.25rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-col ul li a:hover { color: var(--accent); }

/* Contact column */
.footer-contact-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.25rem;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-phones a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phones a:hover { color: var(--accent); }

.footer-wa-link, .footer-yt-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.footer-wa-link {
  background: rgba(37,211,102,0.12);
  color: #4ade80;
  border: 1px solid rgba(37,211,102,0.2);
}

.footer-wa-link:hover {
  background: rgba(37,211,102,0.22);
  color: #86efac;
}

.footer-yt-link {
  background: rgba(255,0,0,0.1);
  color: #f87171;
  border: 1px solid rgba(255,0,0,0.15);
}

.footer-yt-link:hover {
  background: rgba(255,0,0,0.18);
  color: #fca5a5;
}

.footer-wa-link svg, .footer-yt-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-wa-link svg { fill: #4ade80; }
.footer-yt-link svg { fill: #f87171; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-bottom-inner > p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.risk-warning {
  max-width: 760px;
  padding: 1rem 1.5rem;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.18);
  color: rgba(255,150,150,0.85);
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand-col { grid-column: span 2; }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding: 3rem 0 2rem;
  }
  .footer-brand-col { grid-column: span 1; }
  .footer-tagline { max-width: 100%; }
}

/* Utils */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
.main-nav.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  gap: 0.25rem;
  z-index: 1000;
  max-height: 80vh;
  overflow-y: auto;
}

.main-nav.open a {
  font-size: 1rem;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  min-height: 44px; /* Touch target */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.main-nav.open a:hover,
.main-nav.open a:active {
  background: var(--bg-soft);
}

.main-nav.open .nav-scanner-link {
  max-width: 100%;
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
}

.main-nav.open .btn-small {
  margin-left: 0;
  width: 100%;
  min-height: 44px;
  margin-top: 0.5rem;
}

/* Enquiry Page Styles */
.lead-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lead-support {
  margin-top: 3rem;
  padding: 2rem;
}

.lead-card-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-links a {
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}

.lead-form-intro {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

/* Calculator Page */
.calculator-hero .section-head {
  max-width: 760px;
}

.calculator-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-soft);
  padding: 0.5rem;
  border-radius: 16px;
  width: fit-content;
  border: 1px solid var(--line);
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.calculator-panel,
.calculator-results {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calculator-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem;
}

.calc-field {
  display: grid;
  gap: 1rem;
}

.calc-field.hidden {
  display: none;
}

.calc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.calc-field label {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.calc-input-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 140px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.calc-input-wrap span {
  padding: 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.calc-input-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.6rem 0.25rem;
  font-weight: 800;
  text-align: right;
  width: 100%;
}

.calc-input-wrap input:focus {
  box-shadow: none;
}

.advanced-options {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.advanced-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.advanced-fields {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.advanced-fields.hidden {
  display: none;
}

.calculator-results {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 4px solid var(--accent);
}

.chart-container {
  height: 250px;
  width: 100%;
  position: relative;
}

.results-summary {
  display: grid;
  gap: 1.5rem;
}

.result-item.main .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.result-item.main .value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--accent);
  display: block;
}

.calculator-intelligence {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.calculator-intro-head {
  max-width: 820px;
  margin-bottom: 2rem;
}

.calculator-intro-head h2 {
  margin-bottom: 1rem;
}

.calculator-intro-head p {
  color: var(--text-soft);
  margin: 0;
}

.calculator-info-stack {
  display: grid;
  gap: 1.5rem;
}

.calculator-info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.calculator-info-card.hidden {
  display: none;
}

.calculator-info-header {
  max-width: 960px;
  margin-bottom: 1.75rem;
}

.calculator-info-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-info-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.1;
}

.calculator-info-card p {
  margin: 0;
  color: var(--text-soft);
}

.calculator-info-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.calculator-info-columns > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.calculator-info-columns h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calculator-info-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.calculator-info-list li::marker {
  color: var(--accent);
}

/* --- Position Size Calculator Upgrades --- */

/* Direction Toggle */
.direction-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.direction-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: all 0.2s ease;
  border-radius: 8px;
}

.direction-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.direction-label.active {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.direction-label.buy.active {
  color: #10b981;
}

.direction-label.sell.active {
  color: #ef4444;
}

/* Validation Message */
.validation-msg {
  padding: 12px;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.validation-msg::before {
  content: "⚠️";
}

.validation-msg.hidden {
  display: none;
}

/* RR Visualization */
.rr-visual-container {
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.rr-visual-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rr-visual-bar {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  margin-bottom: 12px;
}

.rr-bar-risk {
  background: #ef4444;
  height: 100%;
  transition: width 0.3s ease;
}

.rr-bar-reward {
  background: #10b981;
  height: 100%;
  transition: width 0.3s ease;
}

.rr-visual-info {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.rr-visual-info strong {
  color: var(--text);
}

/* Summary Details Card */
.summary-details-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.summary-row strong {
  color: var(--text);
}

.summary-row.hidden {
  display: none;
}

/* Direction Badge */
.pos-direction-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

.pos-direction-badge.buy {
  background: #10b981;
}

.pos-direction-badge.sell {
  background: #ef4444;
}

/* Field Meta & Hints */
.field-meta {
  margin-top: 4px;
}

#risk-percent-display {
  color: var(--accent);
  font-weight: 700;
}

/* Invalid State */
.calculator-container.is-invalid .calc-input-wrap {
  border-color: #ef4444;
}

.calculator-container.is-invalid .calculator-results {
  border-top-color: #ef4444;
  opacity: 0.8;
}

/* RR Bar Polish */
.rr-visual-bar {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.rr-bar-risk, .rr-bar-reward {
  position: relative;
}

.rr-bar-risk::after, .rr-bar-reward::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
}

/* Responsive Overrides for Calculator */
@media (max-width: 992px) {
  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .position-results {
    order: -1;
    position: sticky;
    top: 80px;
    z-index: 10;
  }
}

@media (max-width: 640px) {
  .calculator-panel {
    padding: 1.5rem;
  }

  .position-results {
    padding: 1.5rem;
  }

  .calc-field-row {
    grid-template-columns: 1fr;
  }
}


.result-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.result-item:not(.main) {
  background: var(--bg-soft);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.result-item:not(.main) .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.result-item:not(.main) .value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.real-value-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 1rem;
  background: #fdf4ff;
  border-radius: 12px;
  border: 1px dotted var(--accent);
  line-height: 1.5;
}

.real-value-note.hidden { display: none; }

.breakdown-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.breakdown-table th {
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 2px solid var(--line);
}

.breakdown-table td {
  padding: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.breakdown-table tr:hover {
  background: var(--bg-soft);
}

.calculator-nav-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.nav-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-tab:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.nav-tab.active {
  background: var(--accent);
  color: #ffffff;
}

.calc-section.hidden {
  display: none;
}

.calc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.risk-reward-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.rr-item span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.rr-item strong {
  font-size: 1rem;
  color: var(--text);
}

.pos-result-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.pos-result-header span {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.pos-result-header strong {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--accent);
}

.targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.target-card {
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.target-card.featured {
  background: #fff7ed;
  border-color: var(--accent);
  transform: scale(1.05);
}

.target-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  background: var(--text);
  color: #ffffff;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
}

.target-card.featured .badge {
  background: var(--accent);
}

.target-card .label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
}

.target-card .value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.target-card .profit {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
}

.text-danger {
  color: #dc2626 !important;
}

.product-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-label {
  cursor: pointer;
}

.radio-label input {
  display: none;
}

.radio-box {
  padding: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.radio-label input:checked + .radio-box {
  border-color: var(--accent);
  background: #fff7ed;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.1);
}

.radio-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.radio-box span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.radio-label input:checked + .radio-box strong {
  color: var(--accent);
}

.result-item.main-accent {
  background: #fff7ed !important;
  border-color: var(--accent) !important;
}

.result-item.main-accent .label {
  color: var(--accent) !important;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

@media (min-width: 1101px) {
  body.calculator-page {
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.calculator-page .page-main {
    height: auto;
    overflow: visible;
  }

  body.calculator-page .site-footer {
    display: block;
  }

  body.calculator-page .calculator-hero {
    width: min(1260px, 94vw);
    height: calc(100vh - 70px);
    min-height: 760px;
    padding: 0.9rem 0 1rem;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0.7rem;
  }

  body.calculator-page .calculator-hero .section-head {
    max-width: none;
  }

  body.calculator-page .calculator-hero .eyebrow {
    margin-bottom: 0.45rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.68rem;
  }

  body.calculator-page .calculator-hero h1 {
    margin-bottom: 0.55rem;
    font-size: clamp(2rem, 2.6vw, 3rem);
    white-space: nowrap;
  }

  body.calculator-page .calculator-hero .hero-subtitle {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 60ch;
  }

  body.calculator-page .calculator-nav-tabs {
    margin-bottom: 0;
    padding-bottom: 0.55rem;
    gap: 0.65rem;
  }

  body.calculator-page .nav-tab {
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  body.calculator-page .calc-section,
  body.calculator-page .calculator-container {
    min-height: 0;
  }

  body.calculator-page .calculator-container {
    height: 100%;
    margin-top: 0;
    gap: 0.75rem;
  }

  body.calculator-page #wealth-calc-section .calculator-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.85fr) minmax(285px, 0.9fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
  }

  body.calculator-page #wealth-calc-section .calc-tabs {
    grid-column: 1 / -1;
  }

  body.calculator-page #wealth-calc-section .calculator-shell {
    display: contents;
  }

  body.calculator-page #wealth-calc-section .calculator-panel {
    grid-column: 1;
  }

  body.calculator-page #wealth-calc-section .calculator-results {
    grid-column: 2;
  }

  body.calculator-page #wealth-calc-section .breakdown-section {
    grid-column: 3;
    grid-row: 2;
  }

  body.calculator-page #position-calc-section .calculator-shell {
    height: 100%;
    gap: 0.75rem;
  }

  body.calculator-page .calculator-panel,
  body.calculator-page .calculator-results,
  body.calculator-page .breakdown-section {
    min-height: 0;
    padding: 1rem;
    border-radius: 18px;
  }

  body.calculator-page .calculator-panel {
    gap: 0.8rem;
  }

  body.calculator-page .calc-field {
    gap: 0.5rem;
  }

  body.calculator-page .calc-field label {
    font-size: 0.82rem;
  }

  body.calculator-page .calc-input-wrap {
    min-width: 116px;
    border-radius: 8px;
  }

  body.calculator-page .calc-input-wrap span {
    padding: 0 0.65rem;
    font-size: 0.78rem;
  }

  body.calculator-page .calc-input-wrap input {
    padding: 0.45rem 0.2rem;
    font-size: 0.88rem;
  }

  body.calculator-page input[type="range"] {
    height: 0.45rem;
  }

  body.calculator-page .advanced-options {
    margin-top: 0.2rem;
    padding-top: 0.7rem;
  }

  body.calculator-page .advanced-fields {
    margin-top: 0.75rem;
    gap: 0.75rem;
  }

  body.calculator-page .calc-tabs {
    padding: 0.35rem;
    border-radius: 12px;
  }

  body.calculator-page .tab-btn {
    padding: 0.5rem 0.9rem;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  body.calculator-page .calculator-results {
    gap: 0.8rem;
  }

  body.calculator-page #wealth-calc-section .calculator-results {
    gap: 1rem;
    justify-content: stretch;
  }

  body.calculator-page .chart-container {
    height: 205px;
  }

  body.calculator-page #wealth-calc-section .chart-container {
    flex: 1 1 auto;
    min-height: 260px;
  }

  body.calculator-page .results-summary {
    gap: 0.75rem;
  }

  body.calculator-page #wealth-calc-section .results-summary {
    gap: 1rem;
  }

  body.calculator-page .result-item.main .label {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
  }

  body.calculator-page .result-item.main .value {
    font-size: clamp(2rem, 2.8vw, 2.75rem);
    line-height: 1;
  }

  body.calculator-page .result-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  body.calculator-page #wealth-calc-section .result-sub-grid {
    gap: 0.75rem;
  }

  body.calculator-page .targets-grid {
    gap: 0.55rem;
  }

  body.calculator-page .result-item:not(.main),
  body.calculator-page .target-card,
  body.calculator-page .summary-details-card,
  body.calculator-page .rr-visual-container,
  body.calculator-page .risk-reward-display {
    padding: 0.65rem;
    border-radius: 12px;
  }

  body.calculator-page #wealth-calc-section .result-item:not(.main) {
    padding: 0.85rem;
  }

  body.calculator-page .result-item:not(.main) .label,
  body.calculator-page .target-card .label {
    font-size: 0.62rem;
  }

  body.calculator-page #wealth-calc-section .result-item:not(.main) .label {
    font-size: 0.68rem;
  }

  body.calculator-page .result-item:not(.main) .value,
  body.calculator-page .target-card .value {
    font-size: 0.88rem;
  }

  body.calculator-page #wealth-calc-section .result-item:not(.main) .value {
    font-size: 1.02rem;
  }

  body.calculator-page .section-header {
    margin-bottom: 0.65rem;
  }

  body.calculator-page .section-header h2 {
    font-size: 1rem;
  }

  body.calculator-page .table-scroll {
    min-height: 0;
    overflow: auto;
  }

  body.calculator-page .breakdown-section {
    display: flex;
    flex-direction: column;
  }

  body.calculator-page .breakdown-table th,
  body.calculator-page .breakdown-table td {
    padding: 0.38rem 0.35rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  body.calculator-page .direction-label {
    padding: 0.45rem;
    font-size: 0.78rem;
  }

  body.calculator-page .product-toggle-group,
  body.calculator-page .calc-field-row {
    gap: 0.65rem;
  }

  body.calculator-page .radio-box {
    padding: 0.65rem;
  }

  body.calculator-page .risk-reward-display {
    gap: 0.65rem;
  }

  body.calculator-page .rr-item strong,
  body.calculator-page .radio-box strong {
    font-size: 0.86rem;
  }

  body.calculator-page .pos-result-header {
    padding-bottom: 0.75rem;
  }

  body.calculator-page .pos-direction-badge {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.35rem;
  }

  body.calculator-page .pos-result-header span {
    margin-bottom: 0.2rem;
    font-size: 0.74rem;
  }

  body.calculator-page .pos-result-header #direction-text {
    display: inline;
    margin-bottom: 0;
  }

  body.calculator-page .pos-result-header strong {
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1;
  }

  body.calculator-page .summary-details-card {
    gap: 0.45rem;
  }

  body.calculator-page .summary-row {
    font-size: 0.78rem;
  }

  body.calculator-page .target-card.featured {
    transform: none;
  }

  body.calculator-page .calc-disclaimer {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .calculator-panel {
    gap: 0.35rem;
    padding: 0.75rem 1rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .calc-field {
    gap: 0.35rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .direction-toggle-group {
    padding: 3px;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .direction-label {
    padding: 0.35rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .radio-box {
    padding: 0.45rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .risk-reward-display {
    padding: 0.45rem 0.65rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .validation-msg {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .advanced-options {
    margin-top: 0;
    padding-top: 0.45rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .advanced-fields {
    margin-top: 0.4rem;
    gap: 0.4rem;
  }

  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .field-meta,
  body.calculator-page #position-calc-section .calculator-container.is-brokerage-open .field-hint {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .calc-field-row { grid-template-columns: 1fr; }
  .targets-grid { grid-template-columns: 1fr; }
  .target-card.featured { transform: none; }
}

@media (max-width: 1100px) {
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-results { order: -1; }
}

@media (max-width: 900px) {
  .calculator-info-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .calculator-panel, .calculator-results, .breakdown-section { padding: 1.5rem; }
  .result-sub-grid { grid-template-columns: 1fr; }
  .calc-field-head { flex-direction: column; align-items: flex-start; }
  .calc-input-wrap { width: 100%; }
}

/* Mobile Responsive Styles */

/* Tablet breakpoint - collapse multi-column layouts */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Enquiry page - stack copy above form */
  .lead-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }

  .feature-grid,
  .program-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-hub {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header { padding: 0.75rem 1rem; }
  .brand span { font-size: 1rem; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .main-nav a[href="/enquiry"]:not(.btn) { display: none; }
  .main-nav.open a[href="/enquiry"]:not(.btn) { display: none; }
  .main-nav.open { display: flex !important; }

  .section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: 1fr; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1rem; }

  /* Hero - single column on mobile */
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* 5Paisa section - single column */
  .pro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
  }

  .pro-features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pro-actions { flex-direction: column; gap: 1.5rem; }
  .pro-support { order: -1; }

  .qr-glass-shell { padding: 2rem 1.25rem; }
  .qr-visual-box { max-width: 280px; margin-left: auto; margin-right: auto; }

  /* Feature / Program / Testimonial grids - single column */
  .feature-grid,
  .program-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  /* Contact hub - single column */
  .contact-hub {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .hero-panel { padding: 1.5rem; }
  .lead-form-panel { padding: 2rem 1.5rem; }
  .calculator-panel, .calculator-results { padding: 1.5rem; border-radius: 16px; }
  .calc-field-head { align-items: flex-start; flex-direction: column; }
  .calc-input-wrap { width: 100%; }

  .compact-info-box { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Enquiry page - stack copy + form, full-width form inputs */
  .lead-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .span-2 {
    grid-column: span 1;
  }

  .lead-form-panel {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .lead-support {
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }

  .compact-steps {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .form-helper {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

  /* Full-width buttons on very small screens */
  .btn { width: 100%; padding: 0.75rem 1.25rem; justify-content: center; }
  .cta-row { flex-direction: column; gap: 0.75rem; }

  /* Market strip */
  .market-strip-head { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 0.75rem 1rem; }
  .market-strip { border-radius: 12px; }

  /* Cards */
  .card, .program-card, .faq-item, .hub-card { padding: 1.5rem; border-radius: 16px; }
  .result-grid { grid-template-columns: 1fr; }

  .footer-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
  .risk-warning { padding: 1.25rem; margin-top: 2rem; font-size: 0.78rem; }

  /* Pro / 5Paisa section */
  .pro-account-card { border-radius: 24px; }
  .pro-grid { padding: 2rem 1rem; gap: 1.5rem; }
  .qr-glass-shell { padding: 1.5rem 1rem; }
  .stats-grid { gap: 1rem; }

  /* Premium stats performance teaser — keep 2-col */
  .premium-stats.stats-grid { grid-template-columns: 1fr 1fr; }

  /* Main stats (hero) — 3 items in a row is too tight, go 1 col */
  .hero .stats-grid { grid-template-columns: 1fr; }

  /* Join cards (WhatsApp / Telegram / YouTube) */
  .whatsapp-panel .wa-header-band,
  .telegram-panel .wa-header-band,
  .youtube-panel .wa-header-band { padding: 1.25rem 1.25rem 1rem; }
  .whatsapp-panel .wa-body,
  .telegram-panel .wa-body,
  .youtube-panel .wa-body { padding: 1.25rem; }
  .community-perks { grid-template-columns: 1fr; gap: 0.5rem; }
  .wa-qr-img { width: 150px; height: 150px; }

  /* Slideshow arrows tuck inside the card on small screens */
  .slide-arrow--prev { left: 6px; }
  .slide-arrow--next { right: 6px; }
  .slide-arrow { width: 34px; height: 34px; font-size: 1.25rem; }

  /* Enquiry page extra-small fixes */
  .lead-form-panel { padding: 1.5rem 1rem; border-radius: 16px; }
  .lead-support { padding: 1.25rem; }
  .panel-brand { gap: 0.75rem; margin-bottom: 1rem; }
  .form-grid { gap: 1rem; }

  /* IMPORTANT: Prevent iOS zoom on form field focus */
  input, select, textarea { font-size: 1rem; }

  /* Nav scanner pill — shorten label on small screens handled by CSS */
  .nav-scanner-link { max-width: 180px; }

  /* Brand name — prevent overflow on tiny screens */
  .brand span { font-size: 0.9rem; }

  /* Footer bottom — stack disclaimer on small phones */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Scanner free offer CTA — full width */
  .scanner-free-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── Ultra-small phones (360px and below) ── */
@media (max-width: 360px) {
  /* Tighten section padding */
  .section { padding: 2.5rem 0; }

  /* Header */
  .site-header { padding: 0.65rem 0.75rem; }
  .brand span { font-size: 0.82rem; }
  .brand img { width: 34px; height: 34px; }

  /* Typography */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }

  /* Nav pill — hide "New" badge and truncate */
  .nav-scanner-badge { display: none; }
  .nav-scanner-link { font-size: 0.78rem; max-width: 160px; }

  /* Pro grid tighter */
  .pro-grid { padding: 1.5rem 0.75rem; }
  .pro-features-grid { gap: 1.25rem; }
  .pro-icon { width: 42px; height: 42px; font-size: 1.1rem; }

  /* Card padding */
  .card, .program-card, .hub-card { padding: 1.25rem; border-radius: 14px; }

  /* FAQ */
  .faq-item { padding: 1.25rem; }
  .faq-item button { font-size: 0.9rem; }

  /* Stats — single column */
  .stats-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .premium-stats.stats-grid { grid-template-columns: 1fr; }
  .stats-grid strong { font-size: 1.5rem; }

  /* Scanner section */
  .scanner-inner { padding: 1.5rem; }
  .scanner-metrics { gap: 0.5rem; }
  .scanner-metric { padding: 0.85rem 0.5rem; }
  .scanner-metric strong { font-size: 1.1rem; }
  .scanner-chips li { font-size: 0.78rem; padding: 0.45rem 0.65rem; }
  .scanner-heading { font-size: 1.45rem; }

  /* Enquiry form */
  .lead-form-panel { padding: 1.25rem 0.85rem; }
  input, select, textarea { padding: 0.75rem 0.85rem; }

  /* Footer */
  .footer-top { padding: 2rem 0 1.5rem; }
  .footer-phones { flex-direction: column; gap: 0.5rem; }
}


/* =============================================
   CALCULATOR PAGE — MOBILE RESPONSIVE FIXES
   ============================================= */

/* Tablet / medium screens: single column calculator */
@media (max-width: 1100px) {
  /* Calculator nav tabs: allow horizontal scroll on small screens */
  .calculator-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
  }
  .calculator-nav-tabs::-webkit-scrollbar { display: none; }

  /* Make nav-tab buttons not shrink */
  .nav-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Collapse the 3-column wealth calculator into stacked layout */
  body.calculator-page #wealth-calc-section .calculator-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  body.calculator-page #wealth-calc-section .calculator-shell {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Show results panel ABOVE the inputs */
  .calculator-results {
    order: -1;
  }

  /* Breakdown table section */
  .breakdown-section {
    order: 1;
  }

  /* Unstick position results on tablet */
  .position-results {
    position: static;
  }

  /* Full-width calc-input-wrap on tablet */
  .calc-input-wrap {
    width: 100%;
  }

  /* Stack SIP tab selector */
  .calc-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
  }

  /* Calculator hero: normal flow (not fixed height) */
  body.calculator-page .calculator-hero {
    width: min(1200px, 92vw);
    height: auto;
    min-height: auto;
    padding: clamp(3rem, 8vw, 6rem) 0;
    display: block;
  }

  body.calculator-page .calculator-hero h1 {
    white-space: normal;
  }

  body.calculator-page .calculator-container {
    height: auto;
    margin-top: 1.5rem;
  }

  body.calculator-page .calculator-panel,
  body.calculator-page .calculator-results,
  body.calculator-page .breakdown-section {
    padding: 1.5rem;
    border-radius: 20px;
    min-height: auto;
  }

  body.calculator-page .chart-container {
    height: 220px;
  }

  /* Result sub-grid: 2 cards side by side is fine on tablet */
  .result-sub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: phones */
@media (max-width: 768px) {
  /* Calculator page: fully scrollable, no fixed heights */
  body.calculator-page .calculator-hero {
    width: 92vw;
    height: auto;
    min-height: auto;
    padding: 2rem 0;
  }

  body.calculator-page .calculator-hero h1 {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    white-space: normal;
  }

  body.calculator-page .calculator-nav-tabs {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  body.calculator-page .nav-tab {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  /* Calculator shell: always single column */
  .calculator-shell {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  /* Stacking order: results first, then inputs, then breakdown */
  .calculator-results {
    order: -1;
  }

  .breakdown-section {
    order: 1;
  }

  /* Unstick position results on mobile */
  .position-results {
    position: static !important;
    top: auto !important;
  }

  body.calculator-page .calculator-panel,
  body.calculator-page .calculator-results,
  body.calculator-page .breakdown-section {
    padding: 1.25rem;
    border-radius: 16px;
  }

  body.calculator-page .chart-container {
    height: 200px;
  }

  /* Result sub-grid: stack vertically on mobile */
  .result-sub-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Targets grid: single column */
  .targets-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .target-card.featured {
    transform: none;
  }

  /* Breakdown table: enable horizontal scroll with visible hint */
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  .breakdown-table {
    min-width: 480px; /* Force table to be wider than screen so scroll works */
  }

  .breakdown-table th,
  .breakdown-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* SIP/Lumpsum tabs: full width */
  .calc-tabs {
    width: 100%;
  }

  .tab-btn {
    flex: 1;
  }

  /* Calc field row: single column */
  .calc-field-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Input wrap: full width */
  .calc-input-wrap {
    width: 100%;
    min-width: unset;
  }

  /* Product toggle and direction toggle: keep side by side but smaller */
  .product-toggle-group {
    gap: 0.75rem;
  }

  .radio-box {
    padding: 0.85rem 0.5rem;
  }

  .radio-box strong {
    font-size: 0.88rem;
  }

  .radio-box span {
    font-size: 0.7rem;
  }

  /* Risk reward display */
  .risk-reward-display {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  /* Download button: full width */
  #download-report {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  /* Very small phones */
  body.calculator-page .calculator-hero h1 {
    font-size: 1.75rem;
  }

  .calculator-nav-tabs {
    gap: 0.4rem;
  }

  body.calculator-page .nav-tab {
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
  }

  body.calculator-page .calculator-panel,
  body.calculator-page .calculator-results,
  body.calculator-page .breakdown-section {
    padding: 1rem;
    border-radius: 14px;
  }

  .calc-field-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Position calc: direction toggle full width labels */
  .direction-label {
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Target cards */
  .target-card {
    padding: 1rem;
  }

  /* Summary details */
  .summary-details-card {
    padding: 1rem;
  }

  .summary-row {
    font-size: 0.85rem;
  }

  /* Result sub-grid */
  .result-item:not(.main) {
    padding: 1rem;
  }
}


/* ============================================
   ENQUIRY FORM STATUS MODAL
   ============================================ */
.eq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: eq-fade-in 0.25s ease;
}

.eq-modal-overlay[hidden] {
  display: none;
}

@keyframes eq-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eq-modal-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  animation: eq-slide-up 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@keyframes eq-slide-up {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Top accent bar — changes colour conditionally */
.eq-modal-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 24px 24px 0 0;
}

.eq-modal--success .eq-modal-box::before { background: linear-gradient(90deg, #10b981, #34d399); }
.eq-modal--error   .eq-modal-box::before { background: linear-gradient(90deg, #ef4444, #f87171); }

/* Icon */
.eq-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
  display: block;
}

/* Title */
.eq-modal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.eq-modal--success .eq-modal-title { color: #065f46; }
.eq-modal--error   .eq-modal-title { color: #991b1b; }

/* Message */
.eq-modal-message {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 2rem;
}

/* Close button */
.eq-modal-btn {
  min-width: 140px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.eq-modal--success .eq-modal-btn {
  background: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.eq-modal--success .eq-modal-btn:hover {
  background: #059669;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.eq-modal--error .eq-modal-btn {
  background: #ef4444;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.eq-modal--error .eq-modal-btn:hover {
  background: #dc2626;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.35);
}

@media (max-width: 480px) {
  .eq-modal-box {
    padding: 2.5rem 1.75rem;
  }
  .eq-modal-icon { font-size: 3rem; }
  .eq-modal-title { font-size: 1.2rem; }
}

/* ── Floating WhatsApp Button ─────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1db954 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-float-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  position: relative;
  z-index: 1;
}

.wa-float-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-ring 2s ease-out infinite;
}

.wa-float-btn::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.25);
  animation: wa-ring 2s ease-out infinite 0.4s;
}

@keyframes wa-ring {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.wa-float-label {
  background: #ffffff;
  color: #064e3b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(37, 211, 102, 0.2);
  order: -1;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

.wa-float:hover .wa-float-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

@media (max-width: 600px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .wa-float-btn { width: 52px; height: 52px; }
  .wa-float-label { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   NAV SCANNER PILL
   ══════════════════════════════════════════════════════════════════════════════ */

.nav-scanner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 138, 0, 0.35);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(255, 138, 0, 0.12);
  position: relative;
  white-space: nowrap;
}

.nav-scanner-link:hover {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.25);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.nav-scanner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
  animation: scanner-dot-pulse 2s ease-in-out infinite;
}

@keyframes scanner-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
  50%       { opacity: 0.55; box-shadow: 0 0 12px rgba(34, 197, 94, 0.9); }
}

.nav-scanner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════════
   SCANNER SECTION — FULL CORPORATE DARK CARD
   ══════════════════════════════════════════════════════════════════════════════ */

.scanner-section {
  /* override section width to allow full bleed card */
}

.scanner-card {
  position: relative;
  background: linear-gradient(135deg, #09090f 0%, #0f1629 50%, #111827 100%);
  border: 1px solid rgba(255, 138, 0, 0.18);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Subtle dot-grid background */
.scanner-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,138,0,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

/* Ambient glow blobs */
.scanner-glow-a {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.scanner-glow-b {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Inner two-column layout */
.scanner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem;
  align-items: center;
}

/* ── Left: Content ── */

.scanner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.scanner-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: scanner-dot-pulse 2s ease-in-out infinite;
}

.scanner-heading {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 1.5rem;
  letter-spacing: -0.025em;
}

.scanner-heading-accent {
  display: block;
  background: linear-gradient(90deg, var(--accent) 0%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scanner-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin: 0 0 2.5rem;
  max-width: 48ch;
}

/* Metrics row */
.scanner-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.scanner-metric {
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.scanner-metric:hover {
  background: rgba(255, 138, 0, 0.07);
  border-color: rgba(255, 138, 0, 0.2);
  transform: translateY(-3px);
}

.scanner-metric strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.scanner-metric span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Feature chips */
.scanner-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.scanner-chips li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.scanner-chips li:hover {
  background: rgba(255, 138, 0, 0.06);
  border-color: rgba(255, 138, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Buttons */
.scanner-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scanner-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 138, 0, 0.35);
  transition: all 0.3s ease;
  gap: 0.6rem;
  display: inline-flex;
  align-items: center;
}

.scanner-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 138, 0, 0.5);
  background: linear-gradient(135deg, #ea580c 0%, var(--accent) 100%);
  color: #ffffff;
}

.scanner-btn-ghost {
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 0.95rem;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.scanner-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ── Right: Preview Card ── */

.scanner-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scanner-preview-card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
}

/* Header bar of the preview card */
.sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: scanner-dot-pulse 2s ease-in-out infinite;
}

.sp-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Signal rows */
.sp-signals {
  padding: 0.5rem 0;
}

.sp-signal-row {
  display: grid;
  grid-template-columns: 70px 100px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.sp-signal-row:last-child { border-bottom: none; }

.sp-signal-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sp-dir {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #22c55e;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}

.sp-dir-short {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.sp-ticker {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.sp-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.sp-entry, .sp-sl, .sp-tp {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  white-space: nowrap;
  font-family: "Space Grotesk", monospace;
}

.sp-entry { background: rgba(255, 255, 255, 0.07); color: rgba(255,255,255,0.7); }
.sp-sl    { background: rgba(239, 68, 68, 0.1);    color: #fca5a5; }
.sp-tp    { background: rgba(34, 197, 94, 0.1);    color: #86efac; }

.sp-stars {
  font-size: 0.75rem;
  color: #facc15;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.sp-stars-short { color: #f87171; }

/* Footer bar of preview card */
.sp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.sp-count {
  color: #22c55e;
  font-weight: 700;
}

/* Trust note below card */
.scanner-trust-note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.5;
}

/* ── Scanner Free Offer Banner ── */

.scanner-free-offer {
  margin-bottom: 2.5rem;
}

.scanner-free-offer-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(16,185,129,0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
}

/* Top green stripe */
.scanner-free-offer-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #16a34a, #4ade80);
}

.scanner-free-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.scanner-free-offer-inner p {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.scanner-free-offer-inner p strong {
  color: #ffffff;
  font-weight: 700;
}

.scanner-free-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  background: #22c55e;
  color: #000000;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.scanner-free-cta:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.5);
}

/* ── Responsive Scanner ── */
@media (max-width: 1024px) {
  .scanner-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem;
    gap: 3rem;
  }

  .scanner-desc { max-width: none; }

  .scanner-preview-card {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .scanner-inner { padding: 2rem; gap: 2rem; }

  .scanner-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .scanner-metric strong { font-size: 1.25rem; }

  .scanner-chips { grid-template-columns: 1fr; }

  .scanner-ctas { flex-direction: column; }
  .scanner-btn-primary,
  .scanner-btn-ghost { width: 100%; justify-content: center; }

  .sp-signal-row {
    grid-template-columns: 60px 80px 1fr;
    row-gap: 0.4rem;
  }

  .sp-stars { display: none; }
  .sp-meta { flex-wrap: wrap; }

  .nav-scanner-link { padding: 0.3rem 0.7rem; font-size: 0.78rem; }
  .nav-scanner-badge { display: none; }
}

/* ── YouTube special nav link ── */
.nav-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ff0000 !important;
  font-weight: 600;
  transition: opacity 0.2s;
}
.nav-yt svg {
  width: 18px;
  height: 18px;
  fill: #ff0000;
}
.nav-yt:hover {
  opacity: 0.8;
}
