:root {
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --surface: #fff;
  --background: #f2f4f6;
  --canvas: #fff;
  --card: #fff;
  --card-foreground: #191d24;
  --popover: #fff;
  --popover-foreground: #191d24;
  --muted: #eef0f3;
  --muted-foreground: #636973;
  --foreground: #191d24;
  --border: #dee1e5;
  --input: #dee1e5;
  --ring: #f14348;
  --primary: #f14348;
  --primary-foreground: #fcfcfc;
  --accent: #eef0f3;
  --accent-foreground: #191d24;
  --secondary: #eef0f3;
  --secondary-foreground: #191d24;
  --color-success: #009c86;
  --bg-success: #d0f5eb8c;
  --color-danger: #d93442;
  --color-warning: #df911a;
  --color-info: #2d86c8;
  --bg-info: #e1f1ff99;
  --bg-warning: #ffebd499;
  --bg-danger: #ffe7e599;
  --success: #009c86;
  --warning: #df911a;
  --destructive: #d93442;
  --destructive-foreground: #fcfcfc;
  --radius: .5rem;
}

.dark {
  --background: #0e0f12;
  --surface: #18191d;
  --canvas: #0e0f12;
  --card: #18191d;
  --card-foreground: #f0f2f4;
  --popover: #18191d;
  --popover-foreground: #f0f2f4;
  --muted: #212327;
  --muted-foreground: #9399a1;
  --foreground: #f0f2f4;
  --border: #2c2e32;
  --input: #2c2e32;
  --ring: #fc5858;
  --primary: #fc5858;
  --primary-foreground: #fcfcfc;
  --accent: #24262a;
  --accent-foreground: #f0f2f4;
  --secondary: #24262a;
  --secondary-foreground: #f0f2f4;
  --color-success: #29b69e;
  --bg-success: #09746338;
  --color-danger: #ec5258;
  --color-warning: #f0a646;
  --color-info: #519fdd;
  --bg-info: #2a597f40;
  --bg-warning: #96662640;
  --bg-danger: #944a4940;
  --destructive: #ec5258;
  --destructive-foreground: #fcfcfc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: inline-block; }

/* ---- layout helpers ---- */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-lg { max-width: 64rem; }
.container-5xl { max-width: 64rem; }
.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-background { color: var(--background); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-success { color: var(--color-success); }
.bg-background { background: var(--background); }
.bg-card { background: var(--card); }
.bg-canvas { background: var(--canvas); }
.bg-primary { background: var(--primary); }
.bg-foreground { background: var(--foreground); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--secondary); }
.bg-muted { background: var(--muted); }
.bg-secondary { background: var(--secondary); }
.border-border { border-color: var(--border); }

.font-mono { font-family: var(--font-mono); }

/* ---- header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dark .site-header { background: rgba(24,25,29,0.9); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 72rem; margin: 0 auto; padding: 0.75rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; color: var(--primary); }
.main-nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 0.875rem; color: var(--muted-foreground);
  transition: color .15s;
}
.main-nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-telegram {
  display: none; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); border-radius: 0.375rem;
  padding: 0.375rem 0.75rem; font-size: 0.875rem; color: var(--muted-foreground);
  transition: border-color .15s, color .15s;
}
@media (min-width: 640px) { .btn-telegram { display: flex; } }
.btn-telegram:hover { border-color: var(--foreground); color: var(--foreground); }
.btn-login {
  padding: 0.375rem 0.75rem; font-size: 0.875rem; font-weight: 500;
  color: var(--muted-foreground); transition: color .15s;
}
.btn-login:hover { color: var(--foreground); }
.btn-get-started {
  border-radius: 0.375rem; background: var(--primary); color: var(--primary-foreground);
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 500;
  transition: opacity .15s;
}
.btn-get-started:hover { opacity: 0.9; }

/* ---- hero ---- */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  background: linear-gradient(to bottom, var(--surface), var(--canvas));
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-content { position: relative; z-index: 10; padding: 8rem 0 4rem; }
.hero-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .hero-inner { padding: 0 3rem; } }
.hero-grid { display: grid; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }
.hero h1 {
  color: #fff; font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub {
  color: rgba(255,255,255,0.8); font-size: 1.125rem; line-height: 1.625;
  max-width: 32rem; margin: 0 auto 2rem;
}
@media (min-width: 1024px) { .hero-sub { margin-left: 0; } }
.hero-ctas {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }
.btn-view-plans {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 0.5rem; background: var(--primary); color: var(--primary-foreground);
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  transition: transform .15s, opacity .15s;
}
.btn-view-plans:hover { transform: scale(1.05); opacity: 0.9; }
.btn-telegram-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 0.5rem; background: var(--accent); color: var(--accent-foreground);
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  transition: opacity .15s;
}
.btn-telegram-hero:hover { opacity: 0.9; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 1024px) { .hero-stats { margin-left: 0; } }
.hero-stat { text-align: center; }
@media (min-width: 1024px) { .hero-stat { text-align: left; } }
.hero-stat .val { font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
.hero-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* ---- ticker ---- */
.ticker-wrap {
  width: 100%; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ticker-track { display: flex; width: fit-content; padding: 0.75rem 0; animation: ticker-scroll 80s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1); padding: 0 1.5rem; white-space: nowrap;
}
.ticker-sym { font-size: 0.875rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; }
.ticker-price { font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.ticker-pct { font-size: 0.75rem; font-weight: 600; color: var(--color-success); }
.ticker-pct.down { color: #f87171; }
.ticker-dot { margin-left: 0.25rem; width: 6px; height: 6px; border-radius: 9999px; background: var(--color-success); }
.ticker-dot.down { background: #f87171; }
@keyframes ticker-scroll { 0% { transform: translate(0); } 100% { transform: translate(-50%); } }

/* ---- section base ---- */
.section { padding: 5rem 0; }
.section-canvas { background: var(--canvas); }
.section-card { background: var(--card); }

/* ---- live pool stats ---- */
.pool-stats { position: relative; }
.grid-bg {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(#E5E5E5 1px, transparent 1px), linear-gradient(90deg, #E5E5E5 1px, transparent 1px);
  background-size: 32px 32px;
}
.dark .grid-bg { background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px); }
.section-head { max-width: 72rem; margin: 0 auto 3rem; padding: 0 1rem; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 9999px; background: #84cc16; box-shadow: 0 0 8px #84CC16; animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.eyebrow-label { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.section-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; color: var(--primary); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-sub { max-width: 32rem; color: var(--muted-foreground); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.stats-grid {
  max-width: 72rem; margin: 0 auto; padding: 0 1rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border: 1px solid var(--border); background: var(--secondary); border-radius: 2px; overflow: hidden;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stat-card {
  position: relative; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.8); padding: 1rem;
  transition: background .15s;
}
.dark .stat-card { background: rgba(24,25,29,0.8); }
.stat-card:hover { background: rgba(255,255,255,0.9); }
.dark .stat-card:hover { background: rgba(24,25,29,0.9); }
.stat-card.span-2 { grid-column: span 2; }
@media (min-width: 1024px) { .stat-card.span-2 { grid-column: span 2; } }
.stat-status { position: absolute; top: 0.5rem; right: 0.5rem; display: none; }
@media (min-width: 768px) { .stat-status { display: block; } }
.stat-status span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; color: var(--muted-foreground); }
.stat-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.stat-value { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.stat-value .num { font-family: var(--font-mono); font-size: 1.875rem; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--primary); }
@media (min-width: 768px) { .stat-value .num { font-size: 2.25rem; } }
.stat-value .unit { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.stat-foot { display: flex; align-items: center; justify-content: space-between; }
.stat-badge { border-radius: 9999px; background: var(--bg-success); padding: 0.125rem 0.5rem; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--color-success); }
.stat-chart { width: 80px; height: 24px; overflow: visible; }
.stat-note { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 10px; color: var(--muted-foreground); }
.stat-updated { position: absolute; right: 0.25rem; bottom: 0.25rem; display: none; }
@media (min-width: 768px) { .stat-updated { display: block; } }
.stat-updated span { font-family: var(--font-mono); font-size: 8px; color: rgba(99,105,115,0.5); }

/* ---- plans ---- */
.plans-section { position: relative; }
.dot-bg { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(#000 1px, transparent 1px); background-size: 32px 32px; }
.plans-head { max-width: 64rem; margin: 0 auto 3rem; text-align: center; padding: 0 1rem; }
.now-active {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  border-radius: 9999px; background: var(--bg-success); padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--color-success);
}
.now-active .dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--color-success); animation: pulse 2s infinite; }
.plans-head h2 { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .plans-head h2 { font-size: 3rem; } }
.plans-head p { max-width: 48rem; margin: 0 auto; color: var(--muted-foreground); }
@media (min-width: 768px) { .plans-head p { font-size: 1.125rem; } }

.plans-grid { max-width: 64rem; margin: 0 auto; padding: 0 1rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: 1fr 1fr; } }
.plan-card { border-radius: 1.5rem; background: var(--card); padding: 1.5rem; transition: box-shadow .2s; }
@media (min-width: 768px) { .plan-card { padding: 2rem; } }
.plan-card.default { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.plan-card.default:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.plan-card.featured { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); outline: 2px solid var(--ring); outline-color: rgba(241,67,72,0.2); }
.plan-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); z-index: 10; }
.plan-badge span { border-radius: 9999px; background: var(--primary); padding: 0.25rem 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; color: #fff; }
.plan-top { margin-top: 0.5rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .plan-top { flex-direction: row; align-items: center; } }
.plan-id { display: flex; align-items: center; gap: 1rem; }
.plan-icon { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; }
@media (min-width: 768px) { .plan-icon { width: 3.5rem; height: 3.5rem; } }
.plan-icon svg { width: 2rem; height: 2rem; }
.plan-name h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
@media (min-width: 768px) { .plan-name h3 { font-size: 1.25rem; } }
.plan-name p { font-size: 0.875rem; color: var(--muted-foreground); }
.plan-return { border-radius: 9999px; padding: 0.375rem 1rem; align-self: flex-start; background: var(--secondary); color: var(--foreground); }
@media (min-width: 640px) { .plan-return { align-self: auto; padding: 0.625rem 1.25rem; } }
.plan-return.featured { background: var(--primary); color: var(--primary-foreground); }
.plan-return span { font-size: 1rem; font-weight: 500; white-space: nowrap; }
@media (min-width: 768px) { .plan-return span { font-size: 1.125rem; } }
.plan-table-wrap { margin: 0 -1rem; overflow-x: auto; padding: 0 1rem; }
@media (min-width: 768px) { .plan-table-wrap { margin: 0; padding: 0; } }
.plan-table { min-width: 280px; border-radius: 0.75rem; background: var(--muted); padding: 1rem; }
@media (min-width: 768px) { .plan-table { min-width: 0; } }
.plan-thead { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-bottom: 0.5rem; margin-bottom: 0.5rem; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }
.plan-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-radius: 0.5rem; padding: 0.5rem 0; font-size: 0.875rem; transition: background .15s; cursor: pointer; }
.plan-row:hover { background: var(--card); }
.plan-row .dep { color: var(--muted-foreground); }
.plan-row .ret { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--primary); }
.plan-row .pro { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--color-success); }
.plan-cta {
  display: block; width: 100%; border-radius: 0.75rem; padding: 1rem 0; text-align: center;
  font-size: 0.875rem; font-weight: 600; margin-top: 1rem;
  transition: transform .3s, opacity .15s;
}
.plan-cta.default { background: var(--foreground); color: var(--background); }
.plan-cta.featured { background: var(--primary); color: var(--primary-foreground); }
.plan-cta:hover { transform: scale(1.02); opacity: 0.9; }

.plans-foot { max-width: 48rem; margin: 4rem auto 0; text-align: center; }
.plans-foot p { color: var(--muted-foreground); }
@media (min-width: 768px) { .plans-foot p { font-size: 1.125rem; } }
.plans-foot .win { font-weight: 600; color: var(--color-success); }
.btn-dm-admin {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 2rem;
  border-radius: 9999px; background: var(--primary); color: var(--primary-foreground);
  padding: 1rem 1.75rem; font-size: 1rem; font-weight: 600; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: transform .15s, box-shadow .15s;
}
.btn-dm-admin:hover { transform: scale(1.03); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.plans-foot .footnote { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---- services ---- */
.services-section { background: var(--card); padding: 8rem 0; }
.services-head { max-width: 72rem; margin: 0 auto 4rem; text-align: center; padding: 0 1rem; }
.services-head h2 { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
@media (min-width: 768px) { .services-head h2 { font-size: 3rem; } }
.services-head p { max-width: 42rem; margin: 0 auto; font-size: 1.125rem; color: var(--muted-foreground); }
.services-grid { max-width: 72rem; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.service-card {
  position: relative; display: flex; flex-direction: column; border-radius: 1rem;
  background: var(--card); padding: 1.5rem; transition: box-shadow .3s;
}
@media (min-width: 768px) { .service-card { padding: 2rem; } }
.service-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.service-card.featured { outline: 2px solid rgba(241,67,72,0.2); }
.service-tag { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); z-index: 10; }
.service-tag span { border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.service-tag.orange span { background: rgba(249,115,22,0.15); color: #ea580c; }
.dark .service-tag.orange span { color: #fb923c; }
.service-tag.popular span { background: var(--secondary); color: var(--foreground); }
.service-tag.blue span { background: rgba(59,130,246,0.15); color: #2563eb; }
.dark .service-tag.blue span { color: #60a5fa; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.125rem; line-height: 1.25; font-weight: 700; color: var(--primary); }
.service-desc { margin-bottom: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.service-feats { margin-bottom: 1.5rem; }
.service-feat { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.service-feat .check { margin-top: 0.125rem; color: var(--color-success); }
.service-price { margin-bottom: 1rem; }
.service-price .amount { font-size: 1.875rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--primary); }
.service-price .period { margin-left: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.service-cta {
  margin-top: auto; display: block; width: 100%; border-radius: 0.75rem; padding: 0.75rem 0;
  text-align: center; font-size: 0.875rem; font-weight: 600;
  transition: transform .3s, opacity .15s;
}
.service-cta.default { background: var(--foreground); color: var(--background); }
.service-cta.featured { background: var(--primary); color: var(--primary-foreground); }
.service-cta:hover { transform: scale(1.02); opacity: 0.9; }
.service-mini { margin-top: 0.75rem; display: block; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
.service-mini:hover { color: var(--primary); }

/* ---- how it works ---- */
.how-section { background: var(--canvas); padding: 2.5rem 0; }
@media (min-width: 640px) { .how-section { padding: 3.5rem 0; } }
.how-inner { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .how-inner { padding: 0 1.5rem; } }
.how-head { margin-bottom: 2rem; text-align: center; }
@media (min-width: 640px) { .how-head { margin-bottom: 3rem; } }
.how-badge {
  display: inline-block; margin-bottom: 0.75rem; border-radius: 9999px; background: var(--muted);
  padding: 0.25rem 0.625rem; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary);
}
@media (min-width: 640px) { .how-badge { padding: 0.375rem 0.75rem; font-size: 10px; } }
.how-head h2 { margin-bottom: 0.5rem; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
@media (min-width: 640px) { .how-head h2 { font-size: 1.875rem; } }
@media (min-width: 768px) { .how-head h2 { font-size: 2.25rem; } }
.how-head p { font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .how-head p { font-size: 1rem; } }

/* mobile timeline */
.tl-mobile { position: relative; padding-left: 2rem; }
@media (min-width: 640px) { .tl-mobile { padding-left: 2.5rem; } }
@media (min-width: 768px) { .tl-mobile { display: none; } }
.tl-line { position: absolute; top: 0; bottom: 0; left: 0.75rem; width: 2px; overflow: hidden; border-radius: 9999px; background: var(--secondary); }
@media (min-width: 640px) { .tl-line { left: 1rem; } }
.tl-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(to bottom, #111, #29b69e); }
.tl-steps-mobile { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .tl-steps-mobile { gap: 2rem; } }
.step-row {
  position: relative; display: flex; align-items: flex-start; gap: 0.75rem;
  transform: translateX(1rem); opacity: 0; transition: opacity .55s, transform .55s;
}
@media (min-width: 640px) { .step-row { gap: 1rem; } }
.step-row.visible { opacity: 1; transform: translate(0); }
.step-node {
  position: absolute; left: -1.5rem; z-index: 10; display: flex; width: 1.5rem; height: 1.5rem;
  transform: translateX(-50%); align-items: center; justify-content: center;
  border-radius: 9999px; border: 2px solid var(--border); background: var(--card);
}
@media (min-width: 640px) { .step-node { left: -1.75rem; width: 2rem; height: 2rem; } }
.step-node span { font-size: 9px; font-weight: 700; color: var(--primary); }
@media (min-width: 640px) { .step-node span { font-size: 10px; } }
.step-body { padding-top: 0.125rem; }
.step-body p.t { margin-bottom: 0.125rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); }
@media (min-width: 640px) { .step-body p.t { font-size: 1rem; } }
.step-body p.d { font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .step-body p.d { font-size: 0.875rem; } }
.mobile-fill { position: absolute; top: 0; left: 0; height: 0; width: 100%; background: linear-gradient(to bottom, oklch(0.5 0 0), oklch(0.62 0.12 178)); }

/* desktop timeline */
.tl-desktop { position: relative; display: none; }
@media (min-width: 768px) { .tl-desktop { display: block; } }
.tl-line-center { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); overflow: hidden; background: var(--secondary); }
.tl-fill-center { position: absolute; top: 0; left: 0; height: 0; width: 100%; background: linear-gradient(to bottom, #111, #222, #29b69e); }
.tl-step {
  position: relative; display: flex; align-items: center; margin-bottom: 3rem;
  transition: opacity .55s, transform .55s; opacity: 0;
}
.tl-step.visible { opacity: 1; }
.step-side { flex: 1; }
.step-side.left { padding-right: 2rem; text-align: right; }
.step-side.right { padding-left: 2rem; text-align: left; }
.step-number { display: block; margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted-foreground); }
.step-title { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.step-desc { font-size: 0.875rem; color: var(--muted-foreground); }
.step-side.right .step-title, .step-side.right .step-desc { opacity: 0; transform: translateX(28px); transition: opacity .55s, transform .55s; }
.tl-step.visible .step-side.right .step-title, .tl-step.visible .step-side.right .step-desc { opacity: 1; transform: translate(0); }
.step-side.left .step-title, .step-side.left .step-desc { opacity: 0; transform: translateX(-28px); transition: opacity .55s, transform .55s; }
.tl-step.visible .step-side.left .step-title, .tl-step.visible .step-side.left .step-desc { opacity: 1; transform: translate(0); }
.step-node-center { display: flex; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; }
.step-circle { position: relative; z-index: 10; display: flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid var(--border); background: var(--card); transition: border-color .4s, box-shadow .4s; }
.step-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--border); transition: background .4s; }
.tl-step.visible .step-circle { border-color: #f59e0b; box-shadow: 0 0 0 6px rgba(245,158,11,0.2); }
.tl-step.visible .step-dot { background: #f59e0b; }
.how-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .how-cta { gap: 1rem; margin-top: 3.5rem; } }
.btn-how-cta { border-radius: 0.5rem; background: var(--primary); color: #fff; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 700; transition: opacity .15s; }
@media (min-width: 640px) { .btn-how-cta { padding: 0.75rem 1.5rem; } }
.btn-how-cta:hover { opacity: 0.9; }
.how-cta-note { font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .how-cta-note { font-size: 0.875rem; } }

/* ---- advanced traders banner ---- */
.at-banner { position: relative; min-height: 80vh; overflow: hidden; }
.at-bg { position: absolute; inset: 0; pointer-events: none; }
.at-bg img { width: 100%; height: 100%; object-fit: cover; }
.at-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.at-content { position: relative; z-index: 10; display: flex; height: 100%; max-width: 56rem; margin: 0 auto; flex-direction: column; align-items: center; justify-content: center; padding: 6rem 1.5rem; }
.at-content h2 { margin-bottom: 1rem; text-align: center; font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .at-content h2 { font-size: 3rem; } }
.at-content p { margin-bottom: 2rem; text-align: center; font-size: 1.25rem; color: rgba(255,255,255,0.7); }
.btn-at-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 0.5rem;
  background: var(--card); color: var(--primary); padding: 1rem 2rem; font-size: 1.125rem; font-weight: 700;
  transition: background .15s;
}
.btn-at-cta:hover { background: rgba(255,255,255,0.9); }
.dark .btn-at-cta:hover { background: rgba(24,25,29,0.9); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--canvas); padding: 1.5rem 0; }
.footer-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; } }
.footer-brand { font-size: 1rem; font-weight: 600; color: var(--primary); }
.footer-copy { font-size: 0.875rem; color: #6b7280; }
.footer-legal { margin-top: 0.75rem; border-top: 1px solid var(--border); padding-top: 0.75rem; text-align: center; }
.footer-legal p { font-size: 0.75rem; color: #6b7280; }

/* ---- floating telegram button ---- */
.float-telegram {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50;
  display: flex; align-items: center; gap: 1rem; border-radius: 9999px;
  background: var(--primary); padding: 0.75rem 1.25rem; color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: transform .15s, box-shadow .15s, opacity .5s, transform .5s;
  opacity: 0; transform: translateY(80px); pointer-events: none;
}
.float-telegram.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-telegram:hover { transform: scale(1.05); }
.float-telegram .live {
  display: flex; align-items: center; gap: 0.5rem;
}
.float-telegram .live .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--color-success); animation: pulse 2s infinite; }
.float-telegram .live span { font-size: 0.875rem; font-weight: 500; }
.float-telegram .send { width: 16px; height: 16px; }

/* ---- auth screens ---- */
.auth-wrap { min-height: 100vh; background: var(--background); display: flex; }
.auth-side {
  display: none; width: 45%; background: oklch(0.145 0 0); position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .auth-side { display: flex; } }
.auth-side-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.auth-side-overlay { position: absolute; inset: 0; background: linear-gradient(to right, oklch(0.145 0 0), oklch(0.145 0 0) 70%, transparent); }
.auth-side-inner { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 2rem; }
.auth-side-center { text-align: center; }
.auth-logo-badge { display: flex; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; align-items: center; justify-content: center; border-radius: 1rem; background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
.auth-logo-badge svg { width: 2rem; height: 2rem; color: #fff; }
.auth-side h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.auth-side p { color: rgba(255,255,255,0.6); font-size: 0.875rem; max-width: 24rem; margin: 0 auto; }
.auth-side-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem 2rem; }
.auth-box { width: 100%; max-width: 24rem; }
.auth-mobile-logo { display: flex; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .auth-mobile-logo { display: none; } }
.auth-mobile-logo a { display: flex; align-items: center; gap: 0.5rem; }
.auth-mobile-logo .box { width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--foreground); display: flex; align-items: center; justify-content: center; }
.auth-mobile-logo .box svg { width: 1.25rem; height: 1.25rem; color: var(--background); }
.auth-mobile-logo .name { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.auth-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.25rem; }
.auth-sub { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.8125rem; padding: 0.625rem 0.75rem; border-radius: 0.5rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--foreground); margin-bottom: 0.375rem; }
.field input {
  width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: 0.5rem;
  font-size: 0.875rem; color: var(--foreground); background: var(--background);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--muted-foreground); }
.field input:focus { border-color: var(--foreground); box-shadow: 0 0 0 1px var(--foreground); }
.field-forgot-row { display: flex; justify-content: flex-end; margin-top: 0.375rem; }
.field-forgot-row a { font-size: 0.75rem; color: var(--foreground); }
.field-forgot-row a:hover { text-decoration: underline; }
.btn-auth {
  width: 100%; padding: 0.625rem 0; background: var(--foreground); color: var(--background);
  border: none; border-radius: 0.5rem; font-weight: 500; font-size: 0.875rem;
  transition: opacity .15s;
}
.btn-auth:hover { opacity: 0.9; }
.btn-auth:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-switch { margin-top: 1.25rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.auth-switch a { color: var(--foreground); font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }
.auth-terms { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
.auth-terms a { color: var(--foreground); }
.auth-terms a:hover { text-decoration: underline; }

/* ---- reveal (scroll) ---- */
.reveal { opacity: 1; }
.reveal.reveal-armed { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.reveal-armed.in { opacity: 1; transform: none; }
.plan-card-anim { opacity: 0; }
.plan-card-anim.visible { opacity: 1; transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transform: translateY(0); }
.plan-card-anim.hidden-start { transform: translateY(50px); }
.service-card-anim { opacity: 0; transform: translateY(30px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.service-card-anim.visible { opacity: 1; transform: none; }

/* ---- stat card count-up + sparkline draw ---- */
.stat-card.stat-card-armed { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.stat-card.stat-card-armed.in { opacity: 1; transform: none; }
.stat-card { transition: background .15s, transform .2s cubic-bezier(.22,1,.36,1); }
.stat-card:hover { transform: translateY(-2px); }
.stat-chart polyline { transition: stroke-dashoffset 1.1s cubic-bezier(.22,1,.36,1); }
.stat-chart circle { transition: opacity .35s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-armed, .plan-card-anim, .service-card-anim, .stat-card.stat-card-armed { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .stat-chart polyline, .stat-chart circle { transition: none; }
}

/* logo svg */
.logo-icon { width: 2.5rem; height: 2.5rem; }


/* Google Sign-In placement on the existing authentication screens */
.google-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--muted, #888);
  font-size: 12px;
}
.google-auth-divider::before,
.google-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border, #dedede);
}
.google-signin-container {
  display: flex;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-bottom: 18px;
}
.google-signin-container > div {
  max-width: 100%;
}
