/* ============================================================
   Nordic Trading Technologies — navy + gold design system
   ============================================================ */
:root {
  --bg: #0a1120;
  --bg-2: #0d1526;
  --bg-3: #101a2e;
  --card: #111c31;
  --card-edge: #1d2b47;
  --ink: #eaf0f9;
  --ink-dim: #a7b4c9;
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-dim: rgba(212, 175, 55, .14);
  --radius: 14px;
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* ---------- typography ---------- */
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: 1.09rem; color: var(--ink-dim); }
.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gold-text {
  background: linear-gradient(100deg, #e8c95c, var(--gold) 45%, #9e7d1d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(120deg, #e2bd45, var(--gold-soft));
  color: #141003;
  box-shadow: 0 6px 24px rgba(212, 175, 55, .28);
}
.btn-gold:hover { box-shadow: 0 10px 30px rgba(212, 175, 55, .4); }
.btn-ghost {
  border: 1px solid var(--card-edge);
  color: var(--ink);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 17, 32, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 43, 71, .6);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 33px; flex: none; }
.brand-name { font-weight: 800; letter-spacing: .06em; font-size: .95rem; white-space: nowrap; }
.brand-name span { color: var(--gold); font-weight: 650; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-dim); font-size: .95rem; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { flex: none; padding: 10px 20px; font-size: .9rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(212, 175, 55, .13), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(38, 66, 120, .35), transparent 60%),
    linear-gradient(180deg, #0b1322, var(--bg) 70%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,175,55,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212,175,55,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 420px at 70% 10%, #000, transparent 75%);
}
.hero-inner { max-width: 820px; }
.hero-sub { margin: 26px 0 34px; font-size: 1.13rem; color: var(--ink-dim); max-width: 46rem; }
.hero-sub em { color: var(--gold); font-style: normal; font-weight: 650; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(29, 43, 71, .7);
  list-style: none;
}
.trust-strip li { color: var(--ink-dim); font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.trust-strip li::before { content: "◆"; color: var(--gold); font-size: .6rem; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg-3) 60%, var(--bg-2)); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head .lead { margin-top: 14px; }
.section-note { margin-top: 34px; color: var(--ink-dim); font-size: .92rem; text-align: center; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(160deg, var(--card), #0e1729);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .45); box-shadow: 0 14px 38px rgba(0, 0, 0, .35); }
.card p { color: var(--ink-dim); font-size: .96rem; }
.card h3 { margin-bottom: 10px; }

.num-card .num {
  display: inline-block;
  font-size: .95rem; font-weight: 800; color: var(--gold);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 8px; padding: 3px 9px;
  margin-bottom: 16px; letter-spacing: .05em;
}

/* products */
.product-card { display: flex; flex-direction: column; }
.product-badge {
  align-self: flex-start;
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  color: #141003;
  background: linear-gradient(120deg, #e2bd45, var(--gold-soft));
  padding: 4px 10px; border-radius: 6px; margin-bottom: 18px;
}
.product-badge.alt { background: none; color: var(--gold); border: 1px solid rgba(212, 175, 55, .5); }
.product-badge.alt2 { background: none; color: var(--ink-dim); border: 1px solid var(--card-edge); }
.product-tag { color: var(--gold); font-size: .86rem; font-weight: 700; margin-bottom: 12px; }
.feature-list { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(29, 43, 71, .8); }
.feature-list li { color: var(--ink-dim); font-size: .92rem; padding: 5px 0 5px 22px; position: relative; }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .45); }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.team-card figcaption { padding: 14px 16px 16px; }
.team-card strong { display: block; font-size: .98rem; }
.team-card span { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.team-banner { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-edge); }

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 400;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--ink-dim); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(640px 320px at 50% 120%, rgba(212, 175, 55, .16), transparent 70%);
}
.cta-band .lead { margin: 18px auto 30px; max-width: 560px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--card-edge); padding: 60px 0 34px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 42px; }
.footer-brand p { color: var(--ink-dim); font-size: .93rem; margin-top: 16px; }
.footer-contact a { color: var(--gold); font-size: .93rem; }
.footer-contact a:hover { text-decoration: underline; }
.footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.footer-grid > div > a { display: block; color: var(--ink-dim); font-size: .94rem; padding: 4px 0; }
.footer-grid > div > a:hover { color: var(--gold); }
.disclaimer {
  color: #6d7a90; font-size: .78rem; line-height: 1.6;
  border-top: 1px solid rgba(29, 43, 71, .6);
  padding-top: 26px;
}
.copyright { color: #6d7a90; font-size: .8rem; margin-top: 18px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--card-edge);
    padding: 18px 24px; gap: 16px;
  }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
