/* =========================================================
   ULAT — PREMIUM DESIGN SYSTEM v2.0
   Dark graphite. Glassmorphism. Orange accent.
   Brand source: ULAT-MB-101 through 105
   ========================================================= */

:root {
  --graphite: #2C2C2C;
  --graphite-deep: #161616;
  --graphite-mid: #1F1F1F;
  --orange: #E8600A;
  --orange-glow: #FF7A24;
  --white: #F5F5F5;
  --grey-1: #A8A8A8;
  --grey-2: #8C8C8C;
  --glass-bg: rgba(255,255,255,0.045);
  --glass-border: rgba(255,255,255,0.09);
  --glass-bg-strong: rgba(255,255,255,0.07);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1600px;
  --ease: cubic-bezier(.16,.84,.32,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 64px; }

/* ---------- Background texture (fixed, subtle) ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(232,96,10,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 30%, rgba(232,96,10,0.06), transparent 55%),
    linear-gradient(180deg, #161616 0%, #1a1a1a 100%);
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { font-size: 16px; color: var(--grey-1); }
p.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: rgba(245,245,245,0.82); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { content:""; width: 24px; height: 1.5px; background: var(--orange); }

.text-white { color: var(--white) !important; }
.gradient-text {
  background: linear-gradient(100deg, #fff 20%, var(--orange-glow) 60%, var(--orange) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 22px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(22,22,22,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 14px 0;
  border-bottom-color: var(--glass-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo-link img { height: 42px; width: auto; transition: height .3s ease; }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .3px; color: rgba(245,245,245,0.78);
  position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content:""; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--orange); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; z-index: 210; }
.nav-toggle span { height: 2px; background: var(--white); border-radius: 2px; transition: all .3s ease; }
.mobile-nav { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .6px;
  padding: 16px 32px; border-radius: 999px;
  transition: all .25s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 30px -8px rgba(232,96,10,0.6); }
.btn-primary:hover { background: var(--orange-glow); transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(232,96,10,0.75); }
.btn-glass {
  background: var(--glass-bg); color: var(--white); border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: var(--glass-bg-strong); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-dark { background: var(--graphite-deep); color: var(--white); border-color: var(--graphite-deep); }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 12px 22px; font-size: 12px; }
@media (max-width: 980px) {
  .site-header > .container > a.btn-primary.btn-sm { display: none; }
}
.btn::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  background: rgba(255,255,255,0.25); border-radius: 50%; transform: translate(-50%,-50%);
  transition: width .5s ease, height .5s ease;
}
.btn:active::before { width: 260px; height: 260px; }

/* ---------- Sections ---------- */
section { padding: 140px 0; position: relative; }
section.tight { padding: 90px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Glass cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 34px;
  backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,96,10,0.4);
  background: var(--glass-bg-strong);
}
.glass-card .card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232,96,10,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 20px; margin-bottom: 20px;
}
.glass-card .card-num {
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  color: var(--orange); letter-spacing: 1.5px; margin-bottom: 16px; display: block;
}
.glass-card h4 { color: var(--white); margin-bottom: 10px; }
.glass-card p { font-size: 14.5px; }

/* ---------- Stat blocks ---------- */
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5vw, 58px); color: var(--white); line-height: 1;
}
.stat-num .accent { color: var(--orange); }
.stat-label { font-size: 13px; color: var(--grey-1); margin-top: 10px; letter-spacing: .3px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: 120px; overflow: hidden;
}
.hero .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 64px;
  padding-right: 64px;
}
#particle-canvas { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero-bg-video { display: none; }
.hero-bg-video.active {
  display: block; position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.hero-bg-slider.hidden { display: none; }
.hero-bg-slider { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-slider .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease, transform 8s linear;
  transform: scale(1.08) translateX(0);
}
.hero-bg-slider .slide.active { opacity: 0.38; transform: scale(1.08) translateX(-2%); }
.hero-bg-slider::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,22,22,0.55), rgba(22,22,22,0.85));
}
.hero-glow {
  position: absolute; top: -10%; right: -10%; width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(232,96,10,0.16), transparent 65%);
  z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-kicker span { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--grey-1); text-transform: uppercase; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero p.lead { max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-cue span { font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; color: var(--grey-2); text-transform: uppercase; }
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--orange), transparent); animation: scrollline 1.8s infinite; }
@keyframes scrollline { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Route line (SVG animated) ---------- */
.route-line path {
  stroke-dasharray: 8 10;
  animation: dash 2.4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -180; } }

/* ---------- Story / editorial quote section ---------- */
.story-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.4;
  color: var(--white);
  max-width: 900px;
}
.story-quote .accent { color: var(--orange); }
.story-chain {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--grey-1);
  margin: 40px 0;
}
.story-chain .step { color: var(--white); background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 10px 18px; border-radius: 999px; }
.story-chain .arrow { color: var(--orange); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.how-works-sticky { position: sticky; top: 120px; }
.timeline::before { content:""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1.5px; background: linear-gradient(180deg, var(--orange), rgba(232,96,10,0.1)); }
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content:""; position: absolute; left: -40px; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--graphite-deep); border: 2px solid var(--orange); box-shadow: 0 0 0 4px rgba(232,96,10,0.12);
}
.timeline-item .tl-num { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--orange); letter-spacing: 1px; }
.timeline-item h4 { color: var(--white); margin: 6px 0 8px; }

/* ---------- Marquee / partner strip ---------- */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); padding: 28px 0; }
.marquee { display: flex; gap: 64px; width: max-content; animation: marquee 26s linear infinite; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee span { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--grey-2); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--white);
}
.faq-q .icon { font-size: 22px; color: var(--orange); transition: transform .3s var(--ease); flex-shrink: 0; margin-left: 20px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 24px; max-width: 700px; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: var(--grey-1);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 15px 18px;
  background: var(--glass-bg); border: 1.5px solid var(--glass-border); border-radius: 10px;
  color: var(--white); transition: border-color .2s ease, background .2s ease;
}
.form-field select option { background: var(--graphite-deep); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--grey-2); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,0.06); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-status { margin-top: 18px; font-size: 14px; color: var(--orange-glow); display: none; }

/* ---------- Counter number ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 32px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-tagline { color: var(--grey-1); font-style: italic; margin: 18px 0 24px; max-width: 280px; }
.footer-col h5 { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: var(--grey-1); margin-bottom: 13px; transition: color .2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--glass-border); font-size: 12.5px; color: var(--grey-2); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 13px; margin: 0; }
.social-row a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(232,96,10,0.16), rgba(232,96,10,0.03));
  border: 1px solid rgba(232,96,10,0.3);
  border-radius: 28px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { margin-bottom: 18px; }
.cta-banner p.lead { max-width: 560px; margin: 0 auto 36px; }

/* ---------- Utility ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center-text { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 90px 0; }
   .how-works-sticky { position: static; }
  .mobile-nav {
    position: fixed; inset: 0; z-index: 190; height: 100vh;
    background-color: rgba(22,22,22,0.86);
    background-image: radial-gradient(ellipse 700px 500px at 20% 15%, rgba(232,96,10,0.14), transparent 60%);
    backdrop-filter: blur(15px) saturate(80%);
    -webkit-backdrop-filter: blur(15px) saturate(80%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    transform: translateY(-100%); transition: transform .4s var(--ease), opacity .4s var(--ease); opacity: 0;
  }
  .mobile-nav.open { transform: translateY(0); opacity: 1; }
  .mobile-nav a { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white); }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .hero-stats { gap: 32px; }
  .cta-banner { padding: 48px 26px; border-radius: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
