/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0F1E;
  --surface: #111827;
  --surface2: #1a2234;
  --green: #00E887;
  --green-dim: #00E88722;
  --amber: #FFB340;
  --red: #FF4D6A;
  --text: #E8ECF4;
  --text-muted: #7A8499;
  --border: #1E2535;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: var(--bg); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(11,15,30,0.9);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-logo::after { content: '.'; color: var(--green); }
.nav-tagline { font-size: 13px; color: var(--text-muted); }
.nav-cta {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  padding: 7px 18px;
  background: var(--green); color: #000;
  border-radius: 6px; text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.2px;
}
.nav-cta:hover { opacity: 0.85; }

/* === SECTION COMMON === */
.section-tag {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

/* === HERO === */
.hero {
  padding: 80px 32px 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,232,135,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}

/* Browser mockup */
.hero-browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,232,135,0.1);
}
.browser-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border);
}
.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA41; }
.browser-url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text-muted);
  background: var(--bg); border-radius: 6px; padding: 4px 12px;
  border: 1px solid var(--border);
}
.browser-content {
  display: grid; grid-template-columns: 1fr 120px; gap: 0;
  padding: 16px; gap: 12px;
}
.chart-area {
  background: var(--bg); border-radius: 10px;
  padding: 14px; border: 1px solid var(--border);
}
.chart-label {
  font-size: 11px; color: var(--text-muted);
  margin-bottom: 10px; font-family: var(--font-head);
  letter-spacing: 0.5px;
}
.candles {
  display: flex; align-items: flex-end; gap: 3px;
  height: 80px; margin-bottom: 10px;
}
.candle {
  flex: 1; border-radius: 2px 2px 0 0;
  min-width: 4px;
}
.candle.green { background: var(--green); }
.candle.red { background: var(--red); }
.indicators {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.ind-badge {
  font-size: 10px; font-family: var(--font-head);
  padding: 3px 8px; border-radius: 4px;
  background: var(--surface2); color: var(--amber);
  border: 1px solid rgba(255,179,64,0.2);
}
.ind-badge.ema {
  color: var(--green);
  border-color: rgba(0,232,135,0.2);
}
.watch-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted);
}
.watch-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.trade-panel {
  background: var(--surface2); border-radius: 10px;
  padding: 14px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.trade-header { font-size: 11px; color: var(--text-muted); }
.trade-pair { font-size: 16px; font-family: var(--font-head); font-weight: 700; }
.trade-return { font-size: 13px; color: var(--green); font-weight: 600; }
.trade-btn {
  border: none; border-radius: 6px; padding: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
}
.trade-btn.green { background: var(--green); color: #000; }
.trade-btn.red { background: var(--red); color: #fff; }
.trade-btn:hover { opacity: 0.85; }
.trade-executed {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: rgba(0,232,135,0.07);
  border-top: 1px solid rgba(0,232,135,0.15);
  font-size: 12px; color: var(--green);
  font-family: var(--font-head);
}
.exec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Hero text */
.hero-eyebrow {
  font-size: 13px; font-weight: 500;
  color: var(--green); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; color: var(--text);
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero-text h1 em { font-style: normal; color: var(--green); }
.hero-lede {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 36px;
  max-width: 440px;
}
.hero-stats {
  display: flex; gap: 28px;
  border-top: 1px solid var(--border); padding-top: 28px;
}
.hero-stat {}
.stat-value {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700; color: var(--text);
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* === HOW === */
.how {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.how-header {
  max-width: 1200px; margin: 0 auto 64px;
}
.how-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -0.5px;
}
.steps {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.step {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-head);
  font-size: 52px; font-weight: 800;
  color: var(--green); opacity: 0.15;
  line-height: 1; margin-bottom: 20px;
}
.step h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px; color: var(--text);
}
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* === FEATURES === */
.features {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.features-header {
  max-width: 1200px; margin: 0 auto 56px;
}
.features-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -0.5px;
}
.feature-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,232,135,0.3); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--green-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === PLATFORMS === */
.platforms {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.platforms-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.platforms-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.platforms-text > p {
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 36px;
}
.platform-list { display: flex; flex-direction: column; gap: 0; }
.platform-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.platform-item:first-child { border-top: 1px solid var(--border); }
.platform-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.platform-status { font-size: 13px; color: var(--text-muted); }
.platforms-visual {
  display: flex; flex-direction: column; gap: 12px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px;
  transition: border-color 0.2s;
}
.platform-card:hover { border-color: rgba(0,232,135,0.3); }
.p-label { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p-chips span {
  font-size: 12px; padding: 4px 10px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 100px; color: var(--text-muted);
}

/* === RULES === */
.rules {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.rules-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.rule-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 0 0 1px rgba(0,232,135,0.08);
}
.rule-condition, .rule-action {
  background: var(--surface2);
  border-radius: 10px; padding: 16px;
  border: 1px solid var(--border);
}
.condition-label, .action-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.condition-items, .action-items { display: flex; flex-direction: column; gap: 8px; }
.cond-item, .act-item {
  display: flex; align-items: center; gap: 10px;
}
.cond-key { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--amber); }
.cond-op { font-size: 13px; color: var(--text-muted); }
.cond-val { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text); }
.cond-and {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; background: var(--bg); border-radius: 4px;
  align-self: flex-start; border: 1px solid var(--border);
}
.act-btn {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 6px;
}
.act-btn.green { background: var(--green); color: #000; }
.act-amt { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.act-label { font-size: 12px; color: var(--text-muted); }
.rule-arrow {
  text-align: center; color: var(--text-muted);
  opacity: 0.5;
}
.rules-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px;
}
.rules-text > p {
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 28px;
}
.rule-logic { display: flex; flex-direction: column; gap: 12px; }
.logic-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-muted);
}
.logic-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--green); background: var(--green-dim);
  padding: 3px 8px; border-radius: 4px;
  min-width: 48px; text-align: center;
  border: 1px solid rgba(0,232,135,0.2);
}

/* === RISK === */
.risk-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.risk-inner { max-width: 1200px; margin: 0 auto; }
.risk-icon { color: var(--amber); margin-bottom: 20px; }
.risk-inner h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px;
}
.risk-inner > p {
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
  max-width: 620px; margin-bottom: 48px;
}
.risk-items {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  margin-bottom: 32px;
}
.risk-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.risk-badge {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--amber); margin-bottom: 8px;
}
.risk-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.risk-disclaimer {
  font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 24px;
  line-height: 1.7; opacity: 0.7;
}

/* === CLOSING === */
.closing {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 24px;
}
.closing > p {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 60px;
}
.closing-values {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 48px;
}
.cv-item { text-align: center; padding: 0 40px; }
.cv-num {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800; color: var(--green);
  line-height: 1;
}
.cv-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.cv-divider {
  width: 1px; height: 48px;
  background: var(--border);
}
.closing-tagline {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.7; font-style: italic;
}

/* === FOOTER === */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  margin-bottom: 8px;
}
.footer-brand::after { content: '.'; color: var(--green); }
.footer-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-links { margin-bottom: 20px; }
.footer-links span { font-size: 13px; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 12px; color: var(--text-muted); opacity: 0.6;
  line-height: 1.7; max-width: 600px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .platforms-inner, .rules-inner {
    grid-template-columns: 1fr; gap: 40px;
  }
  .steps, .feature-grid, .risk-items { grid-template-columns: 1fr 1fr; }
  .hero-browser { max-width: 500px; }
  .closing-values { flex-direction: column; gap: 24px; }
  .cv-divider { width: 40px; height: 1px; }
}
@media (max-width: 600px) {
  .steps, .feature-grid, .risk-items { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero { padding: 60px 20px 80px; }
  .how, .features, .platforms, .rules, .risk-section, .closing { padding: 60px 20px; }
}