/* FluxLogic — Base Styles | #1b47fb + white */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --blue: #1b47fb;
  --blue-dark: #1238d6;
  --blue-light: #e8eeff;
  --blue-mid: #3d62fc;
  --white: #ffffff;
  --black: #0a0f1e;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --surface: #f7f8ff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(27, 71, 251, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(27, 71, 251, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 12px 40px rgba(27, 71, 251, 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
  --section-py: 96px;
  --max-w: 1160px;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}
::selection {
  background: var(--blue);
  color: var(--white);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-py) 0;
}
.section--alt {
  background: var(--surface);
}
.section--dark {
  background: var(--gray-900);
  color: var(--white);
}
.section--blue {
  background: var(--blue);
  color: var(--white);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--blue {
  background: var(--blue-light);
  color: var(--blue);
}
.badge--white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.badge--dark {
  background: var(--gray-800);
  color: var(--gray-300);
}
.badge--outline {
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  background: transparent;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

/* Typography */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow--white {
  color: rgba(255, 255, 255, 0.75);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}
.section-title--white {
  color: var(--white);
}
.section-title--center {
  text-align: center;
}
.section-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 600px;
}
.section-sub--white {
  color: rgba(255, 255, 255, 0.75);
}
.section-sub--center {
  text-align: center;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 56px;
}
.section-header--center {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.section-header .section-sub {
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(27, 71, 251, 0.35);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(27, 71, 251, 0.45);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue-light);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.btn--white:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(27, 71, 251, 0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
}
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.nav__link.active {
  color: var(--blue);
  font-weight: 600;
}
.nav__cta {
  margin-left: 12px;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile.open {
  display: flex;
}
.nav__mobile .nav__link {
  padding: 12px 14px;
  font-size: 1rem;
}
.nav__mobile .nav__cta {
  margin-left: 0;
  margin-top: 12px;
}
.nav__mobile .btn {
  width: 100%;
  justify-content: center;
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 96px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 70% 50% at 60% 40%,
    rgba(27, 71, 251, 0.06) 0%,
    transparent 70%
  );
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 30%,
    black 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 30%,
    black 40%,
    transparent 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero__badge {
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.hero__title em {
  color: var(--blue);
  font-style: normal;
}
.hero__sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__meta-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.hero__meta-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}
.hero__meta-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__cards {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding-bottom: 40px;
}
.hero__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.hero__card--float {
  position: absolute;
  bottom: 0;
  right: -24px;
  z-index: 3;
  width: 200px;
  padding: 16px 18px;
}
.hero__card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.hero__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hero__card-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
}
.hero__card-platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__card-stat {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
}
.hero__card-stat span {
  color: var(--blue);
}
.hero__card-mini-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.hero__card-mini-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.hero__card-mini-sub {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Page Header (inner pages) */
.page-header {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--gray-200);
}
.page-header__eyebrow {
  margin-bottom: 12px;
}
.page-header__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.page-header__sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
}
