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

:root {
  --ink:      #0e0f1a;
  --deep:     #13141f;
  --surface:  #1a1b2e;
  --card:     #20223a;
  --orange:   #e8541a;
  --orange2:  #ff6b35;
  --amber:    #f5a623;
  --mist:     #8b90b0;
  --pale:     #c8cce0;
  --white:    #f4f5ff;
  --line:     rgba(255,255,255,0.07);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

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

/* ─── NOISE TEXTURE OVERLAY ────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ─── NAV ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}
nav.scrolled {
  background: rgba(14,15,26,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 100px !important; width: auto !important; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mist);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange2) !important; transform: translateY(-1px); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0; z-index: 1001;
}
.hamburger span {
  display: block; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--ink);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-family: var(--font-display); color: var(--pale); }
.mobile-menu a:hover { color: var(--orange); }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.01em; transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 24px rgba(232,84,26,0.35);
}
.btn-primary:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,84,26,0.45);
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--pale);
  background: rgba(255,255,255,0.04);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── SECTION BASE ───────────────────────────────────────────────────────── */
section { padding: 6rem 5vw; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--orange);
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p { color: var(--mist); line-height: 1.75; }

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(232,84,26,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ─── ORANGE GRADIENT TEXT ───────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── STAT BADGE ─────────────────────────────────────────────────────────── */
.stat-badge {
  display: inline-block;
  background: rgba(232,84,26,0.12);
  border: 1px solid rgba(232,84,26,0.25);
  color: var(--orange);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ─── DIVIDER ────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 5vw;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding: 4rem 5vw 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pale); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--mist); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--mist);
}
.footer-logo img { height: 90px; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── PAGE HERO (inner pages) ────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 5vw 5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,84,26,0.08) 0%, transparent 70%);
  text-align: center;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
