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

:root {
  --bg: #080808;
  --bg-2: #111318;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #222;
  --green: #00D47E;
  --green-dim: rgba(0, 212, 126, 0.12);
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.12);
  --red: #FF4D4D;
  --text: #F2F2F2;
  --muted: #888;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --pad: clamp(1.5rem, 5vw, 3rem);
}

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: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

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

/* ===== HERO ===== */
.hero {
  padding: clamp(3rem, 8vw, 6rem) var(--pad) clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-dim);
  border: 1px solid rgba(0,212,126,0.2);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  color: var(--green);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 2rem;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.price-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== DASHBOARD WIDGET ===== */
.dashboard-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: var(--font-body);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.dw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.dw-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dw-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.dw-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.dw-dot--green { background: var(--green); }
.dw-dot--amber { background: var(--amber); }
.dw-dot--red { background: var(--red); }

.dw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.dw-stat { background: var(--bg-2); border-radius: 8px; padding: 0.75rem; }
.dw-stat-label { display: block; font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.dw-stat-value { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.dw-stat-value--green { color: var(--green); }

.dw-accounts { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.dw-account { background: var(--bg-2); border-radius: 8px; padding: 0.75rem; }
.dw-account-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.dw-account-name { font-size: 0.75rem; font-weight: 500; }
.dw-account-status { font-size: 0.65rem; padding: 0.2rem 0.5rem; border-radius: 100px; font-weight: 500; }
.dw-account-status--safe { background: var(--green-dim); color: var(--green); }
.dw-account-status--warn { background: var(--amber-dim); color: var(--amber); }
.dw-drawdown { }
.dw-drawdown-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; margin-bottom: 0.35rem; }
.dw-drawdown-fill { height: 100%; border-radius: 2px; }
.dw-drawdown-fill--low { width: 18%; background: var(--green); }
.dw-drawdown-fill--mid { width: 62%; background: var(--amber); }
.dw-drawdown-label { font-size: 0.65rem; color: var(--muted); }

.dw-journal { border-top: 1px solid var(--border); padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.dw-journal-row { display: flex; align-items: center; gap: 1rem; }
.dw-journal-pair { font-size: 0.75rem; font-weight: 500; width: 80px; }
.dw-journal-side { font-size: 0.6rem; padding: 0.15rem 0.4rem; border-radius: 3px; background: rgba(0,212,126,0.12); color: var(--green); font-weight: 500; }
.dw-journal-rr { font-size: 0.7rem; color: var(--muted); flex: 1; }
.dw-journal-result { font-size: 0.75rem; font-weight: 600; font-family: var(--font-display); }
.dw-journal-result--win { color: var(--green); }
.dw-journal-result--loss { color: var(--red); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { order: -1; }
}

/* ===== METRICS STRIP ===== */
.metrics-strip { border-bottom: 1px solid var(--border); padding: 2rem var(--pad); background: var(--bg-2); }
.metrics-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-card { text-align: center; padding: 1rem; }
.metric-number { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.metric-label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

@media (max-width: 700px) {
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

/* ===== FEATURES ===== */
.features { padding: clamp(4rem, 8vw, 7rem) var(--pad); border-bottom: 1px solid var(--border); }
.features-inner { max-width: var(--max-w); margin: 0 auto; }
.features-inner .section-title { margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 40px; height: 40px;
  background: var(--green-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ===== TRACKING ===== */
.tracking { padding: clamp(4rem, 8vw, 7rem) var(--pad); border-bottom: 1px solid var(--border); }
.tracking-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.tracking-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.tracking-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.tracking-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); }
.tracking-check { flex-shrink: 0; margin-top: 2px; }

/* Account cards */
.account-cards { display: flex; flex-direction: column; gap: 1rem; }
.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.account-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.account-firm { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; }
.account-badge { font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 600; }
.account-badge--green { background: var(--green-dim); color: var(--green); }
.account-badge--amber { background: var(--amber-dim); color: var(--amber); }
.account-badge--muted { background: rgba(255,255,255,0.06); color: var(--muted); }
.account-balance { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.account-detail { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; margin-top: 0.2rem; }
.account-limits { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.account-limit { display: flex; flex-direction: column; gap: 0.2rem; }
.account-limit span:first-child { font-size: 0.65rem; color: var(--muted); }
.account-limit-val { font-size: 0.8rem; font-weight: 500; color: var(--text); }
.account-progress { }
.account-progress-bar { height: 3px; background: var(--surface-2); border-radius: 2px; overflow: hidden; margin-bottom: 0.35rem; }
.account-progress-fill { height: 100%; border-radius: 2px; }
.account-progress-fill--green { background: var(--green); width: 78%; }
.account-progress-fill--amber { background: var(--amber); width: 62%; }
.account-progress-label { font-size: 0.65rem; color: var(--muted); }

@media (max-width: 900px) {
  .tracking-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== PRICING ===== */
.pricing { padding: clamp(4rem, 8vw, 7rem) var(--pad); border-bottom: 1px solid var(--border); }
.pricing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.pricing-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2.5rem; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  text-align: left;
}
.pricing-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.pricing-name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); font-weight: 600; margin-bottom: 0.75rem; }
.pricing-amount { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.04em; }
.pricing-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

.pricing-features {
  list-style: none;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
}

.pricing-cta {
  padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
}
.pricing-cta-text {
  display: inline-block;
  background: var(--green);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.pricing-cta-note { font-size: 0.75rem; color: var(--muted); }

.pricing-contrast { display: flex; align-items: center; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.contrast-item { text-align: center; }
.contrast-price { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--muted); }
.contrast-item:first-child .contrast-price { color: var(--green); }
.contrast-label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.contrast-note { display: block; font-size: 0.65rem; color: #555; margin-top: 0.15rem; }
.contrast-divider { font-size: 0.75rem; color: #444; font-family: var(--font-display); font-weight: 600; }

/* ===== EDUCATION ===== */
.education { padding: clamp(4rem, 8vw, 7rem) var(--pad); border-bottom: 1px solid var(--border); }
.education-inner { max-width: var(--max-w); margin: 0 auto; }
.education-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 3rem; max-width: 600px; }
.education-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.education-item { background: var(--surface); padding: 1.75rem 1.5rem; }
.education-num { display: block; font-family: var(--font-display); font-size: 0.65rem; color: var(--green); font-weight: 700; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.education-item h3 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.education-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

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

/* ===== CLOSING ===== */
.closing { padding: clamp(5rem, 10vw, 9rem) var(--pad); text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}
.closing-sub { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 2rem; }
.closing-price { display: flex; align-items: baseline; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.closing-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--green); letter-spacing: -0.02em; }
.closing-label { font-size: 0.9rem; color: var(--muted); }
.closing-note { font-size: 0.75rem; color: #444; }

/* ===== FOOTER ===== */
.footer { padding: 2.5rem var(--pad) 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.8rem; color: var(--muted); max-width: 240px; }
.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.25rem; font-weight: 600; }
.footer-col a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom span { font-size: 0.75rem; color: #555; }
.footer-disclaimer { color: #444 !important; font-size: 0.7rem !important; }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
