/* ============================================================
   ProTradeJournal — Landing System (DARK)
   Trading-terminal black with a signature trade-green accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  /* Surfaces (near-black, cool) */
  --bg: #07090d;
  --bg-soft: #0a0e14;
  --bg-panel: #11161d;
  --bg-elev: #161c25;
  --bg-inkpanel: #0a0e14;

  /* Ink */
  --ink: #eef3f9;
  --ink-2: #9aa6b6;
  --ink-3: #66717f;
  --ink-on-dark: #eef3f9;
  --ink-on-dark-2: #9aa6b6;

  /* Brand — green is the signature accent */
  --green: #3fce81;
  --green-600: #2bb86d;
  --green-700: #229b5b;
  --green-300: #8ce6b4;
  --green-tint: rgba(63,206,129,.12);
  --green-tint-2: rgba(63,206,129,.18);

  /* Secondary blue (used sparingly) */
  --blue: #4d8dff;
  --blue-600: #3b7bf0;
  --blue-300: #9cbcff;
  --blue-tint: rgba(77,141,255,.14);

  /* Market semantics */
  --gain: #3fce81;
  --gain-tint: rgba(63,206,129,.14);
  --loss: #f0656b;
  --loss-tint: rgba(240,101,107,.14);

  /* Lines */
  --line: #1b232e;
  --line-2: #283341;
  --line-dark: #1b232e;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.3);
  --sh-2: 0 12px 32px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
  --sh-3: 0 32px 80px rgba(0,0,0,.6), 0 10px 30px rgba(0,0,0,.5);
  --sh-green: 0 12px 34px rgba(63,206,129,.32);

  --maxw: 1200px;
  --font: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.num { font-family: var(--mono); font-feature-settings: 'tnum' 1; letter-spacing: -.01em; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: var(--r-md);
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 20px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #04120a; box-shadow: var(--sh-green); }
.btn-primary:hover { background: var(--green-300); box-shadow: 0 16px 40px rgba(63,206,129,.4); }
.btn-ghost { background: var(--bg-elev); color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--ink-3); background: #1c232e; }
.btn-soft { background: var(--green-tint); color: var(--green-300); }
.btn-soft:hover { background: var(--green-tint-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-google {
  background: #fff; color: #1f2733; border: 1px solid transparent;
  box-shadow: var(--sh-1);
}
.btn-google:hover { background: #eef1f5; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,9,13,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; color: var(--ink); }
.brand .logo { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-link-btn { background: none; border: none; font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 10px 6px; }
.nav-link-btn:hover { color: var(--green); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.04fr; gap: 56px; align-items: start;
}
.hero-visual { margin-top: 6px; }
.hero-h1 {
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; margin: 20px 0 0;
}
.hero-h1 .hl { color: var(--green); }
.hero-sub { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); margin: 22px 0 0; max-width: 520px; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 30px; color: var(--ink-3); font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -9px;
  background: var(--green-tint); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--green-300);
}
.avatars span:first-child { margin-left: 0; }

/* hero glow backdrop */
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow::before {
  content: ''; position: absolute; right: -8%; top: -22%; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(63,206,129,.16), transparent 70%);
}
.hero-glow::after {
  content: ''; position: absolute; left: -12%; bottom: -30%; width: 580px; height: 580px;
  background: radial-gradient(closest-side, rgba(77,141,255,.10), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }

/* dotted grid texture */
.dotfield {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent);
}

/* ---------- dashboard mockup ---------- */
.dash {
  position: relative; border-radius: var(--r-xl); background: var(--bg-panel);
  box-shadow: var(--sh-3); padding: 18px; color: var(--ink-on-dark);
  border: 1px solid var(--line-dark);
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; }
.dash-bar .tl { display: flex; gap: 6px; }
.dash-bar .tl i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dash-title { margin-left: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-on-dark-2); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #6ee7b7; }
.dash-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }

.dash-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 13px; }
.panel { background: var(--bg-elev); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 16px; }
.panel.tall { grid-row: span 1; }
.panel-label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-on-dark-2); }
.pl-big { font-family: var(--mono); font-size: 27px; font-weight: 700; margin-top: 8px; letter-spacing: -.02em; }
.chip-gain { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: #34d399; background: rgba(52,211,153,.12); padding: 3px 8px; border-radius: 999px; margin-top: 10px; }
.chip-loss { color: #fb7185; background: rgba(251,113,133,.12); }

.chart-wrap { position: relative; margin-top: 10px; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--ink-on-dark-2); font-family: var(--mono); }

.ring-wrap { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.ring-center { font-family: var(--mono); }
.ring-center b { font-size: 22px; font-weight: 700; }
.mini-stats { margin-top: 14px; display: grid; gap: 10px; }
.mini-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; }
.mini-row span { color: var(--ink-on-dark-2); font-weight: 600; }
.mini-row b { font-family: var(--mono); font-weight: 700; font-size: 14px; }

.trades { margin-top: 13px; }
.trade { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-dark); }
.trade:first-child { border-top: none; }
.tk { display: flex; align-items: center; gap: 9px; }
.tk .badge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.06); color: var(--ink-on-dark); }
.tk .sym { font-weight: 700; font-size: 13px; }
.tk .meta { font-size: 10.5px; color: var(--ink-on-dark-2); font-weight: 600; }
.trade .px { font-family: var(--mono); font-size: 12.5px; color: var(--ink-on-dark-2); }
.trade .pnl { font-family: var(--mono); font-size: 13px; font-weight: 700; text-align: right; }
.pnl.up { color: #34d399; } .pnl.down { color: #fb7185; }

/* floating tags around dash */
.float-card {
  position: absolute; background: var(--bg-elev); color: var(--ink); border-radius: 14px;
  box-shadow: var(--sh-2); padding: 12px 14px; border: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 11px; z-index: 3;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ft { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.float-card .fv { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.fc-1 { top: 30px; left: -34px; animation: floaty 5s ease-in-out infinite; }
.fc-2 { bottom: 44px; right: -30px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }

/* ---------- quote band (Naval) ---------- */
.quote-band { padding: 34px 0 10px; position: relative; }
.tweet {
  max-width: 640px; margin: 0 auto;
  background: #15191f; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--sh-2);
}
.tweet-head { display: flex; align-items: flex-start; gap: 13px; }
.tweet-av { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; background: #2a313b; }
.tweet-id { display: flex; flex-direction: column; min-width: 0; }
.tweet-name { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 16px; color: #e7e9ea; }
.tweet-name .vf { color: #1d9bf0; flex: none; }
.tweet-handle { color: #71767b; font-size: 14.5px; font-weight: 500; }
.tweet-x { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #71767b; flex: none; }
.tweet-text { color: #e7e9ea; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.3; font-weight: 500; margin: 16px 0 0; letter-spacing: -.01em; }
.tweet-cap { text-align: center; color: var(--ink-3); font-size: 13px; font-weight: 600; margin: 18px 0 0; }

/* ---------- logos strip ---------- */
.strip {
  padding: 26px 28px; margin-top: 8px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(63,206,129,.07), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.strip-label { text-align: center; color: var(--ink-3); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 20px; }
.strip-row span { font-weight: 800; font-size: 17px; color: #4a5563; letter-spacing: -.01em; }
.strip-row span.soon { position: relative; }
.strip-row span.soon i { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-tint); border: 1px solid rgba(63,206,129,.3); padding: 2px 5px; border-radius: 999px; vertical-align: super; margin-left: 5px; position: relative; top: -2px; }

/* ---------- features ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 14px 0 0; }
.sec-sub { font-size: 17px; color: var(--ink-2); margin: 16px 0 0; line-height: 1.6; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.feat {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--sh-1); transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.feat .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); margin-bottom: 18px; }
.feat.green .ic { background: var(--gain-tint); color: var(--gain); }
.feat h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.feat p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.6; }
.feat .wide-span { grid-column: span 1; }

/* ---------- stats band ---------- */
.stats { background: var(--bg-soft); color: var(--ink-on-dark); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 64px 0; }
.stat { text-align: center; }
.stat .v { font-family: var(--mono); font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.02em; }
.stat .v .u { color: var(--green-300); }
.stat .l { color: var(--ink-on-dark-2); font-size: 14px; font-weight: 600; margin-top: 6px; }
.stat .v .gn { color: #34d399; }

/* ---------- CTA ---------- */
.cta-band { padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: var(--r-xl); padding: 64px 40px;
  background: linear-gradient(135deg, #0c2418, #123726 50%, #0c2418);
  color: #fff; box-shadow: var(--sh-3); overflow: hidden;
  border: 1px solid rgba(63,206,129,.28);
}
.cta-card::before {
  content:''; position:absolute; left:50%; top:-40%; width:620px; height:620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(63,206,129,.22), transparent 70%);
}
.cta-card::after {
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 22px 22px; opacity:.6;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.cta-card p { font-size: 17px; color: rgba(255,255,255,.82); margin: 16px auto 0; max-width: 500px; }
.cta-card .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--ink-2); font-size: 14px; max-width: 280px; margin: 14px 0 0; line-height: 1.6; }
.foot-col h5 { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; font-weight: 600; }
.foot-col a:hover { color: var(--green); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; font-weight: 600; flex-wrap: wrap; gap: 12px; }

/* ---------- auth modal ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(2,4,8,.66); backdrop-filter: blur(6px);
  animation: scrim .25s ease;
}
@keyframes scrim { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 880px; background: var(--bg-panel); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97) } to { opacity:1; transform: none } }

/* left visual side */
.modal-aside {
  background: var(--bg-inkpanel); color: #fff; padding: 38px 34px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; border-right: 1px solid var(--line);
}
.modal-aside::before {
  content:''; position:absolute; right:-30%; top:-20%; width:380px; height:380px;
  background: radial-gradient(closest-side, rgba(63,206,129,.4), transparent 70%);
}
.modal-aside .brand { color:#fff; position: relative; z-index:1; }
.modal-aside .a-h { font-size: 25px; font-weight: 800; letter-spacing:-.02em; margin: auto 0 0; position:relative; z-index:1; line-height:1.2; }
.modal-aside .a-p { color: var(--ink-on-dark-2); font-size: 14px; margin: 14px 0 0; position:relative; z-index:1; line-height:1.6; }
.aside-stats { display:flex; gap: 26px; margin-top: 26px; position:relative; z-index:1; }
.aside-stats .v { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--green-300); }
.aside-stats .l { font-size: 11.5px; color: var(--ink-on-dark-2); font-weight: 600; margin-top: 2px; }
.aside-quote { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); position: relative; z-index:1; }
.aside-quote p { font-size: 13.5px; color: var(--ink-on-dark); line-height: 1.6; font-style: italic; }
.aside-quote .who { font-size: 12px; color: var(--ink-on-dark-2); margin-top: 10px; font-weight: 700; font-style: normal; }

/* form side */
.modal-form { padding: 38px 38px 34px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-elev); color: var(--ink-2); display:grid; place-items:center; }
.modal-close:hover { background: #1c232e; color: var(--ink); }
.tabs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 22px; }
.tab { border: none; background: none; padding: 9px 18px; font-size: 14px; font-weight: 700; color: var(--ink-3); border-radius: 9px; transition: all .18s; }
.tab.active { background: var(--bg-elev); color: var(--ink); box-shadow: var(--sh-1); }
.modal-form h2 { font-size: 23px; font-weight: 800; letter-spacing:-.02em; margin: 0 0 4px; color: var(--ink); }
.modal-form .lede { color: var(--ink-2); font-size: 14.5px; margin: 0 0 22px; }

.field { margin-bottom: 15px; }
.field label { display:block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap .lead { position:absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); display:grid; place-items:center; }
.field input {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  padding: 13px 14px 13px 42px; font-size: 14.5px; font-family: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; background: var(--bg-soft);
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(63,206,129,.14); }
.field.err input { border-color: var(--loss); }
.field.err input:focus { box-shadow: 0 0 0 4px rgba(240,101,107,.14); }
.field .eye { position:absolute; right: 10px; top: 50%; transform: translateY(-50%); background:none; border:none; color: var(--ink-3); padding:6px; border-radius:6px; }
.field .eye:hover { color: var(--ink); }
.err-msg { color: var(--loss); font-size: 12.5px; font-weight: 600; margin-top: 6px; display: flex; align-items:center; gap:5px; }

.row-between { display:flex; align-items:center; justify-content: space-between; margin: 4px 0 18px; }
.check { display:flex; align-items:center; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--green); }
.link-sm { font-size: 13px; font-weight: 700; color: var(--green); }
.link-sm:hover { text-decoration: underline; }

.divider { display:flex; align-items:center; gap: 14px; margin: 20px 0; color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.divider::before, .divider::after { content:''; height:1px; background: var(--line-2); flex:1; }

.strength { display:flex; gap:5px; margin-top: 9px; }
.strength i { height: 4px; flex:1; border-radius: 4px; background: var(--line-2); transition: background .25s; }
.strength.s1 i:nth-child(1){ background: var(--loss);}
.strength.s2 i:nth-child(-n+2){ background: #e8a33d;}
.strength.s3 i:nth-child(-n+3){ background: #e8c63d;}
.strength.s4 i{ background: var(--gain);}
.strength-label { font-size: 11.5px; font-weight: 700; margin-top: 6px; color: var(--ink-3); }

.form-foot { text-align:center; font-size: 13.5px; color: var(--ink-2); margin-top: 18px; font-weight: 600; }
.form-foot button { background:none; border:none; color: var(--green); font-weight: 800; font-size: 13.5px; }
.form-foot button:hover { text-decoration: underline; }
.legal { font-size: 11.5px; color: var(--ink-3); text-align:center; margin-top: 14px; line-height: 1.5; }
.legal a { color: var(--ink-2); font-weight: 700; }

/* loading + success states */
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(4,18,10,.35); border-top-color:#04120a; border-radius:50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.success-state { text-align:center; padding: 30px 10px 16px; }
.success-ring { width: 78px; height: 78px; margin: 0 auto 22px; }
.success-state h2 { font-size: 23px; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.success-state p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.check-svg { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .5s .15s ease forwards; }
.ring-svg { stroke-dasharray: 235; stroke-dashoffset: 235; animation: draw .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav-links { display: none; }
  .modal { grid-template-columns: 1fr; max-width: 460px; }
  .modal-aside { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .feat-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero-cta .btn { flex: 1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
