/* ============================================================
   Bullishub — premium fintech landing page
   Type: Space Grotesk (display) + Plus Jakarta Sans (UI/body)
   ============================================================ */

:root {
  /* base */
  --ink: #08090c;
  --ink-2: #0e1014;
  --ink-3: #15181e;
  --paper: #f6f7fb;
  --paper-2: #eef0f6;
  --white: #ffffff;
  --line: rgba(12, 19, 34, 0.08);
  --line-dark: rgba(255, 255, 255, 0.10);

  --text: #0c1322;
  --text-2: #5b6472;
  --text-3: #98a1b0;
  --text-onink: #f4f6fb;
  --text-onink-2: #9aa3b2;

  /* accents (per-section) */
  --blue-1: #2e9ce6;
  --blue-2: #7fd8ff;
  --green-1: #21c95a;
  --green-2: #10b8bd;
  --purple-1: #6b5bf0;
  --purple-2: #a99bff;
  --orange-1: #ff7a45;
  --orange-2: #ffb185;
  --red-1: #ff4d5e;
  --red-2: #ff8a7c;
  --indigo-1: #2b2f8f;
  --indigo-2: #6068e6;

  /* radii + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shadow-card: 0 24px 60px -24px rgba(12, 19, 34, 0.28), 0 4px 14px -6px rgba(12, 19, 34, 0.12);
  --shadow-soft: 0 12px 40px -18px rgba(12, 19, 34, 0.22);
  --shadow-phone: 0 60px 120px -40px rgba(12, 19, 34, 0.55), 0 30px 60px -30px rgba(12, 19, 34, 0.35);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3 { font-family: var(--ff-display); margin: 0; letter-spacing: -0.02em; line-height: 0.98; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-dark);
  padding: 12px 40px;
}
.nav.on-light.scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--text-onink);
  transition: color 0.4s var(--ease);
}
.nav.on-light .brand { color: var(--text); }
.brand .logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.nav.scrolled .brand .logo-img { height: 40px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-onink-2);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text-onink); }
.nav.on-light .nav-links a { color: var(--text-2); }
.nav.on-light .nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-lang {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
  box-shadow: var(--shadow-soft);
}
.nav-lang button {
  border: none; background: none;
  font-family: var(--ff-body); font-weight: 700; font-size: 12.5px;
  padding: 5px 11px; border-radius: 999px;
  color: var(--text-2); cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-lang button.active { background: var(--blue-1); color: #fff; }
.nav-lang button:not(.active):hover { color: var(--text); }
.nav-signin {
  font-size: 15px; font-weight: 600;
  color: var(--text-onink);
  transition: color 0.4s var(--ease), opacity 0.2s;
}
.nav.on-light .nav-signin { color: var(--text); }
.nav-signin:hover { opacity: 0.7; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-1), #1f7fd6);
  color: #fff;
  box-shadow: 0 10px 26px -10px var(--blue-1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--blue-1); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--white);
  color: var(--text);
  padding: 190px 0 96px;
  overflow: hidden;
  text-align: center;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12, 19, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 19, 34, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 0%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 1000px; height: 640px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(46, 156, 230, 0.16), transparent 64%);
  filter: blur(20px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  margin-bottom: 38px;
}
.avatars { display: flex; }
.avatars .av {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.avatars .av:first-child { margin-left: 0; }
/* gradient avatars (self-contained, no external images) */
.av, .charty-av, .post-av, .lc-av, .lw-av .a, .lsc-av {
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: var(--ff-body);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  background-size: cover; background-position: center;
}
.proof-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.stars { color: #ffc24b; font-size: 12px; letter-spacing: 2px; }
.proof-sub { font-size: 13px; font-weight: 600; color: var(--text); }

.hero h1 {
  font-size: clamp(72px, 14.5vw, 210px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  background: linear-gradient(100deg, var(--blue-1) 12%, var(--blue-2) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto;
}
.hero-sub {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-2);
  font-weight: 500;
  margin: 30px auto 0;
}
.hero-cta { margin-top: 42px; display: flex; gap: 16px; justify-content: center; align-items: center; }
.btn-ghost-light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-ghost-light:hover { background: var(--paper); transform: translateY(-2px); }

/* ticker */
.ticker {
  position: relative; z-index: 2;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 34px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.ticker-pair { color: var(--text); }
.ticker-val { color: var(--text-2); font-variant-numeric: tabular-nums; }
.ticker-chg { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker-chg.up { color: #2fd06f; }
.ticker-chg.down { color: #ff5a6a; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   STATEMENT (dreams)
   ============================================================ */
.statement {
  background: var(--paper);
  color: var(--text);
  padding: 130px 0 150px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(33, 201, 90, 0.16), transparent 65%);
  filter: blur(18px);
}
.statement .wrap { position: relative; z-index: 2; }
.statement h2 {
  font-size: clamp(44px, 7.4vw, 110px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 0 auto;
  background: linear-gradient(105deg, var(--green-1) 8%, var(--green-2) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.statement-foot {
  margin-top: 34px;
  font-size: 18px;
  color: var(--text-2);
  font-weight: 500;
}

/* ============================================================
   FEATURE SECTIONS (alternating)
   ============================================================ */
.feature {
  background: var(--white);
  padding: 120px 0;
  position: relative;
}
.feature.alt { background: var(--paper); }
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-visual { order: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.feature-copy h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
.feature-copy .grad {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-copy p.lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 40ch;
  font-weight: 450;
}
.feature-copy .btn { margin-top: 34px; }

.feature-points { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.feature-point { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--text); }
.feature-point .tick {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  color: #fff;
}
.feature-point .tick svg { width: 12px; height: 12px; }

/* per-section accent helpers */
.acc-purple { --a1: var(--purple-1); --a2: var(--purple-2); }
.acc-orange { --a1: var(--orange-1); --a2: var(--orange-2); }
.acc-red    { --a1: var(--red-1);    --a2: var(--red-2); }
.acc-indigo { --a1: var(--indigo-1); --a2: var(--indigo-2); }
.acc-blue   { --a1: var(--blue-1);   --a2: var(--blue-2); }

.feature .eyebrow { color: var(--a1); background: color-mix(in srgb, var(--a1) 12%, transparent); }
.feature .grad { background-image: linear-gradient(100deg, var(--a1), var(--a2)); }
.feature .btn-accent {
  background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 78%, #000));
  color: #fff;
  box-shadow: 0 12px 30px -12px var(--a1);
}
.feature .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--a1); }
.feature .tick { background: var(--a1); }

.feature-visual { display: flex; justify-content: center; position: relative; }
.visual-halo {
  position: absolute; inset: -8% 6%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--a1) 26%, transparent), transparent 66%);
  filter: blur(40px);
  z-index: 0;
}

/* ============================================================
   PHONE FRAME
   ============================================================ */
.phone {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 660px;
  background: #0b0c10;
  border-radius: 54px;
  padding: 13px;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone::after { /* side buttons */
  content: "";
  position: absolute; right: -2px; top: 150px;
  width: 3px; height: 64px; border-radius: 3px;
  background: #2a2d35;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.island {
  position: absolute; top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 30px;
  background: #08090c;
  border-radius: 16px;
  z-index: 20;
}
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 6px;
  font-size: 13px; font-weight: 700;
  color: var(--text);
  flex: none;
}
.statusbar .sb-right { display: flex; align-items: center; gap: 6px; }
.statusbar .sb-right svg { display: block; }
.batt { display:flex; align-items:center; gap:3px; font-size:11px; font-weight:700; }

/* generic app header */
.app-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 18px 14px;
  flex: none;
}
.app-head .h-title { font-weight: 700; font-size: 16px; display:flex; align-items:center; gap:6px; }
.app-head .h-sub { font-size: 11.5px; color: var(--text-3); font-weight: 500; text-align:center; }
.app-head .h-link { font-size: 14px; font-weight: 600; color: var(--purple-1); }
.app-head .chev { color: var(--text-3); font-size: 20px; font-weight: 700; }

/* ---- Course screen ---- */
.course-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.course-list { padding: 0 16px 40px; }
.course-list .section-h {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-3);
  padding: 18px 6px 8px;
}
.lesson {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 12px;
  border-radius: 14px;
  margin-bottom: 4px;
}
.lesson.active { background: color-mix(in srgb, var(--purple-1) 9%, #fff); }
.lesson .ring {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #d8dce4; flex: none;
  display: grid; place-items: center;
}
.lesson.done .ring { background: var(--purple-1); border-color: var(--purple-1); }
.lesson.done .ring svg { width: 12px; height: 12px; color: #fff; }
.lesson .l-title { font-size: 14.5px; font-weight: 600; color: var(--text); }
.lesson.done .l-title { color: var(--text-2); }
.lesson .l-meta { font-size: 11.5px; color: var(--text-3); margin-top: 2px; font-weight: 500; }
.lesson .l-play {
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%;
  background: color-mix(in srgb, var(--purple-1) 12%, #fff);
  color: var(--purple-1); display: grid; place-items: center; flex:none;
}
.lesson .l-play svg { width: 11px; height: 11px; }

/* progress bar in course header */
.course-prog {
  margin: 0 18px 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--purple-1) 8%, #fff);
  flex: none;
}
.course-prog .cp-top { display:flex; justify-content:space-between; font-size:12px; font-weight:700; margin-bottom:8px; }
.course-prog .cp-top .pct { color: var(--purple-1); }
.cp-bar { height: 7px; border-radius: 6px; background: #e7e9f2; overflow:hidden; }
.cp-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--purple-1), var(--purple-2)); width: 0; }

/* ---- Social feed (Charty) ---- */
.charty-top {
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 18px 12px; flex:none;
}
.charty-logo { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--blue-1), var(--blue-2)); }
.charty-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.charty-av { width: 28px; height: 28px; border-radius: 50%; background-size: cover; background-position:center; }
.charty-tabs {
  display:flex; justify-content: space-around;
  padding: 0 10px; border-bottom: 1px solid var(--line); flex:none;
}
.charty-tabs .tab {
  font-size: 13.5px; font-weight: 600; color: var(--text-3);
  padding: 11px 4px 13px; position: relative;
}
.charty-tabs .tab .badge {
  display:inline-grid; place-items:center; min-width:17px; height:17px; padding:0 4px;
  border-radius: 9px; background: var(--orange-1); color:#fff; font-size:10px; margin-left:5px;
}
.charty-tabs .tab.active { color: var(--text); }
.charty-tabs .tab.active::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:2.5px;
  border-radius: 2px; background: var(--orange-1);
}
.feed { flex:1; overflow:hidden; padding: 14px 16px; }
.post-head { display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.post-av { width:30px; height:30px; border-radius:50%; background-size:cover; background-position:center; flex:none; }
.post-author { font-size:13px; font-weight:700; }
.post-time { font-size:11px; color: var(--text-3); font-weight:500; }
.post-title { font-size:15px; font-weight:700; margin-bottom:6px; }
.post-body { font-size:13px; line-height:1.5; color: var(--text-2); }
.post-media {
  margin-top:12px; border-radius:16px; overflow:hidden; position:relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1b2a6b, #0c1444);
}
.post-media .pm-play {
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width:46px; height:46px; border-radius:50%; background: rgba(255,255,255,0.92);
  display:grid; place-items:center; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.post-media .pm-play svg { width:16px; height:16px; color:#1b2a6b; margin-left:2px; }
.post-actions { display:flex; gap:20px; margin-top:12px; color: var(--text-3); font-size:12px; font-weight:600; }
.post-actions span { display:flex; align-items:center; gap:5px; }
.post-actions svg { width:14px; height:14px; }

/* ---- Livestream ---- */
.live-card {
  margin: 14px 16px; border-radius:18px; overflow:hidden; position:relative;
  aspect-ratio: 16/11;
  background: linear-gradient(160deg, #2a1d6b, #120a3a);
}
.live-chart { position:absolute; inset:0; opacity:0.55; }
.live-badge {
  position:absolute; top:12px; left:12px; z-index:3;
  display:flex; align-items:center; gap:6px;
  background: var(--red-1); color:#fff; font-size:10.5px; font-weight:800;
  padding:4px 9px; border-radius:8px; letter-spacing:0.04em;
}
.live-badge .dot { width:6px; height:6px; border-radius:50%; background:#fff; }
.live-overlay {
  position:absolute; inset:0; z-index:2; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; color:#fff;
}
.live-overlay .lo-title { font-family: var(--ff-display); font-weight:700; font-size:30px; line-height:0.9; letter-spacing:-0.02em; }
.live-overlay .lo-host { margin-top:8px; font-size:11px; font-weight:700; letter-spacing:0.12em; color: rgba(255,255,255,0.75); }
.live-overlay .lo-host b { color: var(--red-2); }
.live-meta { padding: 4px 18px 0; }
.live-meta .lm-title { font-size:15px; font-weight:700; }
.live-meta .lm-sub { font-size:12px; color:var(--text-3); margin-top:3px; font-weight:500; }
.live-watchers { display:flex; align-items:center; gap:7px; margin-top:12px; font-size:12px; color:var(--text-2); font-weight:600; }
.live-watchers .lw-av { display:flex; }
.live-watchers .lw-av .a { width:20px; height:20px; border-radius:50%; border:2px solid #fff; margin-left:-7px; background-size:cover; background-position:center; }
.live-watchers .lw-av .a:first-child{ margin-left:0; }
.live-chat { padding: 0 16px; margin-top:12px; display:flex; flex-direction:column; gap:9px; }
.lc-msg { display:flex; gap:8px; align-items:flex-start; }
.lc-msg .lc-av { width:22px; height:22px; border-radius:50%; flex:none; background-size:cover; background-position:center; }
.lc-bubble { background: var(--paper); border-radius:12px; padding:8px 11px; font-size:12px; }
.lc-bubble b { display:block; font-size:11px; color: var(--text-2); margin-bottom:1px; }

/* ============================================================
   SOLUTION GRID
   ============================================================ */
.solution { background: var(--white); padding: 120px 0 140px; }
.solution-head { text-align:center; margin-bottom: 80px; }
.solution-head h2 {
  font-size: clamp(40px, 6vw, 86px);
  font-weight:700; line-height:0.94; letter-spacing:-0.04em;
  max-width: 16ch; margin: 0 auto;
  background: linear-gradient(105deg, var(--indigo-1), var(--indigo-2));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.sol-grid {
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sol-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 40px 0;
  background: var(--white);
  overflow:hidden;
  position:relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display:flex; flex-direction:column;
  min-height: 420px;
}
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.sol-card h3 { font-size: 26px; font-weight:700; letter-spacing:-0.025em; }
.sol-card p { margin-top:12px; font-size:15.5px; line-height:1.55; color: var(--text-2); max-width: 38ch; }
.sol-widget { margin-top: 32px; flex:1; display:flex; align-items:flex-end; }

/* mini widgets */
.w-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  width: 100%;
}
.w-title { font-size: 16px; font-weight: 800; letter-spacing:-0.02em; margin-bottom: 14px; }

/* courses widget */
.courses-row { display:flex; gap: 12px; }
.course-tile {
  flex:1; border-radius: 16px; padding: 14px 12px; text-align:center;
  border:1px solid var(--line);
}
.course-tile .ct-ico { font-size: 26px; }
.course-tile .ct-pct { font-size: 13px; font-weight:800; margin-top:6px; }
.course-tile .ct-name { font-size: 11.5px; font-weight:600; color: var(--text-2); margin-top:4px; line-height:1.25; }
.course-tile.t-green { background: color-mix(in srgb, var(--green-1) 12%, #fff); }
.course-tile.t-green .ct-pct { color: var(--green-1); }
.course-tile.t-pink { background: color-mix(in srgb, var(--red-1) 11%, #fff); }
.course-tile.t-pink .ct-pct { color: var(--red-1); }
.course-tile.t-blue { background: color-mix(in srgb, var(--blue-1) 12%, #fff); }
.course-tile.t-blue .ct-pct { color: var(--blue-1); }

/* strategies widget */
.strat-row { display:flex; gap:12px; overflow:hidden; }
.strat-card { flex:none; width: 130px; border:1px solid var(--line); border-radius:14px; padding:14px; }
.strat-card .sc-ico { font-size:20px; }
.strat-card .sc-name { font-size:13px; font-weight:700; margin-top:8px; line-height:1.2; min-height:32px; }
.strat-bar { height:6px; border-radius:5px; background:#eceef4; margin-top:12px; overflow:hidden; }
.strat-bar i { display:block; height:100%; border-radius:5px; background: linear-gradient(90deg, #ff4d8f, #a855f7); }

/* chat widget */
.chat-w { display:flex; flex-direction:column; gap:12px; }
.chat-msg { display:flex; align-items:flex-start; gap:10px; }
.chat-ava { width:30px; height:30px; border-radius:9px; background: var(--blue-2); color:#fff; display:grid; place-items:center; font-weight:800; font-size:14px; flex:none; }
.chat-ava.alt { background: var(--blue-1); }
.chat-bubble { background: var(--paper); border-radius: 12px; padding: 9px 13px; font-size:13.5px; font-weight:600; flex:1; }
.chat-bubble .cb-time { font-size:10px; color: var(--text-3); float:right; font-weight:600; }
.chat-input {
  display:flex; align-items:center; gap:8px;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 12px;
}
.chat-input .ci-ava { width:24px; height:24px; border-radius:7px; background: var(--blue-1); color:#fff; display:grid; place-items:center; font-weight:800; font-size:12px; }
.chat-input .ci-text { flex:1; font-size:13px; color: var(--text-3); }
.chat-input .ci-send { width:32px; height:32px; border-radius:9px; background: var(--text); color:#fff; display:grid; place-items:center; flex:none; }
.chat-input .ci-send svg { width:15px; height:15px; }

/* livestream widget */
.ls-w { display:flex; gap:12px; }
.ls-video {
  position:relative; flex: 1.2; border-radius:14px; overflow:hidden;
  aspect-ratio: 3/4; background: #0c0f17;
}
.ls-video .lsv-bars { position:absolute; inset:0; display:flex; align-items:flex-end; gap:3px; padding:10px; }
.ls-video .lsv-bars i { flex:1; border-radius:2px; }
.ls-video .lsv-host { position:absolute; top:8px; left:8px; display:flex; align-items:center; gap:5px; font-size:10px; font-weight:700; color:#7fd8ff; }
.ls-video .lsv-host .h-av { width:16px; height:16px; border-radius:50%; background:#2a2d35; }
.ls-video .lsv-live { position:absolute; bottom:8px; left:8px; display:flex; align-items:center; gap:4px; background: var(--red-1); color:#fff; font-size:9px; font-weight:800; padding:3px 7px; border-radius:6px; }
.ls-video .lsv-live .dot{ width:5px;height:5px;border-radius:50%;background:#fff;}
.ls-chat { flex:1; display:flex; flex-direction:column; }
.ls-chat .lsc-title { font-size:13px; font-weight:800; margin-bottom:10px; }
.ls-chat .lsc-msg { display:flex; gap:7px; margin-bottom:9px; align-items:flex-start; }
.ls-chat .lsc-av { width:18px; height:18px; border-radius:50%; flex:none; background-size:cover; background-position:center; }
.ls-chat .lsc-bub { background: var(--paper); border-radius:10px; padding:6px 9px; font-size:11px; line-height:1.3; }
.ls-chat .lsc-input { margin-top:auto; border:1px solid var(--line); border-radius:10px; padding:7px 10px; font-size:11px; color:var(--text-3); display:flex; align-items:center; justify-content:space-between; }
.ls-chat .lsc-input svg { width:14px; height:14px; color: var(--blue-1); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 9, 12, 0.55);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 24px;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 440px;
  background: #fff; border-radius: 26px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s var(--ease);
  text-align: center;
}
.modal-scrim.open .modal { transform: none; }
.modal .m-mark {
  width: 54px; height:54px; border-radius:15px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  display:grid; place-items:center; box-shadow: 0 12px 28px -10px var(--blue-1);
}
.modal .m-mark svg { width: 28px; height:28px; }
.modal h3 { font-size: 27px; font-weight:700; letter-spacing:-0.025em; }
.modal p { margin-top:10px; color: var(--text-2); font-size:15.5px; line-height:1.5; }
.modal form { margin-top: 24px; display:flex; flex-direction:column; gap:12px; }
.modal input {
  width:100%; padding: 15px 18px; border-radius: 14px;
  border:1.5px solid var(--line); font-family:inherit; font-size:15px;
  transition: border-color 0.2s;
}
.modal input:focus { outline:none; border-color: var(--blue-1); }
.modal .btn { width:100%; }
.modal .m-fine { margin-top: 6px; font-size:12.5px; color: var(--text-3); }
.modal .m-close {
  position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center; color: var(--text-3); background: var(--paper);
}
.modal-success { display:none; }
.modal.done .modal-form { display:none; }
.modal.done .modal-success { display:block; }
.modal .m-check {
  width: 64px; height:64px; border-radius:50%; margin: 0 auto 20px;
  background: color-mix(in srgb, var(--green-1) 14%, #fff);
  color: var(--green-1); display:grid; place-items:center;
}
.modal .m-check svg { width:32px; height:32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 84px 0 40px;
  color: var(--text);
}
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, var(--blue-1) 0%, #2f7fe0 55%, #4aa6ee 100%);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  margin-bottom: 80px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -28px var(--blue-1);
}
.footer-cta::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22), transparent 62%);
  pointer-events: none;
}
.footer-cta .fc-copy { position: relative; z-index: 1; }
.footer-cta h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 0.98;
  color: #fff; max-width: 18ch;
}
.footer-cta p { margin-top: 14px; color: rgba(255,255,255,0.82); font-size: 17px; font-weight: 500; }
.footer-cta .btn-primary {
  background: #fff; color: var(--blue-1);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.3);
}
.footer-cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0,0,0,0.35); }
.footer-cta .btn { position: relative; z-index: 1; flex: none; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo-img { height: 44px; width: auto; display: block; }
.footer-tag {
  margin-top: 20px; color: var(--text-2);
  font-size: 15px; line-height: 1.6; max-width: 32ch;
}
.footer-social { display: flex; gap: 10px; margin-top: 26px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-2);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-social a:hover {
  color: #fff; background: var(--blue-1);
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 10px 22px -10px var(--blue-1);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-3); margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 15px; color: var(--text-2); font-weight: 500; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-col .pill {
  display: inline-block; margin-left: 7px; font-size: 10px; font-weight: 800;
  letter-spacing: 0.04em; padding: 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--green-1) 16%, #fff); color: var(--green-1);
}

.footer-risk {
  margin-top: 36px;
  font-size: 12.5px; line-height: 1.6; color: var(--text-3);
  max-width: 95ch;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-top: 32px;
}
.footer-copy { font-size: 13.5px; color: var(--text-3); font-weight: 500; }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { font-size: 13.5px; color: var(--text-3); font-weight: 500; transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE (graceful down-scale; primary target desktop)
   ============================================================ */
@media (max-width: 940px) {
  .wrap { padding: 0 24px; }
  .nav, .nav.scrolled { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .feature-inner { grid-template-columns: 1fr; gap: 54px; }
  .feature.reverse .feature-copy { order: 1; }
  .feature.reverse .feature-visual { order: 2; }
  .feature-copy h2, .feature-copy p.lead { max-width: none; }
  .sol-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
