/* Williams IPS Calculator - Premium Design System */

:root {
  /* Brand Colors - Refined */
  --primary-blue: #002D56;
  /* Deeper Navy */
  --primary-blue-light: #004B8D;
  --primary-blue-dark: #001F3D;

  --primary-red: #C41230;
  /* Williams Red */
  --primary-red-hover: #A30F28;

  --accent-green: #7AB51D;
  --accent-green-hover: #689918;

  /* Neutrals */
  --text-dark: #1A1A1A;
  --text-medium: #4A4A4A;
  --text-light: #757575;
  --text-white: #FFFFFF;
  --text-white-dim: rgba(255, 255, 255, 0.7);

  --bg-body: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-alt: #F2F4F8;

  --border-light: #E2E8F0;
  --border-medium: #CBD5E0;

  /* System Colors for Charts */
  --chart-ips: #7AB51D;
  --chart-four-pipe: #00A0DF;
  --chart-vrf: #666666;
  --chart-ptac: #CCCCCC;
  --chart-dx: #999999;
  --chart-wshp: #4A7C59;

  /* Typography */
  --font-heading: 'Mulish', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 5rem;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-medium);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* =========================================
   Buttons & "Lickable" Styles
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0;
  /* Sharp corners for brutalism */
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Primary Button - Brutalist */
.btn-primary {
  background: var(--primary-red);
  color: var(--text-white);
  border: 2px solid var(--primary-red);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
  /* Hard shadow */
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

/* Border Beam / Shimmer Effect - refined for professional look */
.btn-beam {
  position: relative;
  overflow: hidden;
  /* Ensure shimmer stays inside */
}

.btn-beam::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  /* Fast pass */
  100% {
    left: 200%;
  }

  /* Wait */
}

.btn-beam:hover::after {
  animation: shimmer 1s infinite;
  /* Faster on hover */
}

.btn-beam span {
  position: relative;
  z-index: 2;
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 6px rgba(0, 45, 86, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #005bb7 0%, #003666 100%);
  box-shadow: 0 6px 12px rgba(0, 45, 86, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: rgba(0, 45, 86, 0.05);
  border-color: var(--primary-blue-light);
  color: var(--primary-blue-light);
}

/* =========================================
   Animations (Fade/Slide/Blur)
   ========================================= */
.animate-in {
  /* opacity: 0; Removed as per user request, handled by fill-mode: both */
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-fill-mode: both;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

/* Stagger different types of entries */
@keyframes fadeInUpBlur {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.fade-in-up {
  animation-name: fadeInUpBlur;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-fill-mode: both;
}

/* =========================================
   Marquee (Social Proof)
   ========================================= */
.section-logos {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.logos-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 4rem;
  padding: 0 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

/* Duplicate the scrolling content to ensure seamless loop */
.logos-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  height: 40px;
  width: auto;
  opacity: 0.4;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Note: The JS/HTML duplication must ensure track has 2x content so -50% is the halfway point */
}

/* =========================================
   Navigation
   ========================================= */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-md) 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg-header {
  height: 20px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition-base);
  position: relative;
  opacity: 0.8;
}

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

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  background-color: #001F3D;
  /* Deep Blueprint Navy */
  color: var(--text-white);
  padding: 3rem 0 1.5rem;
  /* Reduced height (Compact) */
  overflow: hidden;
  border-bottom: 4px solid #00A0DF;
  /* Blueprint Cyan Border */
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
  /* Visible but subtle */
}

/* Removed subtle background texture for flatter look */
.hero::before {
  display: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--text-white);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: var(--spacing-lg);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* All caps */
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-white-dim);
  max-width: 650px;
  margin-bottom: var(--spacing-2xl);
  font-weight: 400;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
  /* Glass card effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 var(--spacing-md);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-base);
  /* Smooth animation */
}

.stat:hover {
  transform: translateY(-5px) scale(1.025);
  /* Move up and grow */
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 0.5rem;
  /* Glow effect */
  text-shadow: 0 0 20px rgba(122, 181, 29, 0.3);
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  opacity: 0.9;
}

/* =========================================
   Calculator Section
   ========================================= */
.calculator-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-body);
  position: relative;
  z-index: 10;
}

.calculator-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.calculator-header h2 {
  text-transform: uppercase;
}


.calculator-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Progress Steps */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-medium);
  z-index: 0;
}

.progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  cursor: default;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-medium);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: var(--transition-bounce);
}

.progress-step.active .step-number {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
  color: var(--text-white);
  box-shadow: 0 0 0 4px rgba(196, 18, 48, 0.2);
  transform: scale(1.1);
}

.progress-step.completed .step-number {
  border-color: var(--accent-green);
  background-color: var(--accent-green);
  color: var(--text-white);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background-color: var(--bg-body);
  padding: 0 var(--spacing-xs);
}

/* =========================================
   Calculator Form Styling (Redesign)
   ========================================= */
.calculator-form {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-2xl);
  border: 1px solid var(--border-light);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: formFadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  margin-bottom: var(--spacing-xl);
  font-size: 1.5rem;
  padding-bottom: var(--spacing-sm);
  color: var(--primary-blue);
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Groups & Floating Labels */
.form-group {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

/* Input Styling */
.form-group input,
.form-group select {
  width: 100%;
  padding: 1.5rem 1rem 0.5rem;
  /* Room for label */
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background-color: #F8F9FA;
  transition: all 0.2s ease;
  color: var(--text-dark);
  height: 56px;
  /* Fixed height for consistency */
  appearance: none;
  /* Remove default select arrow */
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 45, 86, 0.1);
}

.form-group input:hover,
.form-group select:hover {
  border-color: var(--text-light);
}

/* Label Styling (Floating) */
.form-group label {
  position: absolute;
  top: 18px;
  left: 1rem;
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
  /* Click through to input */
  transition: all 0.2s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* Float State: When focused OR has content */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:valid+label {
  /* Select hack: requires required attribute */
  top: 8px;
  font-size: 0.75rem;
  color: var(--primary-blue-light);
  font-weight: 600;
}

.required {
  color: var(--primary-red);
  margin-left: 2px;
}

/* Field Hints */
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  margin-left: 4px;
  transition: color 0.2s;
}

.form-group input:focus~.field-hint {
  color: var(--primary-blue-light);
}

/* Validation Error Styles */
.form-group input.error,
.form-group select.error {
  border-color: var(--primary-red);
  background-color: #FFF5F5;
}

.form-group input.error+label,
.form-group select.error+label {
  color: var(--primary-red);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--primary-red);
  margin-top: 4px;
  margin-left: 4px;
  font-weight: 500;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
}

/* Results Section */
.results-section {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.results-section.hidden {
  display: none;
}

.results-header {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.results-subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
}

.hero-metric {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--text-white);
  padding: var(--spacing-2xl);
  text-align: center;
  margin: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-label {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  color: var(--text-white);
}

.hero-value {
  display: block;
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
  font-family: var(--font-heading);
  text-shadow: 0 0 30px rgba(122, 181, 29, 0.4);
}

.hero-comparison {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  margin-top: var(--spacing-md);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-summary {
  padding: 0 var(--spacing-2xl) var(--spacing-xl);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.summary-item {
  background-color: var(--bg-alt);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
}

.summary-icon-wrapper {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 45, 86, 0.05);
  border-radius: 50%;
}

.summary-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.summary-value {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.125rem;
}

/* Data Vis */
.comparison-table-wrapper {
  padding: 0 var(--spacing-2xl) var(--spacing-xl);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comparison-table th {
  background-color: var(--bg-alt);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--border-medium);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-medium);
}

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

.comparison-table tr.highlight {
  background-color: rgba(122, 181, 29, 0.05);
}

.comparison-table tr.highlight td {
  color: var(--text-dark);
  font-weight: 600;
}

.comparison-table tr.highlight td:first-child {
  color: var(--primary-blue);
  position: relative;
}

.comparison-table tr.highlight td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-green);
}

.charts-section {
  padding: 0 var(--spacing-2xl) var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.chart-container {
  background-color: var(--bg-surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.chart-bar-label {
  width: 110px;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
}

.chart-bar-track {
  flex: 1;
  background-color: var(--bg-alt);
  height: 28px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.chart-bar.ips .chart-bar-fill {
  background-color: var(--chart-ips);
}

.chart-bar.four-pipe .chart-bar-fill {
  background-color: var(--chart-four-pipe);
}

.chart-bar.vrf .chart-bar-fill {
  background-color: var(--chart-vrf);
}

.chart-bar.ptac .chart-bar-fill {
  background-color: var(--chart-ptac);
}

.chart-bar.dx-split .chart-bar-fill {
  background-color: var(--chart-dx);
}

.chart-bar.wshp .chart-bar-fill {
  background-color: var(--chart-wshp);
}

/* Advantages */
.ips-advantages {
  padding: 0 var(--spacing-2xl) var(--spacing-xl);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.advantage-card {
  padding: var(--spacing-lg);
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-green);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: white;
}

.advantage-icon-wrapper {
  color: var(--accent-green);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.advantage-card h4 {
  color: var(--primary-blue);
  margin-bottom: var(--spacing-xs);
}

/* Conditional Content */
.conditional-content {
  margin: 0 var(--spacing-2xl) var(--spacing-xl);
  background: linear-gradient(to right, rgba(0, 45, 86, 0.03), transparent);
  border-left: 4px solid var(--primary-blue);
  padding: var(--spacing-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* CTA Footer */
.cta-section {
  text-align: center;
  padding: var(--spacing-2xl);
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.results-footer {
  text-align: center;
  padding: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

/* Footer */
.footer {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  text-align: center;
}

.footer-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .charts-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
  }

  .stat:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

  .form-progress .step-label {
    display: none;
  }

  .project-summary,
  .comparison-table-wrapper,
  .charts-section,
  .ips-advantages,
  .conditional-content {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}