/* ==========================================
   ONSITES - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================== */

:root {
  /* Colors */
  --primary-blue: #0066FF;
  --primary-blue-hover: #0052CC;
  --primary-blue-light: #EBF3FF;
  --primary-blue-glow: rgba(0, 102, 255, 0.15);
  
  --dark-navy: #0B132B;
  --dark-surface: #0F172A;
  --dark-card: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.12);
  
  --ink-heading: #0F172A;
  --ink-body: #475569;
  --ink-muted: #64748B;
  
  --bg-light: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-blue-tint: #F0F6FF;
  
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  
  --success: #10B981;
  --success-bg: #DCFCE7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --purple: #8B5CF6;
  --purple-bg: #F3E8FF;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 60px rgba(0, 102, 255, 0.12);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.35);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: var(--primary-blue-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.eyebrow-dark {
  color: #60A5FA;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.text-highlight,
.accent {
  color: var(--primary-blue);
}

/* Section Spacing */
.section, section[id] {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: 90px;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-blue-tint {
  background: linear-gradient(180deg, var(--bg-blue-tint) 0%, var(--bg-light) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  min-height: 48px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.28);
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.38);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--ink-heading);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.nav-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-body);
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-heading);
}

.login-link:hover {
  color: var(--primary-blue);
}

.btn-nav-demo {
  padding: 10px 20px;
  min-height: 42px;
  font-size: 14px;
}

/* Mobile Hamburger & Drawer */
.burger-btn {
  display: none;
  font-size: 24px;
  color: var(--ink-heading);
  padding: 8px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #FFFFFF;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  font-size: 24px;
  color: var(--ink-muted);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.drawer-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-heading);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding: 64px 0 96px 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 52px auto;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink-heading);
}

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

.hero-desc {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
}

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

/* Hero Showcase Frame */
.hero-showcase {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.hero-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 102, 255, 0.18), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hero-dashboard-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* ==========================================
   CLIENTS TRUST STRIP
   ========================================== */
.clients-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}

.clients-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logo-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

.client-logo-item img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* ==========================================
   PROBLEM / CHALLENGE SECTION
   ========================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
}

.problem-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.problem-icon-wrapper.blue { background: var(--primary-blue-light); color: var(--primary-blue); }
.problem-icon-wrapper.purple { background: var(--purple-bg); color: var(--purple); }
.problem-icon-wrapper.green { background: var(--success-bg); color: var(--success); }
.problem-icon-wrapper.orange { background: #FFEDD5; color: #F97316; }

.problem-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.problem-card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Streamlined Solution Flow Banner */
.solution-flow-banner {
  background: linear-gradient(135deg, #0B132B 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #FFFFFF;
  box-shadow: var(--shadow-xl);
}

.flow-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.flow-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(10px);
}

.flow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.3);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.flow-step-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.flow-step-text p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.4;
}

.flow-arrow {
  color: #60A5FA;
  font-size: 20px;
  opacity: 0.7;
}

/* ==========================================
   THE SOLUTION SECTION (#platform)
   ========================================== */
.solution-flow-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: -24px auto 44px auto;
  flex-wrap: wrap;
}

.flow-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-body);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.flow-pill.active {
  color: var(--primary-blue);
  background: var(--primary-blue-light);
  border-color: rgba(0, 102, 255, 0.25);
}

.flow-pill-arrow {
  color: var(--primary-blue);
  font-size: 14px;
  opacity: 0.6;
}

/* 3 Pillars Grid - Distinct & Spacious */
.solution-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.solution-pillar-item {
  background: #FFFFFF;
  border-top: 3px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-pillar-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.solution-pillar-item h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 10px;
  line-height: 1.25;
}

.solution-pillar-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Visual Section Wrapper & Supporting Label */
.solution-visual-wrapper {
  position: relative;
}

.solution-visual-badge {
  position: absolute;
  top: -18px;
  right: 28px;
  z-index: 10;
  background: var(--dark-navy);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.solution-visual-badge .badge-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.solution-visual-badge .badge-sub {
  font-size: 13px;
  font-weight: 600;
  color: #60A5FA;
}

.platform-graphic-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
}

.platform-graphic-card img {
  border-radius: var(--radius-lg);
  width: 100%;
}

/* ==========================================
   DUAL WORKFLOW SECTIONS (REPS & MANAGERS)
   ========================================== */
.dual-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dual-feature-row.reverse {
  direction: ltr;
}

.feature-text h3 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-text p.lead {
  font-size: 17px;
  color: var(--ink-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink-heading);
  font-weight: 600;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.feature-visual-frame img {
  border-radius: var(--radius-lg);
  width: 100%;
}

/* ==========================================
   WORKFLOW STEPPER RIBBON & COMPARISON (DARK)
   ========================================== */
.dark-workflow-section {
  background: linear-gradient(135deg, #071325 0%, #003B99 100%);
  color: #FFFFFF;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.dark-workflow-section .section-header h2 {
  color: #FFFFFF;
}

.dark-workflow-section .section-header p {
  color: #94A3B8;
}

.stepper-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.step-pill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.step-pill-card.highlight {
  background: rgba(0, 102, 255, 0.3);
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 6px;
}

.step-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.step-sub {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

/* Dual Comparison Columns inside Dark Section */
.comparison-dual-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.comp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.comp-col-header {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #E2E8F0;
}

.comp-list .check {
  color: #34D399;
  font-weight: 800;
}

/* ==========================================
   BEFORE VS WITH ONSITES COMPARISON TABLE
   ========================================== */
.table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 24px 32px;
  background: #F8FAFC;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th.before-head {
  color: #DC2626;
  width: 50%;
}

.compare-table th.onsites-head {
  color: var(--primary-blue);
  background: var(--primary-blue-light);
  width: 50%;
}

.compare-table td {
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.cell-before {
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cell-before .badge-cross {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--danger-bg);
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.cell-onsites {
  color: var(--ink-heading);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cell-onsites .badge-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================
   BOOK A DEMO SECTION & FORM
   ========================================== */
.demo-section {
  background: linear-gradient(135deg, #071325 0%, #003B99 100%);
  color: #FFFFFF;
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.demo-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.demo-ambient-glow.glow-1 {
  top: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: rgba(0, 102, 255, 0.25);
}

.demo-ambient-glow.glow-2 {
  bottom: -100px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: rgba(16, 185, 129, 0.15);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}

.demo-info h2 {
  color: #FFFFFF;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.demo-info p.lead {
  font-size: 17.5px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.demo-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.2);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.benefit-text p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.5;
}

.demo-product-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
}

.demo-preview-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  opacity: 0.9;
}

/* Demo Form Box */
.demo-form-box {
  background: #FFFFFF;
  color: var(--ink-heading);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.demo-form-box h3 {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.demo-form-box p.sub {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.form-reassurance-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 14px;
}

.form-reassurance-note span {
  color: var(--ink-body);
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-full {
  grid-column: span 2;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-group input,
.field-group select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink-heading);
  background: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  outline: none;
}

.field-group input:focus,
.field-group select:focus {
  background: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px var(--primary-blue-glow);
}

.field-group input.field-error,
.field-group select.field-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
  background-color: #FEF2F2 !important;
}

.field-error-msg {
  font-size: 11.5px;
  color: #EF4444;
  font-weight: 600;
  margin-top: 2px;
  display: none;
}

.field-group.has-error .field-error-msg {
  display: block;
}

.btn-submit-form {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.32);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.btn-submit-form:hover {
  background: linear-gradient(135deg, #0052CC 0%, #0040A8 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.42);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success-message.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

/* ==========================================
   MODAL POPUP
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-dark);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--ink-heading);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #071325;
  color: #94A3B8;
  padding: 72px 0 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 15px;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 300px;
  margin-bottom: 0;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-col a {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

/* Contact Column Styles */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-item:hover {
  color: #FFFFFF;
}

a.contact-item:hover svg {
  color: #60A5FA;
}

.contact-item svg {
  color: #60A5FA;
  flex-shrink: 0;
}

.contact-item.address-item {
  line-height: 1.6;
  font-size: 14px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #64748B;
}

.copyright {
  color: #64748B;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #94A3B8;
}

.legal-sep {
  color: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   ANIMATIONS & REVEAL ON SCROLL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .solution-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .platform-pillars {
    grid-template-columns: 1fr;
  }
  
  .dual-feature-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .dual-feature-row .feature-text {
    order: 1;
  }

  .dual-feature-row .feature-visual-frame {
    order: 2;
  }
  
  .stepper-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .demo-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .nav-menu, .nav-actions {
    display: none;
  }
  
  .burger-btn {
    display: block;
  }
  
  .section, section[id] {
    padding: 48px 0;
  }
  
  .hero-section {
    padding: 32px 0 48px 0;
  }

  .hero-frame {
    padding: 8px;
  }
  
  .solution-flow-banner {
    padding: 24px 14px;
    border-radius: var(--radius-lg);
  }

  .flow-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .flow-step-card {
    padding: 14px 12px;
    gap: 12px;
  }
  
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .flow-arrow {
    display: none;
  }

  .problem-card {
    padding: 22px 16px;
  }

  .platform-graphic-card {
    padding: 10px;
  }

  .pillar-card {
    padding: 18px 14px;
    gap: 12px;
  }

  .feature-visual-frame {
    padding: 10px;
  }
  
  .stepper-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comp-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .comparison-dual-card {
    padding: 24px 14px;
  }

  .compare-table th {
    padding: 16px 12px;
    font-size: 14.5px;
  }

  .compare-table td {
    padding: 12px 10px;
    font-size: 13.5px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full {
    grid-column: span 1;
  }
  
  .demo-form-box {
    padding: 24px 14px;
  }

  .quote-card {
    padding: 18px 14px;
  }
  
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-box {
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    padding: 28px 20px 24px;
    margin: 0;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  }

  .modal-box::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #CBD5E1;
    margin: -10px auto 16px auto;
  }

  .modal-overlay.active .modal-box {
    transform: translateY(0);
  }

  .modal-close-btn {
    top: 16px;
    right: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .solution-flow-banner {
    padding: 20px 10px;
  }

  .flow-step-card {
    padding: 12px 10px;
    gap: 10px;
  }

  .problem-card {
    padding: 18px 12px;
  }
  
  .stepper-grid {
    grid-template-columns: 1fr;
  }

  .demo-form-box {
    padding: 20px 12px;
  }

  .modal-box {
    padding: 24px 16px 20px;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    max-height: 92dvh;
  }

  .modal-box h3 {
    font-size: 20px !important;
  }

  .modal-box p {
    font-size: 13.5px !important;
    margin-bottom: 18px !important;
  }
}