/* ===========================================================================
   stockborsa.com — brand design tokens and shared components
   Palette follows the reference: deep indigo/violet gradients, a light-blue
   logo accent and a warm yellow call to action.
   =========================================================================== */

:root {
  /* surfaces */
  --ink-900: #0b0b2b;
  --ink-800: #12123f;
  --ink-700: #191657;
  --violet-700: #3b1e9e;
  --violet-600: #4c1d95;
  --violet-500: #5b21b6;
  --indigo-600: #2b2bb8;
  --indigo-500: #3a3ad6;

  /* accents */
  --sky: #63b3ff;
  --sky-soft: #9ecdff;
  --pink: #d98cf5;
  --gold: #f7c552;
  --gold-dark: #e0a92f;

  /* semantic */
  --up: #22d37f;
  --down: #ff4d6a;

  /* text */
  --text: #ffffff;
  --text-soft: #c7cbf5;
  --text-dim: #9195c8;
  --text-faint: #6f74a8;

  /* lines & panels */
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --panel: rgba(255, 255, 255, .05);
  --panel-2: rgba(255, 255, 255, .08);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--sky); color: var(--ink-900); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── Page backdrop ───────────────────────────────────────────────────────── */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 12% -8%, var(--indigo-500) 0%, transparent 58%),
    radial-gradient(900px 620px at 88% 4%, var(--violet-500) 0%, transparent 55%),
    radial-gradient(800px 800px at 50% 120%, #1d1466 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
}

.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 25%, #000 10%, transparent 78%);
}

.page { position: relative; z-index: 1; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 clamp(18px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 43, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo b { font-weight: 800; }
.logo .accent { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  flex: 1;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: .93rem;
  font-weight: 600;
  color: #fff;
  transition: .2s;
}
/* The resting state is white now, so hover is shown by the background alone */
.nav-links a:hover { color: #fff; background: var(--panel); }

.nav-side { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* language switch */
.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
}
.lang button {
  padding: 7px 11px;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s;
}
.lang button.on { background: var(--sky); color: var(--ink-900); }
.lang button:not(.on):hover { color: #fff; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 11px;
  border: 0;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #35270a;
  box-shadow: 0 10px 26px -8px rgba(247, 197, 82, .55);
}
.btn-gold:hover { box-shadow: 0 16px 34px -8px rgba(247, 197, 82, .7); }

.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: #fff;
}
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, .38); }

.btn-sm { padding: 9px 17px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }


/* Square icon button, used for the account entry point in the nav */
.icon-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text-soft);
  cursor: pointer;
  transition: .2s;
}
.icon-btn:hover { color: #fff; border-color: var(--sky); background: rgba(99, 179, 255, .12); }
.icon-btn svg { width: 19px; height: 19px; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.section { padding: clamp(58px, 8vw, 108px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(99, 179, 255, .12);
  border: 1px solid rgba(99, 179, 255, .3);
  color: var(--sky-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -.02em; }

.grad {
  background: linear-gradient(96deg, var(--sky) 8%, #a78bfa 52%, var(--pink) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { color: var(--text-soft); font-size: clamp(1rem, 1.3vw, 1.16rem); }
.muted { color: var(--text-dim); }

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 34px;
  color: var(--text-dim);
  font-size: .9rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 13px;
  font-weight: 800;
}
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); }
.footer-col a:hover { color: #fff; }

.disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: rgba(255, 77, 106, .06);
  color: var(--text-dim);
  font-size: .84rem;
  line-height: 1.65;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .16);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .28); background-clip: padding-box; }

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