/* ============================================
   SKYLINE VPS · Design system
   ============================================ */

:root {
  --accent: #FF4D2E;
  --accent-dark: #E63E1F;
  --accent-light: #FFE4DC;
  --accent-soft: #FFF1EC;

  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-subtle: #F5F5F7;

  --ink: #0A0A0B;
  --ink-2: #2A2A2E;
  --ink-3: #5C5C66;
  --ink-4: #8C8C94;

  --line: #EAEAEC;
  --line-soft: #F2F2F4;

  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;

  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.04);
  --shadow: 0 4px 16px rgba(10, 10, 11, 0.06), 0 1px 2px rgba(10, 10, 11, 0.04);
  --shadow-lg: 0 24px 64px rgba(10, 10, 11, 0.08), 0 4px 16px rgba(10, 10, 11, 0.04);
  --shadow-glow: 0 0 0 1px rgba(255, 77, 46, 0.15), 0 16px 48px rgba(255, 77, 46, 0.18);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Hard overflow guard for all section containers */
section, footer, header, main {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================
   CURSOR
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  opacity: 0.4;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s var(--ease);
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  opacity: 0.7;
  background: rgba(255, 77, 46, 0.06);
}

@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================
   ANNOUNCE BAR
   ============================================ */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.announce a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 6px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* CSS-built logo mark, kept for the dashboard preview sidebar (small) */
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
  flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1px;
}

.logo-mark::before {
  width: 3px;
  height: 14px;
  top: 7px;
  left: 6px;
  transform: skew(-12deg);
}

.logo-mark::after {
  width: 3px;
  height: 18px;
  top: 5px;
  left: 12px;
  transform: skew(-12deg);
}

.logo-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 77, 46, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 77, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.btn-ghost {
  color: var(--ink-2);
}

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

.btn-large {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.mesh-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  opacity: 0.18;
  animation-delay: 0s;
}

.mesh-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FFB196 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  opacity: 0.2;
  animation-delay: -7s;
}

.mesh-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #FFE0D5 0%, transparent 70%);
  top: 40%;
  left: 40%;
  opacity: 0.6;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 11, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 11, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.dot-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-out infinite;
}

.dot-pulse.green { background: var(--green); }
.dot-pulse.green::after { background: var(--green); }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-title {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 24px;
  color: var(--ink);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8A65 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.stat-num span {
  font-size: 18px;
  color: var(--ink-4);
  font-weight: 500;
}

.stat-num .latency-num {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
  /* The generic `.latency-num` rule (used by the latency card lower in the
     file) adds `display: flex` and `margin-bottom: 16px`, which would push
     the "Broker latency" label below its peers. Reset them here so the
     hero stat aligns with the others. */
  display: inline;
  margin-bottom: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* HERO RIGHT · Globe */
.hero-right {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globe {
  width: 100%;
  height: 100%;
  max-width: 540px;
  max-height: 540px;
}

.globe-pulse {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.12) 0%, transparent 70%);
  animation: globe-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes globe-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.globe-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  animation: ring-rotate 30s linear infinite;
}

.ring-1 { width: 110%; height: 110%; }
.ring-2 { width: 130%; height: 130%; animation-duration: 50s; animation-direction: reverse; }
.ring-3 { width: 150%; height: 150%; animation-duration: 80s; opacity: 0.5; }

@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  animation: float-card-anim 8s ease-in-out infinite;
  white-space: nowrap;
}

.float-card-1 {
  top: 8%;
  left: -8%;
  animation-delay: 0s;
}

.float-card-2 {
  top: 45%;
  right: -10%;
  animation-delay: -3s;
}

.float-card-3 {
  bottom: 8%;
  left: 5%;
  animation-delay: -6s;
}

@keyframes float-card-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-card-label {
  color: var(--ink-3);
  font-weight: 500;
}

.float-card-val {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.float-card-val em {
  font-style: normal;
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 500;
  margin-left: 2px;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { height: 380px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   BROKERS STRIP
   ============================================ */
.brokers-strip {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.brokers-label {
  font-size: 12px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  white-space: nowrap;
  padding-left: 32px;
}

.brokers-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brokers-row {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}

.broker-item {
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.3s var(--ease);
}

.broker-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.broker-item img {
  height: 28px;
  width: auto;
  display: block;
  max-width: 160px;
}

.broker-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: -0.02em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  height: 36px;
}

.broker-item:hover .broker-text {
  color: var(--ink-2);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   CONTAINER + SECTION HEAD
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ============================================
   LATENCY SECTION
   ============================================ */
.latency {
  padding: 100px 0;
  background: var(--bg-soft);
  position: relative;
}

.latency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.latency-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.latency-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.latency-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.latency-card:hover::before {
  opacity: 1;
}

.latency-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
}

.latency-flag {
  width: 44px;
  height: 30px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: contain;
  border: 1px solid var(--line);
  display: block;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  padding: 2px;
}

.latency-city {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.latency-broker {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.latency-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
}

.latency-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.latency-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-4);
}

.latency-bar {
  height: 4px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.latency-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--green) 0%, #34D399 100%);
  border-radius: 2px;
  position: relative;
  animation: bar-grow 1.5s var(--ease) forwards;
  transform-origin: left;
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.latency-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  position: relative;
}

@media (max-width: 900px) {
  .latency-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .latency-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 120px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
  opacity: 1;
}

/* .feature-card.big retired; uniform 3x2 grid now */

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s var(--ease);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.feature-visual {
  margin-top: 32px;
}

/* Uptime mini-vis (compact) */
.feat-mini.uptime-mini { padding: 14px; }

.uptime-mini .uptime-bars {
  margin-bottom: 10px;
}

.uptime-mini .uptime-bars span {
  height: 22px;
}

.uptime-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

.uptime-pct {
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* === Feature mini-visualizations === */
.feat-mini {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  position: relative;
  overflow: hidden;
}

/* Deploy progress */
.feat-mini.deploy-progress {
  font-family: inherit;
}

.deploy-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.deploy-step {
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  position: relative;
  font-weight: 500;
}

.deploy-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-4);
  background: #fff;
}

.deploy-step.done {
  color: var(--green);
}

.deploy-step.done::before {
  background: var(--green);
  border-color: var(--green);
}

.deploy-step.done::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translate(0, -65%) rotate(-45deg);
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
}

.deploy-step.active {
  color: var(--accent);
  font-weight: 600;
}

.deploy-step.active::before {
  border-color: var(--accent);
  animation: deploy-pulse 1.5s ease-in-out infinite;
}

@keyframes deploy-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(255, 77, 46, 0); }
}

.deploy-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.deploy-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #FFB196);
  border-radius: 2px;
  animation: deploy-fill 6s ease-in-out infinite;
}

@keyframes deploy-fill {
  0% { width: 0; }
  90% { width: 75%; }
  100% { width: 75%; }
}

.deploy-time {
  font-size: 11px;
  color: var(--ink-4);
  text-align: right;
}

.deploy-counter {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Terminal */
.feat-mini.terminal {
  background: #1a1a1c;
  border-color: rgba(255, 255, 255, 0.1);
  padding: 0;
  color: #e6e6e8;
}

.term-toolbar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.term-toolbar span:first-child { background: #ff5f57; }
.term-toolbar span:nth-child(2) { background: #febc2e; }
.term-toolbar span:nth-child(3) { background: #28c840; }

.term-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.term-line {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.term-prompt {
  color: var(--accent);
  font-weight: 600;
}

.term-cmd { color: #fff; }

.term-out {
  color: #34D399;
  padding-left: 16px;
}

.term-typing {
  display: inline-block;
  animation: term-blink 1s steps(2) infinite;
  color: var(--accent);
  font-weight: 700;
}

@keyframes term-blink {
  50% { opacity: 0; }
}

/* Watchdog */
.feat-mini.watchdog {
  font-family: inherit;
}

.wd-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--ink-3);
  opacity: 0;
  animation: wd-appear 5s ease-out infinite;
}

.wd-step-1 { animation-delay: 0s; }
.wd-step-2 { animation-delay: 0.5s; }
.wd-step-3 { animation-delay: 1s; }
.wd-step-4 { animation-delay: 1.5s; }

@keyframes wd-appear {
  0%, 4% { opacity: 0; transform: translateX(-4px); }
  10% { opacity: 1; transform: translateX(0); }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

.wd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wd-dot.bad { background: var(--red); box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
.wd-dot.warn { background: var(--amber); box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
.wd-dot.good { background: var(--green); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
.wd-dot.accent { background: var(--accent); box-shadow: 0 0 0 2px rgba(255, 77, 46, 0.2); }

.wd-line span:nth-child(2) {
  flex: 1;
  color: var(--ink-2);
  font-weight: 500;
}

.wd-time {
  font-size: 10px;
  color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
}

/* Browser */
.feat-mini.browser {
  padding: 0;
  background: #fff;
  border-color: var(--line);
  font-family: inherit;
}

.br-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.br-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.br-dot.red { background: #ff5f57; }
.br-dot.yellow { background: #febc2e; }
.br-dot.green { background: #28c840; }

.br-url {
  margin-left: 8px;
  font-size: 10px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}

.br-content {
  padding: 12px;
  height: 50px;
  display: flex;
  align-items: stretch;
}

.br-content svg {
  width: 100%;
  height: 100%;
}

.br-content path:nth-child(1) {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: br-draw 4s ease-out infinite;
}

@keyframes br-draw {
  0% { stroke-dashoffset: 400; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

/* Chat */
.feat-mini.chat {
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  max-width: 85%;
  line-height: 1.4;
}

.chat-msg.in {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.chat-msg.out {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 12px;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: chat-bounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(1) { animation-delay: 0s; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--ink-4);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.chat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: chat-pulse 2s ease-in-out infinite;
}

@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

/* Uptime bars (existing big card) */
.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  margin-bottom: 12px;
}

.uptime-bars span {
  height: 28px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0;
  animation: uptime-fill 0.04s linear forwards;
}

.uptime-bars span:nth-child(n) { animation-delay: calc(var(--i, 0) * 0.04s); }

.uptime-label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

@keyframes uptime-fill {
  to { opacity: 1; }
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.big { grid-row: span 1; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 120px 0;
  background: var(--bg-soft);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr 280px;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  transition: all 0.3s var(--ease);
}

.step:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 76px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(255, 77, 46, 0.1);
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-content p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.step-visual {
  height: 100px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.step-mock.plans {
  display: flex;
  gap: 8px;
}

.mock-card {
  width: 50px;
  height: 70px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
}

.mock-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
}

.mock-card::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: var(--line-soft);
  border-radius: 2px;
}

.mock-card.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 77, 46, 0.2);
}

.mock-card.active::before { background: var(--accent); }

.step-mock.connect {
  width: 80%;
  position: relative;
  height: 4px;
}

.connect-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-4), var(--accent), var(--ink-4));
  transform: translateY(-50%);
  background-size: 200% 100%;
  animation: connect-flow 2s linear infinite;
}

@keyframes connect-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.connect-dot {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
}

.dot-a { left: 0; }
.dot-b { right: 0; }

.step-mock.chart {
  width: 90%;
  height: 80px;
}

.step-mock.chart svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 800px) {
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-visual { width: 100%; }
}

/* === How it works animations === */
.step .mock-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.step.in-view .mock-card {
  opacity: 1;
  transform: translateY(0);
}

.step.in-view .mock-card:nth-child(1) { transition-delay: 0.1s; }
.step.in-view .mock-card:nth-child(2) { transition-delay: 0.25s; }
.step.in-view .mock-card:nth-child(3) { transition-delay: 0.4s; }

.step.in-view .mock-card.active {
  animation: card-pulse 2.4s ease-in-out 0.9s infinite;
}

@keyframes card-pulse {
  0%, 100% { transform: translateY(-4px) scale(1); box-shadow: 0 8px 24px rgba(255, 77, 46, 0.2); }
  50% { transform: translateY(-9px) scale(1.06); box-shadow: 0 18px 40px rgba(255, 77, 46, 0.4); }
}

.step .connect-dot {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.step.in-view .connect-dot {
  opacity: 1;
  animation: dot-bounce 2s ease-in-out infinite;
}

.step.in-view .dot-a { animation-delay: 0s; transition-delay: 0.3s; }
.step.in-view .dot-b { animation-delay: 1s; transition-delay: 0.5s; }

@keyframes dot-bounce {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
  }
  50% {
    transform: translateY(-50%) scale(1.35);
    box-shadow: 0 6px 20px rgba(255, 77, 46, 0.55), 0 0 0 6px rgba(255, 77, 46, 0.1);
  }
}

.step .connect-line {
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.2s;
}

.step.in-view .connect-line {
  opacity: 1;
}

.step-mock.chart {
  position: relative;
}

.step .chart-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 2.4s var(--ease);
}

.step.in-view .chart-line {
  stroke-dashoffset: 0;
}

.step .chart-fill {
  opacity: 0;
  transition: opacity 1.2s ease-out 1.4s;
}

.step.in-view .chart-fill {
  opacity: 0.3;
}

/* Pulsing dot at chart end */
.chart-dot-end {
  position: absolute;
  top: 12.5%;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(50%, -50%);
  z-index: 2;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 77, 46, 0.8);
  transition: opacity 0.4s ease 1.6s;
}

.step.in-view .chart-dot-end {
  opacity: 1;
  animation: chart-end-pulse 2s ease-out 1.6s infinite;
}

@keyframes chart-end-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.7), 0 0 10px rgba(255, 77, 46, 0.8);
  }
  60% {
    box-shadow: 0 0 0 16px rgba(255, 77, 46, 0), 0 0 10px rgba(255, 77, 46, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 46, 0), 0 0 10px rgba(255, 77, 46, 0.8);
  }
}

/* Mini candle bars rising in background */
.chart-bars {
  position: absolute;
  inset: 30% 8% 12% 8%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.step.in-view .chart-bars {
  opacity: 1;
}

.chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-light) 0%, transparent 100%);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}

.step.in-view .chart-bars span {
  animation: bar-rise 1.2s ease-out forwards, bar-pulse 2.5s ease-in-out infinite;
}

.step.in-view .chart-bars span:nth-child(1) { animation-delay: 0.2s, 1.6s; height: 20%; }
.step.in-view .chart-bars span:nth-child(2) { animation-delay: 0.3s, 1.7s; height: 30%; }
.step.in-view .chart-bars span:nth-child(3) { animation-delay: 0.4s, 1.8s; height: 25%; }
.step.in-view .chart-bars span:nth-child(4) { animation-delay: 0.5s, 1.9s; height: 45%; }
.step.in-view .chart-bars span:nth-child(5) { animation-delay: 0.6s, 2.0s; height: 38%; }
.step.in-view .chart-bars span:nth-child(6) { animation-delay: 0.7s, 2.1s; height: 60%; }
.step.in-view .chart-bars span:nth-child(7) { animation-delay: 0.8s, 2.2s; height: 55%; }
.step.in-view .chart-bars span:nth-child(8) { animation-delay: 0.9s, 2.3s; height: 75%; }

@keyframes bar-rise {
  to { transform: scaleY(1); }
}

@keyframes bar-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}

.step .step-num {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.step.in-view .step-num {
  opacity: 1;
  transform: translateX(0);
}

.step:hover .step-num {
  color: var(--accent);
  transform: scale(1.05);
  transition: transform 0.4s var(--ease-snap);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 120px 0;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--bg-subtle);
  border-radius: 100px;
  padding: 4px;
  margin-top: 24px;
}

.pricing-toggle button {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pricing-toggle button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.save-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
}

.price-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
}

.price-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.price-tag {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.price-num {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 8px;
}

.amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s;
}

.period {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 30px;
  margin-left: 4px;
}

.price-features {
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
}

.price-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green);
}

.price-card.featured .price-features svg {
  color: var(--accent);
}

.free-banner {
  margin-top: 64px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.free-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 77, 46, 0.3) 0%, transparent 60%);
}

.free-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.free-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 77, 46, 0.4);
}

.free-text {
  flex: 1;
}

.free-text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}

.free-text p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .free-banner-inner { flex-direction: column; text-align: center; }
}

/* ============================================
   COMPARE
   ============================================ */
.compare {
  padding: 120px 0;
  background: var(--bg-soft);
}

.compare-table {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.compare-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table th.us,
.compare-table td.us {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
  border-left: 1px solid var(--accent-light);
  border-right: 1px solid var(--accent-light);
  position: relative;
}

.compare-table th.us {
  color: var(--accent);
}

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

.compare-table tbody tr:hover td.us {
  background: #FFE4DC;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
  font-weight: 700;
  font-size: 16px;
}

.check, .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  position: relative;
}

.check {
  background: var(--green);
}

.check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.cross {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
}

.cross::before, .cross::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background: var(--ink-4);
  border-radius: 1px;
}

.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }

@media (max-width: 700px) {
  .compare-table { overflow-x: auto; }
  .compare-table table { min-width: 600px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 24px;
  font-size: 140px;
  font-family: 'Instrument Serif', serif;
  color: var(--accent-soft);
  line-height: 1;
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  position: relative;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.t-avatar.a1 { background: linear-gradient(135deg, #FF4D2E, #FF8A65); }
.t-avatar.a2 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.t-avatar.a3 { background: linear-gradient(135deg, #10B981, #34D399); }

.t-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.t-role {
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 120px 0;
  background: var(--bg-soft);
}

.faq-container { max-width: 800px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease), color 0.2s;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
}

.cta-card {
  position: relative;
  background: var(--ink);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mesh-cta-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.mesh-cta-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FF8A65 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 16s ease-in-out infinite;
  animation-delay: -5s;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content h2 span {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent) 0%, #FFB196 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cta-buttons .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-buttons .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s var(--ease);
}

.footer-socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: color 0.2s;
}

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

.footer-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  color: #34D399;
  font-weight: 500;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bot { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.05s; }
.reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

/* ============================================
   SLIPPAGE / TRADE SIMULATION
   ============================================ */
.slippage {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.slippage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.slippage .container { position: relative; z-index: 1; }

/* === Trade simulation grid === */
.trade-sim-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 48px;
}

.trade-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.trade-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.trade-card.bad::before {
  background: linear-gradient(90deg, var(--red), #FCA5A5);
}

.trade-card.good::before {
  background: linear-gradient(90deg, var(--accent), #FFB196);
}

.trade-card.good {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Card head */
.trade-card-head {
  padding: 24px 28px 8px;
}

.trade-status {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.status-dot.bad {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.status-dot.good {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.status-dot.good::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: status-pulse 2s ease-out infinite;
}

@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.trade-card-head h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.trade-tag {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* === Trade screen (terminal-style) === */
.trade-screen {
  margin: 8px 24px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.screen-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f3f3f5;
  border-bottom: 1px solid var(--line);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d4d8;
}

.screen-dot:first-child { background: #ff5f57; }
.screen-dot:nth-child(2) { background: #febc2e; }
.screen-dot:nth-child(3) { background: #28c840; }

.screen-title {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
  margin-left: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.screen-body {
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.order-side {
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.order-side.bad { background: var(--red); }
.order-side.good { background: var(--green); }

.order-pair {
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}

.order-target {
  color: var(--ink-3);
  font-size: 13px;
}

.order-target strong {
  color: var(--ink);
  font-weight: 600;
}

/* === Latency animated track === */
.latency-track {
  position: relative;
  height: 32px;
  background: var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}

.latency-fill-anim {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 6px;
  transform-origin: left;
}

.bad-fill {
  background: linear-gradient(90deg, var(--red) 0%, #FCA5A5 100%);
  animation: bad-fill-anim 6s ease-out infinite;
}

.good-fill {
  background: linear-gradient(90deg, var(--accent) 0%, #FFB196 100%);
  animation: good-fill-anim 6s ease-out infinite;
}

@keyframes bad-fill-anim {
  0% { width: 0; opacity: 1; }
  88% { width: 100%; opacity: 1; }
  93% { width: 100%; opacity: 1; }
  98% { width: 100%; opacity: 0; }
  100% { width: 0; opacity: 0; }
}

@keyframes good-fill-anim {
  0% { width: 0; opacity: 1; }
  4% { width: 100%; opacity: 1; }
  93% { width: 100%; opacity: 1; }
  98% { width: 100%; opacity: 0; }
  100% { width: 0; opacity: 0; }
}

.latency-marker {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.marker-num {
  font-variant-numeric: tabular-nums;
}

.marker-unit {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.bad-marker { color: #fff; }
.good-marker { color: #fff; }

/* When fill hasn't reached marker, hide marker */
.latency-marker {
  opacity: 0;
  animation-fill-mode: forwards;
}

.bad-marker {
  animation: marker-show-bad 6s ease-out infinite;
}

.good-marker {
  animation: marker-show-good 6s ease-out infinite;
}

@keyframes marker-show-bad {
  0%, 60% { opacity: 0; }
  70% { opacity: 1; }
  93% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes marker-show-good {
  0%, 2% { opacity: 0; }
  4% { opacity: 1; }
  93% { opacity: 1; }
  100% { opacity: 0; }
}

/* === Order result === */
.order-result {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bad-result {
  animation: bad-result-show 6s ease-out infinite;
  opacity: 0;
}

.good-result {
  animation: good-result-show 6s ease-out infinite;
  opacity: 0;
}

@keyframes bad-result-show {
  0%, 88% { opacity: 0; transform: translateY(8px); }
  92% { opacity: 1; transform: translateY(0); }
  98% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

@keyframes good-result-show {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  8% { opacity: 1; transform: translateY(0); }
  98% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

.result-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.result-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 5px;
}

.result-tag.fail {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
}

.result-tag.pass {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

.result-arrow {
  color: var(--ink-4);
}

.result-price {
  font-weight: 600;
}

.bad-price { color: var(--red); }
.good-price { color: var(--green); }

.slippage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  width: fit-content;
}

.bad-slippage {
  background: rgba(239, 68, 68, 0.08);
  color: var(--red);
}

.good-slippage {
  background: rgba(16, 185, 129, 0.08);
  color: var(--green);
}

.slip-cost {
  margin-left: auto;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
}

.slip-cost.good {
  background: rgba(16, 185, 129, 0.15);
}

/* === Card foot stats === */
.trade-card-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.foot-stat {
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
}

.foot-stat:last-child {
  border-right: none;
}

.foot-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.bad-num { color: var(--red); }
.good-num { color: var(--green); }

.foot-sub {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
  margin-left: 1px;
}

.foot-lbl {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
}

/* === Versus divider (the VS circle) === */
.versus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.versus-vs {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a2e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 77, 46, 0.06);
  position: relative;
  z-index: 2;
}

.versus-vs::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: vs-pulse 2.5s ease-out infinite;
}

.versus-vs::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.2;
  animation: vs-pulse 2.5s ease-out 0.5s infinite;
}

@keyframes vs-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* === Loss banner === */
.loss-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.loss-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.loss-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.25) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.loss-banner-head {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.loss-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.loss-banner-head h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-top: 12px;
}

.loss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.loss-cell {
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.loss-cell.bad {
  border-color: rgba(239, 68, 68, 0.2);
}

.loss-cell.good {
  border-color: rgba(255, 77, 46, 0.3);
  background: rgba(255, 77, 46, 0.05);
}

.loss-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.loss-num.good {
  color: var(--accent);
}

.loss-lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.loss-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

.loss-tag.bad {
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
}

.loss-tag.good {
  background: rgba(255, 77, 46, 0.1);
  color: #FFB196;
}

.loss-tag strong {
  font-weight: 700;
}

.loss-cta {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
}

@media (max-width: 1000px) {
  .trade-sim-grid { grid-template-columns: 1fr; }
  .versus-divider { padding: 8px 0; }
  .versus-vs::before, .versus-vs::after { display: none; }
  .loss-grid { grid-template-columns: 1fr; }
  .loss-banner { padding: 32px 20px; }
}

/* ============================================
   PLATFORMS
   ============================================ */
.platforms {
  padding: 120px 0;
  background: var(--bg-soft);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.platform-card.preinstalled {
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  border-color: var(--accent-light);
}

.platform-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-logo,
.platform-logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: transform 0.3s var(--ease);
}

.platform-logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  box-shadow: var(--shadow);
}

.platform-logo-wrap {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px;
}

.platform-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-card:hover .platform-logo,
.platform-card:hover .platform-logo-wrap {
  transform: scale(1.06) rotate(-4deg);
}

.platform-logo.mt5 { background: linear-gradient(135deg, #0078D4 0%, #00A4EF 100%); }
.platform-logo.mt4 { background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%); }
.platform-logo.ctrader { background: linear-gradient(135deg, #1E1E1E 0%, #4A4A4A 100%); }
.platform-logo.tv { background: linear-gradient(135deg, #2962FF 0%, #00B4D8 100%); }
.platform-logo.nt { background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%); }
.platform-logo.custom { background: linear-gradient(135deg, var(--accent) 0%, #FFB196 100%); font-size: 32px; }

.platform-card h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}

.platform-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STATS WALL
   ============================================ */
.stats-wall {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-wall::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.25;
  animation: float 18s ease-in-out infinite;
}

.stats-wall::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFB196 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.2;
  animation: float 22s ease-in-out infinite reverse;
}

.stats-wall .container {
  position: relative;
  z-index: 1;
}

.stats-wall-head {
  text-align: center;
  margin-bottom: 64px;
}

.stats-wall-head .eyebrow {
  background: rgba(255, 77, 46, 0.15);
  color: var(--accent);
}

.stats-wall-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-top: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-cell {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.stats-cell:last-child {
  border-right: none;
}

.stats-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-plus {
  background: linear-gradient(135deg, var(--accent) 0%, #FFB196 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.7em;
  margin-left: 2px;
}

.stats-lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-cell:nth-child(2) { border-right: none; }
  .stats-cell:nth-child(1), .stats-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.roi {
  padding: 120px 0;
  position: relative;
}

.roi::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.roi .container { position: relative; z-index: 1; }

.roi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.roi-output {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(255, 77, 46, 0.4), 0 0 0 4px rgba(255, 77, 46, 0.1);
  transition: transform 0.15s var(--ease);
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: none;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(255, 77, 46, 0.4);
}

.roi-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.roi-result {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.roi-result-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.roi-result-card.lost {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.04);
}

.roi-result-card.saved {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
  box-shadow: var(--shadow-glow);
}

.roi-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 8px;
}

.roi-result-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.roi-result-num.good {
  color: var(--accent);
}

.roi-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-4);
  margin-left: 4px;
}

.roi-result-sub {
  font-size: 13px;
  color: var(--ink-3);
}

.roi-result-yearly {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--accent);
}

.roi-result-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

.roi-cta {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .roi-card { grid-template-columns: 1fr; padding: 28px; }
}

/* ============================================
   DASHBOARD PREVIEW
   ============================================ */
.dash-preview {
  padding: 120px 0;
  background: linear-gradient(180deg, #FAFAFA 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.dash-preview::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}

.dash-mock {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(10, 10, 11, 0.12),
    0 12px 32px rgba(10, 10, 11, 0.08),
    0 0 0 1px rgba(255, 77, 46, 0.05);
  position: relative;
  transition: transform 0.6s var(--ease);
}

.dash-mock:hover {
  transform: translateY(-4px);
}

.dash-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f3f3f5;
  border-bottom: 1px solid var(--line);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }

.dash-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  max-width: 380px;
  margin: 0 auto;
}

.dash-url svg { color: var(--green); flex-shrink: 0; }

.dash-actions {
  display: flex;
  gap: 4px;
}

.dash-action-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: 580px;
}

/* Sidebar */
.dash-sidebar {
  background: #FAFAFA;
  border-right: 1px solid var(--line);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.dash-brand .logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.dash-brand-name {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.dash-brand-tier {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 1px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
}

.dash-nav-link svg { color: var(--ink-4); }

.dash-nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--ink);
}

.dash-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.dash-nav-link.active svg { color: var(--accent); }

.dash-nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 4px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.dash-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FF8A65);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.dash-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.dash-user-tier {
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 1px;
}

/* Main */
.dash-main {
  padding: 24px 28px;
  overflow: hidden;
}

.dash-main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dash-main-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.dash-main-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.dash-main-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.dash-live-ms {
  font-variant-numeric: tabular-nums;
  color: var(--green);
  font-weight: 700;
}

/* RDP Credentials card */
.dash-creds {
  background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.dash-creds::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.dash-creds-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}

.dash-creds-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.dash-creds-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 1px;
}

.dash-creds-actions {
  display: flex;
  gap: 6px;
}

.dash-creds-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.dash-creds-btn:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.dash-creds-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dash-creds-btn.primary:hover {
  background: var(--accent-dark);
}

.dash-creds-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 1.6fr 0.8fr;
  gap: 10px;
  position: relative;
}

.dash-cred {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-cred-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-4);
  font-weight: 600;
}

.dash-cred-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-cred-val.masked {
  letter-spacing: 1px;
}

.dash-cred-eye {
  font-size: 10px;
  color: var(--accent);
  background: none;
  border: none;
  padding: 2px 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.2s;
}

.dash-cred-eye:hover {
  background: var(--accent-soft);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.dash-metric {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
}

.dash-metric-label {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.dash-metric-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.dash-metric-num span {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
  margin-left: 2px;
}

.dash-metric-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.dash-metric-bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--accent);
  border-radius: 2px;
  transition: width 1.5s var(--ease);
}

.dash-cpu-bar {
  animation: cpu-fluctuate 6s ease-in-out infinite;
}

@keyframes cpu-fluctuate {
  0%, 100% { width: 32%; }
  25% { width: 41%; }
  50% { width: 28%; }
  75% { width: 38%; }
}

.dash-ram-bar {
  background: linear-gradient(90deg, var(--accent), #FFB196);
}

.dash-metric-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-metric-pill.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

/* Chart */
.dash-chart {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.dash-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.dash-chart-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.dash-chart-sub {
  font-size: 11px;
  color: var(--ink-3);
}

.dash-chart-now {
  text-align: right;
}

.dash-chart-now-label {
  display: block;
  font-size: 10px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.dash-chart-now-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.dash-chart-body {
  position: relative;
  height: 80px;
}

.dash-chart-body svg {
  width: 100%;
  height: 100%;
}

.dash-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash-draw 3s ease-out 0.5s forwards;
}

@keyframes dash-draw {
  to { stroke-dashoffset: 0; }
}

.dash-chart-end-dot {
  position: absolute;
  top: 27.5%;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(50%, -50%);
  box-shadow: 0 0 8px rgba(255, 77, 46, 0.6);
  opacity: 0;
  animation: dash-end-fade-pulse 2s ease-out 3.4s infinite;
}

@keyframes dash-end-fade-pulse {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.6); }
  60% { opacity: 1; box-shadow: 0 0 0 12px rgba(255, 77, 46, 0); }
  100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 46, 0); }
}

/* EAs */
.dash-eas {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}

.dash-eas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.dash-eas-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}

.dash-ea-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.dash-ea-row:last-child { border-bottom: none; }

.dash-ea-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dash-ea-status.running {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  animation: ea-pulse 2s ease-in-out infinite;
}

@keyframes ea-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.dash-ea-name {
  font-weight: 600;
  color: var(--ink);
}

.dash-ea-pair {
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.dash-ea-pnl {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.dash-ea-pnl.positive { color: var(--green); }
.dash-ea-pnl.negative { color: var(--red); }

.dash-ea-time {
  font-size: 10px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Aside */
.dash-aside {
  background: #FAFAFA;
  border-left: 1px solid var(--line);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-aside-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-aside-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-aside-head svg { color: var(--ink-3); }

.dash-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-activity-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  opacity: 0;
  animation: activity-fade-in 0.6s ease-out forwards;
}

.dash-activity-item:nth-child(1) { animation-delay: 1s; }
.dash-activity-item:nth-child(2) { animation-delay: 1.4s; }
.dash-activity-item:nth-child(3) { animation-delay: 1.8s; }
.dash-activity-item:nth-child(4) { animation-delay: 2.2s; }

@keyframes activity-fade-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.dash-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-4);
  margin-top: 4px;
  flex-shrink: 0;
}

.dash-activity-dot.accent {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 46, 0.15);
}

.dash-activity-msg {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.dash-activity-time {
  font-size: 10px;
  color: var(--ink-4);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-watchdog {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-watchdog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-2);
}

.dash-toggle {
  width: 28px;
  height: 16px;
  border-radius: 100px;
  background: var(--line);
  position: relative;
  transition: background 0.3s;
}

.dash-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dash-toggle.on {
  background: var(--accent);
}

.dash-toggle.on::after {
  transform: translateX(12px);
}

/* Dashboard features row below */
.dash-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.dash-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dash-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-feature h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.dash-feature p {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .dash-body { grid-template-columns: 200px 1fr; }
  .dash-aside { display: none; }
  .dash-features-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-features-row { grid-template-columns: 1fr; }
}

/* ============================================
   PERSONAS
   ============================================ */
.personas {
  padding: 120px 0;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.persona-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.persona-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow-glow);
}

.persona-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.persona-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}

.persona-card:hover .persona-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.persona-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}

.persona-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 16px;
}

.persona-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}

.persona-bullets li {
  font-size: 12px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.persona-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.persona-rec {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.persona-rec-label {
  font-size: 10px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.persona-rec-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 1000px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .persona-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRICING 4-COLUMN + ENTERPRISE
   ============================================ */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
}

.price-card.enterprise {
  background: linear-gradient(180deg, var(--ink) 0%, #1a1a1c 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}

.price-card.enterprise::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(255, 77, 46, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.price-card.enterprise .price-head h3 {
  color: #fff;
}

.price-card.enterprise .price-tag {
  color: rgba(255, 255, 255, 0.6);
}

.price-card.enterprise .price-features li {
  color: rgba(255, 255, 255, 0.85);
}

.price-card.enterprise .price-features svg {
  color: var(--accent);
}

.price-card.enterprise .price-num {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.amount-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.enterprise-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #FF8A65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
}

.price-card.enterprise .btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.price-card.enterprise .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 480px; }
}

/* ============================================
   WAITLIST
   ============================================ */
.waitlist {
  padding: 120px 0;
}

.waitlist-card {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1c 100%);
  border-radius: 32px;
  padding: 80px 64px;
  isolation: isolate;
}

.waitlist-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}

.waitlist-mesh-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 14s ease-in-out infinite;
}

.waitlist-mesh-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FFB196 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 18s ease-in-out infinite reverse;
}

.waitlist-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.waitlist-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.waitlist-form { width: 100%; }

.waitlist-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 24px;
}

.waitlist h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
  padding: 0.1em 0.15em;
  overflow: visible;
}

.waitlist h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  /* The italic glyphs lean right; without breathing room the trailing
     punctuation (?, ., !) visually collides with the last letter. */
  padding-right: 0.08em;
  background: linear-gradient(135deg, var(--accent) 0%, #FFB196 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 0.18em 0.05em 0.05em;
  margin-right: 0.05em;
}

.waitlist p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  margin-bottom: 32px;
}

.hidden-field {
  display: none;
}

.waitlist-inputs {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 16px;
}

.waitlist-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  border-radius: 10px;
  transition: background 0.2s;
}

.waitlist-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.waitlist-input:focus {
  background: rgba(255, 255, 255, 0.05);
}

/* Custom dropdown */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.2s;
  text-align: left;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.05);
}

.custom-select-value {
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select.has-value .custom-select-value {
  color: #fff;
}

.custom-select-arrow {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(20, 20, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s;
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-select-option {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  font-family: inherit;
  color: #fff;
  transition: background 0.15s ease;
}

.custom-select-option:hover,
.custom-select-option.highlighted {
  background: rgba(255, 77, 46, 0.12);
}

.custom-select-option.selected {
  background: var(--accent-soft);
  color: var(--accent);
}

.custom-select-option.selected:hover {
  background: rgba(255, 77, 46, 0.2);
}

.option-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.custom-select-option.selected .option-label {
  color: var(--accent);
}

.option-label em {
  font-style: normal;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.option-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.custom-select-option.selected .option-meta {
  color: rgba(255, 77, 46, 0.8);
}

/* Submit button states */
.btn-spinner {
  display: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#waitlistSubmit.is-loading .btn-label,
#waitlistSubmit.is-loading .btn-icon {
  display: none;
}

#waitlistSubmit.is-loading .btn-spinner {
  display: block;
}

#waitlistSubmit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: 24px 24px;
  animation: success-in 0.6s var(--ease-snap) both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.waitlist-success[hidden] {
  display: none !important;
}

.waitlist-form[hidden] {
  display: none !important;
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.waitlist-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.waitlist-success-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

.waitlist-success h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.waitlist-success p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.waitlist-success p strong {
  color: #fff;
  font-weight: 600;
}

.waitlist-success-share {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s var(--ease);
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.waitlist-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.waitlist-trust-item svg { color: var(--green); }

.waitlist-counter {
  margin-top: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-counter-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.waitlist-counter-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #FFB196);
  border-radius: 3px;
  animation: counter-fill 2.4s ease-out 0.5s forwards;
  box-shadow: 0 0 12px rgba(255, 77, 46, 0.4);
}

@keyframes counter-fill {
  to { width: 47%; }
}

.waitlist-counter-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.waitlist-counter-text strong {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.waitlist-counter-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 800px) {
  .waitlist-card { padding: 48px 24px; }
  .waitlist-inputs { grid-template-columns: 1fr; }
}

/* ============================================
   INNER PAGES
   ============================================ */
.page-content {
  padding: 80px 32px 120px;
  min-height: 60vh;
}

.page-head {
  max-width: 720px;
  margin: 0 auto 64px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.page-back:hover { color: var(--accent); }

.page-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-head h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.page-meta {
  font-size: 14px;
  color: var(--ink-4);
}

.page-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-body h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}

.page-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}

.page-body p {
  margin-bottom: 16px;
}

.page-body ul, .page-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-body ul li { list-style: disc; margin-bottom: 8px; }
.page-body ol li { list-style: decimal; margin-bottom: 8px; }

.page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-body strong { color: var(--ink); font-weight: 700; }

/* 404 */
.page-404 {
  text-align: center;
  padding: 120px 32px;
}

.page-404-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 220px;
  background: linear-gradient(135deg, var(--accent), #FFB196);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.page-404 h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}

.page-404 p {
  font-size: 18px;
  color: var(--ink-3);
  margin-bottom: 32px;
}

/* Roadmap */
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-phase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s var(--ease);
}

.roadmap-phase:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.roadmap-phase.done {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
}

.roadmap-phase.in-progress {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-glow);
}

.roadmap-phase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.roadmap-phase-num {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  font-weight: 600;
}

.roadmap-phase h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}

.roadmap-phase-when {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.roadmap-phase ul {
  padding-left: 18px;
}

.roadmap-phase ul li {
  font-size: 14px;
  color: var(--ink-2);
  list-style: disc;
  margin-bottom: 6px;
}

.roadmap-phase-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.roadmap-phase-status.done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

.roadmap-phase-status.in-progress {
  background: var(--accent);
  color: #fff;
}

.roadmap-phase-status.planned {
  background: var(--bg-soft);
  color: var(--ink-3);
  border: 1px solid var(--line);
}

/* Status page */
.status-overview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.status-overview-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.status-overview.up { border-color: var(--green); background: rgba(16, 185, 129, 0.04); }

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.status-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.status-item-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-item-pill.up {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

@media (max-width: 700px) {
  .status-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LANG TOGGLE
   ============================================ */
.lang-toggle {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  padding: 8px 10px !important;
  border: 1px solid var(--line);
  text-transform: uppercase;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
}

/* ============================================
   USE CASE PAGES (day-trader, algo-dev, funded, studio)
   ============================================ */
.uc-hero {
  padding: 80px 32px 80px;
  position: relative;
  overflow: hidden;
}

.uc-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
}

.uc-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}

.uc-hero-content { max-width: 560px; }

.uc-persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.uc-hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 20px;
}

.uc-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.uc-hero p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 32px;
}

.uc-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.uc-hero-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.uc-quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  margin-bottom: 20px;
}

.uc-quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uc-quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FFB196);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.uc-quote-name { font-size: 13px; font-weight: 700; }
.uc-quote-role { font-size: 11px; color: var(--ink-3); }

.uc-pains {
  padding: 100px 0;
  background: var(--bg-soft);
}

.uc-pains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.uc-pain, .uc-fix {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--line);
}

.uc-pain { border-color: rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.03); }
.uc-fix { border-color: var(--accent); background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); }

.uc-pain-label, .uc-fix-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.uc-pain-label { background: rgba(239, 68, 68, 0.12); color: var(--red); }
.uc-fix-label { background: var(--accent-soft); color: var(--accent); }

.uc-pain h3, .uc-fix h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}

.uc-pain p, .uc-fix p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

.uc-rec {
  padding: 100px 0;
}

.uc-rec-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.uc-rec-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.uc-rec-tier {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.uc-rec-price {
  font-size: 19px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.uc-rec-price strong { color: var(--accent); font-weight: 700; }

.uc-rec-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 77, 46, 0.2);
}

.uc-rec-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.uc-rec-feature svg { color: var(--accent); }

@media (max-width: 900px) {
  .uc-hero { padding: 56px 20px 56px; }
  .uc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .uc-hero-visual { padding: 24px; }
  .uc-pains-grid { grid-template-columns: 1fr; }
  .uc-rec-card { padding: 32px 24px; }
  .uc-rec-features { flex-direction: column; align-items: center; gap: 10px; }
}

/* ============================================
   BENCHMARKS PAGE
   ============================================ */
.bench-hero { padding: 80px 32px 60px; text-align: center; }
.bench-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 720px;
  margin: 16px auto;
}
.bench-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.bench-hero p { font-size: 18px; color: var(--ink-3); max-width: 580px; margin: 0 auto; }

.bench-section { padding: 80px 0; }
.bench-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.bench-meta {
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 32px;
}

.bench-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 880px;
  margin: 0 auto;
}

.bench-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.bench-bar-row:last-child { border-bottom: none; }

.bench-bar-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.bench-bar-label.us {
  color: var(--accent);
  font-weight: 800;
}

.bench-bar-track {
  height: 24px;
  background: var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bench-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--ink-3);
  transition: width 1s var(--ease);
}

.bench-bar-fill.us { background: linear-gradient(90deg, var(--accent), #FFB196); }
.bench-bar-fill.bad { background: linear-gradient(90deg, var(--red), #FCA5A5); }

.bench-bar-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bench-bar-value.us { color: var(--accent); }

@media (max-width: 700px) {
  .bench-bar-row { grid-template-columns: 100px 1fr 70px; gap: 10px; font-size: 12px; }
  .bench-chart { padding: 24px 18px; }
}

/* ============================================
   BLOG
   ============================================ */
.blog-hero { padding: 80px 32px 60px; text-align: center; }
.blog-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.blog-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.blog-hero p { font-size: 18px; color: var(--ink-3); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.blog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
  color: inherit;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}

.blog-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
}

.blog-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-4);
}

.blog-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1c 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.blog-card.featured::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.3) 0%, transparent 60%);
  filter: blur(60px);
}

.blog-card.featured h2 { color: #fff; font-size: 28px; }
.blog-card.featured p { color: rgba(255, 255, 255, 0.7); }
.blog-card.featured .blog-card-meta { color: rgba(255, 255, 255, 0.4); }

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.blog-article h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.blog-article .blog-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 48px;
}

.blog-article-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.blog-article-body p { margin-bottom: 20px; }
.blog-article-body h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}
.blog-article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.blog-article-body ul, .blog-article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.blog-article-body li { list-style: disc; margin-bottom: 8px; }
.blog-article-body strong { color: var(--ink); font-weight: 700; }
.blog-article-body a { color: var(--accent); text-decoration: underline; }
.blog-article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink-2);
}

@media (max-width: 800px) {
  .blog-grid { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .blog-card.featured { grid-column: span 1; }
  .blog-card.featured h2 { font-size: 22px; }
  .blog-article { padding: 48px 20px 80px; }
}

/* ============================================
   TIER QUIZ
   ============================================ */
.quiz-section {
  padding: 100px 0;
  background: var(--bg-soft);
}

.quiz-card {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.quiz-progress-bar {
  height: 6px;
  background: var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 32px;
}

.quiz-progress-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--accent), #FFB196);
  border-radius: 3px;
  transition: width 0.4s var(--ease);
}

.quiz-question-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.quiz-question {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.quiz-option {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.quiz-option .quiz-option-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.quiz-option:hover .quiz-option-icon {
  border-color: var(--accent);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quiz-result {
  text-align: center;
}

.quiz-result-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 16px;
}

.quiz-result h3 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.quiz-result-price {
  font-size: 22px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.quiz-result-price strong { color: var(--accent); font-weight: 700; }

.quiz-result-reasoning {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.55;
}

.quiz-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .quiz-card { padding: 28px 22px; }
  .quiz-question { font-size: 20px; }
  .quiz-result h3 { font-size: 28px; }
}

/* ============================================
   SIGN IN COMING SOON PAGE
   ============================================ */
.signin-page {
  padding: 80px 32px 120px;
  min-height: 80vh;
}

.signin-card {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1c 100%);
  border-radius: 32px;
  padding: 64px 48px;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

.signin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}

.signin-mesh-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 16s ease-in-out infinite;
}

.signin-mesh-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FFB196 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite reverse;
}

.signin-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.signin-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.signin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 24px;
}

.signin-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 16px;
  padding: 0.05em 0.1em 0.05em 0;
}

.signin-content h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent) 0%, #FFB196 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 0.18em 0.05em 0.02em;
}

.signin-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin-bottom: 40px;
}

/* Progress */
.signin-progress {
  margin-bottom: 40px;
}

.signin-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.signin-progress-head span:first-child {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.signin-progress-pct {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.signin-progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.signin-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #FFB196);
  border-radius: 5px;
  box-shadow: 0 0 16px rgba(255, 77, 46, 0.5);
  transition: width 0.05s linear;
  position: relative;
}

.signin-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

.signin-progress-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Phases */
.signin-phases {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.signin-phase {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}

.signin-phase.done {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}

.signin-phase.in-progress {
  background: rgba(255, 77, 46, 0.06);
  border-color: rgba(255, 77, 46, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.1), 0 8px 24px rgba(255, 77, 46, 0.08);
}

.signin-phase-status {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-phase.done .signin-phase-status {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
}

.signin-phase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.signin-phase-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 77, 46, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.signin-phase-info {
  flex: 1;
  min-width: 0;
}

.signin-phase-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.signin-phase-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.signin-phase-sublist {
  margin-top: 12px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.sub-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.sub-item.done {
  color: rgba(255, 255, 255, 0.8);
}

.sub-item.done::before {
  background: var(--green);
  border-color: var(--green);
}

.sub-item.done::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 4px;
  height: 2px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.sub-item.active {
  color: var(--accent);
  font-weight: 600;
}

.sub-item.active::before {
  border-color: var(--accent);
  background: rgba(255, 77, 46, 0.2);
  animation: deploy-pulse 1.5s ease-in-out infinite;
}

/* CTA */
.signin-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.signin-back {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.signin-back:hover { color: #fff; }

/* Ticker */
.signin-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.ticker-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.ticker-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.signin-roadmap-link {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-3);
}

.signin-roadmap-link a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .signin-page { padding: 40px 16px 80px; }
  .signin-card { padding: 40px 24px; border-radius: 24px; }
  .signin-content h1 { font-size: clamp(30px, 8vw, 40px); }
  .signin-sub { font-size: 15px; }
  .signin-phase { padding: 14px; gap: 12px; }
  .signin-phase-title { font-size: 14px; }
  .signin-cta { flex-direction: column; align-items: stretch; }
  .signin-cta .btn-primary { justify-content: center; }
  .signin-back { text-align: center; }
}

/* ============================================
   TELEGRAM FAB
   ============================================ */
.tg-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9000;
  box-shadow: 0 10px 30px rgba(255, 77, 46, 0.4), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s var(--ease-snap), box-shadow 0.25s var(--ease);
}

.tg-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(255, 77, 46, 0.5), 0 6px 16px rgba(0, 0, 0, 0.1);
}

.tg-fab:active { transform: translateY(-1px) scale(1); }

.tg-fab-icon {
  position: relative;
  z-index: 2;
  margin-left: -2px;
}

.tg-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: tg-pulse 2.4s ease-out infinite;
}

@keyframes tg-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.tg-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.tg-fab-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}

.tg-fab:hover .tg-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .tg-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .tg-fab-tooltip { display: none; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  z-index: 9001;
  box-shadow: 0 24px 64px rgba(10, 10, 11, 0.18), 0 8px 16px rgba(10, 10, 11, 0.08);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.cookie-banner-text strong {
  color: var(--ink);
  font-weight: 700;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}

.cookie-btn-reject:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cookie-btn-accept:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 90px; left: 12px; right: 12px; padding: 14px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner-text { font-size: 12px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 10px; }
}

/* ============================================
   HAMBURGER + DRAWER (mobile nav)
   ============================================ */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--accent);
}

.nav-toggle:active {
  background: var(--accent-dark);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

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

.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 4px;
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(10, 10, 11, 0.12);
}

.nav.is-open .nav-drawer {
  display: flex;
  animation: drawer-in 0.25s var(--ease) both;
}

@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-drawer > a {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.15s;
}

.nav-drawer > a:hover {
  color: var(--accent);
}

.nav-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  margin-top: 8px;
}

/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 14px 24px; gap: 16px; }
  .hero { padding: 64px 24px 80px; }
  .hero-title { font-size: clamp(40px, 6vw, 72px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-right { height: 380px; max-width: 480px; margin: 0 auto; }

  .latency-grid { grid-template-columns: repeat(2, 1fr); }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-cell:nth-child(2) { border-right: none; }
  .stats-cell:nth-child(1), .stats-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .versus { grid-template-columns: 1fr; }
  .versus-divider { padding: 8px 0; }
  .trade-sim-grid { grid-template-columns: 1fr; }

  .roi-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }

  .step { grid-template-columns: 80px 1fr; padding: 24px 28px; }
  .step-visual { display: none; }

  .dash-body { grid-template-columns: 200px 1fr; }
  .dash-aside { display: none; }
  .dash-features-row { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; max-width: 480px; }
}

/* ============================================
   MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Container & section padding */
  .container { padding: 0 20px; }
  .hero { padding: 32px 20px 56px; }
  .latency, .features, .platforms, .how, .stats-wall, .pricing,
  .compare, .testimonials, .faq, .roi, .slippage, .dash-preview,
  .personas, .waitlist, .final-cta {
    padding: 64px 0;
  }

  /* Nav */
  .announce {
    font-size: 12px;
    padding: 8px 16px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }
  .announce span {
    display: inline;
    line-height: 1.4;
  }
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; }
  .logo-img { height: 28px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-title {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 15px;
    max-width: 100%;
    word-wrap: break-word;
  }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    justify-content: center;
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding-top: 28px;
    align-items: start;
    justify-items: center;
    text-align: center;
  }
  .hero-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero-stats .stat-num {
    font-size: 28px;
    justify-content: center;
  }
  .hero-stats .stat-num span { font-size: 15px; }
  .hero-stats .stat-num .latency-num { font-size: 28px; }
  .hero-stats .stat-label {
    font-size: 12px;
    margin-top: 0;
    line-height: 1.3;
  }

  /* Hide globe + float cards on mobile (too heavy + overflow) */
  .hero-right,
  .float-card,
  .float-card-1,
  .float-card-2,
  .float-card-3,
  .globe-container,
  .globe-rings,
  .globe-pulse,
  #globe { display: none !important; }

  /* Brokers strip */
  .brokers-strip { margin-top: 48px; padding: 20px 0; gap: 16px; flex-direction: column; align-items: flex-start; }
  .brokers-label { padding-left: 20px; font-size: 11px; }
  .brokers-track { width: 100%; }
  .brokers-row { gap: 40px; }
  .broker-item img { height: 20px; max-width: 100px; }

  /* Section heads */
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
  .section-sub { font-size: 16px; }

  /* Latency cards */
  .latency-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Slippage / trade sim */
  .trade-card { padding: 0; }
  .trade-card-head { padding: 20px 20px 8px; }
  .trade-screen { margin: 8px 16px; }
  .trade-card-foot { grid-template-columns: repeat(3, 1fr); }
  .foot-num { font-size: 18px; }
  .foot-stat { padding: 12px 8px; }
  .loss-banner { padding: 32px 20px; }
  .loss-grid { grid-template-columns: 1fr; gap: 16px; }
  .versus-vs { width: 52px; height: 52px; font-size: 14px; }

  /* ROI calculator */
  .roi-card { padding: 24px 20px; gap: 28px; }
  .roi-result-num { font-size: 36px; }
  .roi-result-card { padding: 24px 20px; }
  .roi-cta { flex-direction: column; gap: 8px; }
  .roi-cta .btn-primary, .roi-cta .btn-outline {
    width: 100%; justify-content: center;
  }

  /* Features grid */
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 24px; }
  .feat-mini { margin-top: 18px; padding: 14px; }

  /* Dashboard preview */
  .dash-preview { padding: 64px 0; }
  .dash-mock { border-radius: 12px; }
  .dash-toolbar { padding: 8px 12px; }
  .dash-url { font-size: 10px; padding: 4px 10px; }
  .dash-body { grid-template-columns: 1fr; min-height: auto; }
  .dash-sidebar { display: none; }
  .dash-aside { display: none; }
  .dash-main { padding: 16px; }
  .dash-main-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-creds-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-creds-actions { gap: 4px; }
  .dash-features-row { grid-template-columns: 1fr; }

  /* Platforms */
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-card { padding: 20px; }

  /* Personas */
  .persona-grid { grid-template-columns: 1fr; gap: 14px; }
  .persona-card { padding: 24px; }

  /* How it works */
  .how { padding: 56px 0; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 20px 24px; }
  .step-num { font-size: 56px; text-align: left; }
  .step-content h3 { font-size: 20px; }

  /* Stats wall */
  .stats-wall { padding: 72px 0; }
  .stats-cell { padding: 24px 16px; }
  .stats-num { font-size: clamp(40px, 12vw, 56px); }

  /* Pricing */
  /* Asymmetric padding: lighter top because the preceding section
     (Stability) already has its own bottom padding — stacking 64px
     produced a visible dead-zone gap before the "PRICING" eyebrow. */
  .pricing { padding: 40px 0 64px; }
  .pricing-grid-4 { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
  .price-card { padding: 28px 22px; }
  .amount { font-size: 48px; }
  .free-banner { padding: 28px 20px; margin-top: 40px; }
  .free-banner-inner { flex-direction: column; text-align: center; gap: 16px; }

  /* Compare */
  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table table { min-width: 640px; font-size: 12px; }
  .compare-table th, .compare-table td { padding: 14px 16px; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 24px; }

  /* FAQ */
  .faq { padding: 56px 0; }
  .faq-item summary { padding: 16px 20px; font-size: 15px; }
  .faq-item p { padding: 0 20px 16px; font-size: 14px; }

  /* Waitlist */
  .waitlist-card { padding: 56px 24px; border-radius: 24px; }
  .waitlist-content { min-height: auto; }
  .waitlist h2 { font-size: clamp(36px, 10vw, 48px); padding: 0.05em 0.1em; }
  .waitlist p { font-size: 15px; }
  .waitlist-inputs { grid-template-columns: 1fr; padding: 4px; gap: 4px; }
  .waitlist-input, .custom-select-trigger { padding: 14px 14px; }
  .waitlist-trust { gap: 16px; flex-direction: column; }
  .waitlist-trust-item { font-size: 13px; }
  .waitlist-success h3 { font-size: 26px; }
  .waitlist-success p { font-size: 14px; }
  .waitlist-success-share { gap: 8px; }
  .share-btn { padding: 8px 12px; font-size: 12px; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-bot { flex-direction: column; gap: 12px; text-align: center; font-size: 12px; }
  .status-pill { font-size: 11px; }

  /* Inner pages */
  .page-content { padding: 48px 20px 80px; }
  .page-head { margin-bottom: 40px; }
  .page-head h1 { font-size: clamp(30px, 9vw, 44px); }
  .page-body { font-size: 15px; line-height: 1.6; }
  .page-body h2 { font-size: 22px; margin-top: 36px; }

  .page-404 { padding: 64px 20px; }
  .page-404-num { font-size: 140px; }
  .page-404 h1 { font-size: 30px; }

  .roadmap-phase { padding: 24px 20px; }
  .roadmap-phase h3 { font-size: 19px; }
  .status-grid { grid-template-columns: 1fr; }

  /* Cursor disabled (already at 1024) but reaffirmed */
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 10px 16px; }
  .hero { padding: 32px 16px 56px; }

  .hero-title { font-size: clamp(36px, 12vw, 48px); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; }
  .stat-num { font-size: 24px; }
  .hero-right { height: 280px; }
  #globe { max-width: 280px; max-height: 280px; }
  .float-card { font-size: 10px; }

  .latency-card { padding: 20px; }
  .latency-value { font-size: 36px; }

  .feature-card { padding: 20px; }
  .feature-card h3 { font-size: 18px; }

  .platform-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .platform-card { padding: 18px 14px; }
  .platform-logo, .platform-logo-wrap { width: 56px; height: 56px; }

  .persona-card { padding: 22px 20px; }

  .price-card { padding: 24px 20px; }
  .amount { font-size: 44px; }
  .price-features li { font-size: 13px; }

  .waitlist-card { padding: 40px 16px; border-radius: 20px; }
  .waitlist h2 { font-size: clamp(32px, 11vw, 44px); }
  .waitlist-eyebrow { font-size: 11px; }
  .waitlist-success-icon { width: 60px; height: 60px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .versus-vs { width: 44px; height: 44px; font-size: 13px; }
  .roi-result-num { font-size: 32px; }
  .loss-num { font-size: clamp(40px, 13vw, 56px); }
  .stats-num { font-size: clamp(36px, 13vw, 48px); }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* mobile-fix-1778447103 */
