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

:root {
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Color Palette — Clean White Theme */
  --bg-page: #ffffff;
  --bg-card: #f8fafc;
  --bg-card-hover: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-light: #e2e8f0;
  --border-card: #e5e7eb;
  
  --primary-accent: #0f172a;
  --primary-hover: #1e293b;
  --brand-blue: #1d4ed8;
  --brand-cyan: #0284c7;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-blur: 16px;
  --glass-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.05);

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px -4px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 14px 35px -6px rgba(0, 0, 0, 0.09);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   Accessibility: Skip Link & Keyboard Focus States
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Clear Focus Rings for Keyboard Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   Header & Fixed Glassmorphic Navigation Bar (80% Width Rule)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 1rem;
}

.navbar {
  position: relative;
  width: 80%;
  max-width: 1200px;
  min-height: 64px;
  padding: 0.5rem 1.5rem;

  /* Fluid Flexbox Layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.5rem);

  /* Glassmorphism Design */
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 9999px;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.1);
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.brand-text-accent {
  color: var(--brand-blue);
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 1.15rem);
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: clamp(0.825rem, 0.88vw, 0.925rem);
  font-weight: 500;
  padding: 0.4rem clamp(0.5rem, 0.75vw, 0.85rem);
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.nav-link-cta {
  background-color: var(--primary-accent);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nav-link-cta:hover {
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.nav-link-cta.active {
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
  z-index: 1001;
  border-radius: 8px;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   Main Content Wrapper (80% Width Rule)
   ========================================================================== */
.main-wrapper {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding-bottom: 6rem;
}

/* ==========================================================================
   1. Hero Section (90% Width of Wrapper, Two-Part Grid Layout)
   ========================================================================== */
.hero-section {
  width: 90%;
  margin: 0 auto;
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 30px 0 20px 0;
  min-height: 75vh;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 9999px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-subheading {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: #ffffff;
  border: 1px solid var(--primary-accent);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background-color: #ffffff;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   2. Metrics & Trust Strip
   ========================================================================== */
.metrics-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Shared Section Header Styles
   ========================================================================== */
.section-container {
  width: 100%;
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background-color: #eff6ff;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

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

/* ==========================================================================
   3. Interactive Solutions Studio (Master-Detail Layout)
   ========================================================================== */
.solutions-studio {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 2.25rem;
  align-items: start;
}

/* Left Navigator */
.studio-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--bg-card);
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.studio-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-primary);
}

.studio-tab:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.studio-tab .tab-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.studio-tab .tab-speed {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.studio-tab:hover {
  background-color: #ffffff;
  border-color: #e2e8f0;
}

.studio-tab:hover .tab-title {
  color: var(--text-primary);
}

.studio-tab.active {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.studio-tab.active .tab-title {
  color: var(--text-primary);
  font-weight: 700;
}

.studio-tab.active .tab-speed {
  background-color: #eff6ff;
  color: var(--brand-blue);
  border: 1px solid #dbeafe;
}

/* Right Detail Display Panel */
.studio-display {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 480px;
}

.studio-panel {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: panelFade 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.studio-panel.active {
  display: flex;
}

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

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.panel-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 0.35rem;
  text-wrap: balance;
}

.panel-speed-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  background-color: #f1f5f9;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.panel-overview {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.panel-modules {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modules-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.modules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modules-list li {
  font-size: 0.925rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.modules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.panel-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.metric-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.panel-actions {
  margin-top: 0.5rem;
}

.studio-cta {
  align-self: flex-start;
}

/* ==========================================================================
   3.5 Executive Case Studies Dossier & Workbook Vault
   ========================================================================== */
.dossier-workspace {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 2.25rem;
  align-items: start;
}

/* Left Navigator (Case Study Tabs) */
.dossier-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--bg-card);
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.dossier-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-primary);
}

.dossier-tab:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.dossier-tab-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.dossier-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
}

.dossier-tab-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.dossier-speed {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 0.15rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dossier-tab:hover {
  background-color: #ffffff;
  border-color: #e2e8f0;
}

.dossier-tab:hover .dossier-tab-title {
  color: var(--text-primary);
}

.dossier-tab.active {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dossier-tab.active .dossier-tab-title {
  color: var(--text-primary);
  font-weight: 700;
}

.dossier-tab.active .dossier-speed {
  background-color: #eff6ff;
  color: var(--brand-blue);
  border: 1px solid #dbeafe;
}

/* Right Detail Canvas */
.dossier-canvas {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 480px;
}

.dossier-panel {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: panelFade 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dossier-panel.active {
  display: flex;
}

.dossier-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.dossier-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
}

.dossier-headline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 0.35rem;
  text-wrap: balance;
}

.dossier-delivery {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  background-color: #f1f5f9;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.dossier-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dossier-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.dossier-paragraph {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.dossier-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dossier-points li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.dossier-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.dossier-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.outcome-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.outcome-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.outcome-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.dossier-download-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.dossier-file-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.file-name {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.file-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dossier-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #0f172a;
  text-align: center;
}

.btn-download:hover {
  background-color: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-download:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.dossier-inquire {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dossier-inquire:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* ==========================================================================
   Workbook Vault (Archive Grid)
   ========================================================================== */
.template-vault {
  margin-top: 3.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.vault-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vault-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-wrap: balance;
}

.vault-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.vault-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vault-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.vault-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vault-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}

.vault-format {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}

.vault-card-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.vault-card-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
  flex: 1;
}

.vault-download-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}

.vault-download-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* ==========================================================================
   4. Work Process (3 Steps)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  text-wrap: balance;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   5. Comparison Section (Why Excel vs. Old Way)
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-card {
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.comparison-card.old-way {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
}

.comparison-card.datakraft-way {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  box-shadow: var(--shadow-md);
}

.comp-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
}

.old-badge {
  background-color: #fee2e2;
  color: #b91c1c;
}

.new-badge {
  background-color: #dcfce7;
  color: #15803d;
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  text-wrap: balance;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.list-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.bullet-negative {
  background-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.bullet-positive {
  background-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* ==========================================================================
   6. Contact & Quote Section
   ========================================================================== */
.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  text-wrap: balance;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.highlight-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  flex-shrink: 0;
}

.contact-form-wrapper {
  background-color: #ffffff;
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
  outline: none;
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  animation: fieldShake 0.35s ease-in-out;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.form-submit-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.form-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
  padding-top: 0.25rem;
  line-height: 1.45;
}

.form-status.success {
  display: block;
  color: #15803d;
}

.form-status.error {
  display: block;
  color: #b91c1c;
}

/* ==========================================================================
   Footer (80% Width Content Rule)
   ========================================================================== */
.footer-wrapper {
  width: 100%;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-card);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100% - 32px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 14px 40px -6px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.toast-exit {
  animation: toastSlideOut 0.25s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

.toast-icon-wrapper {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.toast-message {
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.45;
  word-break: break-word;
}

.toast-close-btn {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.toast-close-btn:hover {
  color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0.06);
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation: toastProgress linear forwards;
}

/* Toast Color Variants */
.toast-success {
  border-left: 4px solid #10b981;
}
.toast-success .toast-progress-bar {
  background-color: #10b981;
}
.toast-success .toast-icon-svg {
  color: #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-error .toast-progress-bar {
  background-color: #ef4444;
}
.toast-error .toast-icon-svg {
  color: #ef4444;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}
.toast-warning .toast-progress-bar {
  background-color: #f59e0b;
}
.toast-warning .toast-icon-svg {
  color: #f59e0b;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}
.toast-info .toast-progress-bar {
  background-color: #3b82f6;
}
.toast-info .toast-icon-svg {
  color: #3b82f6;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .navbar {
    width: 90%;
    padding: 0.5rem 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu-wrapper {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1002;
  }

  .nav-menu-wrapper.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .nav-link-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero-section {
    width: 100%;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .solutions-studio {
    grid-template-columns: 1fr;
  }

  .studio-display {
    min-height: auto;
  }

  .dossier-workspace {
    grid-template-columns: 1fr;
  }

  .dossier-canvas {
    min-height: auto;
  }

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

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

  .contact-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

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

@media (max-width: 768px) {
  .navbar {
    width: 92%;
    padding: 0.45rem 1rem;
  }

  .logo-img {
    height: 32px;
  }

  .brand-text {
    font-size: 1.025rem;
  }

  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: 100%;
  }

  .main-wrapper {
    width: 90%;
    padding-top: 100px;
    gap: 4.5rem;
  }

  .dossier-canvas {
    padding: 1.75rem 1.5rem;
  }

  .dossier-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .dossier-outcomes {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .dossier-download-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dossier-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .dossier-inquire {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

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

  .template-vault {
    padding: 1.75rem 1.25rem;
  }

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

  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1rem 1.5rem;
  }

  .metric-card {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .metric-card:last-child {
    border-bottom: none;
  }

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

  .studio-display {
    padding: 1.75rem 1.5rem;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.45rem 0.85rem;
  }

  .logo-brand {
    gap: 0.45rem;
  }

  .logo-img {
    height: 28px;
  }

  .brand-text {
    font-size: 0.925rem;
  }

  .footer-brand-name {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .contact-box {
    padding: 1.75rem 1.25rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
