/* ============================================================
   FINDATICS — B2B SaaS Design System
   Kidioz layout structure · Financial intelligence skin
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  --blue:      #2563EB;
  --blue-dark: #1D4ED8;
  --blue-pale: #EFF6FF;
  --text-1:    #0F172A;
  --text-2:    #334155;
  --text-3:    #64748B;
  --text-4:    #94A3B8;
  --border:    #E2E8F0;
  --surface:   #F8FAFC;
  --white:     #FFFFFF;
  --green:     #16A34A;
  --red:       #DC2626;
  --orange:    #D97706;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --max-w:     1200px;
  --section-y: 96px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.1px;
  z-index: 3000;
}

.topbar-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.topbar-link:hover { opacity: 1; }

.topbar-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.topbar-close:hover { color: #fff; }

.topbar.hidden { display: none; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: var(--shadow); }

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text-1);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links > a {
  font-size: 0.87rem;
  color: var(--text-2);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links > a:hover {
  color: var(--text-1);
  background: var(--surface);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.87rem;
  color: var(--text-2);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown:hover > a {
  color: var(--text-1);
  background: var(--surface);
}

.dropdown-arrow {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
  margin-top: 1px;
}

.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  z-index: 3000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--surface);
  color: var(--blue);
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-demo {
  padding: 9px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-demo:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-2);
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== SHARED BUTTON STYLES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.btn-text-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.btn-text-link:hover { gap: 8px; }

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  background: var(--white);
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary-light:hover {
  background: var(--blue-pale);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ===== SECTION COMMON ===== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-1);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 520px;
}

.section-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.section-header.centered .section-title { max-width: 600px; }

/* ===== HERO ===== */
.hero {
  padding: 80px 40px;
  background: #FAFBFF;
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--blue-pale);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-1);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-divider {
  color: var(--border);
  font-size: 1rem;
}

/* Dashboard visual */
.hero-visual {
  position: relative;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 100%;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-dot.green { background: var(--green); }
.dash-dot.blue  { background: var(--blue); }
.dash-dot.orange{ background: var(--orange); }

.dash-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: #DCFCE7;
  color: #15803D;
  letter-spacing: 0.5px;
}
.dash-badge.live { animation: pulse-live 2s ease-in-out infinite; }
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
}

.dm-label {
  font-size: 0.72rem;
  color: var(--text-4);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dm-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.dm-change {
  font-size: 0.72rem;
  font-weight: 600;
}
.dm-change.up   { color: var(--green); }
.dm-change.down { color: var(--red); }

.dash-chart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.dash-chart {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}

.chart-bar {
  flex: 1;
  background: #BFDBFE;
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: background 0.2s;
  cursor: default;
}

.chart-bar.active { background: var(--blue); }

.chart-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: var(--text-4);
  font-weight: 500;
  white-space: nowrap;
}

.dash-row-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.dash-row-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.dri-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dri-dot.blue   { background: var(--blue); }
.dri-dot.green  { background: var(--green); }
.dri-dot.orange { background: var(--orange); }

.dri-label { flex: 1; color: var(--text-2); font-weight: 500; }

.dri-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.dri-status.ok   { background: #DCFCE7; color: #15803D; }
.dri-status.warn { background: #FEF3C7; color: #92400E; }

/* Floating accent card */
.hero-float-card {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
}

.hfc-icon { font-size: 1.2rem; }
.hfc-val  { font-size: 1rem; font-weight: 800; color: var(--text-1); }
.hfc-sub  { font-size: 0.7rem; color: var(--text-3); font-weight: 500; }

/* ===== SOLUTIONS SLIDER ===== */
.solutions-section {
  padding: var(--section-y) 0 calc(var(--section-y) - 20px);
  background: var(--white);
}

.solutions-section .section-header {
  padding-left: 40px;
  padding-right: 40px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Slider wrapper: arrows + viewport in one row */
.sol-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Viewport clips the track */
.sol-viewport {
  flex: 1;
  overflow: hidden;
}

/* Track slides via translateX */
.sol-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each card — width set by JS based on visible count */
.sol-card {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-sizing: border-box;
}

.sol-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.sol-icon {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--blue);
}

.sol-problem {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
  line-height: 1.45;
  margin-bottom: 10px;
}

.sol-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.sol-outcome {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.35;
  margin-bottom: 12px;
}

.sol-desc {
  font-size: 0.83rem;
  color: var(--text-3);
  line-height: 1.7;
}

/* Arrow buttons */
.sol-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-2);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  user-select: none;
}

.sol-arrow:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.sol-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Dots */
.sol-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.sol-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, width 0.25s;
  border: none;
}

.sol-dot.active {
  background: var(--blue);
  width: 22px;
  border-radius: 3px;
}

/* ===== SPLIT SECTIONS (image+text alternating) ===== */
.split-section {
  padding: var(--section-y) 40px;
  background: var(--white);
}

.split-section:not(.split-dark):nth-of-type(even) {
  background: var(--surface);
}

/* Pause orbit on hover so user can read labels */
.integration-map:hover .int-nodes,
.integration-map:hover .int-node-inner {
  animation-play-state: paused;
}

.split-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse .split-inner {
  direction: rtl;
}
.split-section.reverse .split-inner > * {
  direction: ltr;
}

.split-text .section-desc { margin-bottom: 28px; }

.feature-list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.5;
}

.fl-check {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== DARK INTEGRATIONS SECTION ===== */
.split-dark {
  background: #080F1E !important;
}

.split-dark .section-label {
  color: #60A5FA;
}

.split-dark .section-title {
  color: #F1F5F9;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.18;
}

.split-dark .section-desc {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.8;
}

.split-dark .feature-list li {
  color: #CBD5E1;
  font-size: 0.92rem;
}

.split-dark .fl-check {
  color: #34D399;
}

.btn-text-link-light {
  font-size: 0.9rem;
  font-weight: 600;
  color: #60A5FA;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.btn-text-link-light:hover {
  gap: 10px;
  color: #93C5FD;
}

/* Integration Map Visual */
.split-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-map {
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center logo */
.int-center {
  position: relative;
  z-index: 20;
  text-align: center;
}

.int-logo-main {
  width: 76px;
  height: 76px;
  background: var(--blue);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 auto 7px;
  box-shadow: 0 0 0 8px rgba(37,99,235,0.15), 0 12px 32px rgba(37,99,235,0.45);
}

.int-label-main {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Orbit ring */
.int-orbit-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(96,165,250,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Revolving nodes container */
.int-nodes {
  position: absolute;
  inset: 0;
  z-index: 10;
  animation: orbitSpin 14s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Each node — positioned by nth-child at 60° intervals on a 140px radius */
.int-node {
  position: absolute;
  width: 56px;
  height: 56px;
  top: 50%;
  left: 50%;
  margin-top: -28px;
  margin-left: -28px;
}

/* Place each node at its angle (0°, 60°, 120°, 180°, 240°, 300°) */
.int-node:nth-child(1) { transform: rotate(  0deg) translateX(140px); }
.int-node:nth-child(2) { transform: rotate( 60deg) translateX(140px); }
.int-node:nth-child(3) { transform: rotate(120deg) translateX(140px); }
.int-node:nth-child(4) { transform: rotate(180deg) translateX(140px); }
.int-node:nth-child(5) { transform: rotate(240deg) translateX(140px); }
.int-node:nth-child(6) { transform: rotate(300deg) translateX(140px); }

/* Inner wrapper counter-rotates to keep content upright */
.int-node-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: counterSpin 14s linear infinite;
}

@keyframes counterSpin {
  from { transform: rotate(  0deg); }
  to   { transform: rotate(-360deg); }
}

.int-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.int-node:hover .int-node-icon {
  border-color: #60A5FA;
  background: rgba(37,99,235,0.2);
  color: #93C5FD;
  box-shadow: 0 0 16px rgba(37,99,235,0.35);
}

.int-node-inner > span {
  font-size: 0.58rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Report card visual */
.report-card-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
}

.rcv-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
}

.rcv-title { font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.rcv-date  { font-size: 0.72rem; color: var(--text-4); }

.rcv-table { padding: 8px 20px; }

.rcv-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface);
  font-size: 0.82rem;
  color: var(--text-2);
}

.rcv-row.head {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom-color: var(--border);
}

.rcv-row.highlight-row {
  font-weight: 700;
  color: var(--text-1);
  border-bottom: none;
}

.rcv-row .pos { color: var(--green); font-weight: 700; }
.rcv-row .neg { color: var(--red);   font-weight: 700; }

.rcv-insight {
  padding: 14px 20px;
  background: #EFF6FF;
  border-top: 1px solid #BFDBFE;
  font-size: 0.78rem;
  color: #1E40AF;
  line-height: 1.6;
  display: flex;
  gap: 8px;
}

.rcv-insight-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }

.rcv-footer {
  padding: 10px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.rcv-source { font-size: 0.68rem; color: var(--text-4); font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: var(--section-y) 40px;
  background: var(--surface);
  overflow: hidden;
}

.testimonials-track {
  max-width: 800px;
  margin: 0 auto 32px;
  position: relative;
}

.testi-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.testi-card.active { display: block; }

.testi-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testi-quote {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.testi-name { font-size: 0.9rem; font-weight: 700; color: var(--text-1); }
.testi-role { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }

.testi-result {
  margin-left: auto;
  padding: 5px 14px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testi-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.testi-btn:hover { border-color: var(--blue); color: var(--blue); }

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

.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, width 0.2s;
  cursor: pointer;
}

.testi-dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 3px;
}

/* ===== METRICS ===== */
.metrics-section {
  padding: var(--section-y) 40px;
  background: var(--text-1);
}

.metrics-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  margin: 0 40px;
}

.metric-item { text-align: center; }

.metric-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0;
}

.metric-label {
  font-size: 0.82rem;
  color: #64748B;
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== BLOG ===== */
.blog-section {
  padding: var(--section-y) 40px;
  background: var(--white);
}

.blog-section .section-header {
  padding: 0;
  margin-bottom: 40px;
}

.blog-section > .section-header,
.blog-section > .blog-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--white);
}

.blog-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-thumb {
  height: 180px;
  position: relative;
  display: block;
  padding: 16px;
  overflow: hidden;
  text-decoration: none;
}

.blog-thumb-1 { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); }
.blog-thumb-2 { background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%); }
.blog-thumb-3 { background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%); }

.blog-illo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-illo {
  transform: scale(1.04) translateY(-4px);
}

.blog-tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 3px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.5px;
}

.blog-body { padding: 20px; }

.blog-meta {
  font-size: 0.72rem;
  color: var(--text-4);
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
  display: inline-flex;
  gap: 4px;
}
.blog-read:hover { gap: 8px; }

/* ===== FAQ ===== */
.faq-section {
  padding: var(--section-y) 40px;
  background: var(--surface);
}

.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-header { position: sticky; top: 80px; }
.faq-header .section-title { font-size: 1.8rem; }

.faq-list { display: flex; flex-direction: column; }

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

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--blue); }

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-4);
  flex-shrink: 0;
  transition: transform 0.25s, color 0.2s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--blue);
}

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

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.75;
}

/* ===== INTEGRATIONS LOGOS ===== */
.integrations-section {
  padding: var(--section-y) 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-row {
  max-width: var(--max-w);
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.logo-chip {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.logo-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.logos-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-4);
}

.logos-note a {
  color: var(--blue);
  font-weight: 600;
  transition: opacity 0.2s;
}
.logos-note a:hover { opacity: 0.8; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: var(--section-y) 40px;
  background: #0F172A;
}

.final-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.final-cta-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.final-cta-text p {
  font-size: 1rem;
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

.final-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.final-cta-stat-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 60px;
}

.fcta-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.fcta-lbl {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: #07101F;
  color: #64748B;
  padding: 64px 40px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-newsletter {
  display: flex;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.83rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus {
  border-color: rgba(37,99,235,0.5);
}
.footer-newsletter input::placeholder { color: #475569; }

.footer-newsletter button {
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--blue-dark); }

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover {
  border-color: var(--blue);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 0.78rem;
}

.footer-compliance {
  font-size: 0.75rem;
  color: #334155;
  font-weight: 500;
}

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .split-inner { gap: 48px; }
  .metrics-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }
  .metric-divider { display: none; }
  .final-cta-inner { gap: 48px; }
  .final-cta-stat-block { padding-left: 40px; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2rem; }

  .split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-section.reverse .split-inner { direction: ltr; }

  .blog-grid { grid-template-columns: 1fr 1fr; }

  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-header { position: static; }

  .final-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .final-cta-stat-block { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; flex-direction: row; flex-wrap: wrap; gap: 32px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .metrics-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 4px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-dropdown > a { padding: 10px 12px; width: 100%; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 4px 0 4px 20px; display: none; }
  .nav-dropdown-menu.mobile-open { display: block; }
  .nav-toggle { display: flex; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 20px; }
  .section-header.centered { align-items: center; text-align: center; }
  .section-title { font-size: 1.8rem; }

  .hero { padding: 60px 20px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust-divider { display: none; }

  .split-section { padding: var(--section-y) 20px; }
  .integration-map { width: 300px; height: 300px; }
  .int-orbit-ring  { width: 230px; height: 230px; }
  .int-node:nth-child(1) { transform: rotate(  0deg) translateX(115px); }
  .int-node:nth-child(2) { transform: rotate( 60deg) translateX(115px); }
  .int-node:nth-child(3) { transform: rotate(120deg) translateX(115px); }
  .int-node:nth-child(4) { transform: rotate(180deg) translateX(115px); }
  .int-node:nth-child(5) { transform: rotate(240deg) translateX(115px); }
  .int-node:nth-child(6) { transform: rotate(300deg) translateX(115px); }
  .report-card-visual { max-width: 100%; }
  .split-dark .section-title { font-size: 1.9rem; }

  .testimonials-section { padding: var(--section-y) 20px; }
  .testi-card { padding: 28px 20px; }

  .metrics-section { padding: var(--section-y) 20px; }
  .metrics-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .metric-number { font-size: 2.2rem; }

  .blog-section { padding: var(--section-y) 20px; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .faq-section { padding: var(--section-y) 20px; }

  .integrations-section { padding: var(--section-y) 20px; }

  .solutions-track-wrap { padding: 0 20px 16px; }

  .final-cta { padding: var(--section-y) 20px; }
  .final-cta-stat-block { flex-direction: column; gap: 20px; }
  .final-cta-text h2 { font-size: 1.8rem; }

  .footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .topbar { padding: 10px 40px; font-size: 0.75rem; }

  .solutions-section { padding: var(--section-y) 0; }
  .sol-slider-wrap { padding: 0 8px; gap: 8px; }
  .sol-arrow { width: 34px; height: 34px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .metrics-inner { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .final-cta-buttons { flex-direction: column; }
  .dash-metrics { grid-template-columns: 1fr 1fr; }
}
