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

:root {
  --bg:          #050a14;
  --bg2:         #0b1220;
  --bg3:         #101829;
  --border:      rgba(99,179,237,0.12);
  --accent:      #00d4ff;
  --accent2:     #7c3aed;
  --accent3:     #10b981;
  --gold:        #f59e0b;
  --text:        #e2e8f0;
  --muted:       #64748b;
  --card:        rgba(255,255,255,0.04);
  --glow:        0 0 60px rgba(0,212,255,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../bg.png') no-repeat center center;
  background-size: 52vw;
  opacity: 0.07;
  filter: invert(1);
  pointer-events: none;
  z-index: -1;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

/* ── Reusables ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent); padding: 6px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-dot { width: 6px; height: 6px; background: var(--accent3); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, var(--accent3) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all .25s; text-decoration: none; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff; box-shadow: 0 0 30px rgba(0,212,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,212,255,0.55); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5,10,20,0.75);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.logo-img {
  height: 48px; width: 48px; object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.96);
  padding: 3px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.01em;
}
.logo-slogan {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-signin {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color .2s;
}
.nav-signin:hover { color: var(--text); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 24px; flex-direction: column; gap: 20px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35;
}
.glow-blue  { width: 600px; height: 600px; background: var(--accent);  top:-200px; left:50%; transform:translateX(-50%); }
.glow-purple{ width: 400px; height: 400px; background: var(--accent2); bottom:-100px; right:5%; }
.glow-green { width: 300px; height: 300px; background: var(--accent3); bottom:0; left:5%; }

/* Animated grid */
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; }
.hero-badge { margin-bottom: 28px; }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.07; margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted);
  max-width: 640px; margin: 0 auto 44px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header p { color: var(--muted); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 32px; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(124,58,237,0.06));
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); box-shadow: var(--glow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.icon-blue   { background: rgba(0,212,255,0.12);   border: 1px solid rgba(0,212,255,0.2); }
.icon-purple { background: rgba(124,58,237,0.12);  border: 1px solid rgba(124,58,237,0.2); }
.icon-green  { background: rgba(16,185,129,0.12);  border: 1px solid rgba(16,185,129,0.2); }
.icon-gold   { background: rgba(245,158,11,0.12);  border: 1px solid rgba(245,158,11,0.2); }
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ═══════════════════════════════════════
   MARKETS
═══════════════════════════════════════ */
.markets { padding: 100px 0; background: var(--bg2); }
.markets-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px;
  margin-top: 64px;
}
.market-card {
  border-radius: 24px; padding: 44px 36px; text-align: center;
  position: relative; overflow: hidden; cursor: default;
  transition: transform .3s;
}
.market-card:hover { transform: translateY(-6px); }
.market-card.stocks  { background: linear-gradient(145deg, rgba(0,212,255,0.08), rgba(0,212,255,0.02)); border: 1px solid rgba(0,212,255,0.2); }
.market-card.options { background: linear-gradient(145deg, rgba(124,58,237,0.10), rgba(124,58,237,0.02)); border: 1px solid rgba(124,58,237,0.2); }
.market-card.crypto  { background: linear-gradient(145deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02)); border: 1px solid rgba(245,158,11,0.2); }
.market-emoji { font-size: 3rem; margin-bottom: 20px; display: block; }
.market-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 14px;
}
.market-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; }
.market-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag {
  padding: 5px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.how { padding: 100px 0; }
.steps {
  display: flex; flex-direction: column; gap: 0;
  max-width: 800px; margin: 64px auto 0; position: relative;
}
.steps::before {
  content: ''; position: absolute; left: 27px; top: 40px; bottom: 40px;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent2));
  opacity: 0.3;
}
.step {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 36px; margin-bottom: 16px; transition: all .3s;
}
.step:hover { border-color: rgba(0,212,255,0.25); transform: translateX(6px); }
.step-num {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px;
}
.step-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ═══════════════════════════════════════
   ALGO SHOWCASE
═══════════════════════════════════════ */
.algo { padding: 100px 0; background: var(--bg2); }
.algo-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.algo-text h2 { margin-bottom: 20px; }
.algo-text p { color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.algo-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.algo-list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; font-size: 0.9rem; font-weight: 500; transition: all .3s;
}
.algo-list li:hover { border-color: rgba(0,212,255,0.3); color: var(--accent); }
.algo-list li span { font-size: 1.2rem; }

/* Terminal-like card */
.algo-visual {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.terminal-bar {
  background: var(--bg2); padding: 14px 20px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.t-btn { width: 12px; height: 12px; border-radius: 50%; }
.t-red    { background: #f87171; }
.t-yellow { background: #fbbf24; }
.t-green  { background: #34d399; }
.t-title { margin-left: 12px; font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.terminal-body { padding: 24px; font-family: 'Courier New', monospace; font-size: 0.82rem; line-height: 2; }
.t-comment { color: #475569; }
.t-keyword { color: #7c3aed; }
.t-fn      { color: #00d4ff; }
.t-str     { color: #10b981; }
.t-num     { color: #f59e0b; }
.t-output  { color: #34d399; }
.t-cursor  { display: inline-block; width: 8px; height: 14px; background: var(--accent); animation: blink 1s step-end infinite; vertical-align: -2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ═══════════════════════════════════════
   PERFORMANCE
═══════════════════════════════════════ */
.performance { padding: 100px 0; }
.perf-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
  margin-top: 64px;
}
.perf-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 28px; text-align: center; transition: all .3s;
}
.perf-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.perf-value {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 800;
  line-height: 1; margin-bottom: 10px;
}
.perf-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.perf-sublabel { font-size: 0.75rem; color: var(--muted); opacity: 0.6; margin-top: 6px; }

/* ── Chart bars ── */
.chart-wrap {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 32px; margin-top: 40px;
}
.chart-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar {
  width: 100%; border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--accent2), var(--accent));
  animation: growBar .8s ease-out forwards;
  transform-origin: bottom; transform: scaleY(0);
}
@keyframes growBar { to { transform: scaleY(1); } }
.bar-label { font-size: 0.7rem; color: var(--muted); }

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.pricing { padding: 100px 0; background: var(--bg2); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  margin-top: 64px; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 40px 36px; position: relative; transition: all .3s;
}
.plan:hover { transform: translateY(-6px); }
.plan.popular {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 60px rgba(0,212,255,0.12);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 18px;
  border-radius: 999px; white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.plan-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px;
}
.plan-price .dollar { font-size: 1.2rem; color: var(--muted); margin-top: 8px; }
.plan-price .amount {
  font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1;
}
.plan-price .period { font-size: 0.9rem; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 32px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.plan-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--text);
}
.plan-features li .check { color: var(--accent3); font-size: 1rem; flex-shrink: 0; }
.plan-features li .x     { color: var(--muted);   font-size: 1rem; flex-shrink: 0; }
.plan-features li.muted  { color: var(--muted); }
.plan-btn { width: 100%; justify-content: center; }
.plan-btn.ghost {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.plan-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq { padding: 100px 0; background: var(--bg2); }
.faq-list { max-width: 760px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.faq-q {
  padding: 22px 28px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .arrow {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: transform .3s;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s;
  padding: 0 28px; color: var(--muted); font-size: 0.9rem; line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 28px 22px; }

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-top: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; margin-bottom: 20px; line-height: 1.15;
}
.cta-section p { color: var(--muted); max-width: 540px; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; color: var(--muted); font-size: 0.82rem; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color .2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
  transition: all .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.disclaimer {
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px; padding: 14px 20px; margin-top: 24px;
  font-size: 0.76rem; color: var(--muted); line-height: 1.6;
}
.disclaimer strong { color: var(--gold); }

/* ═══════════════════════════════════════
   ANIMATIONS / SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .algo-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline, .nav-signin { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 120px 0 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps::before { display: none; }
}

/* ═══════════════════════════════════════
   FREE TRIAL MODAL
═══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,10,20,0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px; width: 100%;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  color: var(--muted); font-size: 1.6rem;
  cursor: pointer; line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--text); }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; margin: 12px 0 8px; }
.modal-header p { color: var(--muted); font-size: 0.9rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group input.error,
.form-group select.error { border-color: #ef4444; }
.field-error { display: block; color: #ef4444; font-size: 0.78rem; margin-top: 5px; min-height: 16px; }
.form-note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 14px; }
.trial-success { display: none; text-align: center; padding: 10px 0; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.trial-success h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; margin-bottom: 10px; }
.trial-success p { color: var(--muted); line-height: 1.7; }
