/* FlowAI — pixel-perfect recreation of Figma design 150:354 */

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

html, body {
  background: #ffffff;
  font-family: var(--font-body, "Montserrat"), system-ui, sans-serif;
  color: #000963;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  --c-primary: #0071e3;
  --c-primary-2: #0d78e4;
  --c-deep: #000963;
  --c-cyan: #03f3f9;
  --c-light-bg: #eef8ff;
  --c-border: #ccceE0;
  --c-muted: #677796;
  --c-counter: #798bad;
  --c-bg-card: #ffffff;
  --r-btn: 10px;
  --r-pill: 100px;
  --r-card: 10px;
  --font-display: "Montserrat";
  --font-body: "Montserrat";
  --grad-primary: linear-gradient(180deg, var(--c-primary) 0%, var(--c-deep) 100%);
}

/* Page shell — scales 1920px design to viewport */
.shell {
  position: relative;
  width: 100vw;
  margin: 0;
}

.page {
  position: relative;
  width: 1920px;
  height: 12464px;
  background: #fff;
  overflow: hidden;
  transform-origin: top left;
}

/* Section wrappers */
.section { position: absolute; overflow: hidden; }

/* Typography helpers */
.font-display { font-family: var(--font-display), system-ui, sans-serif; }
.font-body { font-family: var(--font-body), system-ui, sans-serif; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-btn);
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 18px 40px -10px rgba(0,113,227,.45); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.btn-ghost:hover { background: var(--c-primary); color: #fff; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
}

/* Section title (60px, blue) */
.section-title {
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1;
  color: var(--c-primary);
}

/* Big stat number — Montserrat 100px renders in ~70px box in Figma */
.stat-num {
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 100px;
  line-height: 0.75;
  letter-spacing: -0.02em;
  color: var(--c-deep);
}

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* Accordion transitions */
.accordion-body {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}

/* Floating chip pulse on hover */
.chip:hover { transform: translateY(-2px); transition: transform .2s ease; }

/* Make absolute children inherit position context */
.rel { position: relative; }

/* Marquee for partners (Item) — we will recreate scroll */
.marquee {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cards hover */
.card-hover { transition: transform .35s ease, box-shadow .35s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 9, 99, 0.25); }

/* Inputs */
.input-line {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-size: 18px;
  padding: 8px 0;
  width: 100%;
  outline: none;
}
.input-line::placeholder { color: rgba(255,255,255,.55); }
.input-line:focus { border-color: #fff; }

/* Logo style */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark .gem {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: conic-gradient(from 200deg, #03f3f9, #0071e3, #5f27bd, #03f3f9);
  filter: saturate(1.1);
}
.logo-mark .gem.dark { background: conic-gradient(from 200deg, #03f3f9, #2af6ff, #fff, #03f3f9); }

/* Subtle dot grid for cases card backgrounds */
.dot-grid {
  background-image: radial-gradient(rgba(0,9,99,.15) 1px, transparent 1px);
  background-size: 16px 16px;
}

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

/* Tweaks panel positioning override (the starter component) */
[data-tweaks-panel] { z-index: 9999; }

/* Focused outline */
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; }
