:root {
  --bg: #060914;
  --bg-2: #0a1024;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(120, 160, 255, 0.16);
  --text: #e8edff;
  --muted: #9aa6c8;
  --accent: #fd6023;   /* brand orange */
  --accent-2: #284fa9; /* brand blue */
  --accent-3: #0d8473; /* brand teal */
  --grad: linear-gradient(120deg, #284fa9 0%, #0d8473 52%, #fd6023 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 1;
  background:
    radial-gradient(40% 40% at 70% 10%, rgba(40, 79, 169, 0.35), transparent 60%),
    radial-gradient(35% 35% at 15% 85%, rgba(13, 132, 115, 0.30), transparent 60%),
    radial-gradient(30% 30% at 85% 75%, rgba(253, 96, 35, 0.22), transparent 60%);
  filter: blur(20px);
  animation: bgDrift 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 20% 30%, rgba(124, 92, 255, 0.18), transparent 70%),
    radial-gradient(260px 260px at 80% 60%, rgba(56, 232, 255, 0.14), transparent 70%);
  filter: blur(30px);
  animation: bgFloat 30s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
@keyframes bgFloat {
  0%   { transform: translate3d(0, 0, 0); opacity: .8; }
  50%  { transform: translate3d(4%, -3%, 0); opacity: 1; }
  100% { transform: translate3d(-4%, 3%, 0); opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 100; transition: width .1s linear;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  backdrop-filter: blur(10px);
  background: rgba(6, 9, 20, 0.35);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.nav.scrolled { background: rgba(6, 9, 20, 0.8); border-color: var(--border); padding: 12px 6vw; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.nav-logo { height: 30px; width: auto; display: block; }
.logo-text {
  font-family: "Space Grotesk", sans-serif; letter-spacing: .5px; font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-text .accent { /* let the brand gradient show through the whole wordmark */
  background: none;
  -webkit-text-fill-color: inherit;
  color: inherit;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: none;
  background: var(--grad); color: #060914;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 30px rgba(124, 92, 255, .35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 92, 255, .5); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(56, 232, 255, .08); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* Hero */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 6vw 60px;
}
.hero-inner { max-width: 900px; position: relative; z-index: 2; }
.badge {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font-size: .8rem; color: var(--muted); margin-bottom: 26px;
  letter-spacing: .5px;
}
.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -1px; margin-bottom: 22px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-float { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }
.float-pill {
  padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.live { background: #38ffa0; box-shadow: 0 0 10px #38ffa0; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.scroll-hint { margin-top: 60px; color: var(--muted); font-size: .85rem; letter-spacing: 1px; }
.scroll-hint span { display: block; animation: bounce 1.8s infinite; font-size: 1.2rem; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* Marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(10,16,36,.4); }
.marquee-track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: scroll-x 22s linear infinite; font-family: "Space Grotesk"; font-weight: 600; color: var(--muted); }
.marquee-track span { font-size: 1.1rem; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; z-index: 2; padding: 110px 6vw; }
.section > .section-head,
.section > .cards,
.section > .features,
.section > .stat-grid,
.section > .contact-wrap { position: relative; z-index: 2; }
.section.alt { background: linear-gradient(180deg, rgba(10,16,36,.0), rgba(10,16,36,.5), rgba(10,16,36,0)); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-family: "Space Grotesk"; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 12px 0 14px; line-height: 1.15; }
.section-head p { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 26px; transition: transform .25s, border-color .25s, background .25s;
  backdrop-filter: blur(6px); will-change: transform;
}
.card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.06); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-family: "Space Grotesk"; font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.feature { padding: 24px; border-left: 2px solid var(--accent-2); background: var(--card); border-radius: 0 14px 14px 0; }
.feature h4 { font-family: "Space Grotesk"; margin-bottom: 8px; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .92rem; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat { padding: 30px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.num { font-family: "Space Grotesk"; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-copy h2 { font-family: "Space Grotesk"; font-size: clamp(1.8rem,4vw,2.6rem); margin: 12px 0 16px; line-height: 1.15; }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 16px 14px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 1rem;
  line-height: 1.4; resize: vertical;
  appearance: none; -webkit-appearance: none; box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(253,96,35,.06); }
.field label {
  position: absolute; left: 14px; top: 16px; color: var(--muted);
  pointer-events: none; transition: .2s; font-size: 1rem; line-height: 1.4;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 10px; font-size: .75rem; color: var(--accent);
  background: var(--bg-2); padding: 0 6px;
}
.form-note { color: var(--accent); font-size: .9rem; min-height: 1em; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.consent a { color: var(--accent); text-decoration: underline; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.3); }
.btn:disabled:hover { transform: none; box-shadow: 0 8px 30px rgba(124, 92, 255, .35); }

/* Footer */
.footer { position: relative; z-index: 2; padding: 70px 6vw 30px; border-top: 1px solid var(--border); background: rgba(6,9,20,.6); }

/* Legal pages (Privacy / Terms) */
.legal { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 140px 6vw 80px; }
.legal h1 { font-family: "Space Grotesk"; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal .updated { color: var(--accent); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-family: "Space Grotesk"; font-size: 1.3rem; margin: 32px 0 12px; color: var(--text); }
.legal p { color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.legal ul { color: var(--muted); margin: 0 0 16px 22px; line-height: 1.8; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .back { margin-top: 40px; }
.legal .btn { text-decoration: none; display: inline-block; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; max-width: 1100px; margin: 0 auto; }
/* Logo images */
.footer-logo-box {
  display: inline-block;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}
.footer-logo { display: block; width: 200px; max-width: 100%; height: auto; }

.footer-brand p { color: var(--muted); margin-top: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { font-family: "Space Grotesk"; margin-bottom: 12px; color: var(--text); }
.footer-cols a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 8px; transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; max-width: 1100px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; flex-wrap: wrap; gap: 10px; }
.legal-bar a { color: var(--muted); text-decoration: none; }
.legal-bar a:hover { color: var(--accent); }

/* Glass cards */
.card, .feature, .stat, .contact-form, .float-pill {
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(40,79,169,.6);
  background: rgba(40,79,169,.10);
  box-shadow: 0 18px 50px rgba(40,79,169,.25);
}
/* Service icon badge (3D-ish) */
.card-icon {
  font-size: 1.6rem; width: 56px; height: 56px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(253,96,35,.30);
  transition: transform .3s;
}
.card:hover .card-icon { transform: translateY(-4px) rotate(-4deg); }
.card-icon span { filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }

/* Feature accent glowing bar */
.feature { border-left: 3px solid transparent; border-image: var(--grad) 1; transition: transform .25s, background .25s; }
.feature:hover { transform: translateX(4px); background: rgba(13,132,115,.10); }

/* Stat glow */
.stat:hover { border-color: rgba(253,96,35,.5); box-shadow: 0 14px 40px rgba(253,96,35,.18); }

.brand-tag {
  color: var(--text); font-size: 1.05rem; max-width: 640px; margin: 14px auto 0;
  line-height: 1.5; opacity: .92;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 64px; right: 0; flex-direction: column; background: rgba(6,9,20,.95); padding: 24px 40px; gap: 18px; border-left: 1px solid var(--border); transform: translateX(120%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .hamburger { display: flex; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 80px 6vw; }
  .hero { padding: 110px 6vw 50px; }
  .hero-cta, .hero-float { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 22px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .nav { padding: 12px 5vw; }
  .badge { font-size: .72rem; }
}
