/* ==========================================================================
   DPL Accountants - Enterprise Finance Automation Design System
   ========================================================================== */

:root {
  /* Primary & Accent Color Palette */
  --navy-950: #050a18;
  --navy-900: #0b1329;
  --navy-850: #0f1c3d;
  --navy-800: #152754;
  --navy-700: #1e3774;

  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  
  --blue-600: #0284c7;
  --blue-500: #0ea5e9;
  --blue-400: #38bdf8;
  --blue-100: #e0f2fe;
  --blue-50: #f0f9ff;
  
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Geometry */
  --max-width: 1200px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 19, 41, 0.08), 0 2px 4px -2px rgba(11, 19, 41, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(11, 19, 41, 0.08), 0 4px 6px -4px rgba(11, 19, 41, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(11, 19, 41, 0.12), 0 8px 10px -6px rgba(11, 19, 41, 0.05);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.25);
  --shadow-glow-emerald: 0 0 35px rgba(16, 185, 129, 0.25);

  /* Animation Timings */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  vertical-align: middle;
  display: inline-block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--blue-500);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Ambient Radial Background Glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.glow-orb-1 {
  top: 0;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(16, 185, 129, 0.05) 70%, transparent 100%);
}

.glow-orb-2 {
  top: 1400px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
}

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.825rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: var(--blue-400);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.announcement-link {
  color: var(--cyan-400);
  font-weight: 700;
  margin-left: 6px;
}

.announcement-link:hover {
  text-decoration: underline;
  color: var(--white);
}

/* ==========================================================================
   2. Site Header & Brand Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 11px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.symbol-core {
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--slate-600);
  font-size: 0.925rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--blue-600);
}

/* Button UI Library */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.925rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-glow:hover {
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900) !important;
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy-900);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   3. Hero Section & Cockpit Visual
   ========================================================================== */
.hero-section {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-pill-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy-950);
  margin-bottom: 18px;
}

.text-gradient {
  display: block;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--emerald-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-600);
}

.badge-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Cockpit Interactive Visual */
.cockpit-container {
  position: relative;
  width: 100%;
}

.cockpit-floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: float-pill 4s ease-in-out infinite;
}

.pill-top {
  top: -18px;
  right: -12px;
}

.pill-bottom {
  bottom: -18px;
  left: -12px;
  animation-delay: 2s;
}

@keyframes float-pill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-dot.emerald { background: var(--emerald-500); }
.pill-dot.blue { background: var(--blue-500); }

.cockpit-window,
.cockpit-card {
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cockpit-window-bar {
  background: var(--navy-950);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.w-dot.red { background: #ef4444; }
.w-dot.yellow { background: #f59e0b; }
.w-dot.green { background: #10b981; }

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-300);
}

.pulse-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 6px var(--emerald-400);
}

.window-mode {
  font-size: 0.7rem;
  color: var(--emerald-400);
  font-weight: 700;
}

.cockpit-body {
  padding: 22px;
}

.cockpit-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.cockpit-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--slate-400);
  font-weight: 600;
  margin-bottom: 4px;
}

.kpi-value-group {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.kpi-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.kpi-tag.positive {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
}

.kpi-meter {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.kpi-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--emerald-400));
  border-radius: var(--radius-full);
}

.terminal-log-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--slate-400);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.cockpit-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
}

.feed-status-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.feed-status-icon.success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
}

.feed-status-icon.sync {
  background: rgba(2, 132, 199, 0.2);
  color: var(--blue-400);
}

.feed-content {
  flex-grow: 1;
}

.feed-headline {
  color: var(--slate-200);
  line-height: 1.35;
}

.feed-subline {
  color: var(--slate-400);
  font-size: 0.7rem;
  margin-top: 2px;
}

.feed-timestamp {
  font-size: 0.68rem;
  color: var(--slate-500);
  white-space: nowrap;
}

.cockpit-seal-bar {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seal-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--emerald-400);
  font-weight: 600;
}

/* ==========================================================================
   4. Performance Metrics Strip
   ========================================================================== */
.metrics-strip {
  background: var(--navy-950);
  color: var(--white);
  padding: 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.metric-block {
  border-left: 2px solid var(--blue-500);
  padding-left: 18px;
}

.metric-number {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 4px;
}

.metric-detail {
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.4;
}

/* Global Section Header Standards */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--blue-100);
}

.section-tag-pill.light {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--cyan-400);
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 1.025rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   5. Capabilities Grid (The 6 Pillars)
   ========================================================================== */
.capabilities-section {
  padding: 88px 0;
  background: var(--white);
}

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

.capability-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-400);
  background: var(--white);
}

.capability-card.featured-border {
  border-color: var(--emerald-400);
  background: linear-gradient(180deg, #f0fdf4 0%, var(--slate-50) 100%);
}

.card-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--blue-200);
}

.card-icon-bubble.highlight {
  background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
  color: var(--emerald-600);
  border-color: var(--emerald-200);
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.card-badge.highlight {
  color: var(--emerald-600);
}

.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 20px;
  line-height: 1.55;
  flex-grow: 1;
}

.card-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
  margin-top: auto;
}

.card-checklist li {
  font-size: 0.825rem;
  color: var(--slate-700);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.4;
}

.card-checklist li span {
  color: var(--blue-600);
  font-weight: 800;
}

/* ==========================================================================
   6. Interactive ROI & Savings Calculator
   ========================================================================== */
.calculator-section {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--blue-50) 100%);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.calculator-shell,
.calculator-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.calculator-inputs-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label-row label {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy-950);
}

.calc-bubble {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
  white-space: nowrap;
}

.slider-wrapper {
  padding: 4px 0;
}

.custom-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--slate-200);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

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

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--slate-400);
  font-weight: 600;
  margin-top: 4px;
}

.calculator-results-pane {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.results-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-icon {
  font-size: 1.5rem;
}

.results-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.results-subtitle {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.results-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.result-tile {
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.primary-tile {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(16, 185, 129, 0.15));
  border: 1px solid var(--blue-400);
}

.secondary-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.results-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tile-caption {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 600;
  margin-bottom: 4px;
}

.tile-big-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-400);
  line-height: 1.1;
  margin-bottom: 4px;
}

.tile-medium-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.tile-footnote {
  font-size: 0.7rem;
  color: var(--slate-400);
}

/* ==========================================================================
   7. Comparison Table
   ========================================================================== */
.comparison-section {
  padding: 88px 0;
  background: var(--white);
}

.comparison-card {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.comparison-grid-table {
  width: 100%;
  min-width: 760px;
  display: flex;
  flex-direction: column;
}

.table-row {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  border-bottom: 1px solid var(--slate-200);
  align-items: stretch;
}

.table-row:last-child {
  border-bottom: none;
}

.table-head {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.925rem;
}

.cell {
  padding: 18px 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-cell {
  font-weight: 700;
  color: var(--navy-950);
  background: var(--slate-50);
  border-right: 1px solid var(--slate-200);
}

.table-head .feature-cell {
  background: var(--navy-950);
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-cell {
  color: var(--slate-600);
  background: #fffcfc;
  border-right: 1px solid var(--slate-200);
}

.table-head .legacy-cell {
  background: #1a2238;
  color: var(--slate-300);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dpl-cell {
  color: var(--navy-900);
  background: #f0fdf4;
}

.table-head .dpl-cell {
  background: #0d2838;
  color: var(--emerald-400);
}

.status-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.status-marker.red {
  background: #fee2e2;
  color: #ef4444;
}

.status-marker.green {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

/* ==========================================================================
   8. Integrations & Stack Ecosystem
   ========================================================================== */
.integrations-section {
  padding: 88px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.eco-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.eco-logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 8px;
  padding-right: 48px;
}

.eco-card p {
  font-size: 0.825rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   9. Security Section
   ========================================================================== */
.security-section {
  padding: 88px 0;
  background: var(--navy-950);
  color: var(--white);
}

.security-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.security-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.security-desc {
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 28px;
}

.security-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sec-icon {
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.sec-text p {
  font-size: 0.825rem;
  color: var(--slate-400);
}

.guarantee-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.guarantee-shield {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.guarantee-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.guarantee-card p {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 20px;
}

.guarantee-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-400);
}

/* ==========================================================================
   10. FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 88px 0;
  background: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item[open] {
  background: var(--white);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-600);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   11. Free Workflow Audit Form Section
   ========================================================================== */
.audit-section {
  padding: 88px 0;
  background: var(--slate-100);
}

.audit-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  align-items: flex-start;
}

.audit-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.2;
  margin-bottom: 12px;
}

.audit-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.audit-deliverables {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.deliv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.deliv-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.deliv-text {
  display: flex;
  flex-direction: column;
}

.deliv-text strong {
  font-size: 0.9rem;
  color: var(--slate-900);
}

.deliv-text span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.direct-contact-box {
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  font-size: 0.825rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.audit-form-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-header {
  margin-bottom: 18px;
}

.form-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.825rem;
  color: var(--slate-500);
}

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

.input-control {
  margin-bottom: 16px;
}

.input-control label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.input-control .required {
  color: #ef4444;
}

.input-control input,
.input-control select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  transition: all var(--transition-fast);
}

.input-control input:focus,
.input-control select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-control input.input-error {
  border-color: #ef4444;
  background-color: #fff8f8;
}

.error-msg {
  display: block;
  font-size: 0.72rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 15px;
}

.form-status-alert {
  margin-top: 14px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.form-status-alert.success-state {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-500);
  color: var(--emerald-600);
  padding: 14px;
  font-weight: 600;
}

.form-status-alert.error-state {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #b91c1c;
  padding: 14px;
  font-weight: 600;
}

/* ==========================================================================
   12. Site Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.text-white { color: var(--white) !important; }
.text-cyan { color: var(--cyan-400) !important; }

.footer-about {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 340px;
}

.footer-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-300);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-col h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col a {
  color: var(--slate-400);
  font-size: 0.825rem;
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--cyan-400);
}

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

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .calculator-shell,
  .security-box,
  .audit-wrapper,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .pill-top, .pill-bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    gap: 16px;
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .capabilities-grid,
  .ecosystem-grid,
  .metrics-grid,
  .form-grid-2,
  .results-row-2,
  .footer-links-group {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .calculator-shell,
  .audit-wrapper {
    padding: 24px 20px;
  }
}
