/* landing.css — public marketing page + login page. Standalone (not loaded by
   the SPA), but reuses the app's dark palette so the brand stays consistent. */
:root {
  --bg:        #0c0e15;
  --bg-2:      #131722;
  --panel:     #161a25;
  --panel-2:   #1e222d;
  --panel-hover:#222632;
  --border:    #2a2e39;
  --border-2:  #363a45;
  --text:      #d1d4dc;
  --text-2:    #b2b5be;
  --text-dim:  #787b86;
  --accent:    #2962ff;
  --accent-2:  #1e53e5;
  --up:        #26a69a;
  --font: -apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ----- buttons ----- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.lp-btn-primary { background: var(--accent); color: #fff; }
.lp-btn-primary:hover { background: var(--accent-2); }
.lp-btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.lp-btn-ghost:hover { background: var(--panel-2); }
.lp-btn-lg { padding: 12px 26px; font-size: 15px; }
.lp-btn-block { width: 100%; }

/* ----- top nav ----- */
.lp-nav { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.lp-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.lp-brand { font-weight: 700; font-size: 18px; color: #fff; letter-spacing: .3px; text-decoration: none; }

/* ----- hero ----- */
.lp-hero {
  max-width: 1100px; margin: 0 auto; padding: 72px 24px 48px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.lp-hero-copy h1 {
  font-size: 42px; line-height: 1.12; margin: 0 0 20px; color: #fff; letter-spacing: -.5px;
}
.lp-lede { font-size: 17px; color: var(--text-2); margin: 0 0 28px; max-width: 34em; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.lp-hero-visual {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.lp-chart { width: 100%; height: 220px; display: block; }
.lp-candles line { stroke-width: 1.5; }

/* ----- feature grid ----- */
.lp-features {
  max-width: 1100px; margin: 0 auto; padding: 24px 24px 80px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.lp-feature {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.lp-feature h3 { margin: 0 0 8px; font-size: 15px; color: #fff; }
.lp-feature p { margin: 0; font-size: 13.5px; color: var(--text-dim); }

/* ----- footer ----- */
.lp-footer {
  border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px;
  padding: 20px 24px; display: flex; gap: 8px; justify-content: center;
}
.lp-foot-sep { opacity: .5; }

/* ----- auth (login) page ----- */
.lp-auth-body { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.lp-auth-wrap { width: 100%; max-width: 380px; }
.lp-auth-brand { display: block; text-align: center; margin-bottom: 20px; font-size: 22px; }
.lp-auth-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.lp-auth-card h1 { margin: 0 0 20px; font-size: 22px; color: #fff; }
.lp-auth-form { display: flex; flex-direction: column; gap: 16px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-field span { font-size: 13px; color: var(--text-2); font-weight: 600; }
.lp-field input {
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 8px;
  padding: 10px 12px; color: var(--text); font-size: 14px; font-family: var(--font);
}
.lp-field input:focus { outline: none; border-color: var(--accent); }
.lp-auth-error {
  background: rgba(239, 83, 80, .12); border: 1px solid rgba(239, 83, 80, .4);
  color: #ef9a9a; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}
.lp-auth-note { margin: 18px 0 0; font-size: 12.5px; color: var(--text-dim); text-align: center; }

/* ----- responsive ----- */
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 48px; gap: 32px; }
  .lp-hero-copy h1 { font-size: 32px; }
  .lp-hero-visual { order: -1; }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .lp-features { grid-template-columns: 1fr; }
}
