/* Future Bridge Trading — Mistral-inspired design system */

:root {
  --orange: #FF7000;
  --orange-dark: #D45D00;
  --orange-light: #FF9440;

  --text-primary: #F2F2F2;
  --text-secondary: #8A8A8A;
  --text-muted: #5A5A5A;

  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --surface-raised: #242424;
  --border: #2E2E2E;

  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;
  --info: #60A5FA;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface);
  z-index: 1000;
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--orange-dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text-primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 160px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.85) 60%, #0D0D0D 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  height: 48px;
  transition: all .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--text-secondary); }

.stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 900px;
}
.stat-num { font-size: 32px; font-weight: 800; color: var(--orange); letter-spacing: -0.01em; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: 32px; margin-bottom: 16px; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

.bg-surface { background: var(--surface); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.about-media img { height: 460px; object-fit: cover; }
.about-copy h2 { font-size: 32px; margin-bottom: 20px; }
.about-copy p { color: var(--text-secondary); margin-bottom: 20px; }
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-primary);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 4px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--orange); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,112,0,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--orange); }
.card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600; }
.card p { color: var(--text-secondary); font-size: 15px; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-chip {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .15s ease;
}
.industry-chip:hover { border-color: var(--orange); color: var(--orange-light); }

/* ---------- Why Us / Feature image split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-media { position: relative; min-height: 480px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-copy { background: var(--surface); padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split-copy h2 { font-size: 32px; margin-bottom: 20px; }
.split-copy p { color: var(--text-secondary); margin-bottom: 32px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini-stat-num { font-size: 28px; font-weight: 800; color: var(--orange); }
.mini-stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--surface-raised);
  -webkit-text-stroke: 1px var(--border);
  margin-bottom: 16px;
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { color: var(--text-secondary); font-size: 15px; }

/* ---------- Testimonial / CTA ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 80px 48px;
  text-align: center;
  border: 1px solid var(--border);
}
.cta-banner-bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.cta-banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.7), rgba(13,13,13,0.92)); }
.cta-banner-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner h2 { font-size: 36px; margin-bottom: 16px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 32px; font-size: 18px; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 { font-size: 32px; margin-bottom: 20px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-item:first-of-type { border-top: none; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--orange); }
.contact-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--text-secondary); font-size: 15px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; }

/* ---------- Footer ---------- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.footer-brand img { height: 30px; filter: brightness(0) invert(1); }
.footer-col p { color: var(--text-secondary); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin-bottom: 20px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-secondary); font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { border-color: var(--orange); }
.social-icons svg { width: 16px; height: 16px; stroke: var(--text-secondary); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .about-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { min-height: 300px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid, .industries-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .split-copy { padding: 40px 24px; }
  .cta-banner { padding: 56px 24px; }
  .cta-banner h2 { font-size: 28px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
}

/* Mobile nav drawer */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 64px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 24px;
  gap: 20px;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
