/* FxPortalOS — FxPortal landing page */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1628;
  --navy-light: #132035;
  --navy-mid: #1A2D4A;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --cream: #F4F1EC;
  --cream-dark: #E8E2D8;
  --text-primary: #F4F1EC;
  --text-secondary: #8FA3BF;
  --text-navy: #0B1628;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--navy); }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; }

/* === NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: -0.5px;
}
.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--cream); background: rgba(255,255,255,0.05); }
.nav-link-active { color: var(--gold); background: rgba(201, 168, 76, 0.08); }

/* === HERO === */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(26, 45, 74, 0.6) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-left: 1px solid rgba(201, 168, 76, 0.08);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  gap: 40px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === RATE CARD === */
.rate-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.rate-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rate-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rate-card-updated {
  font-size: 11px;
  color: var(--text-secondary);
}
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rate-row-cad { border-bottom: none; }
.rate-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}
.currency-flag {
  width: 28px;
  height: 28px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
}
.currency-code {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
}
.currency-name {
  font-size: 11px;
  color: var(--text-secondary);
}
.rate-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.rate-naira {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}
.rate-per {
  font-size: 11px;
  color: var(--text-secondary);
}
.rate-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.rate-card-disclaimer {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* === RATES STRIP === */
.rates-strip {
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 0;
}
.rates-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 64px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.rates-strip-inner::-webkit-scrollbar { display: none; }
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.strip-label {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.strip-rate {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}
.strip-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  margin: 0 28px;
  flex-shrink: 0;
}
.strip-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 100px 0;
  background: var(--cream);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.features-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #4A5568;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 22, 40, 0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #6B7280;
}

/* === CORRIDORS === */
.corridors {
  padding: 100px 0;
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}
.corridors-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.corridors-content {
  max-width: 640px;
  margin-bottom: 64px;
}
.corridors .section-heading { color: var(--cream); }
.corridors .section-sub { color: var(--text-secondary); }
.corridors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.corridor-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}
.corridor-card:hover { border-color: rgba(201, 168, 76, 0.25); }
.corridor-card-aus { opacity: 0.7; }
.corridor-flag {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.corridor-pair {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}
.corridor-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.corridor-rate {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.corridors-footnote {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}
.corridors-footnote strong { color: var(--gold); font-weight: 600; }

/* === TRUST === */
.trust {
  padding: 100px 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.trust-stat-block {
  display: flex;
  gap: 64px;
  justify-content: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--cream-dark);
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.trust-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -2px;
}
.trust-label {
  font-size: 13px;
  color: #6B7280;
  max-width: 140px;
}
.trust-quote-block {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.trust-quote {
  font-size: 20px;
  line-height: 1.7;
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 16px;
  quotes: "\201C" "\201D";
}
.trust-quote::before { content: open-quote; }
.trust-quote::after { content: close-quote; }
.trust-quote-author {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.trust-pillars {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-mid);
}
.pillar-icon { flex-shrink: 0; }

/* === CLOSING === */
.closing {
  padding: 120px 0;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 56px;
}
.closing-vision {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding-top: 40px;
}
.vision-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.closing-vision p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.footer-location {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  color: var(--text-secondary);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero::after { display: none; }
  .hero-right { max-width: 480px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .corridors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 48px 20px; }
  .features-inner { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .corridors-inner { padding: 0 20px; }
  .corridors-grid { grid-template-columns: 1fr; }
  .trust-stat-block { flex-direction: column; gap: 32px; align-items: center; }
  .trust-pillars { flex-direction: column; gap: 16px; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
  .hero-headline { font-size: 40px; letter-spacing: -1px; }
  .section-heading { font-size: 28px; }
  .closing-headline { font-size: 26px; }
}