/* ============================================
   FORGE LOGIC AI & ROBOTICS CONSULTING
   Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --navy: #1a1f36;
  --navy-light: #252b48;
  --navy-mid: #2d3456;
  --slate: #4a5078;
  --slate-light: #6b7194;

  /* Accent Colors */
  --teal: #00d4aa;
  --teal-dark: #00b894;
  --teal-text: #008c6e; /* Accessible teal for text on white — 4.7:1 ratio */
  --teal-glow: rgba(0, 212, 170, 0.15);
  --coral: #ff6b4a;
  --coral-dark: #e55a3a;
  --gold: #f0c040;
  --blue-accent: #4a7cff;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-50: #f0f1f5;
  --gray-100: #e2e4ec;
  --gray-200: #c8cbd8;
  --gray-300: #a0a4b8;
  --gray-400: #7a7f96;
  --gray-500: #5c6178;
  --gray-600: #3d4258;
  --text-dark: #1a1f36;
  --text-body: #4a5068;
  --text-muted: #6b7086; /* Darkened from #8a8fa4 for WCAG AA 4.6:1 contrast */

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-display: 'Clash Display', 'Outfit', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 31, 54, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 31, 54, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 31, 54, 0.16);
  --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

/* --- Animations (Scroll-Triggered) --- */
/* Elements are visible by default. Only hidden when JS adds 'js' class to <html>. 
   This ensures content is visible even if JavaScript fails to load. */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.js .fade-in.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.js .fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.js .fade-in-left.visible,
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.js .fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.js .fade-in-right.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.js .scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.js .scale-in.visible,
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }
.delay-6 { transition-delay: 600ms; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 31, 54, 0.06);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--blue-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--duration-fast), transform var(--duration-fast) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px; /* PATCH: 44px minimum touch target */
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transition: right var(--duration-normal) var(--ease-out);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--duration-fast);
}

.mobile-menu a:hover {
  color: var(--teal);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 54, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
  z-index: 998;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 124, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--teal);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--gray-300);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff8a6a);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 107, 74, 0.3);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 74, 0.4);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn-icon {
  font-size: 1.1em;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise {
  background: var(--off-white);
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.expertise-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: left;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--teal), var(--blue-accent));
  border-radius: 0 0 4px 0;
  transition: height var(--duration-slow) var(--ease-out);
}

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

.expertise-card:hover::before {
  height: 100%;
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

.expertise-icon.teal { background: var(--teal-glow); color: var(--teal-dark); }
.expertise-icon.coral { background: rgba(255, 107, 74, 0.12); color: var(--coral); }
.expertise-icon.blue { background: rgba(74, 124, 255, 0.12); color: var(--blue-accent); }
.expertise-icon.gold { background: rgba(240, 192, 64, 0.15); color: #c09a20; }

.expertise-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.expertise-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { text-align: center; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  text-align: left;
  transition: all var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.story-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.story-block h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
}

.story-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--off-white);
  text-align: center;
  padding-bottom: calc(var(--space-4xl) + 2rem);
}

/* Toggle */
.pricing-toggle {
  display: inline-flex;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--gray-200);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.pricing-toggle button {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  z-index: 1;
}

.pricing-toggle button.active {
  color: var(--white);
  background: var(--navy);
}

.pricing-toggle .save-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

/* Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: left;
  border: 1px solid var(--gray-100);
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
}

.pricing-card.featured {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card.featured h3,
.pricing-card.featured h4,
.pricing-card.featured .price-amount {
  color: var(--white);
}

.pricing-card.featured p,
.pricing-card.featured .feature-text {
  color: var(--gray-300);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.pricing-card .card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  min-height: 48px;
}

.price-row {
  margin-bottom: var(--space-xl);
}

.price-old {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
  display: inline-block;
  margin-right: var(--space-sm);
}

.discount-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  vertical-align: middle;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-top: var(--space-xs);
}

.price-amount .currency {
  font-size: 1.2rem;
  vertical-align: super;
}

.price-amount .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}

.pricing-features {
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.88rem;
}

.pricing-features .check {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

/* Custom pricing */
.custom-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  margin: var(--space-md) 0;
}

/* ============================================
   PURCHASE FLOW (3-Step)
   ============================================ */
.purchase-flow {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
  background: var(--off-white);
}

/* Progress bar */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-3xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--gray-100);
  color: var(--gray-400);
  border: 2px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.step-circle.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.step-circle.completed {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-top: var(--space-xs);
  text-align: center;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.step-label.active { color: var(--navy); }

.step-connector {
  width: 100px;
  height: 2px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.step-connector.active {
  background: var(--navy);
}

.step-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Step panels */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

/* Add-ons */
.addons-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.addon-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.addon-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.addon-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.addon-card.selected {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.addon-card.selected .addon-icon {
  background: var(--navy);
  color: var(--white);
}

.addon-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.addon-info {
  flex: 1;
}

.addon-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.addon-info .addon-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.addon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.addon-card.selected .addon-check {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.order-summary h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

.summary-section {
  margin-bottom: var(--space-lg);
}

.summary-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-accent);
  margin-bottom: var(--space-xs);
}

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

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
  font-size: 0.88rem;
}

.summary-line .amount {
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: var(--gray-100);
  margin: var(--space-md) 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total .total-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.summary-total .total-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.summary-total .total-currency {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
  margin-left: var(--space-xs);
}

/* ============================================
   CHECKOUT FORM (Step 3)
   ============================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

.checkout-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
}

.checkout-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.checkout-form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 31, 54, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contract options */
.contract-section {
  margin: var(--space-xl) 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-100);
}

.contract-section .section-title-sm {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contract-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contract-option {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.contract-option.selected {
  border-color: var(--navy);
  background: rgba(26, 31, 54, 0.02);
}

.contract-option h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contract-option .option-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Agreement box */
.agreement-box {
  margin: var(--space-xl) 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-100);
}

.agreement-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.agreement-header h4 {
  font-size: 0.95rem;
}

.agreement-content {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  max-height: 180px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-body);
  border: 1px solid var(--gray-100);
  margin-bottom: var(--space-md);
}

.agreement-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
}

.agreement-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}

/* Invoice breakdown */
.invoice-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
}

.invoice-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.invoice-amount-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
  margin-bottom: var(--space-xs);
}

.invoice-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.invoice-amount span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-400);
}

.billing-badge {
  display: inline-block;
  background: rgba(0, 212, 170, 0.1);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.invoice-items {
  margin-bottom: var(--space-lg);
}

.invoice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 0.88rem;
}

.invoice-item .item-name {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.invoice-item .item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray-400);
}

.voucher-section {
  margin-bottom: var(--space-lg);
}

.voucher-section h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.voucher-input {
  display: flex;
  gap: var(--space-sm);
}

.voucher-input input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
}

.voucher-input input:focus {
  border-color: var(--navy);
}

.pay-button {
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.pay-button:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.payment-footer {
  text-align: center;
  margin-top: var(--space-lg);
}

.payment-footer .secure-text {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.payment-methods img {
  height: 20px;
  opacity: 0.5;
}

.payment-methods span {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.72rem;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.quote-section {
  text-align: center;
}

.quote-form-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.service-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.88rem;
  cursor: pointer;
  padding: var(--space-xs) 0;
}

.service-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--duration-fast);
}

.faq-question:hover { color: var(--teal-dark); }

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--gray-300);
  font-size: 1.05rem;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--gray-400);
  transition: color var(--duration-fast);
}

.footer-bottom-links a:hover {
  color: var(--teal);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-3xl);
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  align-self: start;
}

.legal-sidebar h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.legal-sidebar a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--duration-fast);
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
  color: var(--navy);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.legal-content h2 .section-dash {
  width: 20px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content ul li {
  position: relative;
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.legal-highlight {
  background: var(--gray-50);
  border-left: 3px solid var(--coral);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-callout {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.legal-callout h4 {
  color: var(--coral);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.legal-callout p {
  font-size: 0.92rem;
  color: var(--gray-300);
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-section {
  background: var(--navy);
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  padding: var(--space-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner h4 {
  margin-bottom: var(--space-sm);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.cookie-toggles {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.cookie-toggle .toggle {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: var(--gray-200);
  position: relative;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.cookie-toggle .toggle.active {
  background: var(--blue-accent);
}

.cookie-toggle .toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--duration-fast) var(--ease-out);
}

.cookie-toggle .toggle.active::after {
  transform: translateX(18px);
}

.cookie-toggle .toggle.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
}

.cookie-actions .btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

.btn-blue {
  background: var(--blue-accent);
  color: var(--white);
}

.btn-blue:hover {
  opacity: 0.9;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .addons-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: var(--space-xl); }
  .expertise-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contract-options { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cookie-toggles { flex-wrap: wrap; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .btn { flex: 1; min-width: 120px; }
  .progress-steps { gap: 0; }
  .step-connector { width: 60px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-3xl) 0; }
  .hero-stats { flex-direction: column; gap: var(--space-md); }
  .step-connector { width: 40px; }
  .pricing-toggle { flex-direction: column; }
}

/* ============================================
   UTILITIES
   ============================================ */

/* Focus-visible styles for keyboard accessibility (PATCH-06) */
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.2);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* Success / Error states */
.form-success {
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--teal-dark);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}

.form-error {
  background: rgba(255, 107, 74, 0.08);
  border: 1px solid rgba(255, 107, 74, 0.3);
  color: var(--coral);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* Content visibility for off-screen sections */
.lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ============================================
   REDUCED MOTION (WCAG 2.1 AA Compliance)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .pricing-card.spotlight::after {
    animation: none !important;
  }

  .hero-badge .dot {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   ANIMATED PRICING SPOTLIGHT (Video Effect)
   Auto-rotating highlight cycles between cards
   ============================================ */

/* Equal-height pricing cards */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
  min-height: 560px;
}

.pricing-card .pricing-features { flex: 1; }

/* Spotlight state: card becomes dark navy with smooth transition */
.pricing-card.spotlight {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(26, 31, 54, 0.25);
  z-index: 2;
}

.pricing-card.spotlight h3,
.pricing-card.spotlight h4,
.pricing-card.spotlight .price-amount {
  color: var(--white);
  transition: color 0.5s ease;
}

.pricing-card.spotlight p,
.pricing-card.spotlight .card-description,
.pricing-card.spotlight .feature-text,
.pricing-card.spotlight .pricing-features span {
  color: var(--gray-300);
  transition: color 0.5s ease;
}

/* Checkmarks stay green even in spotlight state */
.pricing-card.spotlight .pricing-features .check {
  color: var(--teal) !important;
  transition: color 0.5s ease;
}

.pricing-card.spotlight .price-old {
  color: var(--gray-400) !important;
}

/* Spotlight badge animation */
.pricing-card .popular-badge {
  opacity: 0;
  transform: translateY(-10px) translateX(-50%);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.pricing-card.spotlight .popular-badge {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

/* Spotlight CTA button becomes coral gradient */
.pricing-card.spotlight .btn-spotlight {
  background: linear-gradient(135deg, var(--coral), var(--gold)) !important;
  color: var(--white) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35) !important;
}

/* Non-spotlight CTA buttons: dark navy default */
.pricing-card:not(.spotlight) .btn-spotlight {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--gray-200) !important;
  box-shadow: none !important;
  transition: all 0.5s ease;
}

/* ═══ CSS-ONLY HOVER FALLBACK ═══
   Works even when JavaScript is completely dead.
   JS spotlight overrides these when active, but if JS fails,
   cards still respond to hover via pure CSS. */
.pricing-card:hover {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(26, 31, 54, 0.25);
  z-index: 3;
}

.pricing-card:hover h3,
.pricing-card:hover .price-amount {
  color: var(--white);
}

.pricing-card:hover p,
.pricing-card:hover .card-description,
.pricing-card:hover .feature-text,
.pricing-card:hover .pricing-features span {
  color: var(--gray-300);
}

.pricing-card:hover .pricing-features .check {
  color: var(--teal) !important;
}

.pricing-card:hover .price-old {
  color: var(--gray-400) !important;
}

.pricing-card:hover .btn-spotlight {
  background: linear-gradient(135deg, var(--coral), var(--gold)) !important;
  color: var(--white) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35) !important;
}

.pricing-card:hover .popular-badge {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

/* Non-spotlight cards return to white */
.pricing-card:not(.spotlight) {
  background: var(--white);
  transform: scale(1);
  box-shadow: var(--shadow-sm);
}

.pricing-card:not(.spotlight) h3,
.pricing-card:not(.spotlight) .price-amount {
  color: var(--text-dark);
  transition: color 0.5s ease;
}

.pricing-card:not(.spotlight) p,
.pricing-card:not(.spotlight) .card-description {
  color: var(--text-muted);
  transition: color 0.5s ease;
}

/* Hover pause indicator */
.pricing-grid:hover .pricing-card.spotlight {
  box-shadow: 0 24px 64px rgba(26, 31, 54, 0.3);
}

/* Shimmer line on spotlight card — uses transform only (no layout reflow) */
.pricing-card.spotlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: shimmer-pass 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  will-change: transform;
}

@keyframes shimmer-pass {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ============================================
   FEEDBACK PAGE
   ============================================ */
.feedback-section {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  text-align: center;
}

.feedback-form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  text-align: left;
}

/* ============================================
   SUPPORT REQUEST PAGE
   ============================================ */
.support-section {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  text-align: center;
}

.support-form-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  text-align: left;
}

/* ============================================
   CUSTOM QUOTE PAYMENT FLOW
   ============================================ */
.quote-payment-section {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 2px dashed var(--gray-200);
  display: none;
}

.quote-payment-section.visible {
  display: block;
  animation: fadeSlideUp 0.5s var(--ease-out);
}

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

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none;
  filter: grayscale(0.3);
}

.budget-input-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.budget-input-group .currency-prefix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.budget-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
  transition: border-color var(--duration-fast);
}

.budget-input-group input:focus {
  border-color: var(--teal);
}

/* Responsive: ensure pricing spotlight is consistent on mobile */
@media (max-width: 1024px) {
  .pricing-card.spotlight {
    transform: scale(1);
  }
  .pricing-card.spotlight:hover {
    transform: translateY(-4px);
  }
}

/* ============================================
   PATCH-01: Extracted inline styles to classes
   ============================================ */
.btn-card-cta {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-cta.cta-gradient {
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: var(--white);
}

.btn-card-cta.cta-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--gray-200);
}

.btn-card-cta.cta-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-card-cta.cta-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
