/* ===========================================================
   Fusion AI — Shared Styles
   Dark, modern, tech aesthetic
   =========================================================== */

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0f1424;
  --surface:   #141b2e;
  --surface-2: #1a2236;
  --border:    #232c45;
  --text:      #e8ecf6;
  --muted:     #9aa6c4;
  --faint:     #6b7799;
  --accent:    #4f8cff;
  --accent-2:  #7c4dff;
  --accent-3:  #00d4c8;
  --glow:      rgba(79, 140, 255, 0.35);
  --radius:    16px;
  --maxw:      1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(circle at 30% 30%, rgba(124,77,255,0.18), transparent 60%),
              radial-gradient(circle at 70% 40%, rgba(79,140,255,0.16), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #7facff; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }

.accent-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--glow); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand .logo {
  height: 30px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(79,140,255,0.35));
}
.footer .brand .logo { height: 28px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; z-index: 1; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 22px; }
.hero p.lead { max-width: 640px; margin: 0 auto 36px; font-size: 1.18rem; color: var(--muted); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted); margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(79,140,255,0.12); border: 1px solid rgba(79,140,255,0.25);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; }
.stat .lbl { color: var(--faint); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(124,77,255,0.18));
  border: 1px solid var(--border);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.split .visual .orb {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent), var(--accent-2));
  box-shadow: 0 0 80px var(--glow); animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

ul.checklist { list-style: none; margin-top: 18px; }
ul.checklist li { color: var(--muted); padding: 8px 0 8px 30px; position: relative; }
ul.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent-3); font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(79,140,255,0.12), rgba(124,77,255,0.12));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 64px 32px;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
.form { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 0.98rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,140,255,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Contact info cards ---------- */
.info-list { list-style: none; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(0,212,200,0.1); border: 1px solid rgba(0,212,200,0.25);
}
.info-list .label { font-size: 0.82rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.info-list .val { color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 30px;
  position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer p { font-size: 0.95rem; max-width: 320px; }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--faint); font-size: 0.88rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links .nav-cta { padding-top: 16px; border: none; }
  .nav-toggle { display: block; }
  .form .row { grid-template-columns: 1fr; }
}
