/* ============================================
   WordPress Fix Contracts — Main Stylesheet
   ============================================ */

:root {
  /* Background Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-bg-dark-alt: #1e293b;
  --color-bg-elevated: #ffffff;

  /* Text Colors */
  --color-text: #0f172a;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;
  --color-text-muted: #cbd5e1;
  --color-white: #ffffff;

  /* Brand Colors */
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-primary-light: #7dd3fc;
  --color-secondary: #6366f1;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Borders */
  --color-border: #e2e8f0;
  --color-border-dark: #334155;
  --color-border-light: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px -10px var(--color-primary);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container-max: 1200px;
  --container-max-narrow: 720px;
  --container-padding: 1.5rem;
  --header-height: 72px;
  --section-spacing: 5rem;

  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-fixed: 1000;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* ============================================
   Base & Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hanging-punctuation: first last;
}

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

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================
   Accessibility
   ============================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: calc(var(--z-fixed) + 1);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@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 {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  color: var(--color-text-light);
  line-height: 1.75;
  text-wrap: pretty;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Layout & Containers
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: var(--container-max-narrow);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ============================================
   Spacing Utilities
   ============================================ */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2rem; }
.mt-8 { margin-top: 3rem; }
.mt-10 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 3rem; }
.mb-10 { margin-bottom: 5rem; }

.pt-0 { padding-top: 0; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.5rem; }
.pt-6 { padding-top: 2rem; }
.pt-8 { padding-top: 3rem; }
.pt-10 { padding-top: 5rem; }

.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.5rem; }
.pb-6 { padding-bottom: 2rem; }
.pb-8 { padding-bottom: 3rem; }
.pb-10 { padding-bottom: 5rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.5rem; }
.gap-6 { gap: 2rem; }
.gap-8 { gap: 3rem; }

/* ============================================
   Display & Flex Utilities
   ============================================ */

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ============================================
   Colors & Backgrounds
   ============================================ */

.bg-white { background-color: var(--color-white); }
.bg-alt { background-color: var(--color-bg-alt); }
.bg-dark { background-color: var(--color-bg-dark); }
.bg-dark-alt { background-color: var(--color-bg-dark-alt); }

.text-white { color: var(--color-white); }
.text-body { color: var(--color-text); }
.text-light { color: var(--color-text-light); }
.text-lighter { color: var(--color-text-lighter); }
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }

.border { border: 1px solid var(--color-border); }
.border-light { border-color: var(--color-border-light); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

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

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgb(14 165 233 / 0.39);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgb(14 165 233 / 0.23);
}

.btn--primary:focus-visible {
  outline-color: var(--color-primary-dark);
}

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

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--dark:hover {
  background-color: var(--color-bg-dark-alt);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}

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

.btn--success:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgb(16 185 129 / 0.25);
}

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

.btn--danger:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}

.btn.is-loading .btn-text {
  opacity: 0;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgb(255 255 255 / 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn--secondary.is-loading::after,
.btn--ghost.is-loading::after {
  border-color: rgb(0 0 0 / 0.1);
  border-top-color: var(--color-text);
}

/* ============================================
   Badges & Tags
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.badge-icon {
  font-size: 1em;
  line-height: 1;
}

.badge--primary {
  background-color: rgb(14 165 233 / 0.1);
  color: var(--color-primary-dark);
}

.badge--success {
  background-color: rgb(16 185 129 / 0.1);
  color: var(--color-success);
}

.badge--warning {
  background-color: rgb(245 158 11 / 0.1);
  color: var(--color-warning);
}

.badge--danger {
  background-color: rgb(239 68 68 / 0.1);
  color: var(--color-danger);
}

.badge--secondary {
  background-color: rgb(99 102 241 / 0.1);
  color: var(--color-secondary);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-light);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.tag--primary {
  color: var(--color-primary);
  background: rgb(14 165 233 / 0.08);
  border-color: rgb(14 165 233 / 0.25);
}

/* ============================================
   DECORATIVE GRADIENT BLOBS
   ============================================ */
.has-deco {
  position: relative;
  overflow: hidden;
}
.deco-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
}
.deco-blob--solid {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0.1;
}
.deco-blob--ring {
  border: 2px solid var(--color-primary);
  opacity: 0.12;
}
.deco-blob--sm { width: 80px; height: 80px; }
.deco-blob--md { width: 160px; height: 160px; }
.deco-blob--lg { width: 280px; height: 280px; }
.deco-blob--tl { top: -30px; left: -40px; }
.deco-blob--tr { top: -30px; right: -40px; }
.deco-blob--bl { bottom: -30px; left: -40px; }
.deco-blob--br { bottom: -30px; right: -40px; }
.deco-blob--tl-inset { top: 40px; left: 40px; }
.deco-blob--tr-inset { top: 40px; right: 40px; }
.deco-blob--bl-inset { bottom: 40px; left: 40px; }
.deco-blob--br-inset { bottom: 40px; right: 40px; }

/* Dark section variants */
.has-deco-dark .deco-blob--solid {
  opacity: 0.18;
  background: linear-gradient(135deg, #0ea5e9, #6366f1, #a855f7);
}
.has-deco-dark .deco-blob--ring {
  opacity: 0.25;
  border-color: rgba(255,255,255,0.3);
}

/* Side-positioned blobs (fixed to viewport edges) */
.deco-blob--left { left: -60px; top: 50%; transform: translateY(-50%); }
.deco-blob--right { right: -60px; top: 50%; transform: translateY(-50%); }
.deco-blob--left-near { left: 20px; top: 30%; }
.deco-blob--right-near { right: 20px; top: 60%; }

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
  75% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(3deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.05); }
}

.deco-blob {
  animation: float 8s ease-in-out infinite;
}

.deco-blob:nth-child(2) {
  animation: float-slow 12s ease-in-out infinite;
  animation-delay: -4s;
}

.deco-blob:nth-child(3) {
  animation: float 10s ease-in-out infinite;
  animation-delay: -2s;
}

.deco-blob--solid {
  animation: float 8s ease-in-out infinite, pulse-glow 6s ease-in-out infinite;
}

/* Ensure content sits above blobs */
.has-deco > .container,
.has-deco > *:not(.deco-blobs) {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .deco-blob--lg { width: 180px; height: 180px; }
  .deco-blob--md { width: 100px; height: 100px; }
  .deco-blob--left,
  .deco-blob--right { display: none; }
  .deco-blob--left-near,
  .deco-blob--right-near { left: 10px; right: auto; }
}

/* ============================================
   TECH STACK STRIP
   ============================================ */
.tech-strip {
  padding: 2.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.tech-strip__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.tech-strip__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
}
.tech-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tech-strip__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.tech-strip__item svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   GUARANTEE / TRUST PILLARS
   ============================================ */
.guarantee-section {
  padding: 4rem 0;
  background: var(--color-bg);
}
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}
.guarantee-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.guarantee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.guarantee-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  margin-bottom: 1rem;
}
.guarantee-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.guarantee-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   FAQ ACCORDION (homepage)
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--color-primary); }
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.9688rem;
}
.faq-item p a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   AVAILABILITY BADGE (urgency)
   ============================================ */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgb(16 185 129 / 0.1);
  color: var(--color-success, #10b981);
  border: 1px solid rgb(16 185 129 / 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 1rem;
}
.availability-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgb(16 185 129 / 0.6);
  animation: avail-pulse 2s infinite;
}
@keyframes avail-pulse {
  0%   { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.6); }
  70%  { box-shadow: 0 0 0 10px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

/* ============================================
   Missing Component Styles
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.logo__img {
  display: block;
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  height: 70px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link--cta {
  color: var(--color-primary);
}

.nav-link--cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
}

.nav-link--cta:hover {
  background: var(--color-primary-dark);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.25);
  backdrop-filter: blur(4px);
  z-index: 40;
}

.mobile-overlay.is-open {
  display: block;
}

@media (max-width: 768px) {
  #site-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 50;
  }
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 7rem 1.25rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    z-index: 45;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.32s ease, visibility 0.32s;
  }
  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu li {
    opacity: 0;
    transform: translateX(16px);
  }
  .nav-menu.is-open li {
    animation: nav-item-in 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .nav-menu.is-open li:nth-child(1) { animation-delay: 0.06s; }
  .nav-menu.is-open li:nth-child(2) { animation-delay: 0.10s; }
  .nav-menu.is-open li:nth-child(3) { animation-delay: 0.14s; }
  .nav-menu.is-open li:nth-child(4) { animation-delay: 0.18s; }
  .nav-menu.is-open li:nth-child(5) { animation-delay: 0.22s; }
  .nav-menu.is-open li:nth-child(6) { animation-delay: 0.26s; }
  .nav-menu.is-open li:nth-child(7) { animation-delay: 0.30s; }
  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 1.0625rem 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }
  .nav-menu .nav-link::after {
    content: '';
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--color-text-lighter);
    border-right: 2px solid var(--color-text-lighter);
    transform: rotate(45deg);
    transition: border-color var(--transition-fast);
  }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link[aria-current="page"] {
    color: var(--color-primary);
    padding-left: 0.875rem;
  }
  .nav-menu .nav-link:hover::after,
  .nav-menu .nav-link[aria-current="page"]::after {
    border-color: var(--color-primary);
  }
  .nav-menu .nav-link--cta {
    margin-top: 1.5rem;
    justify-content: center;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.0625rem;
    padding: 1.0625rem 1.25rem;
    border-radius: var(--radius-lg);
    border-bottom: none;
    box-shadow: 0 8px 20px -6px rgb(14 165 233 / 0.5);
  }
  .nav-menu .nav-link--cta::after {
    display: none;
  }
  .nav-menu .nav-link--cta:hover {
    color: var(--color-white);
    padding-left: 1.25rem;
    background: var(--color-primary-dark);
  }
}

@keyframes nav-item-in {
  to { opacity: 1; transform: translateX(0); }
}

.hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__risk-reversal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon--red { background: rgb(239 68 68 / 0.1); color: var(--color-danger); }
.service-card__icon--blue { background: rgb(14 165 233 / 0.1); color: var(--color-primary); }
.service-card__icon--amber { background: rgb(245 158 11 / 0.1); color: var(--color-warning); }
.service-card__icon--green { background: rgb(16 185 129 / 0.1); color: var(--color-success); }
.service-card__icon--purple { background: rgb(99 102 241 / 0.1); color: var(--color-secondary); }
.service-card__icon--teal { background: rgb(20 184 166 / 0.1); color: #14b8a6; }
.service-card__icon--indigo { background: rgb(79 70 229 / 0.1); color: #4f46e5; }
.service-card__icon--pink { background: rgb(236 72 153 / 0.1); color: #ec4899; }
.service-card__icon--orange { background: rgb(249 115 22 / 0.1); color: #f97316; }

/* Service Category Tabs */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.service-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.service-tab.is-active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 16px -4px rgb(14 165 233 / 0.4);
}

.service-tab__icon {
  width: 18px;
  height: 18px;
}

.service-panels {
  position: relative;
}

.service-panel {
  display: none;
  animation: panel-fade 0.35s ease;
}

.service-panel.is-active {
  display: block;
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero dual-CTA emphasis */
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__ctas .btn--primary {
  flex: 1 1 auto;
  min-width: 200px;
}

/* Build card variant */
.hero__card--build .hero__card-header {
  background: linear-gradient(135deg, rgb(99 102 241 / 0.08), rgb(14 165 233 / 0.08));
}

.hero__card--build .hero__card-alert {
  background: rgb(16 185 129 / 0.06);
  border-color: rgb(16 185 129 / 0.2);
  color: var(--color-success);
}

.hero__card--build .hero__card-progress {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__text {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-muted);
  padding: 3rem 0;
  margin-top: 0;
}

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

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

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

.footer__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer__logo {
  display: block;
  max-height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-lighter);
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a {
  color: var(--color-text-lighter);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer__list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid var(--color-border-dark);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  gap: 1rem;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-item__toggle {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1.1;
}

.pricing-card__price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.pricing-card--retainer {
  border: 2px dashed var(--color-primary);
  background: linear-gradient(135deg, rgb(14 165 233 / 0.04) 0%, rgb(99 102 241 / 0.04) 100%);
}

/* Entry-tier banner above pricing grids */
.pricing-entry-tier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(135deg, rgb(14 165 233 / 0.05) 0%, rgb(99 102 241 / 0.05) 100%);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
}

.pricing-entry-tier__body {
  flex: 1;
  min-width: 220px;
}

.pricing-entry-tier__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.pricing-entry-tier__title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.pricing-entry-tier__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0 0 0.5rem;
}

.pricing-entry-tier__rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1rem;
}

.pricing-entry-tier__rules li {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.pricing-entry-tier__rules li::before {
  content: '·';
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.3rem;
}

.pricing-entry-tier__price {
  text-align: center;
  flex-shrink: 0;
}

.pricing-entry-tier__price .price-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-entry-tier__price .price-unit {
  font-size: 0.875rem;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.75rem;
}

/* "Not seeing what you need?" CTA box */
.pricing-custom-cta {
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.pricing-custom-cta h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  margin: 0 0 0.375rem;
}

.pricing-custom-cta p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 600px) {
  .pricing-entry-tier { flex-direction: column; align-items: flex-start; }
  .pricing-entry-tier__price { width: 100%; text-align: left; }
  .pricing-custom-cta { flex-direction: column; }
}

.pricing-card__features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.case-study {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.case-study__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.case-study__tag {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.case-study__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-study__text {
  color: var(--color-text-light);
  line-height: 1.7;
}

.case-study__results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.case-study__result {
  text-align: center;
}

.case-study__result-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-success);
}

.case-study__result-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Alternate nav used in case-studies.html */
.primary-navigation {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-primary);
}

.nav-list .btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-list .btn-primary:hover {
  background: var(--color-primary-dark);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .nav-list.is-open {
    display: flex;
  }
}

/* Page hero & case studies */
.page-hero {
  padding: 4rem 0 2rem;
  background: var(--color-bg-alt);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero .lead {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--color-text-lighter);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Case study components */
.case-studies-list {
  padding: 3rem 0;
}

.case-study-header {
  margin-bottom: 1.5rem;
}

.case-study-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.read-time {
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
}

.case-study-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-study-content p,
.case-study-content li {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.case-study-sidebar .client-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.client-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.client-card dl {
  margin: 0;
}

.client-card dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-lighter);
  margin-top: 0.75rem;
}

.client-card dd {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 500;
}

.case-study-sidebar .testimonial {
  border-left: 3px solid var(--color-primary);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--color-text-light);
}

.case-study-sidebar .testimonial p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.case-study-sidebar .testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
}

.tag-commerce { background: rgb(239 68 68 / 0.1); color: var(--color-danger); }
.tag-speed { background: rgb(16 185 129 / 0.1); color: var(--color-success); }
.tag-security { background: rgb(245 158 11 / 0.1); color: var(--color-warning); }
.tag-conflict { background: rgb(99 102 241 / 0.1); color: var(--color-secondary); }

/* CTA section */
.cta-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.cta-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgb(15 23 42 / 0.04);
}

.cta-card h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Alternate footer styles */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

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

.footer-brand {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-lighter);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-nav-column h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-nav-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-column li {
  margin-bottom: 0.5rem;
}

.footer-nav-column a {
  color: var(--color-text-lighter);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-nav-column a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-links a {
  color: var(--color-text-lighter);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--color-text-lighter);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--color-white);
}

/* ============================================
   Forms
   ============================================ */

.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(14 165 233 / 0.15);
}

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

/* ============================================
   MODERN ENHANCEMENTS
   ============================================ */

/* Sticky header with blur backdrop */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

/* Hero enhancements */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgb(14 165 233 / 0.06) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgb(99 102 241 / 0.04) 0%, transparent 40%),
    linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 40%, #f8fafc 70%, #ffffff 100%);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(14 165 233 / 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  position: relative;
}

.badge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--color-success);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  white-space: nowrap;
}

.trust-item strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--color-text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.trust-stars {
  color: var(--color-warning);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Hero card visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgb(0 0 0 / 0.02);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgb(0 0 0 / 0.02);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

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

.hero__card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.hero__card-dots span:first-child { background: #ef4444; }
.hero__card-dots span:nth-child(2) { background: #f59e0b; }
.hero__card-dots span:last-child { background: #10b981; }

.hero__card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.hero__card-body {
  padding: 1.25rem;
}

.hero__card-alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: rgb(239 68 68 / 0.06);
  border: 1px solid rgb(239 68 68 / 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  color: var(--color-danger);
}

.hero__card-alert strong {
  color: var(--color-text);
  font-size: 0.875rem;
}

.hero__card-alert p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.hero__card-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.hero__card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.hero__card-list li.checked {
  color: var(--color-success);
  font-weight: 600;
}

.hero__card-list li.active {
  color: var(--color-primary);
  font-weight: 600;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.hero__card-bar {
  width: 100%;
  height: 6px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.hero__card-progress {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero__card-meta {
  font-size: 0.75rem;
  color: var(--color-text-lighter);
  text-align: center;
}

/* Floating badges */
.hero__floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.hero__floating-badge--1 {
  top: 8%;
  right: 5%;
}

.hero__floating-badge--2 {
  bottom: 12%;
  left: 5%;
}

/* Logos section */
.logos {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.logos__label {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-lighter);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.logos__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  background: var(--color-text-muted);
  border-radius: var(--radius-sm);
  opacity: 0.35;
  transition: opacity var(--transition-base);
}

.logo-placeholder:nth-child(1) { width: 90px; }
.logo-placeholder:nth-child(2) { width: 70px; }
.logo-placeholder:nth-child(3) { width: 80px; }
.logo-placeholder:nth-child(4) { width: 75px; }
.logo-placeholder:nth-child(5) { width: 85px; }
.logo-placeholder:nth-child(6) { width: 65px; }

.logo-placeholder:hover {
  opacity: 0.55;
}

/* Process section */
.process-section {
  padding: 5rem 0;
  background: var(--color-bg-alt);
}

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

@media (max-width: 900px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.process__step {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.75rem;
  right: -1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-primary), var(--color-border));
  opacity: 0;
}

@media (max-width: 900px) {
  .process__step:nth-child(2)::after { display: none; }
}

@media (max-width: 500px) {
  .process__step::after { display: none; }
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-radius: var(--radius-xl);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px -6px rgb(14 165 233 / 0.35);
  position: relative;
}

.process__number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0.15;
  z-index: -1;
}

.process__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Testimonials section */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

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

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

.testimonial-card {
  background: linear-gradient(145deg, var(--color-bg) 0%, #f8fafc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: rgb(14 165 233 / 0.15);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-card__stars svg {
  color: var(--color-warning);
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.testimonial-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px rgb(14 165 233 / 0.3);
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-lighter);
  margin-top: 0.125rem;
}

/* Contact section */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-alt) 100%);
  color: var(--color-white);
}

.contact-section .section__title,
.contact-section .section__subtitle {
  color: var(--color-white);
}

.contact-section .section__subtitle {
  opacity: 0.8;
}

.contact-section .form-group label {
  color: var(--color-text-muted);
}

.contact-section .form-group input,
.contact-section .form-group textarea {
  background: rgb(255 255 255 / 0.05);
  border-color: var(--color-border-dark);
  color: var(--color-white);
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
  color: var(--color-text-lighter);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(14 165 233 / 0.2);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* CTA enhancements */
.cta-card {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgb(14 165 233 / 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Page hero enhancements */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #f0f9ff 50%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgb(14 165 233 / 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Pricing card enhancements */
.pricing-card {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgb(14 165 233 / 0.04) 100%);
  border-width: 2px;
  transform: scale(1.03);
}

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

/* Service card enhancements */
.service-card {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgb(14 165 233 / 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

/* FAQ enhancements */
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.faq-item:hover {
  border-color: rgb(14 165 233 / 0.2);
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: var(--color-bg-alt);
}

.faq-item__answer {
  padding: 0 1.5rem;
  max-height: 0;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-item__toggle {
  width: 2rem;
  height: 2rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, background var(--transition-fast);
}

.faq-item.is-open .faq-item__toggle {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

/* Case study card enhancements */
.case-study {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.case-study:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.problem-box {
  background: rgb(239 68 68 / 0.04);
  border: 1px solid rgb(239 68 68 / 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.solution-box {
  background: rgb(14 165 233 / 0.04);
  border: 1px solid rgb(14 165 233 / 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.results-box {
  background: rgb(16 185 129 / 0.04);
  border: 1px solid rgb(16 185 129 / 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1001;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  width: 0%;
  transition: width 0.1s ease-out;
}

/* About page specific */
.about-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
}

.about-content ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.about-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.about-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Active nav link state for scroll spy */
.nav-link.active {
  color: var(--color-primary);
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* Form validation states */
.field-error {
  display: none;
  color: var(--color-danger);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

.has-error input,
.has-error textarea {
  border-color: var(--color-danger) !important;
  box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1) !important;
}

.form-status {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

.form-status.is-success {
  display: block;
  background: rgb(16 185 129 / 0.08);
  color: var(--color-success);
  border: 1px solid rgb(16 185 129 / 0.2);
}

.form-status.is-error {
  display: block;
  background: rgb(239 68 68 / 0.08);
  color: var(--color-danger);
  border: 1px solid rgb(239 68 68 / 0.2);
}

/* ============================================
   MODERN ENGAGEMENT & ANIMATIONS
   ============================================ */

/* Animated gradient text for headlines */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Particle/dots background */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* Button shimmer effect */
.btn--shimmer {
  position: relative;
  overflow: hidden;
}

.btn--shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.3), transparent);
  transition: left 0.6s ease;
}

.btn--shimmer:hover::before {
  left: 100%;
}

.btn--glow {
  position: relative;
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.btn--glow:hover::after {
  opacity: 0.5;
}

/* Marquee social proof */
.marquee-section {
  padding: 2rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.marquee-item svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Stats counter section */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-alt) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgb(14 165 233 / 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-item__number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Glassmorphism card variant */
.glass-card {
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 0.3);
  box-shadow: 0 8px 32px -8px rgb(0 0 0 / 0.1);
}

/* Magnetic hover for buttons */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Improved reveal with scale */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* Section divider wave */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Glow border on focus */
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scroll indicator bounce */
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress,
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 100;
  transition: width 0.1s linear;
}

.reading-progress {
  width: 100%;
  height: 3px;
  background: var(--color-border);
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.1s linear;
}

/* ============================================
   MODERN AGENCY CONVERSION & ENGAGEMENT
   ============================================ */

/* Floating Action Button (FAB) */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px -4px rgb(14 165 233 / 0.45);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fab-pulse 3s ease-in-out infinite;
}

.fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px -4px rgb(14 165 233 / 0.6);
}

.fab svg {
  flex-shrink: 0;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 32px -4px rgb(14 165 233 / 0.45); }
  50% { box-shadow: 0 8px 40px 0 rgb(14 165 233 / 0.6); }
}

@media (max-width: 768px) {
  .fab {
    bottom: 1rem;
    right: 1rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Sticky Bottom CTA Bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.sticky-cta__text span {
  color: var(--color-primary);
}

.sticky-cta__btn {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .sticky-cta {
    flex-direction: column;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .sticky-cta__btn { width: 100%; }
}

/* 3D Card Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

.tilt-card__inner {
  transition: transform 0.15s ease-out;
}

/* Diagonal Section Dividers */
.diagonal-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.diagonal-top svg {
  display: block;
  width: 100%;
  height: 100%;
}

.diagonal-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.diagonal-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Section header ornaments */
.section__header {
  position: relative;
}

.section__ornament {
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  margin: 0 auto 0.625rem;
}

.section__header--left .section__ornament {
  margin: 0 0 0.625rem;
}

/* Hero text word reveal */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax wrapper */
.parallax-wrap {
  will-change: transform;
}

/* Magnetic button effect */
.btn--magnetic {
  transition: transform 0.15s ease-out;
}

/* Improved focus ring with glow */
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgb(14 165 233 / 0.15), 0 0 20px -4px rgb(14 165 233 / 0.3);
}

/* Scroll-driven fade between sections */
.section-fade {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth number counter font variant */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Loading skeleton shimmer for dynamic content */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Accessibility: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-fade,
  .hero__word,
  .gradient-text,
  .particle,
  .marquee-track,
  .fab {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Body padding when sticky CTA is active */
body.has-sticky-cta {
  padding-bottom: 72px;
}

@media (max-width: 640px) {
  body.has-sticky-cta {
    padding-bottom: 110px;
  }
}

/* Calendly booking card */
.calendly-card {
  background: linear-gradient(135deg, var(--color-white), var(--color-bg));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 560px;
  margin: 0 auto;
}

/* Full-width variant used on the book-call page */
.calendly-card--full {
  max-width: 100%;
  padding: 2rem;
}

.calendly-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}

.calendly-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgb(14 165 233 / 0.15), 0 0 0 1px rgb(14 165 233 / 0.08);
}

.calendly-card__content {
  position: relative;
  z-index: 1;
}

.calendly-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgb(14 165 233 / 0.1), rgb(99 102 241 / 0.1));
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.calendly-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.calendly-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--color-text-light);
}

.calendly-card__features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.calendly-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}

/* Modern CTA card enhancements */
.cta-card {
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}

/* Enhanced card hover lift */
.service-card,
.pricing-card,
.testimonial-card,
.process__step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.process__step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -12px rgb(14 165 233 / 0.12);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -12px rgb(14 165 233 / 0.15);
}

/* Animated section header underline */
.section__title {
  position: relative;
  display: inline-block;
}

.section__header {
  text-align: center;
}

/* Mesh gradient background for page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgb(14 165 233 / 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgb(99 102 241 / 0.06), transparent),
    radial-gradient(ellipse 50% 60% at 60% 90%, rgb(14 165 233 / 0.05), transparent);
  pointer-events: none;
}

/* Glow button variant */
.btn--glow {
  position: relative;
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn--glow:hover::after {
  opacity: 0.5;
}

/* Subtle floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__bg-pattern {
  animation: float 8s ease-in-out infinite;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .hero__floating-badge { display: none; }
  .hero { padding: 3rem 0; }
  .hero__trust { gap: 1rem; }
  .trust-divider { display: none; }
  .process__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3rem 0 2rem; }
  .nav-link.active::after { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { padding: 1rem; }
  .marquee-track { animation-duration: 20s; }

  /* FAB hide on mobile — sticky bar already has CTA */
  .fab { display: none; }

  /* Hero mobile improvements */
  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__ctas .btn--large {
    width: 100%;
    justify-content: center;
  }

  .hero__risk-reversal {
    font-size: 0.8125rem;
    margin-top: 1rem;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .trust-item {
    flex: 1 1 calc(50% - 0.625rem);
    min-width: 120px;
  }

  .trust-item strong {
    font-size: 0.9375rem;
  }

  .trust-item span {
    font-size: 0.6875rem;
  }

  /* Hero card mobile */
  .hero__visual {
    padding: 1.5rem 0.5rem;
    order: -1;
    margin-bottom: 1rem;
  }

  .hero__card {
    max-width: 100%;
  }

  .hero__container {
    gap: 1.5rem;
  }

  /* Section mobile spacing */
  .section {
    padding: 3rem 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .section__eyebrow {
    font-size: 0.8125rem;
  }

  /* Calendly card mobile */
  .calendly-card {
    padding: 2rem 1.25rem;
  }

  .calendly-card h3 {
    font-size: 1.25rem;
  }

  /* Service cards mobile */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Process mobile */
  .process-section {
    padding: 3rem 0;
  }

  .process__step {
    padding: 1.5rem;
  }

  /* Testimonials mobile */
  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  /* Contact mobile */
  .contact-section {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 0;
  }

  /* CTA section mobile */
  .cta-section {
    padding: 3rem 0;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }

  /* Footer mobile */
  .site-footer {
    padding: 2.5rem 0;
    margin-top: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Stats mobile */
  .stats-section {
    padding: 3rem 0;
  }

  .stat-item__number {
    font-size: 2rem;
  }

  /* Sticky CTA mobile */
  .sticky-cta__text {
    font-size: 0.875rem;
  }

  /* Diagonal divider mobile */
  .diagonal-top,
  .diagonal-bottom {
    height: 40px;
  }

  /* Container mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Pricing mobile */
  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-card__price {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.625rem;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  }

  .trust-item {
    flex: 1 1 100%;
  }

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

  .stat-item__number {
    font-size: 1.5rem;
  }

  .section__title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   HERO CYCLE LINE (typewriter)
   ============================================================ */
.hero__cycle-line {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin: 0.75rem 0 1.25rem;
  min-height: 1.5em;
}
.hero__cycle-word {
  color: var(--color-primary);
  font-weight: 700;
}
.hero__cycle-cursor {
  color: var(--color-primary);
  font-weight: 300;
  animation: blink-caret 0.8s step-end infinite;
  margin-left: 1px;
}
@keyframes blink-caret {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   HERO CARD FLOAT BOB
   ============================================================ */
.hero__card {
  animation: float-bob 5s ease-in-out infinite;
}
@keyframes float-bob {
  0%,100% { transform: translateY(0px);    }
  50%     { transform: translateY(-10px);  }
}

/* ============================================================
   PROCESS CONNECTOR LINE DRAW ON SCROLL
   ============================================================ */
.process__step:not(:last-child)::after {
  width: 0;
  opacity: 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s,
              opacity 0.3s ease 0.4s;
}
.process__step.is-visible:not(:last-child)::after {
  width: 2rem;
  opacity: 0.6;
}

/* ============================================================
   PROCESS NUMBER SCALE-IN
   ============================================================ */
.process__number {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process__step:hover .process__number {
  transform: scale(1.12) rotate(-4deg);
}

/* ============================================================
   GUARANTEE CARD ICON BOUNCE ON HOVER
   ============================================================ */
.guarantee-card__icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}
.guarantee-card:hover .guarantee-card__icon {
  transform: scale(1.18) translateY(-3px);
  box-shadow: 0 12px 28px -8px rgb(14 165 233 / 0.45);
}

/* ============================================================
   BUTTON RIPPLE
   ============================================================ */
@keyframes ripple-expand {
  0%   { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ============================================================
   SECTION TITLE ANIMATED UNDERLINE
   ============================================================ */
.section__title {
  position: relative;
  display: block;
}
.section__title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.section__header.is-visible .section__title::after,
.section__header .section__title.is-visible::after {
  width: 48px;
}

/* ============================================================
   CURSOR SPOTLIGHT (hero section)
   ============================================================ */
.hero {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
}
.hero__bg-gradient {
  background:
    radial-gradient(
      600px circle at var(--spotlight-x) var(--spotlight-y),
      rgb(14 165 233 / 0.07),
      transparent 55%
    ),
    linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  transition: background 0.05s linear;
}

/* ============================================================
   SMOOTH FAQ CONTENT ANIMATION
   ============================================================ */
.faq-item p {
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}
.faq-item:not([open]) p {
  height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-item[open] p {
  opacity: 1;
}

/* ============================================================
   SERVICE TAB PANEL FADE
   ============================================================ */
.service-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.service-panel.is-active {
  animation: panel-fade-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes panel-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ============================================================
   TECH STRIP ITEM STAGGER REVEAL
   ============================================================ */
.tech-strip__item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tech-strip.is-visible .tech-strip__item:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: none; }
.tech-strip.is-visible .tech-strip__item:nth-child(8) { transition-delay: 0.40s; opacity: 1; transform: none; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero__card           { animation: none; }
  .hero__cycle-cursor   { animation: none; }
  .tech-strip__item     { opacity: 1; transform: none; transition: none; }
  .process__step:not(:last-child)::after { width: 2rem; opacity: 0.6; transition: none; }
  .section__title::after { width: 48px; transition: none; }
}