/* ========================================================================
   WORKSKEDGE CONSOLIDATED CSS - Version 11
   ========================================================================

   Optimized single-file CSS with all modules consolidated.
   Critical CSS is inlined in HTML, this file loads asynchronously.

   ======================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
  --color-navy: 210 62% 24%;
  --color-teal: 172 77% 45%;
  --color-charcoal: 220 17% 27%;
  --color-soft-gray: 210 11% 91%;
  --color-safety-orange: 25 95% 53%;
  --color-lime-green: 76 73% 55%;
  --color-white: 0 0% 100%;
  --color-light-slate: 210 20% 98%;
  --color-destructive: 0 84% 60%;
  --color-primary: var(--color-teal);
  --color-primary-dark: var(--color-navy);
  --color-background: var(--color-white);
  --color-foreground: var(--color-charcoal);
  --color-muted: var(--color-soft-gray);
  --color-muted-foreground: 220 17% 50%;
  --color-border: var(--color-soft-gray);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --font-size-hero: clamp(2.25rem, 1.5rem + 3.75vw, 4.5rem);
  --font-size-h1: clamp(2rem, 1.375rem + 3.125vw, 3.75rem);
  --font-size-h2: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  --font-size-h3: clamp(1.125rem, 0.9375rem + 0.9375vw, 1.5rem);
  --font-size-h4: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
  --font-size-h5: clamp(1.125rem, 0.9375rem + 0.9375vw, 1.5rem);
  --font-size-h6: clamp(1rem, 0.875rem + 0.625vw, 1.25rem);
  --font-size-body-lg: clamp(1.125rem, 1.0625rem + 0.3125vw, 1.25rem);
  --font-size-body: clamp(0.875rem, 0.8125rem + 0.3125vw, 1rem);
  --font-size-body-sm: clamp(0.8125rem, 0.7813rem + 0.1563vw, 0.875rem);
  --font-size-caption: clamp(0.75rem, 0.6875rem + 0.3125vw, 0.875rem);
  --font-size-button: clamp(0.875rem, 0.8125rem + 0.3125vw, 1rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --section-padding-y: clamp(3rem, 2rem + 5vw, 6rem);
  --section-padding-x: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --container-max-width: 1400px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --z-popover: 60;
  --z-tooltip: 70;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: hsl(var(--color-foreground));
  background: hsl(var(--color-background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: hsl(var(--color-navy));
  margin: 0;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); font-weight: var(--font-weight-semibold); }
h4 { font-size: var(--font-size-h4); font-weight: var(--font-weight-semibold); }
h5 { font-size: var(--font-size-h5); font-weight: var(--font-weight-semibold); }
h6 { font-size: var(--font-size-h6); font-weight: var(--font-weight-semibold); }
p { margin: 0; line-height: var(--line-height-normal); }

/* ===== TYPOGRAPHY UTILITIES ===== */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.text-hero { font-size: var(--font-size-hero); }
.text-h1 { font-size: var(--font-size-h1); }
.text-h2 { font-size: var(--font-size-h2); }
.text-h3 { font-size: var(--font-size-h3); }
.text-h4 { font-size: var(--font-size-h4); }
.text-h5 { font-size: var(--font-size-h5); }
.text-h6 { font-size: var(--font-size-h6); }
.text-lg { font-size: var(--font-size-body-lg); }
.text-base { font-size: var(--font-size-body); }
.text-sm { font-size: var(--font-size-body-sm); }
.text-xs { font-size: var(--font-size-caption); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.leading-tight { line-height: var(--line-height-tight); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.text-foreground { color: hsl(var(--color-foreground)); }
.text-muted { color: hsl(var(--color-foreground)); opacity: 0.8; }
.text-muted-foreground { color: hsl(var(--color-muted-foreground)); }
.text-white { color: white; }
.text-navy { color: hsl(var(--color-navy)); }
.text-teal { color: hsl(var(--color-teal)); }
.text-destructive { color: hsl(var(--color-destructive)); }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.gradient-text {
  background: linear-gradient(90deg, hsl(var(--color-teal)), hsl(var(--color-lime-green)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.heading-hero { font-family: var(--font-display); font-size: var(--font-size-hero); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); color: hsl(var(--color-navy)); }
.heading-1 { font-family: var(--font-display); font-size: var(--font-size-h1); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); color: hsl(var(--color-navy)); }
.heading-2 { font-family: var(--font-display); font-size: var(--font-size-h2); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); color: hsl(var(--color-navy)); }
.heading-3 { font-family: var(--font-display); font-size: var(--font-size-h3); font-weight: var(--font-weight-semibold); line-height: var(--line-height-tight); color: hsl(var(--color-navy)); }
.body-large { font-size: var(--font-size-body-lg); line-height: var(--line-height-relaxed); }
.body-small { font-size: var(--font-size-body-sm); line-height: var(--line-height-normal); }
.caption { font-size: var(--font-size-caption); line-height: var(--line-height-normal); color: hsl(var(--color-foreground)); opacity: 0.8; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container-max-width); margin-left: auto; margin-right: auto; padding-left: var(--section-padding-x); padding-right: var(--section-padding-x); }
.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }
.self-auto { align-self: auto; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.ml-3 { margin-left: var(--space-3); }
.ml-4 { margin-left: var(--space-4); }
.ml-6 { margin-left: var(--space-6); }
.ml-13 { margin-left: 3.25rem; }
.mr-3 { margin-right: var(--space-3); }
.mr-4 { margin-right: var(--space-4); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.pt-2 { padding-top: var(--space-2); }
.pt-4 { padding-top: var(--space-4); }
.pt-8 { padding-top: var(--space-8); }
.pb-4 { padding-bottom: var(--space-4); }
.pl-6 { padding-left: var(--space-6); }
.section-padding { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.section-padding-sm { padding-top: calc(var(--section-padding-y) * 0.75); padding-bottom: calc(var(--section-padding-y) * 0.75); }
.section-padding-lg { padding-top: calc(var(--section-padding-y) * 1.25); padding-bottom: calc(var(--section-padding-y) * 1.25); }
.py-16 { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.py-20 { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.py-24 { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.top-10 { top: 2.5rem; }
.right-10 { right: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.left-20 { left: 5rem; }
.left-1\/3 { left: 33.333333%; }
.top-1\/2 { top: 50%; }
.top-1\/3 { top: 33.333333%; }
.z-0 { z-index: 0; }
.z-10 { z-index: var(--z-dropdown); }
.z-20 { z-index: var(--z-sticky); }
.z-30 { z-index: var(--z-fixed); }
.z-40 { z-index: var(--z-modal-backdrop); }
.z-50 { z-index: var(--z-modal); }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }
.overflow-visible { overflow: visible; }
.border { border: 1px solid hsl(var(--color-border)); }
.border-2 { border-width: 2px; }
.border-t { border-top: 1px solid hsl(var(--color-border)); }
.border-b { border-bottom: 1px solid hsl(var(--color-border)); }
.border-l { border-left: 1px solid hsl(var(--color-border)); }
.border-r { border-right: 1px solid hsl(var(--color-border)); }
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }
.transition-none { transition: none; }
.transition-all { transition: all var(--transition-slow); }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: var(--transition-base); }
.transition-opacity { transition-property: opacity; transition-duration: var(--transition-fast); }
.transition-transform { transition-property: transform; transition-duration: var(--transition-base); }
.scale-105:hover { transform: scale(1.05); }
.rotate-180 { transform: rotate(180deg); }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.shrink-0 { flex-shrink: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.order-first { order: -9999; }
.order-last { order: 9999; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-fill { object-fit: fill; }
.object-none { object-fit: none; }
.list-none { list-style: none; padding-left: 0; }
.space-y-2 > * + * { margin-top: var(--space-2); }
.space-y-3 > * + * { margin-top: var(--space-3); }
.space-y-4 > * + * { margin-top: var(--space-4); }
.space-y-6 > * + * { margin-top: var(--space-6); }
.backdrop-blur-sm { backdrop-filter: blur(8px); }
.blur-3xl { filter: blur(64px); }
.group { position: relative; }

/* ===== COMPONENTS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-slow);
  white-space: nowrap;
}
.btn-primary { color: white; background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); box-shadow: var(--shadow-md); }
.btn-primary:hover { opacity: 0.9; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-secondary { color: white; background: transparent; border: 2px solid white; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.btn-outline { color: hsl(var(--color-teal)); background: transparent; border: 2px solid hsl(var(--color-teal)); }
.btn-outline:hover { background: hsl(var(--color-teal) / 0.1); transform: translateY(-1px); }
.btn-ghost { color: hsl(var(--color-charcoal)); background: transparent; padding: 0.625rem 1rem; }
.btn-ghost:hover { color: hsl(var(--color-teal)); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--font-size-body-sm); }
.btn-lg { padding: 0.875rem 2rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: var(--font-size-body-lg); }
.btn-full { width: 100%; }
.btn-auto { width: auto; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: white;
  background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal)));
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-lg);
}
.btn-cta:hover { opacity: 0.9; box-shadow: var(--shadow-xl); transform: translateY(-1px); }
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: white;
  background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal)));
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-lg);
}
.btn-primary-hero:hover { opacity: 0.9; box-shadow: var(--shadow-xl); transform: translateY(-1px); }
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: white;
  background: transparent;
  border: 2px solid white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-slow);
}
.btn-secondary-hero:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.card { padding: clamp(1.25rem, 1rem + 1.25vw, 2.25rem); background: white; border: 1px solid hsl(var(--color-border)); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all var(--transition-slow); }
.card-interactive:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.card-elevated { box-shadow: var(--shadow-lg); }
.card-bordered { border: 2px solid hsl(var(--color-border)); }
.card-sm { padding: var(--space-4); }
.card-lg { padding: var(--space-8); }
.glass-card { padding: clamp(1.25rem, 1rem + 1.25vw, 2.25rem); background: white; border: 1px solid hsl(var(--color-border)); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.feature-card { padding: clamp(1.25rem, 1rem + 1.25vw, 2.25rem); background: white; border: 1px solid hsl(var(--color-border)); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.stat-card { padding: clamp(1.5rem, 1.25rem + 1.25vw, 2rem); background: white; border: 1px solid hsl(var(--color-border)); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; }
.pricing-card { position: relative; padding: clamp(1.25rem, 1rem + 1.25vw, 2.5rem); background: white; border: 2px solid hsl(var(--color-border)); border-radius: var(--radius-lg); box-shadow: var(--shadow-2xl); }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: clamp(3.5rem, 3rem + 2.5vw, 4.5rem); height: clamp(3.5rem, 3rem + 2.5vw, 4.5rem); margin-bottom: var(--space-4); border-radius: var(--radius-lg); }
.icon-box-sm { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); }
.icon-box-lg { width: 5rem; height: 5rem; border-radius: var(--radius-xl); }
.icon-gradient { background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); }
.icon-primary { background: hsl(var(--color-teal) / 0.1); color: hsl(var(--color-teal)); }
.icon-destructive { background: hsl(var(--color-destructive) / 0.1); color: hsl(var(--color-destructive)); }
.bg-gradient-icon { background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); }
.bg-destructive\/10 { background: hsl(var(--color-destructive) / 0.1); }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; margin: 0 auto var(--space-4); background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); border-radius: var(--radius-lg); }
.testimonial-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); border-radius: var(--radius-full); }
.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: var(--font-size-body-sm); font-weight: var(--font-weight-medium); border-radius: var(--radius-full); }
.badge-primary { color: white; background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); }
.pricing-badge { position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%); padding: 0.5rem 2rem; font-size: var(--font-size-caption); font-weight: var(--font-weight-medium); color: white; background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); border-radius: var(--radius-full); box-shadow: var(--shadow-lg); }
.nav-link { font-family: var(--font-body); font-weight: var(--font-weight-medium); font-size: var(--font-size-body); text-decoration: none; color: hsl(var(--color-charcoal)); transition: color var(--transition-base); }
.nav-link:hover { color: hsl(var(--color-navy)); text-decoration: none; }
input, textarea, select { font-family: var(--font-body); font-size: var(--font-size-body); padding: 0.75rem 1rem; border: 1px solid hsl(var(--color-border)); border-radius: var(--radius-md); transition: border-color var(--transition-base); }
input:focus, textarea:focus, select:focus { outline: none; border-color: hsl(var(--color-teal)); }
.bg-gradient-hero { background: linear-gradient(135deg, hsl(var(--color-navy)), hsl(var(--color-teal))); }
.bg-gradient-subtle { background: radial-gradient(circle at 30% 50%, hsl(var(--color-teal) / 0.05), transparent 50%), radial-gradient(circle at 70% 80%, hsl(var(--color-navy) / 0.05), transparent 50%); }
.bg-muted { background-color: hsl(var(--color-muted)); }
.bg-white { background-color: white; }
.bg-navy { background-color: hsl(var(--color-navy)); }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] summary svg { transform: rotate(180deg); }

/* ===== UTILITIES ===== */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-navy:hover { color: hsl(var(--color-navy)); }
.hover\:text-teal:hover { color: hsl(var(--color-teal)); }
.hover\:text-foreground:hover { color: hsl(var(--color-foreground)); }
.hover\:bg-teal\/5:hover { background-color: hsl(var(--color-teal) / 0.05); }
.hover\:bg-teal\/10:hover { background-color: hsl(var(--color-teal) / 0.1); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px hsl(var(--color-teal) / 0.5); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:rotate-180 { transform: rotate(180deg); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:gradient-text { background: linear-gradient(90deg, hsl(var(--color-teal)), hsl(var(--color-lime-green))); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bg-primary { background-color: hsl(var(--color-teal)); }
.bg-primary\/10 { background-color: hsl(var(--color-teal) / 0.1); }
.bg-primary\/25 { background-color: hsl(var(--color-teal) / 0.25); }
.bg-primary\/30 { background-color: hsl(var(--color-teal) / 0.3); }
.bg-muted\/30 { background-color: hsl(var(--color-muted) / 0.3); }
.bg-card { background-color: white; }
.bg-soft-gray { background-color: hsl(var(--color-soft-gray)); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-white\/95 { color: rgba(255, 255, 255, 0.95); }
.border-white { border-color: white; }
.border-primary { border-color: hsl(var(--color-teal)); }
.border-primary\/20 { border-color: hsl(var(--color-teal) / 0.2); }
.border-primary\/30 { border-color: hsl(var(--color-teal) / 0.3); }
.border-primary\/50 { border-color: hsl(var(--color-teal) / 0.5); }
.border-border { border-color: hsl(var(--color-border)); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.hover\:border-primary\/50:hover { border-color: hsl(var(--color-teal) / 0.5); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-navy\/60 { --tw-gradient-from: hsl(var(--color-navy) / 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-navy\/50 { --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--color-navy) / 0.5), var(--tw-gradient-to, transparent); }
.to-teal\/40 { --tw-gradient-to: hsl(var(--color-teal) / 0.4); }
.from-navy\/55 { --tw-gradient-from: hsl(var(--color-navy) / 0.55); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-teal\/45 { --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--color-teal) / 0.45), var(--tw-gradient-to, transparent); }
.to-navy\/55 { --tw-gradient-to: hsl(var(--color-navy) / 0.55); }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }
.founder-benefits { margin: var(--space-8) auto; padding: var(--space-6); max-width: 42rem; background: hsl(var(--color-teal) / 0.05); border: 1px solid hsl(var(--color-teal) / 0.2); border-radius: var(--radius-lg); }
.pricing-header { padding-top: 3.5rem; padding-bottom: var(--space-8); text-align: center; }
.pricing-price { padding: var(--space-4) 0; text-align: center; }
.pricing-features { padding: var(--space-8) var(--space-6); }
footer ul { list-style-type: none; padding-left: 0; }
footer ul li { list-style: none; }
.dropdown-menu { position: absolute; left: 0; margin-top: var(--space-2); width: 20rem; opacity: 0; visibility: hidden; transition: opacity var(--transition-base), visibility var(--transition-base); background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: var(--space-2); }
.group:hover .dropdown-menu { opacity: 1; visibility: visible; }
.btn-link { color: hsl(var(--color-navy)); text-decoration: underline; font-weight: var(--font-weight-medium); transition: color var(--transition-base); }
.btn-link:hover { color: hsl(var(--color-teal)); }
.hero-section {
  min-height: clamp(500px, 60vh, 800px);
  contain: layout style paint;
  position: relative;
}
.hero-bg-gradient { background: linear-gradient(to right, hsl(var(--color-navy) / 0.6), hsl(var(--color-navy) / 0.5), hsl(var(--color-teal) / 0.4)); z-index: 1; pointer-events: none; opacity: 1; }
.hero-image-container {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(65%);
  will-change: transform;
}
.hero-section .container { z-index: 10; position: relative; }

@media (min-width: 1024px) {
  .hero-section { min-height: clamp(600px, 70vh, 900px); }
}
.max-h-\[500px\] { max-height: 500px; }

/* ===== RESPONSIVE UTILITIES ===== */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:w-auto { width: auto; }
  .md\:w-1\/2 { width: 50%; }
  .md\:gap-4 { gap: var(--space-4); }
  .md\:gap-6 { gap: var(--space-6); }
  .md\:gap-8 { gap: var(--space-8); }
  .md\:gap-12 { gap: var(--space-12); }
  .md\:mb-8 { margin-bottom: var(--space-8); }
  .md\:mb-12 { margin-bottom: var(--space-12); }
  .md\:px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
  .md\:px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
  .md\:py-32 { padding-top: calc(var(--section-padding-y) * 1.5); padding-bottom: calc(var(--section-padding-y) * 1.5); }
  .md\:py-28 { padding-top: calc(var(--section-padding-y) * 1.25); padding-bottom: calc(var(--section-padding-y) * 1.25); }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
  .md\:max-w-4xl { max-width: 56rem; }
  .md\:max-w-5xl { max-width: 64rem; }
  .md\:text-xl { font-size: clamp(1.125rem, 1.0625rem + 0.3125vw, 1.25rem); }
  .md\:text-5xl { font-size: var(--font-size-h2); }
  .md\:text-6xl { font-size: var(--font-size-h1); }
  .btn-primary-hero, .btn-secondary-hero { padding: 0.875rem 2rem; }
  body[data-viewport="md"] .md\:h-10, body[data-viewport="lg"] .md\:h-10, body[data-viewport="xl"] .md\:h-10 { height: 2.5rem; }
  body[data-viewport="md"] .md\:h-12, body[data-viewport="lg"] .md\:h-12, body[data-viewport="xl"] .md\:h-12 { height: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:w-auto { width: auto; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:gap-6 { gap: var(--space-6); }
  .lg\:gap-8 { gap: var(--space-8); }
  .lg\:gap-12 { gap: var(--space-12); }
  .lg\:mb-8 { margin-bottom: var(--space-8); }
  .lg\:mb-12 { margin-bottom: var(--space-12); }
  .lg\:mb-16 { margin-bottom: var(--space-16); }
  .lg\:px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
  .lg\:px-12 { padding-left: var(--space-12); padding-right: var(--space-12); }
  .lg\:order-first { order: -9999; }
  .lg\:order-last { order: 9999; }
  .lg\:max-w-4xl { max-width: 56rem; }
  .lg\:max-w-5xl { max-width: 64rem; }
  .lg\:max-w-6xl { max-width: 72rem; }
  .lg\:max-w-7xl { max-width: 80rem; }
  .lg\:text-7xl { font-size: var(--font-size-hero); }
  body[data-viewport="lg"] .lg\:h-12, body[data-viewport="xl"] .lg\:h-12 { height: 3rem; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:px-12 { padding-left: var(--space-12); padding-right: var(--space-12); }
}

/* === CLS FIX PATCH === */

/* 1. Lock hero section height before image loads */
.hero-section {
  min-height: clamp(500px, 90vh, 1000px);
  position: relative;
  overflow: hidden;
  contain: layout style paint;
}

/* Single composited hero background layer */
.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: hsl(210, 62%, 24%);
}

/* Hero image: reserve space + prevent resize jump */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(65%);
  will-change: transform;
}

/* Prevent text jump inside hero while fonts load */
.hero-section .container {
  min-height: 450px;
}

/* 2. Prevent header/nav layout shift */
header,
nav {
  min-height: 64px;
  contain: layout style;
}

/* 3. Fallback font metrics for stability */
@font-face {
  font-family: 'Montserrat';
  src: url('/css/fonts/montserrat/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter';
  src: url('/css/fonts/inter/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: optional;
  ascent-override: 100%;
  descent-override: 20%;
  line-gap-override: 0%;
}
