/* ══════════════════════════════════════════════
   BlueCandle – style.css
   Dark fintech trading theme
══════════════════════════════════════════════ */

:root {
  --bg: #05070d;
  --bg-darker: #020308;
  --bg2: #080c16;
  --bg3: #0d1220;
  --surface: rgba(17, 24, 39, 0.7);
  --surface-solid: #111827;
  --surface2: #1a2235;
  --border: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --blue-vibrant: #4f46e5;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --green: #10b981;
  --red: #f43f5e;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --gold: #fbbf24;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass: backdrop-filter: blur(16px) saturate(180%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--blue-glow);
  color: var(--blue);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface2);
  border-radius: 3px;
}

/* ══════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

#loader.fade-out {
  animation: loaderFadeOut 0.7s ease forwards;
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
  }
}

/* Particle canvas */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 8s linear infinite;
  pointer-events: none;
}

@keyframes gridShift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(60px);
  }
}

/* Center content */
.loader-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 2;
}

/* ── CANDLE STAGE ── */
.candle-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 120px;
  margin-bottom: 24px;
  animation: candleStageIn 0.4s ease forwards;
}

@keyframes candleStageIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.candle-stage.fade-out-stage {
  animation: candleStageFadeOut 0.5s ease forwards;
}

@keyframes candleStageFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
}

.candle-group {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: bottom;
  animation: candleRise 0.6s ease forwards;
  opacity: 0;
}

.candle.c1 {
  animation-delay: 0.1s;
}

.candle.c2 {
  animation-delay: 0.25s;
}

.candle.c3 {
  animation-delay: 0.4s;
}

.candle.c4 {
  animation-delay: 0.55s;
}

.candle.c5 {
  animation-delay: 0.7s;
}

@keyframes candleRise {
  0% {
    opacity: 0;
    transform: scaleY(0) translateY(10px);
  }

  60% {
    opacity: 1;
    transform: scaleY(1.05);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.wick {
  width: 2px;
  border-radius: 1px;
}

.wick.top {
  height: 14px;
}

.wick.bot {
  height: 10px;
}

.body.bull {
  background: var(--green);
}

.body.bear {
  background: var(--red);
}

.body {
  width: 18px;
  border-radius: 3px;
  transition: height 0.5s ease;
}

.c1 .wick {
  background: var(--red);
}

.c1 .body {
  height: 32px;
}

.c2 .wick {
  background: var(--green);
}

.c2 .body {
  height: 48px;
}

.c3 .wick {
  background: var(--red);
}

.c3 .body {
  height: 28px;
}

.c4 .wick {
  background: var(--green);
}

.c4 .body {
  height: 68px;
}

.c5 .wick {
  background: var(--green);
}

.c5 .body {
  height: 44px;
}

.c6 .wick {
  background: var(--red);
}

.c6 .body {
  height: 36px;
}

.c7 .wick {
  background: var(--green);
}

.c7 .body {
  height: 72px;
}

.c8 .wick {
  background: var(--green);
}

.c8 .body {
  height: 50px;
}

.candle.c6 {
  animation-delay: 0.85s;
}

.candle.c7 {
  animation-delay: 1.0s;
}

.candle.c8 {
  animation-delay: 1.15s;
}

.c4 .body.big,
.c7 .body.big {
  width: 22px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

/* Glow baseline under all candles */
.candle-baseline {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), rgba(34, 197, 94, 0.6), transparent);
  animation: baselineGlow 2s ease-in-out infinite;
}

@keyframes baselineGlow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* Make candle-stage relative for baseline positioning */
.candle-stage {
  position: relative;
}

/* ── LOGO STAGE ── */
.logo-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo-stage.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-flame {
  position: relative;
  z-index: 5;
}

.flame-svg {
  display: block;
  filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.4));
  animation: flameFlicker 3s ease-in-out infinite;
}

@keyframes flameFlicker {
  0%, 100% {
    transform: scale(1) rotate(0deg) skew(0deg);
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.2));
  }
  25% {
    transform: scale(1.02, 0.98) rotate(1deg) skew(1deg);
    filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.7)) drop-shadow(0 0 45px rgba(59, 130, 246, 0.3));
  }
  50% {
    transform: scale(0.98, 1.05) rotate(-1deg) skew(-1deg);
    filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.8)) drop-shadow(0 0 50px rgba(59, 130, 246, 0.4));
  }
  75% {
    transform: scale(1.01, 1.02) rotate(0.5deg) skew(0.5deg);
    filter: drop-shadow(0 0 22px rgba(245, 158, 11, 0.6)) drop-shadow(0 0 42px rgba(59, 130, 246, 0.2));
  }
}

.nav-flame-svg {
  filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.3));
  transition: filter 0.3s ease;
}

.nav-logo:hover .nav-flame-svg {
  filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.6)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.4));
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-blue {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-candle {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── LOADER BAR ── */
.loader-bar-wrap {
  width: 260px;
  height: 3px;
  background: var(--surface2);
  border-radius: 2px;
  margin-top: 28px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  position: relative;
}

.loader-bar-wrap.visible {
  opacity: 1;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), #818cf8);
  border-radius: 2px;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px var(--blue), 0 0 20px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on the bar */
.bar-shimmer {
  position: absolute;
  top: 0;
  left: -60px;
  width: 60px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: barShimmer 1.2s ease-in-out infinite;
}

@keyframes barShimmer {
  0% {
    left: -60px;
  }

  100% {
    left: 120%;
  }
}

/* Status row below bar */
.loader-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 260px;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.loader-status-row.visible {
  opacity: 1;
}

.loader-pct {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 700;
}

.loader-status-msg {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── TYPING CURSOR ── */
.type-cursor {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -1px;
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ── LOGO RING PULSE ── */
.logo-ring-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--blue);
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
}

.logo-ring.active.r1 {
  animation: ringExpand 1.8s cubic-bezier(0.2, 0.5, 0.4, 1) 0s infinite;
  width: 130px;
  height: 130px;
}

.logo-ring.active.r2 {
  animation: ringExpand 1.8s cubic-bezier(0.2, 0.5, 0.4, 1) 0.6s infinite;
  width: 180px;
  height: 180px;
  border-color: rgba(59, 130, 246, 0.4);
}

.logo-ring.active.r3 {
  animation: ringExpand 1.8s cubic-bezier(0.2, 0.5, 0.4, 1) 1.2s infinite;
  width: 230px;
  height: 230px;
  border-color: rgba(59, 130, 246, 0.15);
}

@keyframes ringExpand {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.3);
  }

  80% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* ── FLOATING FOREX PAIRS ── */
.fx-pair {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.35);
  letter-spacing: 0.08em;
  animation: fxFloat 6s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes fxFloat {

  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0px);
  }

  50% {
    opacity: 0.5;
    transform: translateY(-10px);
  }
}

.fp1 {
  top: 12%;
  left: 6%;
  animation-delay: 0s;
}

.fp2 {
  top: 18%;
  right: 8%;
  animation-delay: 1.1s;
}

.fp3 {
  bottom: 25%;
  left: 9%;
  animation-delay: 0.5s;
}

.fp4 {
  bottom: 20%;
  right: 7%;
  animation-delay: 1.6s;
}

.fp5 {
  top: 45%;
  left: 4%;
  animation-delay: 0.8s;
}

.fp6 {
  top: 38%;
  right: 5%;
  animation-delay: 2.0s;
}

/* Make logo stage relative for rings to be positioned inside */
.logo-stage {
  position: relative;
}

/* ══════════════════════════════════════════════
   MAIN CONTENT – INITIAL HIDDEN
══════════════════════════════════════════════ */
#mainContent {
  display: none;
  opacity: 0;
}

#mainContent.fade-in {
  animation: mainFadeIn 0.8s ease forwards;
}

@keyframes mainFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════
   NAV BAR
══════════════════════════════════════════════ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav-bar.scrolled {
  background: rgba(8, 12, 22, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.blue {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px var(--blue-glow);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.large {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-primary.small {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-primary.full {
  width: 100%;
  text-align: center;
  padding: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-ghost.large {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost.full {
  width: 100%;
  text-align: center;
  padding: 13px;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(29, 78, 216, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto 0 0;
  padding-left: calc((100vw - 1280px) / 2);
  padding-left: max(24px, calc((100vw - 1280px) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: heroBadgeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes heroBadgeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px var(--green);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--green);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text);
  animation: heroTitleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #a5b4fc 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: heroSubIn 0.7s ease 0.35s both;
}

@keyframes heroSubIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroCtaIn 0.7s ease 0.5s both;
}

@keyframes heroCtaIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: heroStatsIn 0.7s ease 0.65s both;
}

@keyframes heroStatsIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.stat {
  text-align: center;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--text);
}

.stat-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero chart card */
.hero-chart-card {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2));
  top: 50%;
  transform: translateY(-50%) translateX(40px);
  width: 340px;
  background: rgba(13, 18, 32, 0.9);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: chartCardIn 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s both;
  z-index: 3;
}

@keyframes chartCardIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(60px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(40px) scale(1);
  }
}

.hero-chart-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.1);
  transform: translateY(-50%) translateX(40px) scale(1.01);
  transition: all var(--transition);
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.chart-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pair-icon {
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pair-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.pair-exchange {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chart-price-block {
  text-align: right;
}

.chart-price {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}

.chart-change {
  font-size: 0.75rem;
  font-weight: 600;
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

/* Mini chart */
.mini-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 16px;
  padding: 4px 0;
  overflow: hidden;
}

.mini-chart .mc-bar {
  flex: 1;
  border-radius: 2px;
  position: relative;
  animation: mcBarIn 0.4s ease both;
}

@keyframes mcBarIn {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.chart-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-pill.bull {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.signal-pill.bear {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.signal-pill.small {
  font-size: 0.7rem;
  padding: 4px 9px;
}

.signal-pill.tiny {
  font-size: 0.65rem;
  padding: 3px 8px;
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: dotPulse 1.5s ease infinite;
}

.signal-dot.bear {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.signal-conf {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--mono);
}


/* ══════════════════════════════════════════════
   SECTIONS COMMON
══════════════════════════════════════════════ */
.features-section,
.markets-section,
.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.feat-card.revealed {
  animation: featReveal 0.6s ease forwards;
}

@keyframes featReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feat-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.feat-card:hover .feat-glow {
  opacity: 1;
}

.feat-icon {
  width: 56px;
  height: 56px;
  background: var(--surface2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.feat-card:hover .feat-icon {
  transform: scale(1.08);
}

.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feat-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   DASHBOARD MOCKUP
══════════════════════════════════════════════ */
.dashboard-mockup {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  height: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.dash-sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  gap: 4px;
}

.dash-logo-mini {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  padding: 8px 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.dash-nav-item:hover {
  background: var(--surface2);
  color: var(--text);
}

.dash-nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.dash-footer-nav {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 auto;
  cursor: pointer;
}

/* Main */
.dash-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.dash-welcome {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: dotPulse 1.5s ease infinite;
}

.live-txt {
  color: var(--green);
  font-weight: 600;
  font-size: 0.75rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.dash-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--border);
}

.dc-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.dc-value {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--mono);
  margin-bottom: 4px;
}

.dc-change {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dc-change.positive {
  color: var(--green);
}

.dash-chart-area {
  position: relative;
  flex: 1;
  padding: 12px 16px;
  overflow: hidden;
}

.dca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dca-pair {
  font-size: 0.85rem;
  font-weight: 700;
}

.dca-tf {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--surface2);
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 6px;
}

.dca-tabs {
  display: flex;
  gap: 4px;
}

.dca-tab {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.dca-tab.active {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue);
}

.dca-tab:hover:not(.active) {
  background: var(--surface2);
  color: var(--text);
}

.dash-chart-canvas {
  width: 100%;
  height: calc(100% - 40px);
}

.dca-signal-overlay {
  position: absolute;
  bottom: 20px;
  left: 16px;
}

/* Right panel */
.dash-right {
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dr-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dr-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.market-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 6px;
  padding: 8px 6px;
}

.market-row:hover {
  background: var(--surface2);
}

.market-row:last-child {
  border-bottom: none;
}

.mr-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.mr-icon.btc {
  background: rgba(249, 115, 22, 0.2);
  color: var(--orange);
}

.mr-icon.eth {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.mr-icon.sol {
  background: rgba(168, 85, 247, 0.2);
  color: var(--purple);
}

.mr-icon.bnb {
  background: rgba(251, 191, 36, 0.2);
  color: var(--gold);
}

.mr-info {
  flex: 1;
}

.mr-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.mr-sym {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mr-price {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--mono);
  text-align: right;
}

.mr-chg {
  font-size: 0.68rem;
  text-align: right;
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.signal-row:last-child {
  border-bottom: none;
}

.sr-pair {
  font-size: 0.75rem;
  font-weight: 600;
  flex: 1;
  font-family: var(--mono);
}

.sr-conf {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-left: auto;
}

/* ══════════════════════════════════════════════
   MARKETS TABLE
══════════════════════════════════════════════ */
.markets-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.markets-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.markets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.markets-table th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface);
}

.markets-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.markets-table tr:last-child td {
  border-bottom: none;
}

.markets-table tbody tr {
  transition: background var(--transition);
  cursor: pointer;
}

.markets-table tbody tr:hover {
  background: var(--surface);
}

.mt-rank {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.mt-asset {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mt-icon {
  font-size: 1.2rem;
}

.mt-name {
  font-weight: 600;
}

.mt-ticker {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.mt-price {
  font-family: var(--mono);
  font-weight: 600;
}

.mt-vol {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.price-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(59, 130, 246, 0.04));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pc-tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pc-price {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 24px;
  font-family: var(--mono);
}

.pc-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pc-features li {
  color: var(--text);
}

.pc-features li.dim {
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12) 0%, transparent 50%, rgba(168, 85, 247, 0.08) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  position: relative;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fl-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fl-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.fl-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-chart-card {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding-left: 24px;
  }

  .dashboard-mockup {
    grid-template-columns: 180px 1fr;
  }

  .dash-right {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .dashboard-mockup {
    grid-template-columns: 1fr;
    height: auto;
  }

  .dash-sidebar {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-ghost.large {
    justify-content: center;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   BLUECANDLE-FX EDUCATION SITE – ADDITIONAL CSS
══════════════════════════════════════════════ */

/* ── SHARED CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO CENTERED VARIANT ── */
.hero-content--centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding-left: 0;
}

.hero-title--center {
  text-align: center;
}

.hero-sub--center {
  text-align: center;
  margin: 0 auto 32px;
}

.hero-cta--center {
  justify-content: center;
}

.loader-brand {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

/* ── TRUST ROW ── */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
  animation: heroStatsIn 0.7s ease 0.65s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-icon {
  font-size: 1rem;
}

.trust-div {
  width: 1px;
  height: 18px;
  background: var(--border);
}

/* ══════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════ */
.about-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-left .section-label {
  margin-bottom: 12px;
}

.about-left h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.about-left p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-left p strong {
  color: var(--text);
  font-weight: 600;
}

.about-credo {
  margin-top: 28px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credo-line {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.credo-line strong {
  color: var(--red);
}

.highlight-line {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border-left: none;
  padding-left: 0;
  margin-top: 6px;
}

.highlight-line span {
  color: var(--blue);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.mission-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.05);
}

.mission-card.vision {
  border-color: rgba(168, 85, 247, 0.15);
}

.mission-card.vision:hover {
  border-color: rgba(168, 85, 247, 0.35);
}

.mc-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.mc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
}

.mission-card.vision .mc-label {
  color: var(--purple);
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.mission-card p strong {
  color: var(--text);
}

/* ══════════════════════════════════════════════
   OFFERINGS SECTION
══════════════════════════════════════════════ */
.offerings-section {
  padding: 100px 0;
  background: var(--bg);
}

.offerings-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.offerings-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}



.offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  flex: 0 0 320px;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Animated inner glow on hover */
.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.offer-card.revealed {
  animation: offerSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered delays for each card */
.offer-card:nth-child(1) { animation-delay: 0.05s; }
.offer-card:nth-child(2) { animation-delay: 0.15s; }
.offer-card:nth-child(3) { animation-delay: 0.25s; }
.offer-card:nth-child(4) { animation-delay: 0.35s; }
.offer-card:nth-child(5) { animation-delay: 0.45s; }

@keyframes offerSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.offer-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(59, 130, 246, 0.12);
}

.offer-card:hover::after {
  opacity: 1;
}


.offer-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 700;
  opacity: 0.7;
}

.offer-icon {
  font-size: 2.2rem;
  display: inline-block;
  transition: transform 0.35s ease;
}

.offer-card:hover .offer-icon {
  animation: offerIconFloat 0.8s ease-in-out infinite alternate;
}

@keyframes offerIconFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-5px); }
}


.offer-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.offer-card>p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-shrink: 0;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  flex: 1;
}

.offer-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.offer-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.7rem;
}

.offer-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: auto;
  align-self: flex-start;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover .offer-tag {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}


/* ══════════════════════════════════════════════
   PROGRAM / ROADMAP SECTION
══════════════════════════════════════════════ */
.program-section {
  padding: 100px 0;
  background: #03050a;
}

/* ── HORIZONTAL TIMELINE LAYOUT ── */
.rm-timeline {
  margin-bottom: 60px;
  overflow-x: auto;
  padding: 0 4px 16px;
  scrollbar-width: none;
}
.rm-timeline::-webkit-scrollbar { display: none; }

/* The track holds the connecting line + all columns */
.rm-track {
  display: flex;
  gap: 0;
  position: relative;
  min-width: max-content;
  padding: 16px 24px 20px;
}

/* Horizontal gradient line behind the dots */
.rm-track-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 61px;
  height: 2px;
  background: rgba(59, 130, 246, 0.15);
  pointer-events: none;
  z-index: 0;
}

.rm-track-line-progress {
  position: absolute;
  left: 24px;
  top: 61px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--green));
  width: 0%;
  pointer-events: none;
  z-index: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rm-timeline.revealed .rm-track-line-progress {
  width: calc(100% - 48px);
}

/* Each week column */
.rm-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
}

.rm-col.revealed {
  animation: rmColReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rm-col:nth-of-type(1) { animation-delay: 0s; }
.rm-col:nth-of-type(2) { animation-delay: 0.15s; }
.rm-col:nth-of-type(3) { animation-delay: 0.3s; }
.rm-col:nth-of-type(4) { animation-delay: 0.45s; }

@keyframes rmColReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Badge at the very top */
.rm-badge {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 12px;
}

.rm-badge--highlight {
  background: linear-gradient(135deg, #064e3b, var(--green));
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

/* Dot precisely below badge */
.rm-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  flex-shrink: 0;
  margin: 0;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.rm-col:hover .rm-dot {
  transform: scale(1.3);
}

.rm-dot--highlight {
  background: var(--green);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

/* Card fills the column below the dot organically */
.rm-col .rm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 20px;
  width: calc(100% - 24px);
  margin: 0 12px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.rm-col .rm-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.rm-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 4px;
}

.rm-content {
  flex: 1;
  text-align: center;
}

.rm-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rm-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.rm-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.rm-topics span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}

.rm-highlight-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-top: 14px;
}

/* Program CTA Box */
.program-cta-box {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pcb-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pcb-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════ */
.team-section {
  padding: 100px 0;
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.team-card.revealed {
  animation: featReveal 0.6s ease forwards;
}

.team-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

.team-card:hover .tc-glow {
  opacity: 1;
}

.tc-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.tc-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.tc-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(rgba(59, 130, 246, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tc-role {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tc-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ══════════════════════════════════════════════
   WHY SECTION
══════════════════════════════════════════════ */
.why-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.why-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.why-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.why-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  flex: 0 0 320px;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Animated inner glow on hover */
.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.why-card.revealed {
  animation: whySlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered delays for each card */
.why-card:nth-child(1) { animation-delay: 0.05s; }
.why-card:nth-child(2) { animation-delay: 0.15s; }
.why-card:nth-child(3) { animation-delay: 0.25s; }
.why-card:nth-child(4) { animation-delay: 0.35s; }
.why-card:nth-child(5) { animation-delay: 0.45s; }

@keyframes whySlideIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.why-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(59, 130, 246, 0.12);
}

.why-card:hover::after {
  opacity: 1;
}

.wc-icon {
  font-size: 2.2rem;
  display: inline-block;
  transition: transform 0.35s ease;
}

.why-card:hover .wc-icon {
  animation: whyIconFloat 0.8s ease-in-out infinite alternate;
}

@keyframes whyIconFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-5px); }
}

.why-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   FREE RESOURCES SECTION
══════════════════════════════════════════════ */
.resources-section {
  padding: 100px 0;
  background: var(--bg);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.resource-card.revealed {
  animation: contactReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.resource-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.resource-card.featured {
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(59, 130, 246, 0.04));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.08);
}

.rc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rc-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.resource-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.resource-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.rc-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition);
}

.rc-link:hover {
  color: var(--text);
}

/* ══════════════════════════════════════════════
   DISCLAIMER SECTION
══════════════════════════════════════════════ */
.disclaimer-section {
  padding: 60px 0;
  background: var(--bg2);
}

.disclaimer-box {
  background: var(--surface);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.disc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(239, 68, 68, 0.07);
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
  padding: 20px 28px;
}

.disc-icon {
  font-size: 1.6rem;
}

.disc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.disc-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.disc-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.disc-main {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disc-main strong {
  color: var(--text);
}

.disc-risks {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.dr-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}

.disc-risks ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disc-risks li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.disc-risks li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
}

.disc-risks li strong {
  color: var(--text);
}

.disc-footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.disc-footer-note strong {
  color: var(--text);
  font-style: normal;
}

/* ══════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════ */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.contact-card.revealed {
  animation: contactReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes contactReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.email-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.tg-card:hover {
  border-color: rgba(34, 167, 217, 0.4);
}

.ig-card:hover {
  border-color: rgba(221, 42, 123, 0.4);
}

.yt-card:hover {
  border-color: rgba(255, 0, 0, 0.3);
}

.cc-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.cc-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
  margin-top: auto;
  word-break: break-all;
}

.cc-link:hover {
  color: var(--text);
}

.email-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  word-break: break-all;
}

/* ══════════════════════════════════════════════
   CLOSING SECTION
══════════════════════════════════════════════ */
.closing-section {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, transparent 50%, rgba(168, 85, 247, 0.08) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.closing-quote {
  font-size: 5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.3;
  line-height: 0.7;
  align-self: flex-start;
  margin-bottom: -10px;
}

.closing-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
}

.closing-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.closing-inner p strong {
  color: var(--text);
}

.closing-mantras {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  flex-wrap: wrap;
  justify-content: center;
}

.cm-div {
  color: var(--border);
  font-size: 1.3rem;
}

/* ── FOOTER UPDATES ── */
.footer-email {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--blue);
  text-decoration: none;
  font-family: var(--mono);
  transition: color var(--transition);
}

.footer-email:hover {
  color: var(--text);
}

/* ══════════════════════════════════════════════
   STEP 1 — TABLET (max-width: 1100px)
   Multi-column grids drop to 2 columns
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .program-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   STEP 2 — MOBILE LANDSCAPE / LARGE PHONE (max-width: 768px)
   Nav collapses, sections stack, cards resize
══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* --- Global Section Spacing --- */
  .about-section,
  .offerings-section,
  .program-section,
  .why-section,
  .resources-section,
  .contact-section,
  .disclaimer-section {
    padding: 60px 0;
  }

  .closing-section {
    padding: 70px 20px;
  }

  /* --- Container Horizontal Padding --- */
  .container {
    padding: 0 16px;
  }

  /* --- Preloader --- */
  .logo-blue,
  .logo-candle,
  .type-cursor {
    font-size: 2.2rem;
  }

  .logo-ring.active.r1 { width: 100px; height: 100px; }
  .logo-ring.active.r2 { width: 140px; height: 140px; }
  .logo-ring.active.r3 { width: 180px; height: 180px; }

  .loader-bar-wrap,
  .loader-status-row {
    width: 220px;
  }

  /* --- Nav Bar --- */
  .nav-links {
    display: none;
  }

  .nav-inner {
    padding: 0 16px;
    justify-content: space-between;
  }

  /* --- Hero Section --- */
  .hero-section {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-trust-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .trust-div {
    display: none;
  }

  /* --- Section Headers --- */
  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* --- About Section --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* --- Offerings / What We Offer (Horizontal Scroll) --- */
  .offerings-grid {
    padding: 10px 16px 24px;
    gap: 16px;
  }

  .offer-card {
    flex: 0 0 80vw;
    max-width: 300px;
    padding: 22px;
  }

  /* --- Program / Roadmap (Horizontal Scroll) --- */
  .rm-timeline {
    padding: 0 16px 24px;
  }

  .rm-track {
    padding: 16px 8px 20px;
  }

  .rm-track-line,
  .rm-track-line-progress {
    left: 8px;
    right: 8px;
    top: 56px;
  }

  .rm-col {
    width: 85vw;
    max-width: 320px;
  }

  .rm-col .rm-card {
    padding: 18px 16px;
    margin: 0 8px;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: calc(100% - 16px);
  }

  .rm-topics span {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .rm-badge {
    padding: 5px 14px;
    font-size: 0.65rem;
    margin-bottom: 10px;
  }

  .rm-dot {
    margin: 0;
    margin-bottom: 12px;
    width: 12px;
    height: 12px;
  }

  .program-cta-box {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
    gap: 16px;
  }

  .program-cta-box .btn-primary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* --- Why Choose Us (Horizontal Scroll) --- */
  .why-grid {
    padding: 10px 16px 24px;
    gap: 16px;
  }

  .why-card {
    flex: 0 0 80vw;
    max-width: 300px;
    padding: 22px;
  }

  /* --- Free Resources (Horizontal Scroll) --- */
  .resources-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 10px 16px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .resources-grid::-webkit-scrollbar {
    display: none;
  }

  .resource-card {
    flex: 0 0 80vw;
    max-width: 320px;
    padding: 24px;
    scroll-snap-align: start;
  }

  /* --- Disclaimer --- */
  .disclaimer-box {
    border-radius: 12px;
  }

  .disc-body {
    padding: 20px 16px;
  }

  /* --- Contact Grid (Horizontal Scroll) --- */
  .contact-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 10px 16px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .contact-grid::-webkit-scrollbar {
    display: none;
  }

  .contact-card {
    flex: 0 0 80vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  .contact-card {
    padding: 20px 14px;
  }

  /* --- Team Grid --- */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  /* --- Closing CTA --- */
  .closing-inner h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .closing-inner > p {
    font-size: 0.9rem;
  }

  .closing-mantras {
    gap: 6px;
    flex-direction: column;
  }

  .closing-mantras .cm-div {
    display: none;
  }

  .closing-inner .btn-primary.large {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  /* --- Footer --- */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px;
    font-size: 0.78rem;
  }
}

/* ══════════════════════════════════════════════
   STEP 3 — SMALL PHONE (max-width: 480px)
   Final refinements for compact screens
══════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* --- Preloader --- */
  .logo-blue,
  .logo-candle,
  .type-cursor {
    font-size: 1.8rem;
  }

  .logo-ring.active.r1 { width: 80px; height: 80px; }
  .logo-ring.active.r2 { width: 120px; height: 120px; }
  .logo-ring.active.r3 { width: 160px; height: 160px; }

  .loader-bar-wrap,
  .loader-status-row {
    width: 200px;
  }

  .fx-pair {
    display: none; /* Hide cluttered floating pairs on very small screens */
  }

  /* --- Hero --- */
  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  /* --- Roadmap horizontally scrollable cards on tiny screens --- */
  .rm-col {
    width: 88vw;
    max-width: 320px;
  }

  /* --- Offer cards wider on tiny screens --- */
  /* --- Contact & Resources (Horizontal Scroll) --- */
  .contact-grid,
  .resources-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .offer-card,
  .why-card,
  .contact-card,
  .resource-card {
    flex: 0 0 88vw;
    max-width: 320px;
  }

  /* --- Footer links stack vertically --- */
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* --- Closing CTA --- */
  .closing-section {
    padding: 60px 16px;
  }

  .closing-inner h2 {
    font-size: 1.45rem;
    letter-spacing: -0.5px;
  }

  .closing-inner .btn-primary.large {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }
}


/* ══════════════════════════════════════════════
   CLOSING CTA SECTION
══════════════════════════════════════════════ */
.closing-section {
  position: relative;
  padding: 120px 24px 140px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(4, 10, 22, 1) 50%,
    var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(139, 92, 246, 0.06) 40%,
    transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


.closing-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: var(--text);
  max-width: 700px;
}

.closing-inner > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 600px;
  text-align: center;
}

.closing-inner > p strong {
  color: var(--text);
  font-weight: 600;
}

.closing-mantras {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.closing-mantras span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.03em;
}

.cm-div {
  color: var(--text-dim) !important;
  font-weight: 300 !important;
  font-size: 1rem !important;
}

.closing-inner .btn-primary.large {
  margin-top: 12px;
  padding: 16px 44px;
  font-size: 1rem;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.3), 0 10px 30px rgba(0,0,0,0.4);
  letter-spacing: 0.01em;
}

.closing-inner .btn-primary.large:hover {
  box-shadow: 0 0 70px rgba(59, 130, 246, 0.5), 0 14px 40px rgba(0,0,0,0.5);
}

