/* ==========================================================================
   SutraFlow Systems - Enterprise Light Theme Design System
   Refined, Modern, Balanced & Cohesive UI (Linear / Stripe inspired)
   ========================================================================== */

:root {
  /* Surfaces & Canvas */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.9);

  /* Typography Colors */
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  /* Sophisticated Brand Palette (Refined Royal Blue & Slate) */
  --brand-primary: #2563EB;
  --brand-primary-hover: #1D4ED8;
  --brand-primary-light: #EFF6FF;
  --brand-navy: #0F172A;
  --brand-navy-hover: #1E293B;

  /* Semantic Accents (Used Sparingly) */
  --accent-emerald: #059669;
  --accent-emerald-bg: #ECFDF5;
  --accent-emerald-border: #A7F3D0;
  
  --accent-blue: #0284C7;
  --accent-blue-bg: #F0F9FF;
  --accent-blue-border: #BAE6FD;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-focus: #2563EB;

  /* Elegant Natural Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 24px -6px rgba(15, 23, 42, 0.07), 0 4px 8px -3px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 24px 36px -8px rgba(15, 23, 42, 0.08), 0 6px 12px -4px rgba(15, 23, 42, 0.03);

  /* Layout & Geometry */
  --max-w-screen: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle clean ambient background */
.bg-ambient-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, rgba(248, 250, 252, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w-screen);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

code, pre {
  font-family: 'JetBrains Mono', monospace;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--brand-primary-light);
  border: 1px solid #DBEAFE;
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Modern Professional Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-brand {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.btn-brand:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-outline {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   1. NAVIGATION BAR (Clean Light Glassmorphic)
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-xs);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-name span {
  color: var(--brand-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.45rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 99;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--brand-primary-light);
  border: 1px solid #DBEAFE;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-primary);
}

.hero-badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.hero-title {
  font-size: 3rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  color: #0F172A;
}

.hero-title-highlight {
  color: var(--brand-primary);
}

.hero-subheadline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-guarantee svg {
  color: var(--accent-emerald);
}

/* Hero Right Visual Card (Crisp & Clean) */
.hero-visual-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
}

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

.mac-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}

.header-status-pill {
  font-size: 0.725rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.header-status-pill .live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.pipeline-view {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pipeline-node {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.pipeline-node:hover {
  background: #FFFFFF;
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.pipeline-node-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.node-label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-main);
}

.node-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.node-tag {
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

.pipeline-connector-line {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -0.35rem 0;
  color: var(--text-muted);
  font-size: 0.725rem;
  gap: 0.35rem;
}

.terminal-log-output {
  margin-top: 0.4rem;
  background: #0F172A;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.725rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.terminal-log-output span.cyan { color: #38BDF8; }
.terminal-log-output span.green { color: #34D399; }
.terminal-log-output span.amber { color: #FBBF24; }

/* Metrics Bar (Clean, Unified Slate / Neutral) */
.metrics-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 2px solid var(--border-medium);
  transition: border-color var(--transition-fast);
}

.metric-item:hover {
  border-left-color: var(--brand-primary);
}

.metric-value {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   3. CORE CAPABILITIES (3 Clean Cards)
   ========================================================================== */
.capabilities-section {
  padding: 5rem 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.capability-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.cap-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cap-title {
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.cap-description {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cap-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.cap-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cap-feature-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.cap-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-chip {
  font-size: 0.725rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   4. INDUSTRY SPOTLIGHTS
   ========================================================================== */
.industries-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.industry-matrix-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.vertical-selector-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vertical-tab-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  color: var(--text-secondary);
}

.vertical-tab-item:hover {
  border-color: var(--border-medium);
  color: var(--text-main);
}

.vertical-tab-item.active {
  background: var(--brand-primary-light);
  border-color: #BFDBFE;
  color: var(--brand-primary);
  font-weight: 650;
}

.vertical-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.vertical-tab-item.active .vertical-tab-icon {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.vertical-tab-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.vertical-detail-view {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.industry-headline {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.industry-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.industry-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
}

.stat-box-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.stat-box-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.industry-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.workflow-step-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.workflow-step-pill span.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.725rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   5. SECURITY & ARCHITECTURE
   ========================================================================== */
.security-section {
  padding: 5rem 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.security-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.security-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.sec-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 0.85rem;
}

.sec-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sec-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.sec-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sec-meta-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

/* ==========================================================================
   6. DEPLOYMENT PROCESS
   ========================================================================== */
.process-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process-step-card {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.step-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-timeline-tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.step-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}

.step-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.step-deliverables {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.step-deliverables strong {
  color: var(--text-main);
  display: block;
  font-size: 0.725rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 5rem 0;
}

.calc-card-container {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-inputs-side {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.calc-slider-group label span.val-display {
  color: var(--brand-primary);
  font-weight: 700;
}

.custom-range-slider {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-side {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.calc-result-metric {
  display: flex;
  flex-direction: column;
}

.calc-result-metric .res-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.calc-result-metric .res-label {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.active {
  border-color: #BFDBFE;
  background: #FFFFFF;
}

.faq-question-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.975rem;
  font-weight: 650;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon-cross {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-cross {
  transform: rotate(45deg);
  color: var(--brand-primary);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.25rem;
}

.faq-answer-inner {
  padding-bottom: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.75rem;
}

/* ==========================================================================
   FINAL CTA BANNER (Deep Navy Enterprise Card)
   ========================================================================== */
.final-cta-section {
  padding: 4.5rem 0;
}

.final-cta-card {
  background: #0F172A;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #FFFFFF;
}

.final-cta-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.final-cta-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 560px;
  margin: 0 auto 1.75rem auto;
}

.btn-white {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
}

.btn-white:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

.btn-trans-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-trans-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.footer-wrapper {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 300px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--accent-emerald);
  width: fit-content;
}

.footer-status-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links-list a:hover {
  color: var(--brand-primary);
}

.footer-contact-eng {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  background: var(--brand-primary-light);
  border-radius: var(--radius-sm);
  border: 1px solid #DBEAFE;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.footer-contact-eng:hover {
  background: #DBEAFE;
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  border-radius: 50%;
}

.modal-close-btn:hover {
  background: #F1F5F9;
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.tech-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.tech-check-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.tech-check-item input[type="checkbox"] {
  accent-color: var(--brand-primary);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F172A;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-matrix-layout {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .calc-card-container {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-brand {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

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

  .industry-stats-row {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .tech-checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .calc-card-container {
    padding: 1.5rem;
  }

  .final-cta-card {
    padding: 2.5rem 1.5rem;
  }

  .final-cta-title {
    font-size: 1.85rem;
  }
}
