/* ============================================================
   Stepko Investments — styles.css
   Navy + gold brand, with dark (default) and light themes.
   ============================================================ */

:root {
  /* Brand constants (identical in both themes) */
  --blue:     #3B82F6;
  --blue-300: #7FB4FA;
  --gold:     #FBBF24;
  --gold-600: #E0A50C;

  /* Theme tokens — DARK (default) */
  --bg-deep:      #0A1E32;
  --bg:           #0F2A43;
  --bg-alt:       #0A1E32;
  --surface:      #143753;
  --surface-2:    #0F2A43;
  --text:         #FFFFFF;
  --text-muted:   #9FC0E8;
  --border:       rgba(159, 192, 232, .12);
  --border-strong:rgba(159, 192, 232, .20);
  --header-bg:    rgba(10, 30, 50, .85);
  --menu-bg:      rgba(10, 30, 50, .97);
  --input-bg:     rgba(10, 30, 50, .6);
  --grid-line:    rgba(159, 192, 232, .05);
  --ghost-border: rgba(159, 192, 232, .4);

  --hero-bg:
    radial-gradient(1100px 600px at 80% -10%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(251,191,36,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  --glass-bg: linear-gradient(160deg, rgba(27,70,106,.6), rgba(15,42,67,.5));
  --about-art-bg:
    radial-gradient(600px 300px at 100% 0, rgba(59,130,246,.25), transparent 60%),
    linear-gradient(160deg, #143753, #0F2A43);
  --band-bg:
    radial-gradient(700px 400px at 50% 0, rgba(251,191,36,.10), transparent 60%),
    var(--bg-alt);
  --cta-bg:
    radial-gradient(700px 400px at 90% 10%, rgba(59,130,246,.30), transparent 55%),
    linear-gradient(150deg, #1B466A, #0F2A43);

  --shadow-card: 0 24px 50px rgba(0,0,0,.4);

  --maxw: 1180px;
  --r: 18px;
}

/* Theme tokens — LIGHT */
:root[data-theme="light"] {
  --bg-deep:      #FFFFFF;
  --bg:           #F4F7FB;
  --bg-alt:       #FFFFFF;
  --surface:      #FFFFFF;
  --surface-2:    #F4F7FB;
  --text:         #0F2A43;
  --text-muted:   #5B7894;
  --border:       rgba(15, 42, 67, .10);
  --border-strong:rgba(15, 42, 67, .16);
  --header-bg:    rgba(244, 247, 251, .88);
  --menu-bg:      rgba(255, 255, 255, .98);
  --input-bg:     #FFFFFF;
  --grid-line:    rgba(15, 42, 67, .045);
  --ghost-border: rgba(15, 42, 67, .22);

  --hero-bg:
    radial-gradient(1100px 600px at 80% -10%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(251,191,36,.14), transparent 55%),
    linear-gradient(180deg, #FFFFFF, #EAF1F9);
  --glass-bg: linear-gradient(160deg, #FFFFFF, #EAF1F9);
  --about-art-bg:
    radial-gradient(600px 300px at 100% 0, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(160deg, #FFFFFF, #E9F0F8);
  --band-bg:
    radial-gradient(700px 400px at 50% 0, rgba(251,191,36,.12), transparent 60%),
    #EEF4FB;
  --cta-bg:
    radial-gradient(700px 400px at 90% 10%, rgba(59,130,246,.16), transparent 55%),
    linear-gradient(150deg, #FFFFFF, #E5EEF8);

  --shadow-card: 0 24px 50px rgba(15,42,67,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gold { color: var(--gold); }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s, color .2s;
  cursor: pointer; border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-600));
  color: #0A1E32;
  box-shadow: 0 10px 30px rgba(251,191,36,.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(251,191,36,.42); }
.btn-gold:disabled { opacity: .7; cursor: default; transform: none; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--ghost-border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--ghost-border);
  color: var(--text); cursor: pointer; flex-shrink: 0;
  transition: border-color .2s, color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ---------- Nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand .name { font-weight: 800; font-size: 20px; letter-spacing: .5px; line-height: 1; color: var(--text); }
.brand .sub { font-size: 10px; letter-spacing: 4px; color: var(--text-muted); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 11px 22px; }
.nav-links a.btn-gold { color: #0A1E32; }
.nav-links a.btn-gold:hover { color: #0A1E32; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--hero-bg);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
  position: relative; z-index: 2; padding: 120px 0 80px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.25);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.05;
  letter-spacing: -1px; margin-bottom: 22px;
}
.hero h1 .accent { background: linear-gradient(120deg, var(--gold-600), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-muted); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .s b { display: block; font-size: 30px; font-weight: 800; color: var(--text); }
.hero-stats .s span { font-size: 13px; color: var(--text-muted); letter-spacing: .3px; }

/* Hero visual card */
.hero-visual { position: relative; }
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-strong);
  border-radius: 26px; padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.gc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.gc-top .label { font-size: 13px; color: var(--text-muted); }
.gc-top .pill { font-size: 12px; font-weight: 700; color: #15A06A; background: rgba(110,231,183,.18); padding: 4px 12px; border-radius: 999px; }
.gc-value { font-size: 40px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.gc-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }

/* Animated step-bars chart */
.chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding-top: 10px; }
.chart .bar {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--blue-300), var(--blue));
  transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) backwards;
}
.chart .bar:nth-child(1){ height: 38%; animation-delay:.1s; }
.chart .bar:nth-child(2){ height: 55%; animation-delay:.2s; }
.chart .bar:nth-child(3){ height: 47%; animation-delay:.3s; }
.chart .bar:nth-child(4){ height: 72%; animation-delay:.4s; }
.chart .bar:nth-child(5){ height: 64%; animation-delay:.5s; }
.chart .bar:nth-child(6){ height: 90%; background: linear-gradient(180deg, var(--gold), var(--gold-600)); animation-delay:.6s; }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.float-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #FFFFFF; color: #0A1E32;
  border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  animation: floaty 4s ease-in-out infinite;
}
.float-badge svg { width: 28px; height: 28px; color: var(--gold-600); }
.float-badge b { font-size: 15px; line-height: 1.1; }
.float-badge span { font-size: 11px; color: #5B7894; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

/* ---------- Section base ---------- */
section { position: relative; }
.pad { padding: 100px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.section-head p { color: var(--text-muted); margin-top: 16px; font-size: 17px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 22px; }
.about p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.about .ticks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about .ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.about .ticks svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }

.about-art {
  position: relative; border-radius: 26px; min-height: 380px;
  background: var(--about-art-bg);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-art .ring { position: absolute; border: 1px solid var(--border-strong); border-radius: 50%; }
.about-art .r1 { width: 460px; height: 460px; }
.about-art .r2 { width: 320px; height: 320px; }
.about-art .r3 { width: 180px; height: 180px; }
.about-art .logo-mark { width: 150px; height: 150px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.3)); position: relative; z-index: 2; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 34px 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-8px); border-color: rgba(251,191,36,.45); box-shadow: var(--shadow-card); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.25);
  margin-bottom: 22px;
}
.card .ico svg { width: 28px; height: 28px; color: var(--gold-600); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ---------- Stats band ---------- */
.band {
  background: var(--band-bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-grid .st b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--text), var(--text-muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-grid .st b .gold { -webkit-text-fill-color: var(--gold-600); }
.stat-grid .st span { display: block; margin-top: 12px; color: var(--text-muted); font-size: 14px; letter-spacing: .4px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 24px; border-radius: var(--r);
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); }
.step .num {
  font-size: 14px; font-weight: 800; color: #0A1E32;
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-600)); margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ---------- CTA / Contact ---------- */
.contact { background: var(--bg-alt); }
.cta-box {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 64px 56px;
  background: var(--cta-bg);
  border: 1px solid var(--border-strong);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
}
.cta-box h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; }
.cta-box p { color: var(--text-muted); margin-top: 16px; font-size: 16px; }
.contact-list { margin-top: 28px; display: grid; gap: 16px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .ic svg { width: 20px; height: 20px; color: var(--gold-600); }
.contact-list small { display: block; color: var(--text-muted); font-weight: 400; font-size: 12px; }

/* form */
form { display: grid; gap: 14px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form input, form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--input-bg); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
form input::placeholder, form textarea::placeholder { color: var(--text-muted); opacity: .8; }
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251,191,36,.15); }
form textarea { resize: vertical; min-height: 110px; }
form .btn { justify-content: center; width: 100%; }
.btn-gold:disabled:hover { transform: none; box-shadow: none; }

/* email verification */
.email-row, .code-row { display: flex; gap: 12px; align-items: stretch; }
.email-row input, .code-row input { flex: 1; }
.code-row input { letter-spacing: 4px; font-weight: 600; text-align: center; }
.btn-verify {
  flex: 0 0 128px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251,191,36,.12); border: 1px solid var(--gold); color: var(--gold);
  font-family: inherit; font-weight: 700; font-size: 13px; border-radius: 12px; padding: 0 12px;
  cursor: pointer; white-space: nowrap; transition: background .15s, opacity .15s;
}
.btn-verify:hover:not(:disabled) { background: rgba(251,191,36,.22); }
.btn-verify:disabled { opacity: .45; cursor: not-allowed; }
:root[data-theme="light"] .btn-verify { color: var(--gold-600); border-color: var(--gold-600); }
.verify-status { font-size: 13px; font-weight: 600; min-height: 18px; margin: -2px 0; }
.verify-status.ok { color: #15A06A; }
.verify-status.err { color: #EF5350; }

.form-note { font-size: 12px; color: var(--text-muted); text-align: center; }
.form-status { font-size: 14px; text-align: center; font-weight: 600; min-height: 20px; }
.form-status.ok { color: #15A06A; }
.form-status.err { color: #EF5350; }

/* ---------- Footer ---------- */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .brand { margin-bottom: 16px; }
footer p.about-foot { color: var(--text-muted); font-size: 14px; max-width: 320px; }
.foot-col h4 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-600); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 24px; color: var(--text-muted); font-size: 13px; }
.disclaimer { font-size: 11px; color: var(--text-muted); opacity: .8; margin-top: 14px; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 120px 0 70px; }
  .hero-visual { max-width: 440px; }
  .about-grid, .cta-box { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 44px 30px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
    position: absolute; top: 70px; left: 16px; right: 16px;
    background: var(--menu-bg); backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong); border-radius: 16px; padding: 22px 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
  }
  .nav-links.open .btn { width: 100%; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .float-badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  @keyframes floaty { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,-10px);} }
  .pad { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
