/* FTH Trading — FTHX/FTHG Institutional Design System
   Colors: Navy #071426 · Blue #0057FF · Gold #C89B3C · Silver #C7CCD6 · Charcoal #111827
   This file is included inline in each page for zero-dependency static hosting. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #071426;
  --blue:   #0057FF;
  --gold:   #C89B3C;
  --silver: #C7CCD6;
  --charcoal: #111827;
  --dark:   #0a0f1c;
  --muted:  #4B5563;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--silver);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* ── Topnav ────────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 20, 38, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 155, 60, 0.2);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-decoration: none;
}
.nav-brand span { color: var(--silver); font-size: 0.7rem; letter-spacing: 1px; display: block; margin-top: -2px; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(0,87,255,0.12); }
.nav-link.active { color: var(--gold); }
.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 0.4rem 1rem;
}
.nav-link.nav-cta:hover { background: #0045cc; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0a1428 0%, #071426 40%, #0a0f1c 100%);
  border-bottom: 1px solid rgba(200,155,60,0.15);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,87,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,155,60,0.12);
  border: 1px solid rgba(200,155,60,0.35);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0.3px;
}
.btn-primary:hover { background: #0045cc; }
.btn-outline {
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(199,204,214,0.35);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}
.btn-outline:hover { border-color: var(--silver); color: var(--white); }

/* ── Trust bar ─────────────────────────────────── */
.trust-bar {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(200,155,60,0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.trust-item span.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Sections ──────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section.alt { background: var(--charcoal); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.section-body {
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 680px;
}

/* ── Cards ─────────────────────────────────────── */
.card-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--dark);
  border: 1px solid rgba(199,204,214,0.1);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.15s;
}
.card:hover { border-color: rgba(0,87,255,0.4); }
.card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.card-title { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.card-body { font-size: 0.88rem; color: var(--silver); line-height: 1.65; }

/* ── Status badge ──────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-pending { background: rgba(200,155,60,0.1); border: 1px solid rgba(200,155,60,0.3); color: var(--gold); }
.status-review  { background: rgba(0,87,255,0.1);   border: 1px solid rgba(0,87,255,0.3);   color: #6699ff; }
.status-inactive{ background: rgba(75,85,99,0.2);   border: 1px solid rgba(75,85,99,0.4);   color: var(--muted); }
.status-live    { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #10b981; }

/* ── Table ─────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.data-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(199,204,214,0.1);
}
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(199,204,214,0.06);
  font-size: 0.9rem;
  color: var(--silver);
}
.data-table tr:last-child td { border-bottom: none; }

/* ── Callout ───────────────────────────────────── */
.callout {
  background: rgba(0,87,255,0.07);
  border: 1px solid rgba(0,87,255,0.2);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}
.callout.gold-callout {
  background: rgba(200,155,60,0.07);
  border-color: rgba(200,155,60,0.25);
  border-left-color: var(--gold);
}

/* ── Footer ────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(199,204,214,0.1);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.footer-brand-tagline { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { font-size: 0.85rem; color: var(--silver); text-decoration: none; transition: color 0.15s; }
.footer-col li a:hover { color: var(--white); }
.footer-divider { border: none; border-top: 1px solid rgba(199,204,214,0.1); margin-bottom: 1.5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-disclaimer { font-size: 0.72rem; color: var(--muted); line-height: 1.6; max-width: 700px; font-style: italic; }
.footer-legal { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .topnav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .trust-bar { gap: 1rem; }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
