/* ==========================================================================
   TradePilot — Trading Bot website
   Design: dark fintech (TradingView) + heldere conversie (Libertex)
   Pure CSS, geen frameworks. Te uploaden naar Strato via FTP.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #0a0e17;
  --bg-elevated:   #0f1421;
  --surface:       #131a2a;
  --surface-2:     #1a2236;
  --border:        #242c40;
  --border-soft:   #1c2336;

  --text:          #e8ecf5;
  --text-muted:    #8b93a7;
  --text-dim:      #5f6982;

  --brand:         #2b6cff;
  --brand-2:       #00d4ff;
  --brand-glow:    rgba(43, 108, 255, 0.45);

  --green:         #00c896;
  --green-soft:    rgba(0, 200, 150, 0.12);
  --red:           #ff4d5e;
  --red-soft:      rgba(255, 77, 94, 0.12);
  --amber:         #ffb02e;

  --gradient-brand: linear-gradient(120deg, #2b6cff 0%, #00d4ff 100%);
  --gradient-text:  linear-gradient(120deg, #ffffff 0%, #9fc2ff 60%, #00d4ff 100%);
  --gradient-card:  linear-gradient(160deg, rgba(43,108,255,0.08), rgba(0,212,255,0.02));

  --radius:        14px;
  --radius-lg:     20px;
  --radius-sm:     9px;

  --shadow:        0 10px 40px rgba(0,0,0,0.45);
  --shadow-glow:   0 0 0 1px rgba(43,108,255,0.25), 0 20px 60px rgba(43,108,255,0.18);

  --maxw:          1200px;
  --nav-h:         70px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* subtiele radiale gloed achtergrond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(43,108,255,0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(0,212,255,0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; z-index: 1; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.section-sub { color: var(--text-muted); font-size: 18px; max-width: 620px; margin: 16px auto 0; }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 11px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 24px var(--brand-glow); }
.btn-primary:hover { box-shadow: 0 12px 32px var(--brand-glow); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #38415c; }
.btn-green { background: linear-gradient(120deg,#00c896,#00a37a); color:#03150f; }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,200,150,0.3); }
.btn-lg { padding: 17px 32px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; z-index: 100;
  background: rgba(10,14,23,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10,14,23,0.9); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--gradient-brand);
  display: grid; place-items: center; box-shadow: 0 6px 16px var(--brand-glow);
}
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 3px auto; border-radius: 2px; transition: .25s; }

/* ---------- Ticker bar ---------- */
.ticker {
  position: relative; z-index: 1;
  margin-top: var(--nav-h);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(15,20,33,0.6);
  overflow: hidden; height: 44px; display: flex; align-items: center;
}
.ticker-track { display: flex; gap: 40px; white-space: nowrap; will-change: transform; animation: ticker 40s linear infinite; padding-left: 40px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ticker-sym { color: var(--text); font-weight: 700; }
.ticker-price { color: var(--text-muted); }
.ticker-chg { font-weight: 600; }
.up { color: var(--green); } .down { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.hero p.lead { font-size: 19px; color: var(--text-muted); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-size: 24px; font-weight: 800; }
.hero-trust span { font-size: 13px; color: var(--text-dim); }
.badge-row { display:flex; gap:10px; flex-wrap:wrap; margin-top: 26px; }
.chip { font-size: 13px; color: var(--text-muted); background: rgba(255,255,255,0.03); border:1px solid var(--border); padding:7px 13px; border-radius: 100px; display:inline-flex; align-items:center; gap:7px; }
.chip svg { width:15px; height:15px; color: var(--green); }

/* ---------- Hero chart card ---------- */
.chart-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.chart-card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); }
.chart-pair { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.chart-pair .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chart-price { text-align: right; }
.chart-price .p { font-size: 20px; font-weight: 800; }
.chart-price .c { font-size: 13px; font-weight: 600; }
.chart-body { position: relative; height: 260px; }
.chart-body canvas { width: 100%; height: 100%; display: block; }
.bot-strip { display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 13px 18px; border-top: 1px solid var(--border-soft); background: rgba(0,200,150,0.04); }
.bot-strip .live { display:flex; align-items:center; gap:8px; font-size:13px; color: var(--green); font-weight:600; }
.pulse { width:8px; height:8px; border-radius:50%; background: var(--green); position:relative; }
.pulse::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--green); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0%{ transform:scale(1); opacity:.7 } 100%{ transform:scale(3.5); opacity:0 } }

/* ---------- Logos / trust band ---------- */
.trust-band { border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); padding: 26px 0; }
.trust-band .row { display:flex; align-items:center; justify-content:center; gap: 44px; flex-wrap:wrap; color: var(--text-dim); font-weight:600; font-size:14px; }
.trust-band .row span { display:inline-flex; align-items:center; gap:9px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: #324063; box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gradient-card); border: 1px solid rgba(43,108,255,0.2); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; color: var(--brand-2); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 46px; font-weight: 800; line-height: 1;
  background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  opacity: .9; display:block; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; position: relative; display: flex; flex-direction: column;
}
.price-card.featured { border-color: rgba(43,108,255,0.5); box-shadow: var(--shadow-glow); background: linear-gradient(170deg, rgba(43,108,255,0.07), var(--surface) 40%); }
.price-tag-pop { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--gradient-brand); color:#fff; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:6px 14px; border-radius:100px; box-shadow:0 6px 16px var(--brand-glow); }
.price-plan { font-size: 15px; font-weight: 700; color: var(--brand-2); text-transform: uppercase; letter-spacing: .06em; }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 6px; }
.price-amt .num { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.price-amt .per { color: var(--text-muted); font-size: 16px; }
.price-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--text); }
.price-features li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.price-features li.off { color: var(--text-dim); }
.price-features li.off svg { color: var(--text-dim); }

/* ---------- Dashboard preview ---------- */
.dash-preview {
  background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.dash-bar { display:flex; align-items:center; gap:8px; padding: 13px 16px; border-bottom: 1px solid var(--border-soft); }
.dash-bar .dots { display:flex; gap:6px; }
.dash-bar .dots i { width:11px; height:11px; border-radius:50%; display:block; }
.dash-bar .dots i:nth-child(1){background:#ff5f57} .dash-bar .dots i:nth-child(2){background:#febc2e} .dash-bar .dots i:nth-child(3){background:#28c840}
.dash-bar .url { margin-left: 12px; font-size: 13px; color: var(--text-dim); background: var(--bg); padding: 5px 12px; border-radius: 7px; border:1px solid var(--border-soft); }
.dash-inner { display: grid; grid-template-columns: 1fr 280px; gap: 0; }
.dash-main { padding: 18px; border-right: 1px solid var(--border-soft); }
.dash-main canvas { width: 100%; height: 280px; display:block; }
.dash-side { padding: 18px; display:flex; flex-direction: column; gap: 14px; }
.stat { background: var(--bg); border:1px solid var(--border-soft); border-radius: 11px; padding: 14px 16px; }
.stat .l { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }
.stat .v { font-size: 22px; font-weight: 800; margin-top: 4px; }
.stat .v.green { color: var(--green); } .stat .v.red { color: var(--red); }
.dash-row { display:flex; align-items:center; justify-content:space-between; font-size:14px; padding: 9px 0; border-bottom: 1px dashed var(--border-soft); }
.dash-row:last-child { border-bottom:none; }
.tag { font-size: 12px; font-weight:700; padding: 3px 9px; border-radius: 6px; }
.tag.buy { background: var(--green-soft); color: var(--green); }
.tag.sell { background: var(--red-soft); color: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 16px; font-weight: 600; text-align: left; }
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform .25s; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--brand-2); border-radius:2px; }
.faq-q .pm::before { top:50%; left:0; right:0; height:2px; transform:translateY(-50%); }
.faq-q .pm::after { left:50%; top:0; bottom:0; width:2px; transform:translateX(-50%); transition: opacity .25s; }
.faq-item.open .pm::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 22px; color: var(--text-muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(43,108,255,0.16), rgba(0,212,255,0.08));
  border: 1px solid rgba(43,108,255,0.3); border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px,3.5vw,38px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-muted); font-size: 18px; margin: 14px auto 28px; max-width: 520px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 32px; margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 15px; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-about p { color: var(--text-muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-dim); font-size: 14px; }
.risk { background: rgba(255,176,46,0.06); border:1px solid rgba(255,176,46,0.2); border-radius: 11px; padding: 16px 18px; margin-bottom: 36px; }
.risk p { color: #c9b48a; font-size: 13px; line-height: 1.6; }
.risk b { color: var(--amber); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; overflow: hidden; background: linear-gradient(160deg, #0e1729 0%, #0a0e17 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 48px; border-right: 1px solid var(--border); }
.auth-visual canvas { position:absolute; inset:0; width:100%; height:100%; opacity:.45; }
.auth-visual-inner { position: relative; z-index:2; }
.auth-quote { position: relative; z-index:2; }
.auth-quote p { font-size: 20px; font-weight: 600; line-height: 1.5; }
.auth-quote span { color: var(--text-muted); font-size: 14px; display:block; margin-top: 12px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form { width: 100%; max-width: 400px; }
.auth-form h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.auth-form .sub { color: var(--text-muted); margin: 8px 0 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 11px;
  padding: 14px 16px; color: var(--text); font-size: 15px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(43,108,255,0.18); }
.field input::placeholder { color: var(--text-dim); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-muted); font-size: 15px; }
.auth-alt a { color: var(--brand-2); font-weight: 600; }
.divider { display:flex; align-items:center; gap:14px; margin: 22px 0; color: var(--text-dim); font-size: 13px; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background: var(--border); }
.form-note { font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.plan-pick { display:flex; gap:10px; margin-bottom: 22px; }
.plan-opt { flex:1; border:1px solid var(--border); border-radius: 12px; padding: 14px; cursor:pointer; transition:.15s; text-align:center; }
.plan-opt:hover { border-color:#38415c; }
.plan-opt.active { border-color: var(--brand); background: rgba(43,108,255,0.08); }
.plan-opt .pn { font-weight:700; font-size:15px; }
.plan-opt .pp { font-size:13px; color: var(--text-muted); margin-top:3px; }

/* ---------- Page header (subpages) ---------- */
.page-head { padding: calc(var(--nav-h) + 64px) 0 40px; text-align:center; }
.page-head h1 { font-size: clamp(32px,5vw,52px); font-weight:800; letter-spacing:-0.03em; }
.page-head p { color: var(--text-muted); font-size:18px; margin-top:14px; max-width:600px; margin-inline:auto; }

/* ---------- Billing toggle ---------- */
.bill-toggle { display:inline-flex; align-items:center; gap:14px; margin-top: 26px; background: var(--surface); border:1px solid var(--border); padding: 7px; border-radius: 100px; }
.bill-toggle button { padding: 9px 20px; border-radius: 100px; font-weight:600; font-size:14px; color: var(--text-muted); transition:.2s; }
.bill-toggle button.active { background: var(--gradient-brand); color:#fff; }
.bill-save { font-size:12px; color: var(--green); font-weight:700; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .dash-inner { grid-template-columns: 1fr; }
  .dash-main { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 16px 24px;
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 16px; }
  .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
}
