/* ============================================
   HYPE MANAGEMENT - Homepage Styles
   Exact Stripe design system
   ============================================ */
html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #ffffff;
  color-scheme: light;
}

/* ===== STRIPE EXACT PALETTE =====
   Primary: #635bff (Stripe purple)
   Dark navy: #0a2540
   Text: #425466
   Light bg: #f6f9fc
   Border: #e3e8e9
   Green: #00c48f
   Blue: #00d4ff
   Orange: #ff8702
   Pink: #ff3e94
*/
:root {
  --stripe-purple: #635bff;
  --stripe-purple-dark: #5851ea;
  --stripe-navy: #0a2540;
  --stripe-bg: #f6f9fc;
  --stripe-text: #425466;
  --stripe-border: #e3e8e9;
  --stripe-green: #00c48f;
  --stripe-blue: #00d4ff;
  --stripe-orange: #ff8702;
  --stripe-pink: #ff3e94;
  --stripe-mesh-gold: #ffb020;
}

/* Stripe design tokens */
.home-page {
  --brand-purple: #635bff;
  --brand-blue: #00d4ff;
  --brand-orange: #ff8702;
  --brand-green: #00c48f;
  --brand-pink: #ff3e94;
  --navy: #0a2540;
  --dark: #0a0a1a;
  --light-bg: #f6f9fc;
  --text-body: #425466;
  --text-heading: #0a2540;
  --text-body-dark: #cbd5e1;
  --text-muted-light: #667085;
  --text-muted-dark: #94a3b8;
  --brand-purple-text: #5851ea;
  --border-light: #e3e8e9;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Courier New', monospace;
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== SHARED ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.home-page :is(
  .hero-grid,
  .platform-capability-grid,
  .platform-kpi-row,
  .ai-grid,
  .dashboard-metrics,
  .industry-grid,
  .features-grid-large,
  .integration-grid,
  .testimonial-grid,
  .pricing-grid,
  .cta-stats
) > * {
  min-width: 0;
}

.text-gradient {
  background: linear-gradient(90deg, #635bff, #00d4ff, #ff8702, #ff3e94, #635bff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: gradientShift 8s linear infinite;
  animation: gradientShift 8s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-pill i { font-size: 14px; transition: transform 0.3s; }
.btn-pill:hover i { transform: translateX(4px); }
.btn-primary-cta {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.4);
}
.btn-primary-cta:hover {
  background: #5851ea;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 91, 255, 0.5);
}
.btn-outline-cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-cta:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Section headers */
.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-purple-text);
  margin-bottom: 16px;
}
.section-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== HERO - Stripe Exact Layout ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0a0a1a 0%, #14142e 45%, #1a1a3e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: calc(var(--navbar-height, 80px) + 40px) 0 60px;
  text-align: left;
}
/* Stripe signature animated mesh network */
.mesh-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.mesh-network canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}
.hero-content {
  max-width: 560px;
}
.hero-title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title-gradient {
  background: linear-gradient(90deg, #635bff 0%, #8d84ff 40%, #00d4ff 80%, #635bff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-animation: heroGradient 6s ease-in-out infinite;
  animation: heroGradient 6s ease-in-out infinite;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-description {
  font-size: 20px;
  color: var(--text-body-dark);
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-stripe-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  background: #635bff;
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}
.btn-stripe-primary:hover {
  background: #5851ea;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.5);
}
.btn-stripe-primary i { font-size: 14px; transition: transform 0.3s; }
.btn-stripe-primary:hover i { transform: translateX(4px); }
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost-light:hover { color: #fff; }

/* Right side - product mockup */
.hero-visual {
  position: relative;
}
.product-card-mock {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mock-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f6f9fc;
  border-radius: 10px;
}
.mock-tab {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted-light);
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}
.mock-tab i { margin-right: 4px; }
.mock-tab.active {
  background: #fff;
  color: #635bff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.mock-avatar {
  font-size: 28px;
  color: #c7ced8;
}
.mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.mock-kpi {
  padding: 14px;
  background: #f6f9fc;
  border-radius: 10px;
}
.mock-kpi > span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.mock-kpi > strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 4px;
}
.mock-kpi small {
  font-size: 11px;
  font-weight: 600;
}
.trend-up { color: #047857; }
.trend-neutral { color: var(--text-muted-light); }
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
  padding: 14px;
  background: #f6f9fc;
  border-radius: 10px;
  margin-bottom: 16px;
}
.mock-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #635bff 0%, #a5a1ff 100%);
  border-radius: 4px 4px 0 0;
  min-height: 6px;
  -webkit-animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: bottom;
}
.mock-chart-bar:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; }
.mock-chart-bar:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.mock-chart-bar:nth-child(3) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; background: linear-gradient(180deg, #ff8702, #ffb347); }
.mock-chart-bar:nth-child(4) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; background: linear-gradient(180deg, #00c48f, #6ff0c9); }
.mock-chart-bar:nth-child(5) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; }
.mock-chart-bar:nth-child(6) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; background: linear-gradient(180deg, #635bff, #a5a1ff); }
.mock-chart-bar:nth-child(7) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; background: linear-gradient(180deg, #ff3e94, #ff8dbb); }
.mock-chart-bar:nth-child(8) { -webkit-animation-delay: 0.8s; animation-delay: 0.8s; background: linear-gradient(180deg, #00c48f, #6ff0c9); }
.mock-chart-bar:nth-child(9) { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.mock-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0a2540;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c48f;
  box-shadow: 0 0 0 3px rgba(0, 196, 143, 0.2);
  -webkit-animation: blink 2s infinite;
  animation: blink 2s infinite;
}
.mock-mini { font-size: 11px; color: var(--text-muted-light); }

/* Floating chips */
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  -webkit-animation: floaty 4s ease-in-out infinite;
  animation: floaty 4s ease-in-out infinite;
}
.float-chip i { font-size: 18px; }
.float-chip small { display: block; font-size: 10px; color: var(--text-muted-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.float-chip strong { display: block; font-size: 15px; font-weight: 700; color: #0a2540; }
.float-chip-1 { top: -18px; right: -15px; }
.float-chip-2 { bottom: -18px; left: -15px; -webkit-animation-delay: 1s; animation-delay: 1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
}
/* Gradient blobs */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(99, 91, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 80%, rgba(255, 62, 148, 0.06) 0%, transparent 60%);
  -webkit-animation: blobPulse 8s ease-in-out infinite;
  animation: blobPulse 8s ease-in-out infinite;
}
@keyframes blobPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
.hero > .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero dashboard card */
.hero-dashboard {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 80px;
  perspective: 1200px;
}
.hero-card-main {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
  text-align: left;
  -webkit-animation: cardFloat 6s ease-in-out infinite;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0.5deg); }
  50% { transform: translateY(-10px) rotateX(0deg); }
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-dots span:nth-child(1) { background: #ef4444; }
.hero-card-dots span:nth-child(2) { background: #f59e0b; }
.hero-card-dots span:nth-child(3) { background: #10b981; }
.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-card-title i { color: #635bff; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.hero-stat-box {
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}
.hero-stat-box span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 4px;
}
.hero-stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
}

.hero-chart-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 16px;
  background: #f6f9fc;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.hero-bar {
  flex: 1;
  background: linear-gradient(180deg, #635bff, #a09bff);
  border-radius: 4px 4px 0 0;
  min-height: 6px;
  -webkit-animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: bottom;
}
.hero-bar:nth-child(1) { height: 45%; animation-delay: 0.1s; }
.hero-bar:nth-child(2) { height: 70%; animation-delay: 0.2s; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.hero-bar:nth-child(3) { height: 35%; animation-delay: 0.3s; background: linear-gradient(180deg, #ff8702, #ffb347); }
.hero-bar:nth-child(4) { height: 85%; animation-delay: 0.4s; background: linear-gradient(180deg, #00c48f, #6ff0c9); }
.hero-bar:nth-child(5) { height: 55%; animation-delay: 0.5s; background: linear-gradient(180deg, #ff3e94, #ff8dbb); }
.hero-bar:nth-child(6) { height: 75%; animation-delay: 0.6s; }
.hero-bar:nth-child(7) { height: 40%; animation-delay: 0.7s; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.hero-bar:nth-child(8) { height: 90%; animation-delay: 0.8s; background: linear-gradient(180deg, #00c48f, #6ff0c9); }
.hero-bar:nth-child(9) { height: 60%; animation-delay: 0.9s; background: linear-gradient(180deg, #ff8702, #ffb347); }
.hero-bar:nth-child(10) { height: 75%; animation-delay: 1s; }
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hero-table {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.hero-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--text-body);
}
.hero-table-row:last-child { border-bottom: none; }
.hero-table-row strong { color: var(--text-heading); }
.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.tag-ready { background: #d1fae5; color: #065f46; }
.tag-pending { background: #fef3c7; color: #92400e; }
.tag-processing { background: #dbeafe; color: #1e40af; }

/* Floating cards */
.hero-floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-animation: floaty 4s ease-in-out infinite;
  animation: floaty 4s ease-in-out infinite;
}
.hero-floating-card i { font-size: 22px; }
.hero-floating-card small { display: block; font-size: 11px; color: var(--text-muted-light); }
.hero-floating-card strong { display: block; font-size: 17px; font-weight: 800; color: #0a2540; }
.hero-floating-card:nth-of-type(1) { top: -20px; right: -30px; }
.hero-floating-card:nth-of-type(2) { bottom: -15px; left: -25px; -webkit-animation-delay: 1s; animation-delay: 1s; }

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.trust-label {
  font-size: 14px;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 36px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted-light);
  letter-spacing: -0.3px;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s;
}
.trust-logo i { font-size: 24px; }
.trust-logo:hover { opacity: 1; color: var(--brand-purple); transform: translateY(-2px); }

/* ===== PLATFORM CARDS ===== */
.products-section {
  padding: 100px 0 80px;
  background: var(--light-bg);
}
.platform-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.platform-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.platform-capability-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  text-decoration: none;
  position: relative;
}
.platform-capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.12);
  border-color: transparent;
}
.pcc-visual {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcc-visual.feature-lab { background: linear-gradient(135deg, #635bff 0%, #5851ea 100%); }
.pcc-visual.feature-hospital { background: linear-gradient(135deg, #0a2540 0%, #1a3a6b 100%); }
.pcc-visual.feature-portal { background: linear-gradient(135deg, #00c48f 0%, #00a87a 100%); }
.pcc-visual.feature-dev { background: linear-gradient(135deg, #ff8702 0%, #f56200 100%); }
.pcc-visual.feature-billing { background: linear-gradient(135deg, #ff3e94 0%, #e0207e 100%); }
.pcc-visual.feature-hr { background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%); }
.pcc-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s;
}
.platform-capability-card:hover .pcc-icon { transform: scale(1.1) rotate(5deg); }
.pcc-visual::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -45px;
  right: -35px;
}
.pcc-visual::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -30px;
  left: -20px;
}
.pcc-body { padding: 24px; }
.pcc-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-purple);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.platform-capability-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.platform-capability-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}
.pcc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-purple);
  opacity: 1;
  transform: none;
  transition: all 0.4s;
}
.platform-capability-card:hover .pcc-link { opacity: 1; transform: translateY(0); }

/* Platform console dashboard */
.platform-dashboard {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.1);
  margin-top: 60px;
}
.platform-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}
.platform-window-bar span { width: 10px; height: 10px; border-radius: 50%; }
.platform-window-bar span:nth-child(1) { background: #ff5f57; }
.platform-window-bar span:nth-child(2) { background: #febc2e; }
.platform-window-bar span:nth-child(3) { background: #28c840; }
.platform-window-bar strong {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  font-family: var(--font-mono);
}
.platform-dash-inner { padding: 24px; }
.platform-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.platform-kpi-row div {
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  text-align: center;
}
.platform-kpi-row span,
.platform-kpi-row small { display: block; font-size: 11px; color: var(--text-muted-light); text-transform: uppercase; font-weight: 600; letter-spacing: 0.3px; }
.platform-kpi-row strong { display: block; font-size: 18px; font-weight: 700; color: var(--text-heading); margin: 2px 0; }
.platform-chart {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px;
  background: #f6f9fc;
  border-radius: 10px;
  margin-bottom: 16px;
}
.platform-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 10px;
}
.platform-chart span:nth-child(1) { height: 42%; background: linear-gradient(180deg, #635bff, #a09bff); }
.platform-chart span:nth-child(2) { height: 68%; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.platform-chart span:nth-child(3) { height: 55%; background: linear-gradient(180deg, #ff8702, #ffb347); }
.platform-chart span:nth-child(4) { height: 82%; background: linear-gradient(180deg, #00c48f, #6ff0c9); }
.platform-chart span:nth-child(5) { height: 62%; background: linear-gradient(180deg, #ff3e94, #ff8dbb); }
.platform-chart span:nth-child(6) { height: 92%; background: linear-gradient(180deg, #635bff, #a09bff); }
.platform-chart span:nth-child(7) { height: 74%; background: linear-gradient(180deg, #00d4ff, #7deaff); }
.platform-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.platform-flow div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #fff;
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 600;
}
.platform-flow div i { color: var(--brand-purple); }
.platform-flow > i { color: #c0c8d0; font-size: 12px; }

/* ===== DARK SOLUTIONS ===== */
.ai-section {
  padding: 120px 0;
  background: #0a0a1a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(99, 91, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ai-content .section-title { color: #fff; }
.ai-content .section-subtitle { color: var(--text-body-dark); }
.ai-content .section-label { color: #00d4ff; }
.ai-features { display: grid; gap: 12px; margin-top: 32px; }
.ai-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s;
}
.ai-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(6px);
}
.ai-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.12);
  color: #00d4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ai-feature-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.ai-feature-text p { font-size: 15px; color: var(--text-body-dark); }

/* Code window */
.ai-visual { position: relative; }
.code-window {
  background: #14142e;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #febc2e; }
.code-dot:nth-child(3) { background: #28c840; }
.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-body-dark);
  text-align: left;
}
.code-line .kw { color: #8d84ff; font-weight: 600; }
.code-line .str { color: #00c48f; }
.code-line .fn { color: #00d4ff; }
.code-line .cmt { color: var(--text-muted-dark); font-style: italic; }
.code-line .num { color: #ff8702; }
.code-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #00d4ff;
  -webkit-animation: blink 1s infinite;
  animation: blink 1s infinite;
  vertical-align: middle;
}
.ai-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.2);
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ai-card {
  position: absolute;
  top: 30px;
  right: -20px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  -webkit-animation: floaty 4s ease-in-out infinite;
  animation: floaty 4s ease-in-out infinite;
  z-index: 2;
}
.ai-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ai-card .ai-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 15px;
}
.ai-card strong { display: block; font-size: 13px; color: #0a2540; }
.ai-card span { font-size: 11px; color: var(--text-muted-light); }
.ai-loading { display: flex; flex-direction: column; gap: 8px; }
.ai-loading-line {
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.ai-loading-line::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, #635bff, #00d4ff);
  border-radius: 4px;
  -webkit-animation: shimmer 2s infinite;
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
.ai-success {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 12px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-float-2 {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  -webkit-animation: floaty 5s ease-in-out 1s infinite;
  animation: floaty 5s ease-in-out 1s infinite;
  z-index: 2;
}
.ai-float-2 .ai-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #635bff, #a09bff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.ai-float-2 strong { display: block; font-size: 13px; color: #0a2540; }
.ai-float-2 span { font-size: 11px; color: var(--text-muted-light); }

/* ===== DASHBOARD SHOWCASE ===== */
.dashboard-showcase {
  padding: 100px 0;
  background: var(--light-bg);
}
.device-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}
.device-laptop {
  width: 100%;
  max-width: 800px;
}
.device-laptop-screen {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.15);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-light);
}
.device-laptop-base {
  height: 20px;
  background: linear-gradient(180deg, #dbe3eb, #c8d1dc);
  border-radius: 0 0 12px 12px;
  position: relative;
}
.device-laptop-base::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #98a3af;
  border-radius: 999px;
}
.device-tablet {
  position: absolute;
  bottom: -60px;
  right: -20px;
  width: 200px;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.device-tablet-screen { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; }
.device-mobile {
  position: absolute;
  bottom: -40px;
  left: -10px;
  width: 140px;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.device-mobile-screen { border-radius: 14px; overflow: hidden; aspect-ratio: 9/19; }

.dashboard-slider { position: relative; width: 100%; height: 100%; }
.dashboard-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 24px;
  text-align: left;
}
.dashboard-slide.active { opacity: 1; }
.dashboard-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dashboard-slide-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge-green { background: #d1fae5; color: #065f46; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-amber { background: #fef3c7; color: #92400e; }
.dashboard-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  margin-bottom: 16px;
  padding: 10px;
  background: #f6f9fc;
  border-radius: 10px;
}
.dashboard-mini-bar {
  flex: 1;
  border-radius: 3px;
  min-height: 4px;
}
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-metric {
  padding: 14px;
  background: #f6f9fc;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.dashboard-metric-label { font-size: 11px; color: var(--text-muted-light); text-transform: uppercase; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 2px; }
.dashboard-metric-value { font-size: 16px; font-weight: 700; color: var(--text-heading); }
.dashboard-metric-value.metric-success { color: #047857; }
.dashboard-metric-value.metric-warning { color: #b54708; }
.dashboard-metric-value.metric-danger { color: #b42318; }
.dashboard-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d1dc;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.dashboard-dot.active {
  background: var(--brand-purple);
  width: 24px;
  border-radius: 999px;
}

/* ===== INDUSTRIES ===== */
.industries-section { padding: 100px 0; background: #fff; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.industry-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(99, 91, 255, 0.12);
}
.industry-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(99, 91, 255, 0.1);
  color: var(--brand-purple);
}
.industry-card-icon i { font-size: 22px; transition: transform 0.3s; }
.industry-card:hover .industry-card-icon i { transform: scale(1.15); }
.industry-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.industry-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.industry-card li {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f6f9fc;
  color: var(--text-body);
  font-size: 11px;
  font-weight: 600;
}
.industry-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--brand-purple);
  font-size: 14px;
  font-weight: 600;
}

/* ===== FEATURES ===== */
.features-section { padding: 100px 0; background: var(--light-bg); }
.features-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature-card-large {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.feature-card-large:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 16px 40px rgba(99, 91, 255, 0.1);
  transform: translateY(-4px);
}
.feature-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card-large h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.feature-card-large > p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.feature-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-body);
}
.feature-list-item i { color: #00c48f; font-size: 12px; }

/* ===== INTEGRATIONS ===== */
.integrations-section { padding: 100px 0; background: #fff; }
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.integration-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
}
.integration-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.1);
}
.integration-card > i {
  font-size: 28px;
  color: var(--brand-purple);
  margin-bottom: 14px;
}
.integration-card h3 { font-size: 18px; font-weight: 600; color: var(--text-heading); margin-bottom: 6px; }
.integration-card p { font-size: 15px; color: var(--text-body); line-height: 1.6; margin-bottom: 12px; }
.integration-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.integration-status.available { background: #d1fae5; color: #065f46; }
.integration-status.custom { background: #e0f2fe; color: #1e40af; }
.integration-status.supported { background: #f3e8ff; color: #6d28d9; }
.integration-status.coming { background: #fef3c7; color: #92400e; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 100px 0; background: var(--light-bg); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08); transform: translateY(-4px); }
.testimonial-stars { color: #ffb020; font-size: 13px; margin-bottom: 14px; display: flex; gap: 3px; }
.testimonial-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #635bff, #00d4ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-heading); }
.testimonial-role { font-size: 13px; color: var(--text-muted-light); line-height: 1.5; }

/* ===== PRICING ===== */
.pricing-section { padding: 100px 0; background: #fff; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10, 37, 64, 0.12); }
.pricing-card.featured {
  border: 2px solid var(--brand-purple);
  box-shadow: 0 16px 50px rgba(99, 91, 255, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-name { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.pricing-desc { font-size: 15px; color: var(--text-body); margin-bottom: 20px; min-height: 44px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
}
.pricing-feature i { color: #00c48f; font-size: 12px; }
.pricing-card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--brand-purple);
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #5851ea; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4); }
.btn-outline {
  background: #fff;
  color: var(--brand-purple);
  border: 1.5px solid var(--brand-purple);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(99, 91, 255, 0.05); }
.btn-block { display: inline-flex; align-items: center; text-decoration: none; }
.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted-light);
}

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: var(--light-bg); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--brand-purple); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-question i {
  font-size: 13px;
  color: #98a3af;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ===== CTA ===== */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #14142e 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(99, 91, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: #fff;
}
.cta-description {
  font-size: 17px;
  color: var(--text-body-dark);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.cta-btn-primary {
  padding: 14px 40px;
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.4);
  text-decoration: none;
}
.cta-btn-primary:hover { background: #5851ea; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 91, 255, 0.5); }
.cta-btn-secondary {
  padding: 14px 32px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}
.cta-btn-secondary:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.05); }
.cta-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
}
.cta-stat span { font-size: 14px; color: var(--text-muted-dark); }

/* ===== SCROLL ANIMATIONS ===== */
.animate-fade-in {
  opacity: 1;
  transform: none;
}
.animate-fade-in.visible {
  opacity: 1;
  transform: none;
}
.animate-scale-in {
  opacity: 1;
  transform: none;
}
.animate-scale-in.visible {
  opacity: 1;
  transform: none;
}
.animate-stagger > * {
  opacity: 1;
  transform: none;
}
.animate-stagger.visible > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page.motion-ready .animate-fade-in {
    opacity: 1;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .home-page.motion-ready .animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .home-page.motion-ready .animate-scale-in {
    opacity: 1;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .home-page.motion-ready .animate-scale-in.visible {
    opacity: 1;
    transform: scale(1);
  }
  .home-page.motion-ready .animate-stagger > * {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .home-page.motion-ready .animate-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  .home-page.motion-ready .animate-stagger > *:nth-child(1) { transition-delay: 0.05s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(2) { transition-delay: 0.1s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(3) { transition-delay: 0.15s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(4) { transition-delay: 0.2s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(5) { transition-delay: 0.25s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(6) { transition-delay: 0.3s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(7) { transition-delay: 0.35s; }
  .home-page.motion-ready .animate-stagger > *:nth-child(8) { transition-delay: 0.4s; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page,
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .home-page .animate-fade-in,
  .home-page .animate-scale-in,
  .home-page .animate-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .platform-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-logos { gap: 36px; }
}

@media (max-width: 900px) {
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: 40px; }
  .products-section,
  .dashboard-showcase,
  .industries-section,
  .features-section,
  .integrations-section,
  .testimonials-section,
  .pricing-section,
  .faq-section { padding: 88px 0; }
  .ai-section,
  .cta-section { padding: 96px 0; }
  .ai-grid { grid-template-columns: 1fr; gap: 56px; }
  .ai-visual { width: min(100%, 640px); margin: 0 auto; }
  .integration-grid,
  .testimonial-grid,
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { max-width: 760px; }
  .pricing-card { padding: 28px; }
  .ai-card { right: 0; }
  .ai-float-2 { left: 0; }
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--navbar-height, 80px) + 40px) 0 56px; }
  .hero-title { font-size: 44px; letter-spacing: -1.75px; }
  .hero-description { font-size: 17px; }
  .section-title { font-size: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
  }
  .product-card-mock { grid-column: 1 / -1; }
  .mock-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mock-kpi { padding: 10px; }
  .mock-kpi > strong { font-size: 15px; }
  .float-chip {
    position: static;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .platform-capability-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 60px; }
  .industry-grid { grid-template-columns: 1fr; }
  .features-grid-large { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .cta-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-flow { grid-template-columns: 1fr; justify-items: stretch; gap: 8px; }
  .platform-flow > i { transform: rotate(90deg); }
  .platform-dashboard { margin-top: 40px; }
  .trust-bar { padding: 52px 0; }
  .trust-logos { gap: 24px; }
  .trust-logo { font-size: 15px; }
}

@media (max-width: 480px) {
  .home-page .container { padding-inline: 20px; }
  .hero { padding: calc(var(--navbar-height, 80px) + 32px) 0 48px; }
  .hero-title { font-size: clamp(36px, 9.5vw, 40px); line-height: 1.08; }
  .hero-description { font-size: 16px; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(29px, 7.5vw, 32px); letter-spacing: -1px; }
  .section-subtitle { font-size: 16px; }
  .products-section,
  .dashboard-showcase,
  .industries-section,
  .features-section,
  .integrations-section,
  .testimonials-section,
  .pricing-section,
  .faq-section { padding: 64px 0; }
  .ai-section,
  .cta-section { padding: 72px 0; }
  .trust-bar { padding: 48px 0; }
  .trust-label { margin-bottom: 28px; }
  .hero-actions,
  .cta-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions > a,
  .cta-actions > a { width: 100%; justify-content: center; }
  .product-card-mock { padding: 20px; }
  .mock-header { flex-wrap: wrap; gap: 10px; }
  .mock-avatar { margin-left: auto; }
  .mock-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 2;
    width: 100%;
  }
  .mock-tab { padding: 6px 4px; font-size: 11px; text-align: center; white-space: nowrap; }
  .mock-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mock-kpi { padding: 8px; }
  .mock-kpi > span { font-size: 10px; letter-spacing: 0.2px; }
  .mock-kpi > strong { font-size: 14px; }
  .mock-kpi small { font-size: 10px; }
  .mock-chart { height: 110px; padding: 10px; }
  .mock-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .float-chip { padding: 10px 12px; }
  .float-chip small { font-size: 10px; }
  .float-chip strong { font-size: 14px; }
  .pcc-body,
  .feature-card-large,
  .integration-card,
  .testimonial-card,
  .pricing-card { padding: 22px; }
  .platform-capability-card p,
  .industry-card p,
  .feature-card-large > p,
  .feature-list-item,
  .integration-card p,
  .testimonial-text,
  .pricing-desc,
  .pricing-feature,
  .faq-answer-inner { font-size: 16px; }
  .integration-card h3 { font-size: 18px; }
  .testimonial-role,
  .pricing-note { font-size: 14px; }
  .ai-feature-text h4 { font-size: 17px; }
  .ai-feature-text p { font-size: 15px; }
  .ai-visual { display: grid; gap: 12px; }
  .ai-glow { display: none; }
  .ai-card,
  .ai-float-2 {
    position: static;
    width: 100%;
    animation: none;
  }
  .code-body { padding: 18px; font-size: 12px; overflow-wrap: anywhere; }
  .device-mockup { padding-bottom: 72px; }
  .device-laptop-screen { aspect-ratio: auto; height: 250px; }
  .dashboard-slide { padding: 16px; }
  .dashboard-slide-header { margin-bottom: 10px; }
  .dashboard-mini-chart { height: 62px; margin-bottom: 10px; }
  .dashboard-metrics { gap: 8px; }
  .dashboard-metric { padding: 8px; }
  .device-tablet { width: 74px; bottom: 12px; right: 12px; }
  .device-mobile { width: 56px; bottom: 0; left: 12px; }
  .dashboard-dots { margin-top: 14px; }
  .hero-stat-box strong { font-size: 18px; }
  .integration-grid { grid-template-columns: 1fr; }
  .faq-question { align-items: flex-start; padding: 18px; }
  .faq-question i { margin-top: 4px; }
  .faq-answer-inner { padding: 0 18px 18px; }
  .cta-title { font-size: 32px; line-height: 1.15; }
  .cta-stat strong { font-size: 28px; }
  .cta-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ===== ENTERPRISE EXPERIENCE LAYER ===== */
.home-page {
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.42);
  outline-offset: 3px;
}

.home-page :is(.platform-capability-card, .industry-card, .feature-card-large, .integration-card, .testimonial-card, .pricing-card) {
  will-change: transform;
  transition: transform 420ms var(--motion-ease), box-shadow 420ms var(--motion-ease), border-color 260ms ease;
}

.platform-capability-card:hover .pcc-icon { transform: scale(1.06); }

@media (prefers-reduced-motion: no-preference) {
  .home-page.motion-ready .animate-fade-in {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 760ms var(--motion-ease-soft), transform 760ms var(--motion-ease-soft);
  }
  .home-page.motion-ready .animate-fade-in.visible { opacity: 1; transform: translate3d(0, 0, 0); }
  .home-page.motion-ready .animate-scale-in {
    opacity: 0;
    transform: scale(0.965) translate3d(0, 18px, 0);
    transition: opacity 820ms var(--motion-ease), transform 820ms var(--motion-ease);
  }
  .home-page.motion-ready .animate-scale-in.visible { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
  .home-page.motion-ready .animate-stagger > * {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 680ms var(--motion-ease), transform 680ms var(--motion-ease);
  }
  .home-page.motion-ready .animate-stagger.visible > * { opacity: 1; transform: translate3d(0, 0, 0); }
  .home-page.motion-ready .hero-content > * { animation: heroEnter 780ms var(--motion-ease) both; }
  .home-page.motion-ready .hero-content > :nth-child(2) { animation-delay: 90ms; }
  .home-page.motion-ready .hero-content > :nth-child(3) { animation-delay: 160ms; }
  .home-page.motion-ready .product-card-mock { animation: heroPanelEnter 900ms 120ms var(--motion-ease) both; }
}

@keyframes heroEnter { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes heroPanelEnter { from { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.97); } to { opacity: 1; transform: none; } }

.hero-title-gradient { filter: drop-shadow(0 0 20px rgba(99, 91, 255, 0.22)); }
.hero-visual { transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0); transition: transform 180ms ease-out; }
.product-card-mock { position: relative; isolation: isolate; overflow: hidden; }
.product-card-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.72) 45%, transparent 65%);
  transform: translate3d(-120%, 0, 0);
  animation: dashboardSheen 8s 2s var(--motion-ease) infinite;
}
@keyframes dashboardSheen { 0%, 72%, 100% { transform: translate3d(-120%,0,0); } 88% { transform: translate3d(120%,0,0); } }

.float-chip {
  --chip-x: 0px;
  --chip-y: 0px;
  animation-name: chipFloat;
  animation-timing-function: ease-in-out;
  will-change: transform;
}
@keyframes chipFloat {
  0%, 100% { transform: translate3d(var(--chip-x), var(--chip-y), 0); }
  50% { transform: translate3d(var(--chip-x), calc(var(--chip-y) - 9px), 0); }
}

.mock-chart-bar,
.platform-chart span,
.dashboard-mini-bar { transform-origin: center bottom; will-change: transform; }
.platform-dashboard.visible .platform-chart span,
.dashboard-slide.active .dashboard-mini-bar { animation: chartBreathe 4.8s var(--motion-ease-soft) infinite alternate; }
.platform-chart span:nth-child(2n), .dashboard-mini-bar:nth-child(2n) { animation-delay: -1.2s; }
.platform-chart span:nth-child(3n), .dashboard-mini-bar:nth-child(3n) { animation-delay: -2.4s; }
@keyframes chartBreathe { 0% { transform: scaleY(.72); } 55%, 100% { transform: scaleY(1); } }

.hero-live-activity { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: -2px 0 14px; }
.hero-report-progress { min-width: 0; }
.hero-report-progress > span:first-child { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--text-body); font-size: 11px; font-weight: 650; }
.hero-report-progress i { color: var(--brand-purple); }
.hero-progress-track { display: block; height: 4px; overflow: hidden; border-radius: 999px; background: #e8edf3; }
.hero-progress-track span { display: block; width: 54%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue)); animation: reportProgress 4s var(--motion-ease) infinite; transform-origin: left; }
@keyframes reportProgress { 0% { transform: scaleX(.12); } 65%,100% { transform: scaleX(1.8); } }
.hero-activity-message { display: flex; align-items: center; gap: 6px; color: #047857; font-size: 11px; font-weight: 650; animation: activityFade 4s ease-in-out infinite; }
@keyframes activityFade { 0%,12% { opacity: 0; transform: translate3d(0,5px,0); } 28%,80% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Infinite, duplicated industry rail. */
.trust-bar { overflow: hidden; }
.trust-marquee { overflow: hidden; margin-inline: calc((100vw - min(1200px, 100vw)) / -2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-logos { width: max-content; flex-wrap: nowrap; justify-content: flex-start; gap: 48px; padding: 4px 24px; animation: trustMarquee 34s linear infinite; will-change: transform; }
.trust-marquee:hover .trust-logos, .trust-marquee:focus-within .trust-logos { animation-play-state: paused; }
.trust-logo { flex: 0 0 auto; cursor: default; }
@keyframes trustMarquee { to { transform: translate3d(calc(-50% - 24px), 0, 0); } }

/* Connected software story. */
.story-section { padding: 104px 0; background: #fff; overflow: hidden; }
.story-flow { display: grid; grid-template-columns: repeat(7, minmax(22px, .34fr) minmax(88px, 1fr)) minmax(88px, 1fr); align-items: center; gap: 8px; list-style: none; margin: 0; padding: 18px 0; }
.story-step { display: grid; justify-items: center; gap: 10px; min-width: 0; text-align: center; }
.story-step-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; color: var(--brand-purple); background: linear-gradient(145deg, #fff, #f0efff); border: 1px solid rgba(99,91,255,.16); box-shadow: 0 14px 32px rgba(99,91,255,.11); }
.story-step strong { color: var(--text-heading); font-size: 13px; line-height: 1.35; }
.story-connector svg { display: block; width: 100%; overflow: visible; }
.story-connector path { fill: none; stroke: rgba(99,91,255,.55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 8 7; animation: storyLine 2.2s linear infinite; }
@keyframes storyLine { to { stroke-dashoffset: -30; } }

/* Industry cards reveal their real workflow on hover and keyboard focus. */
.industry-card { overflow: hidden; }
.industry-micro-flow { position: absolute; z-index: 2; inset: 68px 12px 48px; display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 7px; padding: 18px; border: 1px solid rgba(99,91,255,.16); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px rgba(10,37,64,.13); opacity: 0; transform: translate3d(0,10px,0) scale(.985); transition: opacity 300ms ease, transform 400ms var(--motion-ease); pointer-events: none; }
.industry-card:hover .industry-micro-flow, .industry-card:focus-visible .industry-micro-flow { opacity: 1; transform: none; }
.industry-micro-flow span { padding: 6px 9px; border-radius: 7px; background: #f3f2ff; color: var(--text-heading); font-size: 11px; font-weight: 700; animation: microStep 4s ease-in-out infinite; }
.industry-micro-flow span:nth-of-type(2) { animation-delay: .55s; }
.industry-micro-flow span:nth-of-type(3) { animation-delay: 1.1s; }
.industry-micro-flow span:nth-of-type(4) { animation-delay: 1.65s; }
.industry-micro-flow span:nth-of-type(5) { animation-delay: 2.2s; }
.industry-micro-flow i { color: var(--brand-purple); font-size: 9px; }
@keyframes microStep { 0%,15%,100% { transform: translate3d(0,0,0); box-shadow: none; } 28%,42% { transform: translate3d(0,-3px,0); box-shadow: 0 7px 16px rgba(99,91,255,.18); } }

/* Live dashboard presentation. */
.device-laptop { animation: laptopFloat 7s ease-in-out infinite; will-change: transform; }
@keyframes laptopFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-7px,0); } }
.dashboard-slide { transform: translate3d(18px,0,0) scale(.99); transition: opacity 620ms ease, transform 720ms var(--motion-ease); visibility: hidden; }
.dashboard-slide.active { opacity: 1; transform: none; visibility: visible; }
.dashboard-live-badge { display: inline-flex; align-items: center; gap: 6px; }
.dashboard-live-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #059669; box-shadow: 0 0 0 4px rgba(5,150,105,.13); animation: liveBlink 1.8s ease-in-out infinite; }
@keyframes liveBlink { 50% { opacity: .4; transform: scale(.82); } }
.dashboard-live-stack { position: absolute; z-index: 4; top: 34px; right: -50px; width: 205px; pointer-events: none; }
.dashboard-live-card { position: absolute; inset: 0 auto auto 0; width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgba(99,91,255,.15); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 16px 34px rgba(10,37,64,.14); opacity: 0; transform: translate3d(14px,8px,0) scale(.96); transition: opacity 380ms ease, transform 520ms var(--motion-ease); }
.dashboard-live-card.is-active { opacity: 1; transform: none; }
.dashboard-live-card > i { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,var(--brand-purple),#8982ff); }
.dashboard-live-card strong, .dashboard-live-card small { display: block; }
.dashboard-live-card strong { color: var(--text-heading); font-size: 12px; }
.dashboard-live-card small { color: var(--text-muted-light); font-size: 10px; margin-top: 2px; }
.dashboard-dot:focus-visible { outline-offset: 5px; }

/* Autoplay tutorial showcase. */
.tutorials-section { padding: 108px 0; background: var(--light-bg); }
.tutorial-shell { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); max-width: 1040px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border-light); border-radius: 22px; background: #fff; box-shadow: 0 26px 70px rgba(10,37,64,.11); }
.tutorial-copy { min-width: 0; padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.tutorial-index { color: var(--brand-purple); font: 700 13px/1 var(--font-mono); letter-spacing: .08em; margin-bottom: 24px; }
.tutorial-slides { position: relative; min-height: 180px; }
.tutorial-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translate3d(16px,0,0); transition: opacity 380ms ease, transform 520ms var(--motion-ease); }
.tutorial-slide.active { opacity: 1; visibility: visible; transform: none; }
.tutorial-slide h3 { color: var(--text-heading); font-size: clamp(28px,3vw,40px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.tutorial-slide p { color: var(--text-body); font-size: 16px; line-height: 1.7; }
.tutorial-controls { display: grid; grid-template-columns: auto minmax(80px,1fr) auto; align-items: center; gap: 16px; margin-top: 24px; }
.tutorial-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--border-light); border-radius: 50%; background: #fff; color: var(--text-heading); cursor: pointer; transition: color 220ms ease, border-color 220ms ease, transform 280ms var(--motion-ease); }
.tutorial-button:hover { color: var(--brand-purple); border-color: rgba(99,91,255,.42); transform: translateY(-2px); }
.tutorial-progress { height: 3px; overflow: hidden; border-radius: 999px; background: #e4e9ef; }
.tutorial-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand-purple),var(--brand-blue)); transform: scaleX(.1667); transform-origin: left; transition: transform 520ms var(--motion-ease); }
.tutorial-visual { min-width: 0; margin: 26px 26px 26px 0; overflow: hidden; border-radius: 16px; background: #101127; box-shadow: 0 24px 50px rgba(10,10,26,.25); }
.tutorial-window-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tutorial-window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.tutorial-window-bar span:nth-child(2) { background: #febc2e; }.tutorial-window-bar span:nth-child(3) { background: #28c840; }
.tutorial-window-bar small { margin-left: auto; color: #94a3b8; font: 600 11px/1 var(--font-mono); }
.tutorial-screen { display: grid; grid-template-columns: 70px 1fr; min-height: 370px; }
.tutorial-sidebar { padding: 30px 18px; border-right: 1px solid rgba(255,255,255,.07); }
.tutorial-sidebar span { display: block; height: 8px; margin-bottom: 22px; border-radius: 9px; background: rgba(255,255,255,.13); }
.tutorial-workspace { position: relative; padding: 46px; background: radial-gradient(circle at 85% 10%,rgba(99,91,255,.18),transparent 35%); }
.tutorial-action-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 28px; border-radius: 18px; color: #fff; font-size: 25px; background: linear-gradient(135deg,var(--brand-purple),#00b8e6); box-shadow: 0 14px 30px rgba(99,91,255,.3); }
.tutorial-line { width: 58%; height: 9px; margin-bottom: 12px; border-radius: 9px; background: rgba(255,255,255,.14); }.tutorial-line-lg { width: 78%; }
.tutorial-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.tutorial-form-grid span { height: 54px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(255,255,255,.05); }
.tutorial-complete { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 9px 12px; border-radius: 9px; color: #a7f3d0; background: rgba(16,185,129,.11); font-size: 12px; font-weight: 700; }
.tutorial-animate .tutorial-action-icon { animation: tutorialAction 800ms var(--motion-ease); }
.tutorial-animate .tutorial-form-grid span { animation: tutorialField 900ms var(--motion-ease) both; }.tutorial-animate .tutorial-form-grid span:nth-child(2) { animation-delay: 70ms; }.tutorial-animate .tutorial-form-grid span:nth-child(3) { animation-delay: 140ms; }.tutorial-animate .tutorial-form-grid span:nth-child(4) { animation-delay: 210ms; }
@keyframes tutorialAction { from { opacity: 0; transform: translate3d(0,14px,0) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tutorialField { from { opacity: 0; transform: translate3d(0,10px,0); } to { opacity: 1; transform: none; } }

/* Homepage demo dialog. */
.home-demo-modal[hidden], .home-demo-form-state[hidden], .home-demo-success[hidden] { display: none !important; }
body.home-modal-open { overflow: hidden; }
.home-demo-modal { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity 220ms ease; }
.home-demo-modal.is-open { opacity: 1; }
.home-demo-backdrop { position: absolute; inset: 0; background: rgba(3,7,18,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.home-demo-panel { position: relative; width: min(760px,100%); max-height: min(860px,calc(100vh - 32px)); overflow: auto; padding: 42px; border: 1px solid rgba(255,255,255,.75); border-radius: 22px; background: #fff; box-shadow: 0 32px 100px rgba(0,0,0,.32); transform: translate3d(0,18px,0) scale(.98); transition: transform 360ms var(--motion-ease); }
.home-demo-modal.is-open .home-demo-panel { transform: none; }
.home-demo-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--border-light); border-radius: 50%; background: #fff; color: var(--text-heading); cursor: pointer; }
.home-demo-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-purple); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.home-demo-form-state > h2, .home-demo-success h2 { color: var(--text-heading); font-size: clamp(30px,4vw,42px); letter-spacing: -1.2px; margin: 12px 0 8px; }
.home-demo-form-state > p, .home-demo-success p { color: var(--text-body); font-size: 15px; line-height: 1.6; }
.home-demo-form { margin-top: 26px; }
.home-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-demo-grid label { display: grid; gap: 7px; color: var(--text-heading); font-size: 12px; font-weight: 700; }
.home-demo-grid :is(input,select,textarea) { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d7dee7; border-radius: 10px; background: #fff; color: var(--text-heading); font: 500 15px/1.35 var(--font-sans); transition: border-color 180ms ease, box-shadow 180ms ease; }
.home-demo-grid textarea { resize: vertical; }
.home-demo-grid :is(input,select,textarea):focus { outline: 0; border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(99,91,255,.13); }
.home-demo-message { grid-column: 1 / -1; }
.home-demo-form.was-validated :invalid { border-color: #dc2626; }
.home-demo-status { min-height: 20px; margin: 12px 0 4px; font-size: 13px; }.home-demo-status.is-error { color: #b42318; }
.home-demo-submit, .home-demo-done { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; color: #fff; background: var(--brand-purple); font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(99,91,255,.25); transition: transform 280ms var(--motion-ease), box-shadow 280ms ease, opacity 180ms ease; }
.home-demo-submit:hover, .home-demo-done:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(99,91,255,.34); }
.home-demo-submit:disabled { cursor: wait; opacity: .68; }.home-demo-submit.is-loading i { animation: submitArrow 1s ease-in-out infinite; }
@keyframes submitArrow { 50% { transform: translate3d(4px,0,0); } }
.home-demo-success { padding: 44px 12px; text-align: center; }
.home-demo-success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#059669,#00c48f); box-shadow: 0 18px 40px rgba(5,150,105,.25); animation: successReveal 600ms var(--motion-ease); }
@keyframes successReveal { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
.home-demo-done { margin-top: 24px; min-width: 120px; }

@media (max-width: 1100px) {
  .dashboard-live-stack { right: 18px; top: 26px; }
  .story-flow { display: flex; align-items: center; overflow-x: auto; padding-bottom: 22px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .story-step { flex: 0 0 112px; scroll-snap-align: center; }
  .story-connector { flex: 0 0 34px; }
}

@media (max-width: 820px) {
  .story-flow { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 8px; }
  .story-flow { display: grid; overflow: visible; padding-bottom: 18px; }
  .story-connector svg { width: 52px; transform: rotate(90deg); margin: 6px auto; }
  .tutorial-shell { grid-template-columns: 1fr; }
  .tutorial-copy { padding: 38px; }
  .tutorial-slides { min-height: 145px; }
  .tutorial-visual { margin: 0 20px 20px; }
  .dashboard-live-stack { display: none; }
}

@media (max-width: 480px) {
  .story-section, .tutorials-section { padding: 68px 0; }
  .hero-live-activity { grid-template-columns: 1fr; gap: 8px; }
  .hero-activity-message { display: none; }
  .trust-marquee { margin-inline: -20px; }
  .trust-logos { gap: 30px; animation-duration: 26s; }
  .tutorial-copy { padding: 28px 24px; }
  .tutorial-slides { min-height: 180px; }
  .tutorial-visual { margin: 0 12px 12px; }
  .tutorial-screen { grid-template-columns: 46px 1fr; min-height: 300px; }
  .tutorial-sidebar { padding: 24px 10px; }
  .tutorial-workspace { padding: 30px 20px; }
  .tutorial-form-grid { gap: 8px; }
  .home-demo-modal { padding: 8px; align-items: end; }
  .home-demo-panel { max-height: calc(100vh - 16px); padding: 34px 20px 24px; border-radius: 20px; }
  .home-demo-grid { grid-template-columns: 1fr; gap: 13px; }
  .home-demo-message { grid-column: auto; }
  .home-demo-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page,
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .trust-logos { animation: none; transform: none; }
  .trust-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .product-card-mock::after, .story-connector path, .industry-micro-flow span, .device-laptop,
  .dashboard-live-badge > span, .hero-progress-track span, .hero-activity-message,
  .platform-chart span, .dashboard-mini-bar { animation: none !important; }
  .industry-micro-flow { display: none; }
}

/* The public shell defaults to dark; keep new light presentation surfaces consistent. */
html[data-theme="dark"] .story-section {
  background: #fff !important;
  color: var(--text-body) !important;
}
html[data-theme="dark"] .tutorials-section {
  background: var(--light-bg) !important;
  color: var(--text-body) !important;
}
html[data-theme="dark"] :is(.story-section, .tutorials-section) .section-title,
html[data-theme="dark"] .story-step strong,
html[data-theme="dark"] .tutorial-slide h3 {
  color: var(--text-heading) !important;
}
html[data-theme="dark"] :is(.story-section, .tutorials-section) .section-subtitle,
html[data-theme="dark"] .tutorial-slide p {
  color: var(--text-body) !important;
}
html[data-theme="dark"] .tutorial-shell,
html[data-theme="dark"] .home-demo-panel {
  background: #fff !important;
  border-color: var(--border-light) !important;
}
html[data-theme="dark"] .home-demo-form-state > h2,
html[data-theme="dark"] .home-demo-success h2,
html[data-theme="dark"] .home-demo-grid label {
  color: var(--text-heading) !important;
}
html[data-theme="dark"] .home-demo-form-state > p,
html[data-theme="dark"] .home-demo-success p {
  color: var(--text-body) !important;
}
html[data-theme="dark"] .home-demo-grid :is(input, select, textarea) {
  background: #fff !important;
  color: var(--text-heading) !important;
  border-color: #d7dee7 !important;
  color-scheme: light;
}
html[data-theme="dark"] .home-demo-grid :is(input, textarea)::placeholder {
  color: #667085 !important;
}

/* Homepage navbar states and sticky-header alignment. */
.home-page section[id] {
  scroll-margin-top: calc(var(--navbar-height, 80px) + 20px);
}

html:has(.home-page) .navbar {
  height: var(--navbar-height, 80px);
  min-height: var(--navbar-height, 80px);
  border-bottom: 1px solid transparent;
  opacity: 1;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

html:has(.home-page) .navbar .nav-container {
  height: 100%;
  min-height: 100%;
}

html:has(.home-page) .navbar:not(.scrolled) {
  background: rgba(15, 23, 42, .85) !important;
  border-bottom-color: rgba(148, 163, 184, .18) !important;
}

html:has(.home-page) .navbar:not(.scrolled) .nav-brand,
html:has(.home-page) .navbar:not(.scrolled) .nav-brand .nav-brand-text {
  color: #fff !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar:not(.scrolled) .nav-link {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar:not(.scrolled) a[href="/login"] {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar.scrolled {
  background: rgba(255, 255, 255, .98) !important;
  border-bottom-color: rgba(10, 37, 64, .08) !important;
  box-shadow: 0 1px 0 rgba(10, 37, 64, .08) !important;
}

html:has(.home-page) .navbar.scrolled .nav-link {
  color: #334155 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar.scrolled a[href="/login"] {
  color: #425466 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar:not(.scrolled) .nav-link :is(i, svg),
html:has(.home-page) .navbar:not(.scrolled) .nav-link::after {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar.scrolled .nav-link :is(i, svg),
html:has(.home-page) .navbar.scrolled .nav-link::after {
  color: #334155 !important;
  opacity: 1 !important;
}

/* Top / dark navbar: keep the light/white logo variant fully visible. */
html:has(.home-page) .navbar:not(.scrolled) .nav-brand img {
  opacity: 1 !important;
  filter: none !important;
}

/* Scrolled / white navbar: no dark logo asset exists, so apply a precise
   invert + hue-rotate so the white strokes become dark navy while the
   mint/teal accent stays in the green family (not magenta). */
html:has(.home-page) .navbar.scrolled .nav-brand img {
  opacity: 1 !important;
  filter: invert(1) hue-rotate(180deg) !important;
}

html:has(.home-page) .navbar:not(.scrolled) #mobileToggle,
html:has(.home-page) .navbar:not(.scrolled) #mobileToggle i {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar:not(.scrolled) #mobileToggle span {
  background-color: #e2e8f0 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar.scrolled #mobileToggle,
html:has(.home-page) .navbar.scrolled #mobileToggle i {
  color: #334155 !important;
  opacity: 1 !important;
}

html:has(.home-page) .navbar.scrolled #mobileToggle span {
  background-color: #334155 !important;
  opacity: 1 !important;
}

/* Keep this final so the light-state brand always wins the cascade. */
html:has(.home-page) .navbar.scrolled .nav-brand,
html:has(.home-page) .navbar.scrolled .nav-brand .nav-brand-text {
  color: #0a2540 !important;
  opacity: 1 !important;
}
