/* HedgeInv marketing site - shared stylesheet */
:root {
  --bg: #0b1220;
  --bg-elevated: #121b2e;
  --bg-elevated-2: #182644;
  --gold: #d4af6a;
  --gold-bright: #e8c988;
  --blue: #4c7cf0;
  --blue-bright: #6d94f5;
  --text: #e8edf7;
  --text-dim: #b7c2da;
  --muted: #8592ad;
  --border: #223252;
  --border-bright: #2d4270;
  --positive: #34d399;
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 0%, #0f1a30 0%, var(--bg) 55%);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
}
a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: var(--gold-bright); }
h1, h2, h3 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.01em; margin-top: 0; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.site-header .brand span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > .nav-item { position: relative; }
.site-nav > .nav-item > a, .site-nav > .nav-item > span {
  display: block; padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: 14px;
  color: var(--text-dim); cursor: pointer;
}
.site-nav > .nav-item:hover > a, .site-nav > .nav-item:hover > span { background: var(--bg-elevated-2); color: var(--text); }
.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--bg-elevated); border: 1px solid var(--border-bright);
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  padding: 16px; min-width: 220px; z-index: 50;
}
.site-nav > .nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--text-dim); }
.nav-dropdown a:hover { background: var(--bg-elevated-2); color: var(--gold-bright); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-block; background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff; border: none; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
}
.btn.secondary { background: transparent; border: 1px solid var(--border-bright); color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-bright); border-radius: 8px; color: var(--text); font-size: 18px; padding: 6px 12px; }

@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-elevated); flex-direction: column; align-items: stretch; padding: 10px; border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
  .nav-dropdown { position: static; display: block; border: none; box-shadow: none; padding: 4px 0 4px 16px; background: none; }
  .nav-toggle { display: inline-block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 28px 50px;
  background: radial-gradient(circle at 20% 15%, rgba(76,124,240,0.16), transparent 45%), radial-gradient(circle at 85% 85%, rgba(212,175,106,0.12), transparent 45%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-text h1 { font-size: 42px; margin-bottom: 16px; }
.hero-text p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 26px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 360px; height: auto; }
.hero-photo { width: 100%; max-width: 400px; border-radius: 16px; display: block; box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.two-col-photo { width: 100%; border-radius: 16px; display: block; }
@media (max-width: 640px) { .hero-text h1 { font-size: 28px; } .hero-inner { grid-template-columns: 1fr; text-align: center; } .hero-art { order: -1; } .hero-art svg { max-width: 240px; } }

/* ---------- Section variations ---------- */
.section { padding: 50px 24px; }
.section.alt { background: rgba(255,255,255,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: 28px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.feature-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.instrument-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.instrument-list span { background: var(--bg-elevated-2); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--text-dim); }

/* ---------- Content ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 60px 24px; }
.container.narrow { max-width: 760px; }
.subtitle { color: var(--muted); line-height: 1.7; font-size: 15px; }
.card {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-elevated-2); color: var(--gold-bright); }
.stat-box { background: var(--bg-elevated-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; text-align: center; }
.stat-box .value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gold-bright); }
.stat-box .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.cta-band { text-align: center; padding: 60px 24px; border-top: 1px solid var(--border); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

details.faq { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 24px 24px; text-align: center; color: var(--muted); font-size: 13px; }
.site-footer .links { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.site-footer .risk-note { max-width: 800px; margin: 20px auto 0; font-size: 12px; line-height: 1.7; color: #5f6c8a; }
