/* ─────────────────────────────────────────────
   Fusion AI (Fluence) — measured design tokens
   bg #000 / surface #060606 / card #191919
   accent #da4e24 (orange) · text #fff
   General Sans 500 (display) · Inter 400/500 (body)
   H1 62px/1.1 · H2 48px/1 · H3 24px/1.33
   label: Inter 14px/16px 500 uppercase
   ───────────────────────────────────────────── */

@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/7YY3ZAAE3TRV2LANYOLXNHTPHLXVWTKH.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/SB2OEB6IKZPRR6JT4GFJ2TFT6HBB6AZN.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/3ZLMEXZEQPLTEPMHTQDAUXP5ZZXCZAEN.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2") format("woff2"); }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/4iCr6K5wfMRRjxp0DA6-2CLnB4NHhg.woff2") format("woff2"); }

:root {
  --bg: #000;
  --surface: #060606;
  --card: #191919;
  --card-border: rgba(255,255,255,.08);
  --ink: #fff;
  --muted: rgba(255,255,255,.65);
  --accent: #da4e24;
  --accent-soft: #a22904;
  --font-display: "General Sans", sans-serif;
  --font-body: Inter, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.44, 0, .16, 1);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

.label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }
.h1 { font-size: clamp(45px, 5vw, 62px); line-height: 1.1; }
.h2 { font-size: clamp(40px, 4vw, 48px); line-height: 1; }
.h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.33; }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* word-split heading rise */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .7s var(--ease); }
.split-words.is-visible .w > span { transform: none; }

/* ---------- nav: contained floating bar 1240×60 @ top 28, radius 12, blur ---------- */
.nav {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 48px));
  z-index: 100;
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: background .3s var(--ease);
}
.nav.is-scrolled { background: rgba(0,0,0,.55); }
.nav-inner {
  height: 60px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.nav-logo img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 10px;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 8px 24px rgba(218,78,36,.35);
}
.btn-primary:hover { background: #e85c30; }
.btn-ghost { border: 1px solid var(--card-border); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.07); }

/* ---------- hero: text LEFT column + bg video bleeding right ---------- */
.hero {
  position: relative;
  padding: 190px 0 0;
  overflow: hidden;
  background: var(--bg);
}
.hero-video {
  position: absolute;
  top: 0;
  left: 40%;
  width: 75vw;
  height: 958px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* soft fade so the video melts into black on its left/bottom */
.hero-video-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 26%, transparent 60%),
    linear-gradient(0deg, var(--bg) 4%, transparent 36%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  background: #000;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 26px;
}
.hero h1 { max-width: 640px; margin: 0 0 22px; text-align: left; }
.hero .sub { color: var(--muted); max-width: 512px; margin: 0 0 34px; text-align: left; }
.hero .cta-row { display: flex; gap: 14px; justify-content: flex-start; margin-bottom: 86px; }

/* dashboard mockup + floating chat prompt card */
.hero-mockup {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 18px 18px 0 0;
  overflow: visible;
}
.hero-mockup > img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--card-border);
  border-bottom: 0;
  display: block;
}
.chat-card {
  position: absolute;
  top: -76px;
  left: 50%;
  transform: translateX(-32%);
  width: min(780px, 84%);
  background: rgba(10,10,10,.92);
  border: 1px solid rgba(218,78,36,.55);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.65), 0 0 40px rgba(218,78,36,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3;
  text-align: left;
}
.chat-card .chat-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.chat-model {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px; font-weight: 500;
}
.chat-model .caret { font-size: 10px; color: var(--muted); }
.chat-globe { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--card-border); border-radius: 10px; color: var(--muted); }
.chat-input { font-size: 17px; padding: 4px 2px 18px; color: #fff; }
.chat-input .caret-blink { display: inline-block; width: 8px; background: rgba(255,255,255,.85); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-bottom { display: flex; align-items: center; gap: 8px; }
.chat-chip {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.chat-chip.is-active { color: #fff; background: rgba(255,255,255,.06); }
.chat-send {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #e85c30, var(--accent));
  color: #fff;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 500;
  box-shadow: 0 6px 22px rgba(218,78,36,.45), 0 0 0 1px rgba(255,255,255,.16) inset;
}

/* ---------- logo marquee (7 SVG wordmarks, 38px tall) ---------- */
.logos { padding: 72px 0 90px; }
.logos p { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 38px; }
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee-track img { height: 38px; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bento feature grid (asymmetric 2×2, card bg #000 r16 p8) ---------- */
.bento { display: grid; grid-template-columns: 39% 1fr; gap: 20px; }
.bento .row2-a { grid-column: 1 / 2; }
.bento-card {
  background: #000;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 8px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.bento-card:hover { border-color: rgba(255,255,255,.2); }
.bento-card img { width: 100%; border-radius: 10px; display: block; }
.bento-card .bento-copy { padding: 20px 16px 14px; }
.bento-card h3 { font-size: 20px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 500; }
.bento-card p { color: var(--muted); font-size: 15px; line-height: 24px; }
.bento-wide { grid-template-columns: 64% 1fr; }

/* sparkle bullet icon (24px png from origin) */
.sparkle-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sparkle-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 16px; }
.sparkle-list li img { width: 24px; height: 24px; flex-shrink: 0; }

/* industry tabs: 80px icons above label */
.industry-bar { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.industry-tab {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 15px; font-weight: 500;
  transition: all .3s var(--ease);
}
.industry-tab img { width: 80px; height: 80px; }
.industry-tab.is-active, .industry-tab:hover { border-color: var(--card-border); background: rgba(255,255,255,.03); color: #fff; }

/* ---------- section shell ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .label { display: inline-block; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--muted); }

/* ---------- feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 34px;
  overflow: hidden;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feature-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.feature-card img { border-radius: 10px; margin-bottom: 26px; width: 100%; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 16px; line-height: 26px; }

/* ---------- tabs ---------- */
.tabs-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  transition: all .3s var(--ease);
}
.tab-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in .5s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } }
.tab-panel img { border-radius: 16px; border: 1px solid var(--card-border); margin: 0 auto; }

/* ---------- alternating feature rows ---------- */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}
.feat-row.flip .feat-media { order: 2; }
.feat-media { border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); background: var(--surface); }
.feat-copy h3 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin-bottom: 14px; }
.feat-copy > p { color: var(--muted); margin-bottom: 22px; }
.feat-copy ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 16px; }
.feat-copy li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- product features strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
}
.strip-card strong { font-family: var(--font-display); font-size: 20px; display: block; margin-bottom: 8px; }
.strip-card p { color: var(--muted); font-size: 16px; line-height: 26px; }

/* ---------- pricing ---------- */
.toggle-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; }
.toggle-row button { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--muted); font-weight: 500; }
.toggle-row button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-card.is-popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(218,78,36,.12), rgba(218,78,36,.02)); }
.price-card .plan { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.price-card .price { font-family: var(--font-display); font-size: 44px; font-weight: 500; }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.price-card .included { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.price-card li::before { content: "✓"; color: var(--accent); }
.price-card .btn { margin-top: auto; }
.popular-tag {
  position: absolute; top: 18px; right: 18px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; }
.quote-card blockquote { font-size: 17px; line-height: 27px; margin-bottom: 22px; }
.quote-card figcaption strong { display: block; font-weight: 600; font-size: 15px; }
.quote-card figcaption span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-side h2 { margin-bottom: 14px; }
.faq-side p { color: var(--muted); margin-bottom: 22px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--card-border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 26px; }

/* ---------- CTA: full-bleed bg image + centered logo mark ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: 150px 24px;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta > .cta-inner { position: relative; z-index: 1; }
.cta .cta-logo { width: 80px; height: 80px; margin: 0 auto 26px; display: block; }
.cta h2 { max-width: 640px; margin: 0 auto 18px; }
.cta p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

/* ---------- testimonial marquee (horizontal scroll) ---------- */
.quotes-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quotes-track { display: flex; gap: 20px; width: max-content; animation: marquee 46s linear infinite; }
.quotes-track .quote-card { width: 354px; flex-shrink: 0; }
.quote-card .q-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card .q-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--card-border); padding: 72px 0 36px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 30ch; }
.footer-grid h4 { font-family: var(--font-display); font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 26px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 22px; }
.post-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 15px; line-height: 24px; }

.article { max-width: 720px; margin: 0 auto; padding: 160px 24px 90px; }
.article h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; margin-bottom: 18px; }
.article .meta { color: var(--muted); margin-bottom: 36px; font-size: 15px; }
.article img { border-radius: 16px; margin-bottom: 36px; }
.article p { color: var(--muted); margin-bottom: 18px; }

/* ---------- integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.int-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; transition: transform .3s var(--ease), border-color .3s; }
.int-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.int-card img { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px; }
.int-card h3 { font-size: 20px; margin-bottom: 8px; }
.int-card p { color: var(--muted); font-size: 15px; line-height: 24px; }

/* ---------- utility pages ---------- */
.page-hero { padding: 170px 0 60px; text-align: center; }
.page-hero .label { display: inline-block; margin-bottom: 16px; }
.prose { max-width: 680px; margin: 0 auto; padding: 40px 24px 100px; color: var(--muted); }
.prose h2 { color: var(--ink); font-size: 22px; margin: 30px 0 10px; }
.prose p { margin-bottom: 14px; }

/* contact / waitlist form */
.form-card { max-width: 520px; margin: 0 auto; background: var(--surface); border: 1px solid var(--card-border); border-radius: 18px; padding: 38px; }
.form-card label { display: block; font-size: 14px; font-weight: 500; margin: 18px 0 8px; }
.form-card input, .form-card textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border); border-radius: 10px;
  color: var(--ink); font: inherit; font-size: 16px;
  padding: 12px 14px; outline: none;
  transition: border-color .3s;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 26px; }

/* ---------- responsive ---------- */
.nav-burger { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .feature-grid, .strip, .price-grid, .quote-grid, .post-grid, .int-grid { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; }
  .feat-row.flip .feat-media { order: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
