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

:root {
  --gold: #F5B731;
  --gold-dark: #d9a020;
  --gold-light: #ffe08a;
  --dark: #111113;
  --dark-2: #1a1a1e;
  --dark-3: #232328;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --text-dark: #111113;
  --text-light: #ffffff;
  --text-muted-light: rgba(255, 255, 255, 0.6);
  --text-muted-dark: #555;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --green: #22c55e;
  --red: #ef4444;
  --purple: #8b5cf6;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

::selection {
  background: var(--gold);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

a { color: inherit; text-decoration: none; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-3);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

.btn-light:hover {
  background: var(--off-white);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-full { width: 100%; }
.btn-lg { padding: 20px 48px; font-size: 1.1rem; }

/* NAV */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gold);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  position: relative;
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: var(--underline-left, 0);
  width: var(--underline-width, 0);
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: left 0.35s cubic-bezier(.4,0,.2,1), width 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  opacity: var(--underline-opacity, 0);
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a.active { opacity: 1; }
.nav-links a:hover { opacity: 1; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 10px 20px;
}

.nav-signin:hover { opacity: 1; }

.mobile-menu-btn {
  display: none;
  background: var(--dark);
  border: none;
  color: var(--gold);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  padding: 16px 32px 32px;
  background: var(--gold);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

.mobile-menu a.btn {
  width: 100%;
  text-align: center;
}

.mobile-menu a.btn-dark {
  color: var(--white);
}

/* HERO - Gold bg */
.hero {
  background: var(--gold);
  padding: 80px 32px 120px;
  text-align: center;
  position: relative;
  overflow: clip;
  max-width: 100%;
}


.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--dark);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--dark);
  opacity: 0.65;
  max-width: 580px;
  margin: 0 auto 44px;
}

.hero-rotate-words {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.2em;
  max-width: 100%;
}

.hero-word {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-word.exit-up {
  opacity: 0;
  transform: translateY(-110%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-rotating-wrapper {
  max-width: 580px;
  margin: 0 auto 44px;
  height: 3em;
  overflow: hidden;
  position: relative;
}

.hero-rotating {
  position: relative;
  height: 100%;
}

.hero-rotating-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
}

.hero-rotating-line.active {
  opacity: 0.65;
  transform: translateY(0);
}

.hero-rotating-line.exit-up {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ANNOUNCEMENT - Dark bg */
.announcement {
  background: var(--dark);
  padding: 20px 32px;
}

.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-badge {
  background: var(--gold);
  color: var(--dark);
  padding: 3px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.announcement-text {
  color: var(--text-muted-light);
  font-size: 0.92rem;
}

.announcement-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}

/* SECTION HELPERS */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-label.gold { color: var(--gold); }
.section-label.dark { color: var(--dark); opacity: 0.4; }
.section-label.purple { color: var(--purple); }

section h2,
.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  line-height: 1.05;
}

.section-desc {
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.6;
}

/* DARK SECTION */
.bg-dark {
  background: var(--dark);
  color: var(--white);
}

.bg-dark-2 {
  background: var(--dark-2);
  color: var(--white);
}

.bg-white {
  background: var(--white);
  color: var(--dark);
}

.bg-off-white {
  background: var(--off-white);
  color: var(--dark);
}

.bg-gold {
  background: var(--gold);
  color: var(--dark);
}

/* STATS BAR */
.stats-bar {
  padding: 80px 0;
}

.stats-bar h2 {
  text-align: center;
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-value {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.6;
}

.stat-item .stat-sub {
  font-size: 0.78rem;
  opacity: 0.4;
  margin-top: 4px;
}

/* PLATFORM SECTION */
.platform-section {
  padding: 100px 0;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.platform-tab {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  color: var(--dark);
  transition: all 0.2s;
  font-family: inherit;
}

.platform-tab:hover {
  border-color: var(--dark);
}

.platform-tab.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.platform-tab h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.platform-tab p {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.5;
}

.platform-visual { display: flex; justify-content: center; }

.platform-screen {
  background: var(--dark);
  border-radius: var(--radius);
  width: 100%;
  max-width: 900px;
  overflow: hidden;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-dark);
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-dots span:first-child { background: #ef4444; }
.screen-dots span:nth-child(2) { background: #f59e0b; }
.screen-dots span:last-child { background: #22c55e; }

.screen-title {
  font-size: 0.82rem;
  color: var(--text-muted-light);
  font-weight: 500;
}

.screen-body {
  padding: 28px;
  min-height: 280px;
  color: var(--white);
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  max-width: 88%;
  font-size: 0.88rem;
  line-height: 1.6;
}

.chat-msg.user {
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.ai {
  background: var(--dark-3);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.ai ul {
  margin: 8px 0;
  padding-left: 20px;
}

.chat-msg.ai li { margin-bottom: 4px; }

/* AI feature elements */
.ai-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  margin-right: 6px;
  vertical-align: middle;
}

.ai-sources {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  opacity: 0.6;
  line-height: 1.5;
}

.ai-confidence {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  opacity: 0.7;
}

.confidence-bar {
  display: inline-block;
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.confidence-fill {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.ai-insight {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(245,183,49,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

.ai-report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.ai-report-metric {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-report-metric-label {
  font-size: 0.72rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-report-metric-value {
  font-size: 1.15rem;
  font-weight: 700;
}

.forecast-scenarios {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.forecast-scenario {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.forecast-scenario p {
  width: 100%;
  font-size: 0.78rem;
  opacity: 0.5;
  margin-top: 2px;
}

.scenario-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 70px;
}

.scenario-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.scenario-delta {
  font-size: 0.82rem;
  font-weight: 600;
}

.scenario-up { border-left: 3px solid var(--green); }
.scenario-base { border-left: 3px solid var(--gold); }
.scenario-down { border-left: 3px solid var(--red); }

/* INTEGRATIONS */
.integrations-section {
  padding: 100px 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.integration-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}

.integration-card:hover {
  border-color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--off-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.integration-icon img {
  display: block;
}

.integration-name {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.integration-desc {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* FEATURES */
.features-section {
  padding: 100px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.feature-text p {
  opacity: 0.6;
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 0.98rem;
}

.feature-link {
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bg-dark .feature-link { color: var(--gold); }
.bg-white .feature-link,
.bg-off-white .feature-link { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }

.feature-card-visual {
  border-radius: var(--radius);
  padding: 32px;
}

.bg-dark .feature-card-visual,
.bg-dark-2 .feature-card-visual {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
}

.bg-white .feature-card-visual,
.bg-off-white .feature-card-visual {
  background: var(--white);
  border: 2px solid var(--border-light);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  opacity: 0.4;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.metric-change {
  font-size: 0.85rem;
  font-weight: 700;
}

.metric-change.positive { color: var(--green); }
.metric-change.negative { color: var(--red); }

.mini-chart {
  height: 80px;
  border-radius: var(--radius-xs);
  position: relative;
  overflow: visible;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Chart tooltips */
.chart-tooltip-container { position: relative; cursor: crosshair; }
.chart-tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: translate(-50%, -100%);
  transition: opacity 0.15s;
}
.chart-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--dark);
}
.chart-dot { pointer-events: none; fill: transparent; }

.chart-hover-dot-html {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F5B731;
  box-shadow: 0 0 0 4px rgba(245,183,49,0.25);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.chart-vline-html {
  position: fixed;
  width: 1px;
  border-left: 1px dashed rgba(245,183,49,0.25);
  pointer-events: none;
  z-index: 9998;
}

/* AR bucket tooltips */
.ar-bucket { position: relative; cursor: pointer; }
.ar-bucket[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ar-bucket[data-tip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--dark);
  z-index: 10;
}

.report-preview {
  display: flex;
  flex-direction: column;
}

.report-header-mock {
  font-weight: 800;
  font-size: 0.95rem;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 4px;
}

.bg-dark .report-header-mock { border-color: var(--border-dark); }

.report-row-mock {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  opacity: 0.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.bg-dark .report-row-mock { border-color: var(--border-dark); }

.report-row-mock.highlight {
  opacity: 1;
  font-weight: 800;
  border-bottom: none;
  padding-top: 14px;
  border-top: 2px solid var(--gold);
  color: var(--gold);
}

.export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.export-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.15s;
  border: 2px solid transparent;
}

.bg-dark .export-item { background: var(--dark-3); }
.bg-white .export-item,
.bg-off-white .export-item { background: var(--off-white); }

.export-item:hover { border-color: var(--gold); }

.audit-trail {
  display: flex;
  flex-direction: column;
}

.audit-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  opacity: 0.6;
  padding: 6px 0;
  font-weight: 500;
}

.audit-step.verified {
  opacity: 1;
  color: var(--green);
  font-weight: 700;
}

.audit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.audit-step.verified .audit-dot { background: var(--green); }

.audit-line {
  width: 2px;
  height: 20px;
  background: var(--border-dark);
  margin-left: 5px;
}

.bg-white .audit-line,
.bg-off-white .audit-line { background: var(--border-light); }

/* CUSTOMERS */
.customers-section {
  padding: 100px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.2s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.testimonial-role {
  font-size: 0.82rem;
  opacity: 0.5;
  margin-top: 2px;
}

/* USE CASES */
.usecases-section {
  padding: 100px 0;
}

.usecase-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.usecase-tab {
  padding: 10px 24px;
  border-radius: 100px;
  background: transparent;
  border: 2px solid var(--border-dark);
  color: var(--text-muted-light);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}

.bg-white .usecase-tab,
.bg-off-white .usecase-tab {
  border-color: var(--border-light);
  color: var(--text-muted-dark);
}

.usecase-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.usecase-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

.usecase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.usecase-detail h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.usecase-detail p {
  opacity: 0.6;
  margin-bottom: 24px;
  line-height: 1.65;
}

.flux-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flux-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 500;
}

.bg-dark .flux-row { background: var(--dark-3); }
.bg-white .flux-row,
.bg-off-white .flux-row { background: var(--off-white); border: 1px solid var(--border-light); }

.positive { color: var(--green); font-weight: 700; }
.negative { color: var(--red); font-weight: 700; }

/* Close Demo */
.close-demo { display: flex; flex-direction: column; gap: 12px; }
.close-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.close-title { font-weight: 700; }
.close-progress { opacity: 0.5; font-size: 0.8rem; }
.close-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bg-white .close-bar, .bg-off-white .close-bar { background: var(--border-light); }
.close-bar-fill { height: 100%; border-radius: 3px; background: var(--gold); transition: width 0.6s ease; }
.close-checklist { display: flex; flex-direction: column; gap: 6px; }
.close-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-xs); font-size: 0.85rem; }
.bg-dark .close-item { background: var(--dark-3); }
.bg-white .close-item, .bg-off-white .close-item { background: var(--off-white); border: 1px solid var(--border-light); }
.close-item.done { opacity: 0.5; }
.close-item.active { border-left: 3px solid var(--gold); }
.close-check { color: var(--green); font-weight: 700; }
.close-spinner { width: 14px; height: 14px; border: 2px solid var(--gold); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.close-circle { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.15); border-radius: 50%; }
.bg-white .close-circle, .bg-off-white .close-circle { border-color: var(--border-light); }
.close-item.pending { opacity: 0.35; }

/* WBR Demo */
.wbr-demo { display: flex; flex-direction: column; gap: 16px; }
.wbr-header { font-weight: 700; font-size: 0.85rem; opacity: 0.6; }
.wbr-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wbr-metric { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius-xs); }
.bg-dark .wbr-metric { background: var(--dark-3); }
.bg-white .wbr-metric, .bg-off-white .wbr-metric { background: var(--off-white); border: 1px solid var(--border-light); }
.wbr-metric-label { font-size: 0.75rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.05em; }
.wbr-metric-value { font-size: 1.25rem; font-weight: 800; }
.wbr-summary { padding: 14px; border-radius: var(--radius-xs); border-left: 3px solid var(--gold); }
.bg-dark .wbr-summary { background: var(--dark-3); }
.bg-white .wbr-summary, .bg-off-white .wbr-summary { background: var(--off-white); border: 1px solid var(--border-light); border-left: 3px solid var(--gold); }
.wbr-summary-label { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.wbr-summary p { font-size: 0.85rem; opacity: 0.7; line-height: 1.5; margin: 0; }

/* AR Aging Demo */
.ar-demo { display: flex; flex-direction: column; gap: 14px; }
.ar-header { font-weight: 700; font-size: 0.85rem; opacity: 0.6; }
.ar-buckets { display: flex; gap: 8px; align-items: flex-end; height: 120px; }
.ar-bucket { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.ar-bucket-bar { width: 100%; border-radius: 4px 4px 0 0; background: var(--gold); transition: height 0.6s ease; }
.ar-bucket-bar.warning { background: #FFB74D; }
.ar-bucket-bar.caution { background: #FF9800; }
.ar-bucket-bar.danger { background: #F44336; }
.ar-bucket-bar.critical { background: #B71C1C; }
.ar-bucket-label { font-size: 0.7rem; opacity: 0.5; }
.ar-bucket-value { font-size: 0.75rem; font-weight: 700; }
.ar-alert { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-xs); font-size: 0.8rem; }
.bg-dark .ar-alert { background: rgba(244,67,54,0.1); color: #F44336; }
.bg-white .ar-alert, .bg-off-white .ar-alert { background: rgba(244,67,54,0.06); color: #D32F2F; border: 1px solid rgba(244,67,54,0.15); }

/* Revenue Forecast Demo */
.rev-demo { display: flex; flex-direction: column; gap: 14px; }
.rev-header { font-weight: 700; font-size: 0.85rem; opacity: 0.6; }
.rev-chart { position: relative; }
.rev-chart svg { width: 100%; height: 120px; display: block; }
.rev-labels { display: flex; justify-content: space-between; font-size: 0.7rem; opacity: 0.35; margin-top: 4px; }
.rev-scenarios { display: flex; gap: 20px; font-size: 0.8rem; }
.rev-scenario { display: flex; align-items: center; gap: 6px; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; }
.rev-dot.upside { background: var(--green); }
.rev-dot.base { background: var(--gold); }
.rev-dot.downside { background: var(--red); }

/* Reconciliation Demo */
.recon-demo { display: flex; flex-direction: column; gap: 10px; }
.recon-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; }
.recon-status { font-size: 0.75rem; padding: 4px 10px; border-radius: 100px; }
.recon-status.matched { background: rgba(76,175,80,0.15); color: var(--green); }
.recon-rows { display: flex; flex-direction: column; gap: 4px; }
.recon-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-xs); font-size: 0.85rem; }
.bg-dark .recon-row { background: var(--dark-3); }
.bg-white .recon-row, .bg-off-white .recon-row { background: var(--off-white); border: 1px solid var(--border-light); }
.recon-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.recon-row.matched .recon-icon { background: rgba(76,175,80,0.15); color: var(--green); }
.recon-row.exception .recon-icon { background: rgba(244,67,54,0.15); color: var(--red); }
.recon-desc { flex: 1; }
.recon-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.recon-footer { font-size: 0.78rem; opacity: 0.5; line-height: 1.5; padding-top: 4px; }
.neutral { color: var(--gold); font-weight: 700; }

/* PRICING */
.pricing-section {
  padding: 100px 0;
}

.pricing-section h2 { text-align: center; }
.pricing-section .section-label { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.pricing-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.bg-dark .pricing-card { background: var(--dark-2); }
.bg-white .pricing-card { background: var(--off-white); }

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: var(--dark) !important;
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  padding: 5px 20px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.5;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.4;
}

.pricing-desc {
  opacity: 0.4;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 7px 0;
  font-size: 0.9rem;
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 900;
  font-size: 0.85rem;
}

/* CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
  opacity: 0.6;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* FAQ */
.faq-section {
  padding: 100px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px solid var(--border-light);
}

.bg-dark .faq-item { border-color: var(--border-dark); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.faq-question:hover { color: var(--gold); }

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  opacity: 0.3;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); opacity: 1; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding-bottom: 22px;
  opacity: 0.6;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* FOOTER */
.footer-top-section {
  background: var(--gold);
  padding: 64px 0;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  opacity: 0.55;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--dark);
}

.footer-hq {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.5;
  color: var(--dark);
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.55;
  padding: 4px 0;
  transition: opacity 0.2s;
  font-weight: 500;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom-section {
  background: var(--dark);
  color: var(--white);
  padding: 32px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-inner span {
  font-size: 0.8rem;
  opacity: 0.4;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  opacity: 0.4;
  transition: opacity 0.2s;
  font-weight: 500;
}

.footer-legal a:hover { opacity: 1; }

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  margin-top: 48px;
  flex-wrap: wrap;
}

.footer-newsletter span {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
  opacity: 0.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 10px 20px;
  color: var(--dark);
  font-family: inherit;
  font-size: 0.9rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--dark); }
.newsletter-form input::placeholder { color: var(--dark); opacity: 0.3; }

/* LEGAL PAGES */
.legal-page {
  padding: 120px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  opacity: 0.4;
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page p {
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.96rem;
}

.legal-page ul {
  opacity: 0.6;
  margin-bottom: 16px;
  padding-left: 24px;
  line-height: 1.7;
  font-size: 0.96rem;
}

.legal-page li { margin-bottom: 6px; }

.legal-page a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.legal-page a:hover { color: var(--dark); }

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s;
  color: var(--dark);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  opacity: 0.3;
  transition: opacity 0.2s;
  padding: 4px;
}

.modal-close:hover { opacity: 1; }

.modal h2 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  text-align: left;
}

.modal p.modal-desc {
  opacity: 0.5;
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--dark);
}

.modal-input::placeholder {
  color: var(--dark);
  opacity: 0.3;
}

.modal-form .btn {
  margin-top: 4px;
  position: relative;
  transition: opacity 0.2s;
}

.modal-form .btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.modal-form .btn .btn-text { display: inline; }
.modal-form .btn .btn-spinner { display: none; align-items: center; justify-content: center; gap: 10px; }

.modal-form .btn.loading .btn-text { display: none; }
.modal-form .btn.loading .btn-spinner { display: inline-flex; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-icon {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-gold .spinner-icon {
  border-color: rgba(0, 0, 0, 0.15);
  border-top-color: var(--dark);
}

.modal-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.modal-error.show { display: block; }

.modal-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
  text-align: center;
}

.modal-success.show { display: block; }

.modal-success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  text-align: center;
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.4;
}

/* SCROLL ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes drawLine {
  from { height: 0; }
  to { height: 24px; }
}

@keyframes chartDraw {
  from { stroke-dashoffset: 600; }
  to { stroke-dashoffset: 0; }
}

@keyframes chartFillReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-ready { opacity: 0; }
.anim-ready.anim-visible { animation-fill-mode: both; }

.feature-text.anim-ready.anim-visible { animation: slideInLeft 0.7s ease-out both; }
.feature-row.reverse .feature-text.anim-ready.anim-visible { animation: slideInRight 0.7s ease-out both; }
.feature-visual.anim-ready.anim-visible { animation: scaleIn 0.7s 0.15s ease-out both; }

.platform-screen.anim-ready.anim-visible { animation: fadeUp 0.8s ease-out both; }

.chat-msg.anim-ready.anim-visible { animation: fadeUp 0.5s ease-out both; }

.testimonial-card.anim-ready.anim-visible { animation: fadeUp 0.6s ease-out both; }

.integration-card.anim-ready.anim-visible { animation: fadeUp 0.4s ease-out both; }

.flux-row.anim-ready.anim-visible { animation: fadeUp 0.4s ease-out both; }

.audit-step.anim-ready.anim-visible { animation: fadeUp 0.4s ease-out both; }
.audit-line.anim-ready.anim-visible { animation: fadeIn 0.3s ease-out both; overflow: hidden; }

.export-item.anim-ready.anim-visible { animation: scaleIn 0.4s ease-out both; }

.metric.anim-ready.anim-visible { animation: fadeUp 0.5s ease-out both; }

.mini-chart.anim-ready.anim-visible {
  animation: fadeIn 0.3s ease-out both;
}

.mini-chart.anim-ready.anim-visible svg .chart-line {
  stroke-dasharray: 600;
  animation: chartDraw 1.5s 0.3s ease-out both;
}

.mini-chart.anim-ready.anim-visible svg .chart-fill {
  animation: chartFillReveal 1s 0.8s ease-out both;
  opacity: 0;
}

.report-row-mock.anim-ready.anim-visible { animation: fadeUp 0.35s ease-out both; }

.pricing-card.anim-ready.anim-visible { animation: fadeUp 0.5s ease-out both; }

.usecase-visual.anim-ready.anim-visible { animation: scaleIn 0.6s ease-out both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .mobile-menu-btn { display: flex; }
  .platform-tabs { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .usecase-content { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .footer-links { grid-template-columns: 1fr; }
  .newsletter-form input { width: 180px; }
  .export-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
