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

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --border: #2a2a2a;
  --orange: #F6821F;
  --orange-dim: rgba(246,130,31,0.12);
  --orange-glow: rgba(246,130,31,0.25);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --green: #00d4aa;
  --blue: #4fa3ff;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 60px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(10,10,10,0.97); }

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__bi { font-weight: 700; font-size: 15px; color: var(--orange); letter-spacing: -0.3px; }
.nav__sep { color: var(--text-dim); font-size: 18px; }
.nav__cf { display: flex; align-items: center; }

.nav__links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav__links a { text-decoration: none; color: var(--text-muted); font-size: 13.5px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 7px 16px; border-radius: 6px;
  font-weight: 600 !important; font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav__cta:hover { opacity: 0.88; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(246,130,31,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,130,31,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.g1 { width: 600px; height: 600px; background: rgba(246,130,31,0.08); top: -200px; right: -100px; }
.g2 { width: 400px; height: 400px; background: rgba(79,163,255,0.06); bottom: 0; left: -100px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 24px;
  background: var(--orange-dim); border: 1px solid rgba(246,130,31,0.2);
  padding: 6px 12px; border-radius: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero__h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -2px; margin-bottom: 24px;
  color: #fff;
}
.accent { color: var(--orange); }

.hero__sub {
  font-size: 17px; color: var(--text-muted); max-width: 640px;
  line-height: 1.7; margin-bottom: 36px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center;
  padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  cursor: pointer;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.hero__stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hs { display: flex; flex-direction: column; gap: 2px; }
.hs strong { font-size: 22px; font-weight: 700; color: #fff; }
.hs span { font-size: 12px; color: var(--text-muted); }
.hs__sep { width: 1px; height: 36px; background: var(--border); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section--dark { background: var(--bg-2); }

.section__header { text-align: center; margin-bottom: 64px; }
.label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.section__header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -1.5px; color: #fff;
  max-width: 700px; margin: 0 auto 16px;
}
.section__sub {
  font-size: 16px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto;
  line-height: 1.7;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.cards--three {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .cards--three {
    grid-template-columns: 1fr 1fr;
  }
  .cards--three .card--featured {
    grid-column: 1 / -1;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(246,130,31,0.4); transform: translateY(-2px); }
.card--featured {
  border-color: rgba(246,130,31,0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(246,130,31,0.05) 100%);
  grid-column: span 2;
}
@media (max-width: 720px) { .card--featured { grid-column: span 1; } }

.card__icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.card__role { font-size: 12px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.card__list li {
  font-size: 13px; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.card__list li::before { content: '→'; position: absolute; left: 0; color: var(--orange); font-size: 11px; top: 1px; }

/* ===== ARCHITECTURE ===== */
.arch {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  max-width: 600px; margin: 0 auto 32px;
}
.arch__layer {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 32px;
  text-align: center; width: 100%;
}
.arch__layer--cf {
  background: linear-gradient(135deg, rgba(246,130,31,0.1), rgba(246,130,31,0.05));
  border-color: rgba(246,130,31,0.4);
}
.arch__label { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.arch__desc { font-size: 13px; color: var(--text-muted); }
.arch__cf-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--orange); margin-bottom: 12px;
}
.arch__cf-products {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.arch__cf-products span {
  background: rgba(246,130,31,0.15); border: 1px solid rgba(246,130,31,0.3);
  color: var(--orange); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
}
.arch__arrow { font-size: 22px; color: var(--text-dim); margin: 4px 0; }
.arch__note {
  max-width: 580px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  font-size: 14px; color: var(--text-muted); line-height: 1.65; text-align: center;
}

/* ===== COMPLIANCE ===== */
.compliance__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.compliance__pair {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  transition: border-color 0.2s;
}
.compliance__pair:hover { border-color: rgba(246,130,31,0.4); }
.comp__badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px;
}
.comp__badge--bi { background: rgba(0,212,170,0.12); color: var(--green); border: 1px solid rgba(0,212,170,0.3); }
.comp__badge--cf { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(246,130,31,0.3); }
.comp__cert { font-size: 15px; font-weight: 700; color: #fff; }
.comp__cert--cf { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.comp__arrow { font-size: 18px; color: var(--text-dim); }
.compliance__note {
  max-width: 600px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  font-size: 14px; color: var(--text-muted); line-height: 1.65; text-align: center;
}

/* ===== SCALE ===== */
.scale__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.scale__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s;
}
.scale__item:hover { border-color: rgba(246,130,31,0.4); }
.scale__num { font-size: 36px; font-weight: 800; color: var(--orange); letter-spacing: -1px; margin-bottom: 4px; }
.scale__label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.scale__item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(246,130,31,0.06) 100%);
  border-top: 1px solid var(--border);
}
.cta__inner { text-align: center; }
.cta__inner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #fff; letter-spacing: -1.5px; margin-bottom: 20px; }
.cta__inner p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.cta__contact {
  display: inline-flex; flex-direction: column;
  background: var(--surface); border: 1px solid rgba(246,130,31,0.3);
  border-radius: var(--radius-lg); padding: 28px 40px;
  gap: 4px; align-items: center;
}
.cta__person { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.cta__person strong { font-size: 18px; color: #fff; font-weight: 700; }
.cta__person span { font-size: 14px; color: var(--text-muted); }
.cta__person a { color: var(--orange); text-decoration: none; font-size: 14px; font-weight: 600; margin-top: 4px; }
.cta__person a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__inner span { font-size: 12px; color: var(--text-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 20px 32px; gap: 20px; }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero__stats { gap: 16px; }
  .hs__sep { display: none; }
  .arch__cf-products { gap: 6px; }
}
