/* ============ CORE DESIGN SYSTEM & UTILITIES ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #111111;
  text-decoration: none;
}
a:hover {
  color: #666666;
}

/* Animations */
@keyframes fluxUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fluxMaskUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fluxScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fluxPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes fluxFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes fluxMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fluxDashMove {
  to {
    stroke-dashoffset: -22;
  }
}
@keyframes fluxGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes fluxZoom {
  from {
    transform: scale(1.06);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============ FLOATING NAV ============ */
.floating-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #eaeaea;
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
  transition:
    box-shadow 0.4s,
    background 0.4s,
    padding 0.4s;
}
.nav-pill.scrolled {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  padding-right: 8px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.desktop-nav a {
  color: #666666;
  padding: 8px 13px;
  border-radius: 999px;
  transition:
    background 0.25s,
    color 0.25s;
}
.desktop-nav a:hover {
  background: #f5f5f3;
  color: #111111;
}
.desktop-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  background: #111111;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  margin-left: 8px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.desktop-cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.22);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  outline: none;
}
.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #111111;
  transition: all 0.3s ease;
}
.hamburger-bar.active:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-bar.active:nth-child(2) {
  opacity: 0;
}
.hamburger-bar.active:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Sidebar Drawer Overlay (Backdrop) */
.mobile-sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 998;
  pointer-events: auto;
}
.mobile-sidebar-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sidebar Drawer Container */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 80vw;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  box-sizing: border-box;
  pointer-events: auto;
}
.mobile-sidebar.open {
  transform: translateX(0);
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.sidebar-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #111111;
  padding: 4px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-nav a {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f3;
  transition:
    color 0.25s,
    padding-left 0.25s;
}
.sidebar-nav a:hover {
  color: #666666;
  padding-left: 6px;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-cta {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #111111;
  padding: 15px;
  border-radius: 999px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.sidebar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.2);
}

/* ============ EDITORIAL HERO ============ */
.hero-section {
  position: relative;
  background: #ffffff;
  padding: 150px 48px 0;
  overflow: hidden;
}
.hero-container {
  max-width: 1400px;
  margin: 0 auto;
}
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 14px;
}
.hero-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #999999;
  overflow: hidden;
}
.hero-label.right {
  text-align: right;
}
.hero-title {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 54px 0 0;
  max-width: 1200px;
}
.hero-title em {
  font-style: normal;
  color: #b5b5b5;
  display: inline-block;
}
.hero-title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.hero-title-line {
  display: block;
}
.hero-title-line.line-1 {
  animation: fluxMaskUp 0.8s 0.25s ease both;
}
.hero-title-line.line-2 {
  animation: fluxMaskUp 0.8s 0.38s ease both;
}
.hero-title-rotate-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.hero-title-rotate-wrapper em {
  display: inline-block;
  font-style: normal;
}
.rainbow-text {
  background: linear-gradient(
    90deg,
    #ff5f6d,
    #ffc371,
    #4ade80,
    #38bdf8,
    #a78bfa,
    #ff5f6d
  );
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: fluxRainbow 3.2s linear infinite !important;
  display: inline-block;
}
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: #38bdf8;
  margin-left: 4px;
  animation: fluxBlink 0.9s step-end infinite;
  vertical-align: bottom;
}
@keyframes fluxRainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
@keyframes fluxBlink {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 52px;
  align-items: start;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  max-width: 520px;
  text-wrap: pretty;
  animation: fluxUp 0.8s 0.6s ease both;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  animation: fluxUp 0.8s 0.7s ease both;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #111111;
  padding: 17px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.hero-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.22);
}
.hero-btn-secondary {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  border: 1px solid #eaeaea;
  padding: 17px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.25s;
}
.hero-btn-secondary:hover {
  border-color: #111111;
  color: #111111;
}
.hero-badge-desc {
  font-size: 13px;
  color: #999999;
}
.hero-visual {
  position: relative;
  margin-top: 72px;
  animation: fluxScaleIn 1s 0.75s ease both;
}
.browser-window {
  border-radius: 24px 24px 0 0;
  border: 1px solid #eaeaea;
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(17, 17, 17, 0.07);
  background: #ffffff;
}
.browser-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: #fafafa;
  border-bottom: 1px solid #eaeaea;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e4e4e4;
  flex-shrink: 0;
}
.browser-url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #999999;
  padding: 5px 14px;
  text-align: center;
}
.browser-content img {
  display: block;
  width: 100%;
  height: auto;
}
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.1);
  z-index: 3;
}
.floating-badge.badge-1 {
  top: 60px;
  right: 40px;
  animation: fluxFloat 5.6s ease-in-out infinite;
}
.floating-badge.badge-2 {
  top: 200px;
  left: 36px;
  animation: fluxFloat 6.4s ease-in-out -2.2s infinite;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111111;
  animation: fluxPulse 2s ease infinite;
}
.floating-badge.badge-2 .badge-dot {
  animation: fluxPulse 2.4s ease infinite;
}
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.badge-title {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}
.badge-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #999999;
}

/* ============ TRUST MARQUEE ============ */
.marquee-section {
  padding: 34px 0;
  background: #111111;
  overflow: hidden;
}
.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: fluxMarquee 28s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}
.marquee-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #777777;
  white-space: nowrap;
  transition: color 0.3s;
  cursor: default;
}
.marquee-text:hover {
  color: #ffffff;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3a3a3a;
}

/* ============ BEFORE / AFTER STORY ============ */
.story-section {
  background: #ffffff;
  padding: 150px 48px;
}
.story-container {
  max-width: 1400px;
  margin: 0 auto;
}
.story-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: end;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}
.story-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.story-title {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
}
.story-intro {
  font-size: 19px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  text-wrap: pretty;
}
.story-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 76px;
  align-items: stretch;
}
.compare-card {
  border: 1px solid #eaeaea;
  border-radius: 28px;
  padding: 44px;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 32%;
}
.compare-card.today {
  background: #f5f5f3;
}
.compare-card.tomorrow {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #999999;
}
.card-status {
  font-size: 22px;
  color: #c9c9c9;
}
.compare-card.tomorrow .card-status {
  color: #ffffff;
  font-size: 20px;
}
.card-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
}
.card-row {
  padding: 22px 0;
  border-bottom: 1px solid #e4e4e0;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.compare-card.tomorrow .card-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.card-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #b5b5b5;
  flex-shrink: 0;
}
.compare-card.tomorrow .card-num {
  color: #666666;
}
.card-row-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
}
.compare-card.tomorrow .card-row-title {
  color: #ffffff;
}
.card-row-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #666666;
  margin: 7px 0 0;
}
.compare-card.tomorrow .card-row-desc {
  color: #a3a3a3;
}
.card-footer-note {
  font-size: 14.5px;
  line-height: 1.65;
  color: #999999;
  margin: 26px 0 0;
}
.compare-card.tomorrow .card-footer-note {
  color: #b0b0b0;
}

/* ============ STATS STRIP ============ */
.stats-section {
  background: #ffffff;
  padding: 0 48px 150px;
}
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #eaeaea;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 44px 32px 0 0;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 45%;
}
.stat-value {
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat-label {
  font-size: 14.5px;
  line-height: 1.55;
  color: #666666;
  margin-top: 14px;
  max-width: 220px;
}

/* ============ FIRESPEC ============ */
.firespec-section {
  background: #f5f5f3;
  padding: 150px 48px;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}
.firespec-container {
  max-width: 1400px;
  margin: 0 auto;
}
.firespec-header {
  max-width: 720px;
}
.firespec-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.firespec-title {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
}
.firespec-desc {
  font-size: 19px;
  line-height: 1.7;
  color: #666666;
  margin: 22px 0 0;
  text-wrap: pretty;
}
.firespec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 72px;
  align-items: start;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.firespec-accordion {
  display: flex;
  flex-direction: column;
}
.firespec-panel {
  border-bottom: 1px solid #e0e0dc;
}
.firespec-panel-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #444444;
  transition: color 0.25s;
}
.firespec-panel-btn.active {
  color: #111111;
}
.firespec-panel-btn-label {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.firespec-panel-btn-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #b5b5b5;
}
.firespec-panel-btn-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.firespec-panel-btn-icon {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: #111111;
}
.firespec-panel-content {
  font-size: 16px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  padding: 0 0 26px 42px;
  animation: fluxUp 0.4s ease both;
}
.firespec-showcase {
  position: sticky;
  top: 110px;
}
.engine-card {
  background: #111111;
  border-radius: 28px;
  padding: 40px;
  color: #ffffff;
}
.engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.engine-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.engine-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #b0b0b0;
}
.engine-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: fluxPulse 2s ease infinite;
}
.engine-stats {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 30px;
}
.engine-stat-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
}
.engine-stat-row.flex {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #b0b0b0;
}
.engine-stat-row.flex span:last-child {
  font-family: "IBM Plex Mono", monospace;
  color: #ffffff;
}
.engine-stat-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #b0b0b0;
}
.engine-stat-progress-label span:last-child {
  font-family: "IBM Plex Mono", monospace;
  color: #ffffff;
}
.engine-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-top: 11px;
  overflow: hidden;
}
.engine-progress-fill {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
}
.firespec-showcase-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 24px 6px 0;
  text-wrap: pretty;
}

/* ============ WORKFLOW TIMELINE ============ */
/* ============ WORKFLOW — STICKY SCROLL ============ */
.workflow-sticky-section {
  position: relative;
  height: 560vh;
  background: #ffffff;
}
.workflow-sticky-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.workflow-sticky-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  box-sizing: border-box;
}
.workflow-sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.workflow-sticky-title {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 16px 0 0;
}
.workflow-sticky-title .muted-text {
  color: #b5b5b5;
}
.workflow-scroll-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b5b5b5;
}
.workflow-sticky-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 72px;
  align-items: center;
  margin-top: 52px;
}
.workflow-sticky-left-col {
  display: flex;
  gap: 36px;
  align-items: stretch;
}
.workflow-sticky-text-wrap {
  align-self: center;
  flex: 1;
}
.workflow-sticky-tag {
  display: inline-flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  background: #f5f5f3;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  padding: 6px 15px;
  animation: fluxUp 0.45s ease both;
}
.workflow-sticky-step-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  animation: fluxUp 0.45s 0.05s ease both;
}
.workflow-sticky-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #666666;
  margin: 14px 0 0;
  text-wrap: pretty;
  animation: fluxUp 0.45s 0.1s ease both;
}
.workflow-sticky-num-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
.workflow-num-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #eaeaea;
  background: transparent;
  color: #b5b5b5;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  padding: 0;
}
.workflow-num-btn:hover {
  border-color: #111111;
  color: #111111;
}
.workflow-sticky-mockup {
  border-radius: 20px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.1);
  background: #ffffff;
}
.workflow-mockup-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: #fafafa;
  border-bottom: 1px solid #eaeaea;
}
.workflow-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e4e4e4;
  flex-shrink: 0;
}
.workflow-mockup-url {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #999999;
  margin-left: 8px;
}
.workflow-mockup-image {
  display: block;
  width: 100%;
  height: auto;
  animation: fluxZoom 0.5s ease both;
}

/* ============ PRODUCT EXPERIENCE (sticky) ============ */
.experience-section {
  position: relative;
  height: 340vh;
  background: #111111;
}
.experience-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.experience-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 0.75fr 1.45fr;
  gap: 72px;
  align-items: center;
  color: #ffffff;
}
.experience-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #808080;
}
.experience-title {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 20px 0 0;
  min-height: 2.4em;
}
.experience-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #a3a3a3;
  margin: 18px 0 0;
  text-wrap: pretty;
  min-height: 5em;
}
.experience-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.experience-dot {
  display: block;
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  transition: all 0.4s ease;
}
.experience-dot.active {
  width: 34px;
  background: #ffffff;
}
.experience-scroll-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #555555;
  margin-top: 20px;
}
.experience-mockup {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  background: #1a1a1a;
}
.experience-mockup-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.experience-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.experience-mockup-url {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #808080;
  margin-left: 8px;
}
.experience-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  animation: fluxZoom 0.6s ease both;
}

/* ============ CAPABILITIES ============ */
.cap-section {
  background: #ffffff;
  padding: 150px 48px;
}
.cap-container {
  max-width: 1400px;
  margin: 0 auto;
}
.cap-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: end;
}
.cap-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.cap-title {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
}
.cap-desc {
  font-size: 19px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  text-wrap: pretty;
}
.cap-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  margin-top: 72px;
  align-items: start;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.cap-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eaeaea;
}
.cap-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 4px;
  border-bottom: 1px solid #eaeaea;
  cursor: pointer;
  background: transparent;
  transition:
    background 0.25s,
    color 0.25s;
  color: #555555;
}
.cap-row.active {
  background: #fafafa;
  color: #111111;
}
.cap-row-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #b5b5b5;
  width: 40px;
  flex-shrink: 0;
}
.cap-row-content {
  flex: 1;
  min-width: 0;
}
.cap-row-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cap-row-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #666666;
  margin: 10px 0 0;
  animation: fluxUp 0.35s ease both;
}
.cap-arrow {
  font-size: 18px;
  color: #d4d4d4;
  transition:
    transform 0.3s,
    color 0.3s;
  flex-shrink: 0;
}
.cap-row.active .cap-arrow {
  color: #111111;
  transform: translateX(4px);
}
.cap-showcase {
  position: sticky;
  top: 110px;
}
.cap-mockup {
  border-radius: 20px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(17, 17, 17, 0.1);
  background: #ffffff;
}
.cap-mockup-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: #fafafa;
  border-bottom: 1px solid #eaeaea;
}
.cap-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e4e4e4;
}
.cap-mockup-url {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #999999;
  margin-left: 8px;
}
.cap-mockup-content {
  height: 380px;
  overflow: hidden;
  background: #fafafa;
}
.cap-showcase-image {
  display: block;
  width: 140%;
  height: auto;
  margin-left: -20%;
  animation: fluxZoom 0.5s ease both;
}
.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  background: #f5f5f3;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  padding: 6px 15px;
}

/* ============ WHO IT'S FOR ============ */
.audiences-section {
  background: #f5f5f3;
  padding: 150px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  overflow: hidden;
}
.audiences-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.audiences-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
}
.audiences-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.audiences-title {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
  max-width: 680px;
}
.audiences-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.audiences-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ddddd8;
  background: #ffffff;
  cursor: pointer;
  font-size: 17px;
  color: #111111;
  display: grid;
  place-items: center;
  transition:
    background 0.25s,
    transform 0.25s,
    color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audiences-nav-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}
.rail-container {
  margin-top: 60px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 30px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.rail-container::-webkit-scrollbar {
  display: none;
}
.rail-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 max(48px, calc((100vw - 1400px) / 2 + 48px));
}
.audience-card {
  width: 320px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: 34px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  user-select: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}
.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(17, 17, 17, 0.1);
}
.audience-card-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #b5b5b5;
}
.audience-card-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: auto;
  padding-top: 40px;
}
.audience-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #666666;
  margin: 10px 0 0;
}
.audiences-footer-text {
  max-width: 1400px;
  margin: 20px auto 0;
  padding: 0 48px;
}
.audiences-footer-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #666666;
  max-width: 720px;
  text-wrap: pretty;
}
.audiences-footer-text strong {
  color: #111111;
}

/* ============ COMPARISON ============ */
.comparison-section {
  background: #ffffff;
  padding: 150px 48px;
}
.comparison-container {
  max-width: 1100px;
  margin: 0 auto;
}
.comparison-header {
  max-width: 720px;
}
.comparison-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.comparison-title {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
}
.comparison-desc {
  font-size: 19px;
  line-height: 1.7;
  color: #666666;
  margin: 20px 0 0;
}
.comparison-wrapper {
  margin-top: 64px;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  align-items: center;
}
.comparison-grid-header {
  border-bottom: 1px solid #111111;
  padding-bottom: 14px;
}
.comparison-h-col-1 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999999;
}
.comparison-h-col-other {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #999999;
}
.comparison-h-col-flux {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
}
.comparison-row {
  border-bottom: 1px solid #eaeaea;
  transition: background 0.25s;
}
.comparison-row:hover {
  background: #fafafa;
}
.comparison-cell-cap {
  padding: 17px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: #111111;
}
.comparison-cell-other {
  padding: 17px 0;
  text-align: center;
  font-size: 15px;
}
.comparison-cell-flux {
  padding: 17px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
.compare-full {
  color: #111111;
  font-weight: 700;
}
.compare-part {
  color: #999999;
  font-weight: 700;
}
.compare-none {
  color: #c9c9c9;
  font-weight: 700;
}
.comparison-legend {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  font-size: 13px;
  color: #999999;
  flex-wrap: wrap;
}

/* ============ AUDIT ============ */
.audit-section {
  background: #ffffff;
  padding: 0 48px 150px;
}
.audit-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #111111;
  border-radius: 36px;
  padding: clamp(44px, 6vw, 88px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  animation: fluxScaleIn linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.audit-bg-logo {
  position: absolute;
  right: -60px;
  bottom: -90px;
  height: 440px;
  filter: invert(1);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.audit-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.audit-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #808080;
}
.audit-title {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 22px 0 0;
}
.audit-desc {
  font-size: 17px;
  line-height: 1.75;
  color: #a3a3a3;
  margin: 24px 0 0;
  text-wrap: pretty;
}
.audit-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.audit-btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
  padding: 17px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.audit-btn-primary:hover {
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.2);
}
.audit-btn-secondary {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 17px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.25s;
}
.audit-btn-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.audit-caption {
  font-size: 13.5px;
  color: #808080;
  margin: 22px 0 0;
}
.audit-checklist-header {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #808080;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.audit-checklist {
  display: flex;
  flex-direction: column;
}
.audit-checklist-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: #d4d4d4;
}
.audit-checklist-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #666666;
  width: 24px;
  flex-shrink: 0;
}
.audit-checklist-text {
  flex: 1;
}
.audit-checklist-check {
  color: #ffffff;
}
.audit-checklist-footer {
  font-size: 12.5px;
  color: #808080;
  margin: 18px 0 0;
}

/* ============ FAQ ============ */
.faq-section {
  background: #ffffff;
  padding: 0 48px 150px;
}
.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 110px;
}
.faq-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
}
.faq-title {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 22px 0 0;
}
.faq-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666666;
  margin: 20px 0 0;
  max-width: 340px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eaeaea;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.faq-item {
  border-bottom: 1px solid #eaeaea;
}
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
  transition: color 0.25s;
}
.faq-btn:hover {
  color: #666666;
}
.faq-btn-icon {
  font-family: "IBM Plex Mono", monospace;
  font-size: 19px;
  color: #111111;
  flex-shrink: 0;
}
.faq-content {
  font-size: 16px;
  line-height: 1.75;
  color: #666666;
  margin: 0;
  padding: 0 4px 30px;
  animation: fluxUp 0.4s ease both;
}

/* ============ FINAL CTA ============ */
.cta-section {
  position: relative;
  background: #f5f5f3;
  border-top: 1px solid #eaeaea;
  padding: 170px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-bg-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 560px;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.cta-container {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.cta-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999999;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
}
.cta-title {
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 28px 0 0;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
}
.cta-title em {
  font-style: normal;
  color: #b5b5b5;
}
.cta-desc {
  font-size: 18px;
  line-height: 1.75;
  color: #666666;
  max-width: 660px;
  margin: 28px auto 0;
  text-wrap: pretty;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
  animation: fluxUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
.cta-btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #111111;
  padding: 19px 40px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.cta-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.24);
}
.cta-btn-secondary {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
  border: 1px solid #eaeaea;
  padding: 19px 40px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.25s;
}
.cta-btn-secondary:hover {
  border-color: #111111;
  color: #111111;
}

/* ============ FOOTER ============ */
.footer-section {
  background: #111111;
  color: #a3a3a3;
  padding: 100px 48px 0;
  overflow: hidden;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1);
}
.footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #808080;
  margin: 20px 0 0;
  max-width: 300px;
  text-wrap: pretty;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  margin-top: 22px;
}
.footer-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  animation: fluxPulse 2.2s ease infinite;
}
.footer-links-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #808080;
}
.footer-links-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 20px;
  font-size: 14.5px;
}
.footer-links-nav a {
  color: #a3a3a3;
  transition: color 0.25s;
}
.footer-links-nav a:hover {
  color: #ffffff;
}
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 20px;
  font-size: 14.5px;
  color: #a3a3a3;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #808080;
}
.footer-bottom-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.footer-big-brand {
  font-size: clamp(110px, 17vw, 240px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  user-select: none;
  margin-bottom: -14px;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS FOR TABLETS, MOBILES, MAC, LAPTOPS & TV)
   ========================================================================== */

/* --- VERY LARGE SCREENS & TV (1440px and up) --- */
@media (min-width: 1440px) {
  .hero-container,
  .story-container,
  .stats-grid,
  .firespec-container,
  .workflow-container,
  .experience-container,
  .cap-container,
  .audiences-container,
  .comparison-container,
  .audit-container,
  .faq-container,
  .footer-container {
    max-width: 1360px;
  }
}

/* --- LAPTOP / NOTEBOOK / MAC (992px to 1200px) --- */
@media (max-width: 1200px) {
  .hero-section {
    padding: 130px 32px 0;
  }
  .story-section,
  .firespec-section,
  .workflow-sticky-section,
  .cap-section,
  .audiences-section,
  .comparison-section,
  .audit-section,
  .faq-section,
  .cta-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .story-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .firespec-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .workflow-sticky-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .experience-container {
    padding-left: 32px;
    padding-right: 32px;
    gap: 40px;
  }
  .cap-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .audiences-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .comparison-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .audit-section {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 100px;
  }
  .faq-section {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 100px;
  }
  .footer-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .timeline-row {
    gap: 50px;
  }
}

/* --- TABLET PORTRAIT / LANDSCAPE & SMALL LAPTOPS (768px to 991px) --- */
@media (max-width: 991px) {
  /* Unified Section Heading & Description Typography */
  .hero-title,
  .story-title,
  .firespec-title,
  .workflow-title,
  .cap-title,
  .audiences-title,
  .comparison-title,
  .audit-title,
  .faq-title,
  .cta-title {
    font-size: clamp(36px, 8.5vw, 48px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    font-weight: 700 !important;
  }

  .hero-desc,
  .story-intro,
  .firespec-desc,
  .cap-desc,
  .comparison-desc,
  .audit-desc,
  .faq-desc,
  .cta-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* Unified Section Padding for Tablets (50px top/bottom, 15px left/right) */
  .story-section,
  .firespec-section,
  .workflow-sticky-section,
  .cap-section,
  .comparison-section,
  .audit-section,
  .faq-section,
  .cta-section {
    padding: 50px 15px !important;
  }
  .stats-section {
    padding: 0 15px 50px !important;
  }
  .stat-label {
    max-width: 100% !important;
  }
  .audiences-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .audiences-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .audiences-footer-text {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Responsive Header/Menu Toggles */
  .desktop-nav,
  .desktop-cta {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
  .nav-pill {
    padding: 8px 16px;
    width: 90%;
    max-width: 600px;
    justify-content: space-between;
  }

  /* Hero stack */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 36px;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-actions {
    align-items: flex-start;
  }
  .hero-buttons {
    justify-content: flex-start;
    width: 100%;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    flex: 1;
    text-align: center;
    min-width: 180px;
  }

  /* Floating badge scaled */
  .floating-badge {
    transform: scale(0.85);
  }
  .floating-badge.badge-1 {
    top: 30px;
    right: 20px;
  }
  .floating-badge.badge-2 {
    top: 140px;
    left: 20px;
  }

  /* Story section stack */
  .story-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  /* Stats grid 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell {
    padding-bottom: 30px;
  }
  .stats-grid .stat-cell:nth-child(even) {
    padding-left: 24px;
  }
  .stats-grid .stat-cell:nth-child(3),
  .stats-grid .stat-cell:nth-child(4) {
    padding-top: 30px;
  }

  /* FireSpec stack */
  .firespec-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .firespec-showcase {
    position: static;
  }
  .engine-card {
    padding: 30px;
  }

  /* Sticky Workflow Section (tablet scaling) */
  .workflow-sticky-section {
    height: auto;
    padding: 0 !important;
  }
  .workflow-sticky-pin {
    position: static;
    height: auto;
    padding: 50px 0px !important;
    overflow: visible;
  }
  .workflow-sticky-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .workflow-sticky-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .workflow-scroll-hint {
    display: none;
  }

  /* Sticky Showcase stack (to avoid overflow of height) */
  .experience-section {
    height: auto;
    padding: 0 !important;
  }
  .experience-sticky {
    position: static;
    height: auto;
    padding: 50px 15px !important;
    overflow: visible;
  }
  .experience-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .experience-title {
    min-height: auto;
  }
  .experience-desc {
    min-height: auto;
  }

  /* Capabilities stack */
  .cap-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cap-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .cap-showcase {
    position: static;
  }
  .cap-mockup-content {
    height: auto;
  }
  .cap-showcase-image {
    width: 100%;
    margin-left: 0;
  }

  /* Comparison grid horizontal scroll */
  .comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .comparison-grid {
    min-width: 780px;
  }

  /* Audit stack */
  .audit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .audit-bg-logo {
    display: none;
  }

  /* FAQ stack */
  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-aside {
    position: static;
  }

  /* Footer stack */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  /* Audiences Rail responsiveness */
  .rail-track {
    padding: 0 20px;
  }
  .rail-container {
    padding: 20px 0 40px;
  }
  .audience-card {
    width: 280px;
    min-height: 220px;
    padding: 24px;
  }
}

/* --- MOBILE LANDSCAPE & PORTRAIT (up to 767px) --- */
@media (max-width: 767px) {
  /* Audit section mobile layout */
  .audit-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .audit-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .audit-btn-primary,
  .audit-btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Final CTA section mobile layout */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-btn-primary,
  .cta-btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .hero-section {
    padding: 100px 20px 0;
  }

  /* Trust Marquee responsiveness */
  .marquee-section {
    padding: 16px 0;
  }
  .marquee-text {
    font-size: 12px;
  }
  .marquee-item {
    gap: 20px;
    padding-right: 20px;
  }
  .marquee-dot {
    width: 3px;
    height: 3px;
  }
  .story-section,
  .firespec-section,
  .workflow-sticky-section,
  .cap-section,
  .comparison-section,
  .audit-section,
  .faq-section,
  .cta-section {
    padding: 50px 15px !important;
  }
  .experience-sticky {
    padding: 50px 15px !important;
  }
  .stats-section {
    padding: 0 15px 50px !important;
  }
  .stat-label {
    max-width: 100% !important;
  }
  .audiences-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .audiences-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .audiences-footer-text {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .workflow-sticky-left-col {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .workflow-sticky-num-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .workflow-num-btn {
    width: 32px;
    height: 32px;
  }
  .footer-section {
    padding: 60px 20px 0;
  }

  /* Header adjustments */
  .floating-header {
    top: 10px;
  }
  .nav-pill {
    padding: 6px 12px;
    width: 90%;
  }

  /* Hero Section Responsiveness */
  .hero-title {
    line-height: 1.05;
    margin-top: 36px;
  }
  .hero-title-mask {
    display: inline !important;
    overflow: visible !important;
  }
  .hero-title-line {
    display: inline !important;
  }
  .hero-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-label.right {
    text-align: left;
  }
  .hero-actions {
    width: 100%;
    align-items: stretch;
  }
  .hero-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 12px 4px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  /* Floating badges hide on small screens */
  .floating-badge {
    display: none !important;
  }

  /* Story section compare cards */
  .compare-card {
    padding: 24px;
    border-radius: 20px;
  }
  .card-row-title {
    font-size: 16px;
  }
  .card-row-desc {
    font-size: 13.5px;
  }

  /* Stats grid 2 columns mobile optimization with + border */
  .stats-grid .stat-cell {
    padding: 20px !important;
    box-sizing: border-box;
  }
  .stats-grid .stat-cell:nth-child(odd) {
    border-right: 1px solid #eaeaea;
  }
  .stats-grid .stat-cell:nth-child(1),
  .stats-grid .stat-cell:nth-child(2) {
    border-bottom: 1px solid #eaeaea;
  }

  /* Accordion headers */
  .firespec-panel-btn-title {
    font-size: 17px;
  }
  .firespec-panel-content {
    padding-left: 28px;
    font-size: 14.5px;
  }

  /* FAQ panel headers */
  .faq-btn {
    font-size: 16px;
    padding: 20px 0;
  }
  .faq-content {
    font-size: 14.5px;
  }

  /* final CTA scaling */
  .cta-section {
    padding: 100px 20px;
  }

  /* Comparison grid scroll container offset */
  .comparison-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Footer grid single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- ULTRA MOBILE / VERY SMALL DEVICES (up to 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
}

/* ============ EARLY ACCESS POPUP MODAL ============ */
.btn-early-access {
  background: transparent;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  display: inline-block;
  text-align: center;
  border: 1px solid #eaeaea;
}
.cta-btn-secondary.btn-early-access {
  background: #ffffff;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  box-sizing: border-box;
  animation: fluxUp 0.4s ease both;
}
.modal-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eaeaea;
  width: 100%;
  max-width: 580px;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.25);
  animation: fluxScaleIn 0.4s ease both;
  margin: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #eaeaea;
  background: #ffffff;
  color: #111111;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  padding: 0;
  line-height: 1;
}
.modal-close-btn:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}
.modal-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: #111111;
  text-align: left;
}
.modal-subtitle {
  font-size: 14.5px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 28px;
  text-align: left;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: #111111;
  box-sizing: border-box;
  background: #fafafa;
  transition: all 0.25s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #111111;
  background: #ffffff;
  outline: none;
}
.modal-submit-btn {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #111111;
  border: 1px solid #111111;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
  font-family: inherit;
}
.modal-submit-btn:hover:not(:disabled) {
  background: #333333;
  border-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.2);
}
.modal-submit-btn:disabled {
  background: #e4e4e4;
  border-color: #e4e4e4;
  color: #999999;
  cursor: not-allowed;
}
.form-status-message {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  animation: fluxUp 0.3s ease both;
}
.form-status-message.success {
  background: #e6f9f0;
  color: #0b8a4f;
  border: 1px solid #bdf0d7;
}
.form-status-message.error {
  background: #fdf2f2;
  color: #de350b;
  border: 1px solid #f8d7da;
}

/* Responsive adjustments for modal */
@media (max-width: 576px) {
  .modal-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  .modal-title {
    font-size: 24px;
  }
}

.btn-early-access-footer {
  background: none;
  border: none;
  font: inherit;
  color: #a3a3a3;
  padding: 0;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: color 0.25s;
}
.btn-early-access-footer:hover {
  color: #ffffff;
}
