/* TODO: Minify this file before production deploy using: npx cssnano style.css style.min.css */
/* ==========================================================================
   Sorta Design System & Global Styles
   Techy yet Light Pivot - Removed "Dreamy" Glassmorphism
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-teal: #02e3d3;
    --color-electric: #2740FC; /* Primary high-energy accent */
    --color-ice: #c7e7ff;
    --color-navy: #000054;     /* Dominant Foundation */
    --color-charcoal: #1a1a2a;
    
    /* Backgrounds & Whites */
    --color-bg: #fdfdfd;       /* Crisp white */
    --color-bg-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-900: #111827;
    --color-white: #ffffff;
    --color-blue: #2740fc;
    
    /* Radii - Sharpened for tech feel */
    --radius-pill: 9999px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-card: 16px;       /* Was 24px */
    --radius-card-large: 20px; /* Was 32px */
    --radius-card-xl: 24px;    /* Was 40px */
    
    /* Shadows - Sharp and subtle instead of soft blurs */
    --shadow-ui: 0 4px 6px -1px rgba(0, 0, 84, 0.05), 0 2px 4px -2px rgba(0, 0, 84, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 84, 0.08), 0 4px 6px -4px rgba(0, 0, 84, 0.05);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 84, 0.06), 0 2px 4px -2px rgba(0, 0, 84, 0.06);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 84, 0.05), 0 8px 10px -6px rgba(0, 0, 84, 0.05);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-navy);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Grid Background (Techy but Light) */
.grid-bg {
    background-size: 40px 40px;
    background-image: 
      linear-gradient(to right, rgba(0, 0, 84, 0.03) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0, 0, 84, 0.03) 1px, transparent 1px);
    background-position: center top;
}

/* Typography Utilities */
.fw-light { font-weight: 300; }
.fw-body { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-white { color: white !important; }

h1, h2, h3, h4 { color: var(--color-navy); }
.section-title { font-size: 3rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.large-text { font-size: 1.25rem; color: var(--color-gray-500); margin-bottom: 24px; }
.eyebrow { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; display: block; }

/* Grid Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mt-4 { margin-top: 24px; }

/* UI Components (Replaced Glass Cards) */
.ui-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ui);
}
.ui-card.solid { background: white; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; font-weight: 500; transition: all 0.2s;
    cursor: pointer; border: 1px solid transparent; font-family: inherit; font-size: 1rem;
}
.btn.pill { border-radius: var(--radius-pill); }
.btn-primary { background-color: var(--color-electric); color: white; }
.btn-primary:hover { background-color: var(--color-navy); border-color: var(--color-navy); }
.btn-ghost { background: transparent; color: var(--color-navy); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--color-gray-100); border-color: var(--color-gray-200); }
.btn-large { padding: 16px 32px; font-size: 1.125rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: white; border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; color: var(--color-electric);
    margin-bottom: 24px; box-shadow: var(--shadow-ui);
}

/* Nav */
.navbar {
    width: 100%; padding: 24px 0; position: fixed; top: 0; z-index: 110;
    background: rgba(253, 253, 253, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-gray-200);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 700; color: var(--color-navy); }
.nav-brand .nav-logo-img { height: 40px; width: auto; max-width: 200px; display: block; object-fit: contain; }
.footer-brand .footer-logo-img { height: 56px; width: auto; max-width: 280px; display: block; margin-bottom: 8px; object-fit: contain; }
.bottom-cta-logo { display: block; max-width: 200px; width: 100%; height: auto; margin: 0 auto 24px; opacity: 0.96; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--color-gray-500); transition: color 0.2s; }
.nav-links a:hover { color: var(--color-electric); }

/* Mobile-only hamburger + drawer (hidden on desktop) */
.mobile-menu-btn { display: none; }
.mobile-drawer, .mobile-drawer-overlay { display: none; }
.mobile-menu-btn {
  border: 1px solid var(--color-gray-200);
  background: white;
  box-shadow: var(--shadow-ui);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-menu-icon {
  width: 18px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  border-radius: 2px;
}
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}
.mobile-menu-icon::before { top: -6px; }
.mobile-menu-icon::after { top: 6px; }

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 84, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 200;
}
.mobile-drawer-overlay[hidden] { display: none !important; }
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: rgba(253, 253, 253, 0.98);
  border-left: 1px solid var(--color-gray-200);
  box-shadow: -24px 0 60px rgba(0, 0, 84, 0.14);
  z-index: 210;
  transform: translateX(102%);
  transition: transform 0.22s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--color-gray-200);
}
.mobile-drawer-logo { height: 32px; width: auto; display: block; }
.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--color-gray-200);
  background: white;
  box-shadow: var(--shadow-ui);
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-navy);
}
.mobile-drawer-nav {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-drawer-nav a {
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--color-navy);
  background: transparent;
  border: 1px solid transparent;
}
.mobile-drawer-nav a:hover {
  background: var(--color-gray-100);
  border-color: var(--color-gray-200);
}
.mobile-drawer-actions {
  margin-top: auto;
  padding: 16px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--color-gray-200);
}
.mobile-drawer-linkedin {
  display: inline-flex;
  justify-content: center;
  font-weight: 600;
  color: var(--color-gray-500);
  padding: 10px 12px;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: inline-flex; }
  .mobile-drawer-overlay { display: block; }
  .mobile-drawer { display: flex; flex-direction: column; }
}

/* Heroes */
.hero-section { max-width: 1200px; margin: 160px auto 100px; padding: 0 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.hero-heading { font-size: 4rem; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-subtext { font-size: 1.125rem; color: var(--color-gray-500); margin-bottom: 40px; max-width: 480px; }

/* High-Fidelity Mac Window Tool */
.mac-window {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 84, 0.15); /* Techy sharp float */
    border: 1px solid var(--color-gray-200);
    position: relative;
    z-index: 10;
}
.mac-header {
    background: var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 12px 16px;
    display: flex; align-items: center;
}
.mac-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.mac-title { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--color-gray-500); margin-left: -40px; /* Offset dots */ }

.mac-body { display: flex; height: 400px; }

/* Left Pane: PDF Parsing */
.mac-sidebar {
    width: 200px; background: #fafafa; border-right: 1px solid var(--color-gray-200);
    padding: 16px; display: flex; flex-direction: column;
}
.sidebar-header { font-size: 0.75rem; font-weight: 600; color: var(--color-gray-500); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 6px;}

.pdf-thumbnail {
    background: white; border: 1px solid var(--color-gray-200); box-shadow: var(--shadow-ui);
    padding: 16px; border-radius: 4px; flex: 1; margin-bottom: 16px; position: relative;
}
.mock-line { height: 8px; background: var(--color-gray-200); border-radius: 2px; margin-bottom: 8px; }
.mock-line.title { width: 60%; background: var(--color-navy); height: 12px; margin-bottom: 16px; }
.mock-line.data { width: 100%; border: 1px solid transparent; }
.mock-line.short { width: 50%; }
.highlight-box { border: 1px solid var(--color-teal); background: rgba(2, 227, 211, 0.1); }

.status-indicator { font-size: 0.75rem; color: var(--color-electric); display: flex; align-items: center; gap: 6px; font-weight: 500;}
.spin-icon { animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Right Pane: Interface */
.mac-content { flex: 1; display: flex; flex-direction: column; background: white;}
.content-header { padding: 16px 24px; border-bottom: 1px solid var(--color-gray-200); display: flex; justify-content: space-between; align-items: center;}
.badge-success { background: rgba(2, 227, 211, 0.1); color: var(--color-teal); padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 4px;}

.form-grid { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow-y: auto;}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full-width { grid-column: span 2; }
.form-field label { font-size: 0.75rem; font-weight: 600; color: var(--color-gray-500); }
.input-mock { 
    border: 1px solid var(--color-gray-200); border-radius: 6px; padding: 10px 12px; 
    font-size: 0.875rem; background: #fafafa; color: var(--color-gray-500);
}
.input-mock.filled { 
    border-color: var(--color-teal); background: rgba(2, 227, 211, 0.03); 
    color: var(--color-navy); font-weight: 500; display: flex; justify-content: space-between; align-items: center;
}
.check-mini { color: var(--color-teal); }

.mac-footer { margin-top: auto; padding: 16px 24px; border-top: 1px solid var(--color-gray-200); background: #fafafa; display: flex; justify-content: space-between; align-items: center;}
.sync-status { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 500; color: var(--color-gray-500); }
.pulse-dot { width: 8px; height: 8px; background: var(--color-electric); border-radius: 50%; box-shadow: 0 0 0 rgba(39, 64, 252, 0.4); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(39, 64, 252, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(39, 64, 252, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 64, 252, 0); } }


/* Redesigned Pain Section (Editorial) */
.split-section { padding: 120px 0; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.massive-quote { font-size: 2.5rem; line-height: 1.2; color: var(--color-navy); margin-bottom: 24px; border-left: 4px solid var(--color-electric); padding-left: 24px; }
.editorial-body { font-size: 1.125rem; color: var(--color-gray-500); margin-bottom: 16px; }
.editorial-checklist { padding: 40px; }
.pain-list { margin-bottom: 32px; }
.crossed-out { font-size: 1.125rem; color: var(--color-gray-500); text-decoration: line-through; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.crossed-out i { color: #ff5f56; text-decoration: none; }
.pain-solution { background: rgba(39, 64, 252, 0.05); border: 1px solid rgba(39, 64, 252, 0.1); border-radius: 8px; padding: 16px; display: flex; gap: 12px; font-size: 0.875rem; color: var(--color-navy); }
.pain-solution i { font-size: 1.5rem; color: var(--color-electric); }

/* How It Works — friendly “product UI” strip (CSS only) */
.workflow-section {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(102, 189, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(2, 227, 211, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 35%, #fafbfc 100%);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}
.workflow-head { margin-bottom: 8px; }
.workflow-eyebrow {
  color: var(--color-electric) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.workflow-title {
  margin-bottom: 16px !important;
  color: var(--color-navy);
}
.workflow-title .fw-bold {
  background: linear-gradient(135deg, var(--color-electric) 0%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.workflow-lede {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}
.workflow-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 40px auto 8px;
  max-width: 640px;
}
.workflow-flow-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-electric);
  background: rgba(39, 64, 252, 0.08);
  border: 1px solid rgba(39, 64, 252, 0.12);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(39, 64, 252, 0.08);
}
.workflow-flow-line {
  flex: 1;
  min-width: 40px;
  max-width: 72px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(39, 64, 252, 0.25), rgba(2, 227, 211, 0.45));
  position: relative;
  overflow: hidden;
}
.workflow-flow-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: wf-flow-shine 2.8s ease-in-out infinite;
}
@keyframes wf-flow-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.workflow-flow-arrow {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(2, 227, 211, 0.85);
  opacity: 0.9;
}
@media (max-width: 600px) {
  .workflow-flow-line,
  .workflow-flow-arrow {
    display: none;
  }
  .workflow-flow {
    gap: 8px;
  }
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 22px 32px;
  position: relative;
  border-radius: var(--radius-card-large);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 84, 0.04),
    0 16px 40px -12px rgba(39, 64, 252, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.workflow-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px -2px rgba(0, 0, 84, 0.06),
    0 22px 48px -16px rgba(39, 64, 252, 0.14);
}
.workflow-step--1 {
  background: linear-gradient(165deg, #ffffff 0%, rgba(102, 189, 255, 0.09) 100%);
}
.workflow-step--2 {
  background: linear-gradient(165deg, #ffffff 0%, rgba(2, 227, 211, 0.1) 100%);
}
.workflow-step--3 {
  background: linear-gradient(165deg, #ffffff 0%, rgba(16, 185, 129, 0.08) 100%);
}
.workflow-step h3 { margin: 4px 0 12px; font-size: 1.25rem; color: var(--color-navy); }
.workflow-step p { color: var(--color-gray-500); font-size: 0.9375rem; line-height: 1.65; }
.step-num {
  font-size: 0.875rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 84, 0.12);
}
.workflow-step--1 .step-num { background: linear-gradient(135deg, var(--color-electric), #5b7cff); }
.workflow-step--2 .step-num { background: linear-gradient(135deg, #0d9488, var(--color-teal)); }
.workflow-step--3 .step-num { background: linear-gradient(135deg, #059669, #34d399); }

/* NOT Section */
.not-section { padding: 120px 0; border-top: 1px solid var(--color-gray-200); }
.flex-row { display: flex; align-items: center; gap: 60px; }
.not-visual { flex: 1; display: flex; align-items: center; justify-content: center; }
.massive-text { font-size: 7rem; font-weight: 700; color: rgba(0, 0, 84, 0.25); transform: rotate(-90deg); white-space: nowrap; line-height: 1; letter-spacing: -2px;}
.not-content { flex: 2; }
.not-content .section-title { font-size: 3.5rem; }

/* Context & Pricing */
.context-section { padding: 60px 0 120px; }
.context-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.origin-card { padding: 40px; }
.origin-card p { font-size: 1.125rem; color: var(--color-gray-500); margin-bottom: 16px; }
.pricing-card { padding: 40px; background: linear-gradient(135deg, white, rgba(39, 64, 252, 0.02)); border: 1px solid var(--color-electric); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pricing-header { font-size: 3rem; font-weight: 700; color: var(--color-electric); line-height: 1; margin-bottom: 16px; }
.price-dur { font-size: 1.25rem; font-weight: 500; color: var(--color-navy); }

/* Footer */
.soft-footer { max-width: 1200px; margin: 0 auto 60px; padding: 60px 40px; text-align: center; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.footer-links { margin-top: 24px; font-size: 0.875rem; color: var(--color-gray-500); border-top: 1px solid var(--color-gray-200); width: 100%; padding-top: 24px; }

/* Animations */
.animate-on-scroll { opacity: 0; transition: all 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translate(0, 0); }
.fade-up { transform: translateY(20px); }
.fade-down { transform: translateY(-20px); }
.fade-right { transform: translateX(-20px); }
.fade-left { transform: translateX(20px); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-section, .editorial-grid, .workflow-grid, .context-grid { grid-template-columns: 1fr; }
    .hero-heading { font-size: 3rem; }
    .feature-grid-lottie { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-card-lottie:nth-child(1),
    .feature-card-lottie:nth-child(2) { grid-column: span 1; }
    .feature-card-lottie:nth-child(n+3) { grid-column: span 1; }
    .flex-row { flex-direction: column; }
    .massive-text { transform: none; font-size: 4rem; }
    .mac-window { margin-top: 40px; }
    .mac-body { flex-direction: column; height: auto; }
    .mac-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--color-gray-200); }
}

@media (max-width: 768px) {
    .feature-grid-lottie { grid-template-columns: 1fr !important; }
    .feature-card-lottie:nth-child(n) { grid-column: span 1 !important; }
}

/* ─── Hero product UI mock (CSS only) + mesh ─── */
.hero-ui-shell {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ui-blobs {
  position: absolute;
  inset: -8% -12% -4% -12%;
  background:
    radial-gradient(ellipse 80% 70% at 20% 30%, rgba(102, 189, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(39, 64, 252, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 60% 85%, rgba(2, 227, 211, 0.22) 0%, transparent 55%);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 0;
}
.hero-ui-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}
.hero-ui-window {
  width: min(100%, 460px);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  animation: hero-ui-float 7s ease-in-out infinite;
}
@keyframes hero-ui-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-ui-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  letter-spacing: 0.02em;
}
.hero-ui-dots {
  display: inline-flex;
  gap: 5px;
}
.hero-ui-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-200);
}
.hero-ui-dots i:nth-child(1) { background: #ff5f57; }
.hero-ui-dots i:nth-child(2) { background: #febc2e; }
.hero-ui-dots i:nth-child(3) { background: #28c840; }
.hero-ui-title {
  flex: 1;
  text-align: center;
  color: var(--color-gray-700);
  font-weight: 600;
}
.hero-ui-spacer { width: 36px; flex-shrink: 0; }
.hero-ui-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 280px;
}
.hero-ui-sidebar {
  padding: 12px 10px;
  background: var(--color-gray-50);
  border-right: 1px solid var(--color-gray-200);
  font-size: 0.625rem;
}
.hero-ui-side-h {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  margin-bottom: 8px;
}
.hero-ui-side-h-mt { margin-top: 14px; }
.hero-ui-patient {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.hero-ui-patient-active {
  background: white;
  border-color: rgba(39, 64, 252, 0.15);
  box-shadow: var(--shadow-ui);
}
.hero-ui-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-electric), #5b7cff);
  color: white;
  font-size: 0.5625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ui-patient-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-ui-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-ui-sub {
  font-size: 0.5625rem;
  color: var(--color-gray-400);
}
.hero-ui-formlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-ui-formlist li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  color: var(--color-gray-700);
  line-height: 1.3;
}
.hero-ui-check {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  position: relative;
  animation: hero-check-in 5s ease-in-out infinite;
}
.hero-ui-formlist li:nth-child(1) .hero-ui-check { animation-delay: 0s; }
.hero-ui-formlist li:nth-child(2) .hero-ui-check { animation-delay: 0.4s; }
.hero-ui-formlist li:nth-child(3) .hero-ui-check { animation-delay: 0.8s; }
.hero-ui-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #10b981;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  animation: hero-check-tick 5s ease-in-out infinite;
}
.hero-ui-formlist li:nth-child(1) .hero-ui-check::after { animation-delay: 0s; }
.hero-ui-formlist li:nth-child(2) .hero-ui-check::after { animation-delay: 0.4s; }
.hero-ui-formlist li:nth-child(3) .hero-ui-check::after { animation-delay: 0.8s; }
@keyframes hero-check-in {
  0%, 15%, 100% { transform: scale(1); opacity: 0.6; }
  25%, 90% { transform: scale(1.05); opacity: 1; }
}
@keyframes hero-check-tick {
  0%, 18% { transform: rotate(45deg) scale(0); }
  28%, 88% { transform: rotate(45deg) scale(1); }
  100% { transform: rotate(45deg) scale(0); }
}
.hero-ui-main {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-white);
}
.hero-ui-main-head { margin-bottom: 2px; }
.hero-ui-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-electric);
  background: rgba(39, 64, 252, 0.08);
  border: 1px solid rgba(39, 64, 252, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}
.hero-ui-doc-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px;
  line-height: 1.2;
}
.hero-ui-doc-sub {
  font-size: 0.625rem;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.4;
}
.hero-ui-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-ui-field {
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  overflow: hidden;
}
.hero-ui-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(2, 227, 211, 0.12) 50%,
    rgba(39, 64, 252, 0.08) 55%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: hero-shimmer 4.5s ease-in-out infinite;
}
.hero-ui-field-1::before { animation-delay: 0s; }
.hero-ui-field-2::before { animation-delay: 0.35s; }
.hero-ui-field-3::before { animation-delay: 0.7s; }
.hero-ui-field-4::before { animation-delay: 1.05s; }
@keyframes hero-shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translateX(100%); opacity: 1; }
  55%, 100% { transform: translateX(100%); opacity: 0; }
}
.hero-ui-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-400);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.hero-ui-value {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-navy);
  position: relative;
  z-index: 1;
}
.hero-ui-footer {
  margin-top: auto;
  padding-top: 4px;
}
.hero-ui-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-gray-500);
}
.hero-ui-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(2, 227, 211, 0.25);
  animation: hero-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@media (max-width: 1024px) {
  .hero-ui-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-ui-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ui-window,
  .hero-ui-check,
  .hero-ui-check::after,
  .hero-ui-field::before,
  .hero-ui-dot {
    animation: none !important;
  }
  .hero-ui-window { transform: none; }
}

.lottie-host svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ─── Workflow step mini UI (matches hero mock language) ─── */
.workflow-step-visual {
  width: 100%;
  flex: 0 0 auto;
  margin: 4px 0 20px;
  min-height: 172px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.wf-surf {
  width: 100%;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  box-shadow: var(--shadow-ui);
  overflow: hidden;
  animation: wf-surf-float 8s ease-in-out infinite;
  box-sizing: border-box;
}
.wf-surf--upload .wf-upload-zone {
  flex: 1;
  justify-content: center;
}
@keyframes wf-surf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.wf-mini-titlebar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: linear-gradient(180deg, var(--color-gray-50), #fff);
  border-bottom: 1px solid var(--color-gray-200);
}
.wf-mini-titlebar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gray-200);
}
.wf-mini-titlebar i:nth-child(1) { background: #ff8a8a; }
.wf-mini-titlebar i:nth-child(2) { background: #ffd56b; }
.wf-mini-titlebar i:nth-child(3) { background: #7ae582; }
.wf-mini-titlebar--dark {
  background: linear-gradient(180deg, #eef2ff, #f8fafc);
}
/* Upload */
.wf-upload-zone {
  padding: 18px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}
.wf-pdf-stack {
  position: relative;
  width: 72px;
  height: 84px;
}
.wf-pdf-sheet {
  position: absolute;
  left: 50%;
  width: 56px;
  height: 72px;
  border-radius: 6px;
  border: 1px solid var(--color-gray-200);
  background: linear-gradient(180deg, #fff, var(--color-gray-50));
  box-shadow: var(--shadow-ui);
}
.wf-pdf-a {
  transform: translate(-50%, 0) rotate(-6deg);
  z-index: 1;
}
.wf-pdf-b {
  transform: translate(-42%, 6px) rotate(8deg);
  opacity: 0.92;
  z-index: 0;
}
.wf-pdf-sheet::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 8px;
  right: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-gray-200);
  box-shadow: 0 10px 0 var(--color-gray-200), 0 20px 0 var(--color-gray-100);
}
.wf-upload-hint {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-electric);
  background: rgba(39, 64, 252, 0.08);
  border: 1px dashed rgba(39, 64, 252, 0.28);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.wf-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wf-sparkles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0;
  animation: wf-spark 3s ease-in-out infinite;
}
.wf-sparkles span:nth-child(1) { top: 18%; right: 16%; animation-delay: 0s; }
.wf-sparkles span:nth-child(2) { top: 42%; right: 10%; animation-delay: 0.5s; background: var(--color-electric); }
.wf-sparkles span:nth-child(3) { bottom: 22%; left: 14%; animation-delay: 1s; }
@keyframes wf-spark {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 0.95; transform: scale(1); }
  60% { opacity: 0; }
}
/* Workspace */
.wf-ws-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 8px;
}
.wf-ws-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-electric), #7c9bff);
  color: white;
  font-size: 0.5625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-ws-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wf-ws-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-navy);
}
.wf-ws-sub {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--color-teal);
}
.wf-ws-fields {
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wf-surf--workspace .wf-ws-head {
  flex-shrink: 0;
}
.wf-surf--workspace .wf-ws-fields {
  flex: 1;
}
.wf-ws-field {
  position: relative;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  overflow: hidden;
}
.wf-ws-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(2, 227, 211, 0.2) 50%,
    rgba(39, 64, 252, 0.1) 56%,
    transparent 72%
  );
  transform: translateX(-100%);
  animation: wf-ws-shimmer 3.8s ease-in-out infinite;
}
.wf-ws-f2::before { animation-delay: 0.45s; }
@keyframes wf-ws-shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  12% { opacity: 1; }
  48% { transform: translateX(100%); opacity: 1; }
  58%, 100% { transform: translateX(100%); opacity: 0; }
}
.wf-ws-ph {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 3px;
  background: var(--color-gray-300);
  width: 58%;
}
.wf-ws-f2 .wf-ws-ph { width: 44%; opacity: 0.85; }
/* Output */
.wf-surf--output {
  flex: 1;
}
.wf-surf--output .wf-out-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px 12px 16px;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--color-gray-200);
  border-left: 1px solid rgba(16, 185, 129, 0.18);
  border-right: 1px solid rgba(16, 185, 129, 0.18);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  background: linear-gradient(165deg, #ffffff, rgba(16, 185, 129, 0.06));
  box-shadow: none;
  position: relative;
  min-height: 112px;
}
.wf-out-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.wf-out-lines span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--color-gray-200);
}
.wf-out-lines span:nth-child(1) { width: 92%; }
.wf-out-lines span:nth-child(2) { width: 78%; }
.wf-out-lines span:nth-child(3) { width: 88%; }
.wf-out-lines span:nth-child(4) { width: 52%; opacity: 0.7; }
.wf-out-pill {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #047857;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.wf-out-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  animation: wf-check-pop 2.6s ease-in-out infinite;
}
.wf-out-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
@keyframes wf-check-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-flow-line::after,
  .wf-surf,
  .wf-sparkles span,
  .wf-ws-field::before,
  .wf-out-check {
    animation: none !important;
  }
  .wf-surf { transform: none; }
}

/* ─── Feature Lottie cards (Linear-style) ─── */
.features-lottie-section {
  padding: 100px 0 120px;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}
.feature-grid-lottie {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card-lottie {
  grid-column: span 2;
  background: rgba(39, 64, 252, 0.04);
  border-radius: 16px;
  padding: 36px 28px 40px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(39, 64, 252, 0.08);
}
.feature-card-lottie:nth-child(1),
.feature-card-lottie:nth-child(2) {
  grid-column: span 3;
}
.feature-lottie-visual {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.feature-lottie-visual .lottie-host {
  width: 240px !important;
  height: 240px !important;
  max-width: 100%;
}

.lottie-host.lottie-failed {
  background: linear-gradient(135deg, rgba(39, 64, 252, 0.08), rgba(2, 227, 211, 0.06));
  border-radius: 12px;
}
.feature-card-lottie h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-navy);
  margin: 16px 0 10px;
  line-height: 1.25;
}
.feature-card-lottie p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin: 0;
}
.feature-card-lottie:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 84, 0.08);
}
.feature-tint-blue   { background: rgba(102, 189, 255, 0.12); border-color: rgba(39, 64, 252, 0.1); }
.feature-tint-teal   { background: rgba(2, 227, 211, 0.1); border-color: rgba(2, 227, 211, 0.18); }
.feature-tint-violet { background: rgba(39, 64, 252, 0.07); border-color: rgba(39, 64, 252, 0.12); }
.feature-tint-green  { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.15); }
.feature-tint-amber  { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.18); }
.feature-tint-rose   { background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.16); }

.trust-partner-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-400);
  letter-spacing: 0.02em;
}

/* ─── Patient Benefits section (warm emotional shift) ─── */
.patient-section {
  padding: 90px 0 100px;
  text-align: center;
  background: #fefefe;
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}
.patient-section h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.patient-section .subheadline {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 52px;
  line-height: 1.7;
}
.patient-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.patient-card {
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.patient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 84, 0.06);
}
.patient-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 84, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 84, 0.06);
}
.patient-icon svg {
  width: 66px;
  height: 66px;
  display: block;
}
.patient-card h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-top: 10px;
  margin-bottom: 10px;
}
.patient-card p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.patient-tint-peach { background: rgba(255, 200, 150, 0.08); }
.patient-tint-peach .patient-icon { background: rgba(255, 200, 150, 0.16); }
.patient-tint-rose { background: rgba(255, 150, 170, 0.08); }
.patient-tint-rose .patient-icon { background: rgba(255, 150, 170, 0.16); }
.patient-tint-gold { background: rgba(255, 220, 130, 0.08); }
.patient-tint-gold .patient-icon { background: rgba(255, 220, 130, 0.16); }

.founder-line {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-navy);
  max-width: 600px;
  margin: 56px auto 0;
  line-height: 1.7;
}

/* Scroll animation (re-uses existing .animate-on-scroll/.visible) */
.patient-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}
.patient-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .patient-section { padding: 70px 0 80px; }
  .patient-section h2 { font-size: 1.65rem; }
  .patient-section .subheadline { font-size: 1rem; margin-bottom: 40px; }
  .patient-cards { grid-template-columns: 1fr; }
}

/* ─── Mobile density fixes (reduce “squished” feel) ─── */
@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Nav: smaller + drawer */
  .navbar { padding: 14px 0; }
  .nav-container { padding: 0 18px; }
  .nav-brand .nav-logo-img { height: 32px; }
  .nav-links { display: none; }
  /* Hide all desktop nav CTAs; use hamburger instead */
  .nav-actions .btn { display: none; }

  /* Type + hero spacing */
  .pill-badge { font-size: 0.8rem; padding: 7px 12px; margin-bottom: 18px; }
  .hero-section { margin: 112px auto 64px; padding: 0 18px; gap: 24px; }
  .hero-heading { font-size: 2.35rem; line-height: 1.08; margin-bottom: 18px; }
  .hero-subtext { font-size: 1rem; margin-bottom: 22px; max-width: none; }
  .btn-large { padding: 14px 22px; font-size: 1rem; }

  /* Global section padding reductions */
  .split-section { padding: 76px 0; }
  .workflow-section { padding: 86px 0; }
  .features-lottie-section { padding: 86px 0 92px; }
  .not-section { padding: 86px 0; }
  .faq-section { padding: 76px 0; }
  .context-section { padding: 54px 0 86px; }
  .soft-footer { padding: 48px 22px; margin: 0 auto 44px; }

  /* Headings */
  .section-title { font-size: 2.05rem; }
  .large-text { font-size: 1.05rem; }

  /* Remove hero background “blue blur” blobs on mobile */
  .hero-ui-blobs { display: none; }
}

@media (max-width: 420px) {
  .hero-heading { font-size: 2.05rem; }
  .section-title { font-size: 1.85rem; }
  .nav-actions .btn { padding: 9px 14px; font-size: 0.9rem; }
}
/* ─── Demo Form Section ─────────────────────────────── */
.demo-form-section {
  padding: 60px 0;
  background: var(--color-white);
}
.demo-form-wrap { max-width: 1000px; margin: 0 auto; }
.demo-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-card);
}
.demo-form-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.demo-form-sub { color: var(--color-gray-500); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 24px; }
.demo-trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-trust-list li { font-size: 0.9375rem; color: var(--color-gray-700); display: flex; align-items: center; gap: 10px; }
.trust-check { color: var(--color-teal); font-weight: 700; font-size: 1rem; }
.sorta-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--color-gray-700); }
.form-group .optional { font-weight: 400; color: var(--color-gray-400); }
.form-group input {
  padding: 12px 16px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-gray-900);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--color-blue, #2740fc);
  box-shadow: 0 0 0 3px rgba(39, 64, 252, 0.12);
}
.demo-submit-btn { width: 100%; justify-content: center; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.form-disclaimer { font-size: 0.75rem; color: var(--color-gray-400); text-align: center; margin: 4px 0 0; }
.form-success { color: #065f46; font-size: 0.9rem; font-weight: 600; text-align: center; margin-top: 8px; }
.form-success.hidden { display: none; }
.form-error { color: #b91c1c; font-size: 0.9rem; font-weight: 600; text-align: center; margin-top: 8px; }
.form-error.hidden { display: none; }

/* Submit feedback (fast submit → obvious state change) */
.demo-submit-btn { position: relative; overflow: hidden; }
.demo-submit-btn:disabled { opacity: 1; cursor: default; }
.demo-submit-btn [hidden] { display: none !important; }
.demo-submit-btn .submit-label,
.demo-submit-btn .submit-sending,
.demo-submit-btn .submit-sent { display: none; align-items: center; gap: 10px; }
.demo-submit-btn .submit-label { display: inline-flex; }
.demo-submit-btn.is-sending .submit-label { display: none; }
.demo-submit-btn.is-sending .submit-sending { display: inline-flex; }
.demo-submit-btn.is-sent .submit-label { display: none; }
.demo-submit-btn.is-sent .submit-sent { display: inline-flex; }

.demo-submit-btn.is-sending {
  background: linear-gradient(135deg, var(--color-electric), #0d1bb8);
}
.demo-submit-btn.is-sent {
  background: linear-gradient(135deg, #059669, #34d399);
  border-color: rgba(16, 185, 129, 0.35);
}
.demo-submit-btn.is-sent .btn-check {
  background: rgba(255,255,255,0.26);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: rgba(255,255,255,0.95);
  animation: btnspin 0.8s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

.btn-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: inline-block;
  position: relative;
  transform: scale(0.8);
  animation: btnpop 420ms ease-out both;
}
.btn-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@keyframes btnpop {
  0% { transform: scale(0.75); opacity: 0.4; }
  70% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Confetti burst */
.demo-submit-btn::before,
.demo-submit-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}
.demo-submit-btn.is-sent.confetti::before {
  opacity: 1;
  animation: confetti-left 900ms ease-out both;
  box-shadow:
    -18px -10px 0 #66bdff,
    -26px 2px 0 #02e3d3,
    -10px 14px 0 #ffffff,
    -34px 18px 0 #2740fc,
    -6px -22px 0 #02e3d3,
    -30px -18px 0 #66bdff;
}
.demo-submit-btn.is-sent.confetti::after {
  opacity: 1;
  animation: confetti-right 900ms ease-out both;
  box-shadow:
    18px -12px 0 #ffffff,
    28px 0 0 #66bdff,
    12px 16px 0 #02e3d3,
    36px 18px 0 #2740fc,
    8px -24px 0 #66bdff,
    30px -18px 0 #02e3d3;
}
@keyframes confetti-left {
  0% { transform: translate(-50%, -50%) scale(0.8); filter: blur(0px); }
  30% { transform: translate(-62%, -86%) scale(1); }
  100% { transform: translate(-78%, 20%) scale(0.9); opacity: 0; }
}
@keyframes confetti-right {
  0% { transform: translate(-50%, -50%) scale(0.8); filter: blur(0px); }
  30% { transform: translate(-38%, -90%) scale(1); }
  100% { transform: translate(-22%, 24%) scale(0.9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: none !important; }
  .btn-check { animation: none !important; }
  .demo-submit-btn::before,
  .demo-submit-btn::after { display: none !important; }
}
@media (max-width: 768px) {
  .demo-form-inner { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Trust Bar ─────────────────────────────── */
.trust-bar-section { padding: 40px 0; background: var(--color-white); border-top: 1px solid var(--color-gray-100); border-bottom: 1px solid var(--color-gray-100); }
.trust-bar { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 40px; }
.trust-stat { font-size: 2.25rem; font-weight: 800; color: var(--color-navy); letter-spacing: -0.03em; line-height: 1; }
.trust-label { font-size: 0.8125rem; color: var(--color-gray-500); margin-top: 4px; max-width: 160px; }
.trust-divider { width: 1px; height: 48px; background: var(--color-gray-200); flex-shrink: 0; }
@media (max-width: 600px) {
  .trust-divider { display: none; }
  .trust-item { padding: 12px 20px; }
}

/* ─── FAQ Section ─────────────────────────────── */
.faq-section { padding: 80px 0; background: var(--color-gray-50); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.faq-item { padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--color-gray-200); box-shadow: var(--shadow-card); background: var(--color-white); }
.faq-q { font-size: 1.0625rem; font-weight: 700; color: var(--color-navy); margin: 0 0 12px; line-height: 1.3; }
.faq-a { font-size: 0.9375rem; color: var(--color-gray-500); margin: 0; line-height: 1.65; }
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.sticky-cta:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-btn {
  box-shadow: 0 8px 32px rgba(39, 64, 252, 0.35);
  font-size: 0.9375rem;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 600px) {
  .sticky-cta { bottom: 16px; right: 16px; }
}
