/* ==========================================================================
   SafePlay Compliance Hub - Complete Design System CSS
   Vanilla CSS recreation of Tailwind-based design system
   ========================================================================== */

/* ==========================================================================
   Self-hosted Fonts (was Google Fonts)
   Reduced from 8 weights to 5: Poppins 400/600/700/800 + Inter variable
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  --background: hsl(50, 23%, 97%);
  --foreground: hsl(220, 26%, 14%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 26%, 14%);
  --primary: hsl(191, 100%, 42%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 100%, 71%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 20%, 95%);
  --muted-foreground: hsl(220, 10%, 46%);
  --accent: hsl(191, 60%, 95%);
  --accent-foreground: hsl(191, 100%, 30%);
  --destructive: hsl(0, 84%, 60%);
  --success: hsl(142, 71%, 45%);
  --warning: hsl(38, 92%, 50%);
  --border: hsl(220, 13%, 91%);
  --input: hsl(220, 13%, 91%);
  --ring: hsl(191, 100%, 42%);
  --radius: 0.75rem;

  /* Raw HSL values for use inside hsla() */
  --muted-hsl: 210, 20%, 95%;

  /* Alpha variants used in inline styles */
  --primary-alpha-10: hsla(191, 100%, 42%, 0.1);
  --secondary-alpha-10: hsla(0, 100%, 71%, 0.1);
  --success-alpha-10: hsla(142, 71%, 45%, 0.1);
  --warning-alpha-10: hsla(38, 92%, 50%, 0.1);
  --destructive-alpha-10: hsla(0, 84%, 60%, 0.1);
  --background-alpha-60: hsla(50, 23%, 97%, 0.6);
  --background-alpha-80: hsla(50, 23%, 97%, 0.8);
  --background-alpha-40: hsla(50, 23%, 97%, 0.4);
  --foreground-alpha-70: hsla(220, 26%, 14%, 0.7);

  /* Radius scale used in inline styles */
  --radius-2xl: 1rem;
  --radius-xl: 0.75rem;
  --radius-lg: 0.5rem;
  --radius-md: 0.375rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container,
.container-tight {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section,
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .container,
  .container-tight {
    padding: 0 2rem;
  }
  .section,
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .section,
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ==========================================================================
   Typography - Font Family
   ========================================================================== */
.font-heading {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

.italic {
  font-style: italic;
}

/* ==========================================================================
   Typography - Sizes
   ========================================================================== */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

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

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

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

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

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1.2;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1.2;
}

/* ==========================================================================
   Typography - Weights
   ========================================================================== */
.font-normal {
  font-weight: 400;
}

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

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

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

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

/* ==========================================================================
   Typography - Tracking / Leading / Misc
   ========================================================================== */
.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-relaxed {
  line-height: 1.625;
}

.uppercase {
  text-transform: uppercase;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   Text Colors
   ========================================================================== */
.text-foreground {
  color: var(--foreground);
}

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

.text-secondary {
  color: var(--secondary);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-destructive {
  color: var(--destructive);
}

.text-success {
  color: var(--success);
}

.text-warning {
  color: var(--warning);
}

.text-white {
  color: #ffffff;
}

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

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

/* Text colors with opacity */
.text-background\/60 {
  color: hsla(50, 23%, 97%, 0.6);
}

.text-background\/80 {
  color: hsla(50, 23%, 97%, 0.8);
}

.text-background\/40 {
  color: hsla(50, 23%, 97%, 0.4);
}

.text-foreground\/70 {
  color: hsla(220, 26%, 14%, 0.7);
}

.text-foreground\/90 {
  color: hsla(220, 26%, 14%, 0.9);
}

/* ==========================================================================
   Background Colors
   ========================================================================== */
.bg-background {
  background-color: var(--background);
}

.bg-card {
  background-color: var(--card);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-foreground {
  background-color: var(--foreground);
}

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

.bg-warning {
  background-color: var(--warning);
}

.bg-destructive {
  background-color: var(--destructive);
}

.bg-white {
  background-color: #ffffff;
}

/* Background colors with opacity */
.bg-primary\/10 {
  background-color: hsla(191, 100%, 42%, 0.1);
}

.bg-secondary\/10 {
  background-color: hsla(0, 100%, 71%, 0.1);
}

.bg-success\/10 {
  background-color: hsla(142, 71%, 45%, 0.1);
}

.bg-warning\/10 {
  background-color: hsla(38, 92%, 50%, 0.1);
}

.bg-destructive\/10 {
  background-color: hsla(0, 84%, 60%, 0.1);
}

.bg-muted\/50 {
  background-color: hsla(210, 20%, 95%, 0.5);
}

.bg-muted\/80 {
  background-color: hsla(210, 20%, 95%, 0.8);
}

.bg-primary\/5 {
  background-color: hsla(191, 100%, 42%, 0.05);
}

.text-primary\/30 {
  color: hsla(191, 100%, 42%, 0.3);
}

/* Text opacity variants */
.text-foreground\/70 {
  color: hsla(220, 26%, 14%, 0.7);
}

.text-foreground\/90 {
  color: hsla(220, 26%, 14%, 0.9);
}

.text-background\/40 {
  color: hsla(50, 23%, 97%, 0.4);
}

.text-background\/60 {
  color: hsla(50, 23%, 97%, 0.6);
}

.text-background\/80 {
  color: hsla(50, 23%, 97%, 0.8);
}

/* Additional background opacity variants */
.bg-primary\/20 {
  background-color: hsla(191, 100%, 42%, 0.2);
}

.bg-foreground\/50 {
  background-color: hsla(220, 26%, 14%, 0.5);
}

.bg-background\/10 {
  background-color: hsla(50, 23%, 97%, 0.1);
}

/* Border opacity variants */
.border-primary\/20 {
  border-color: hsla(191, 100%, 42%, 0.2);
}

.border-primary\/30 {
  border-color: hsla(191, 100%, 42%, 0.3);
}

.border-background\/10 {
  border-color: hsla(50, 23%, 97%, 0.1);
}

.border-background\/20 {
  border-color: hsla(50, 23%, 97%, 0.2);
}

/* ==========================================================================
   Gradients
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, hsl(191, 100%, 42%), hsl(191, 100%, 32%));
}

.bg-gradient-warm {
  background: linear-gradient(135deg, hsl(0, 100%, 71%), hsl(0, 100%, 58%));
}

/* ==========================================================================
   Flexbox
   ========================================================================== */
.flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

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

.flex-1 {
  flex: 1 1 0%;
}

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

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

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

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

.shrink-0,
.flex-shrink-0 {
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   Grid
   ========================================================================== */
.grid {
  display: grid;
}

.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));
}

/* ==========================================================================
   Gap
   ========================================================================== */
.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-7 {
  gap: 1.75rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-9 {
  gap: 2.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-11 {
  gap: 2.75rem;
}

.gap-12 {
  gap: 3rem;
}

/* ==========================================================================
   Spacing - Margin
   ========================================================================== */
.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.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-11 { margin-top: 2.75rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }

.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.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }

.mt-0\.5 { margin-top: 0.125rem; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Spacing - Padding
   ========================================================================== */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-8 { padding-top: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pr-4 { padding-right: 1rem; }
.pr-8 { padding-right: 2rem; }

.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }

/* ==========================================================================
   Sizing
   ========================================================================== */
.w-full {
  width: 100%;
}

.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-28 { width: 7rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }

.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.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; }

.min-h-screen {
  min-height: 100vh;
}

/* ==========================================================================
   Borders
   ========================================================================== */
.border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: var(--border);
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--border);
}

.border-2 {
  border-width: 2px;
  border-style: solid;
  border-color: var(--border);
}

/* Border colors */
.border-border {
  border-color: var(--border);
}

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

.border-primary\/20 {
  border-color: hsla(191, 100%, 42%, 0.2);
}

.border-primary\/30 {
  border-color: hsla(191, 100%, 42%, 0.3);
}

/* Border radius */
.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-t-xl {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* ==========================================================================
   Shadows
   ========================================================================== */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Components - Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.625rem 1.25rem;
  height: 2.5rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  gap: 0.5rem;
}

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

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(191, 100%, 36%);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(0, 100%, 64%);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  border-color: var(--primary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn-lg {
  height: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1rem;
}

.btn-sm {
  height: 2.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
}

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

/* ==========================================================================
   Components - Cards
   ========================================================================== */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-content {
  padding: 1.5rem;
}

.card:hover,
.card-hover:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-color: hsla(191, 100%, 42%, 0.3);
}

/* ==========================================================================
   Components - Forms
   ========================================================================== */
.input,
.textarea,
.select {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsla(191, 100%, 42%, 0.2);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-foreground);
}

.textarea {
  min-height: 5rem;
  resize: vertical;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  display: block;
}

/* ==========================================================================
   Components - Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.badge-primary {
  background-color: hsla(191, 100%, 42%, 0.1);
  color: var(--primary);
}

.badge-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.badge-secondary {
  background-color: hsla(0, 100%, 71%, 0.1);
  color: var(--secondary);
}

.badge-success {
  background-color: hsla(142, 71%, 45%, 0.1);
  color: var(--success);
}

.badge-warning {
  background-color: hsla(38, 92%, 50%, 0.1);
  color: var(--warning);
}

.badge-destructive {
  background-color: hsla(0, 84%, 60%, 0.1);
  color: var(--destructive);
}

/* ==========================================================================
   Components - Accordion
   ========================================================================== */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--foreground);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--primary);
}

/* Hide inline SVG chevron — the ::after pseudo-element provides the icon */
.accordion-chevron {
  display: none;
}

.accordion-trigger::after {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
}

.accordion-content-inner {
  padding-bottom: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ==========================================================================
   Components - Header (BEM + flat class aliases)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: hsla(50, 23%, 97%, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: 64px;
  display: flex;
  align-items: center;
}

/* BEM: header__nav — desktop navigation wrapper */
.header__nav,
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* BEM: header__logo — logo link */
.header__logo,
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.header__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
}

.header__logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.header__logo-safe {
  color: var(--foreground);
}

.header__logo-play {
  color: var(--primary);
}

/* BEM: header__links — desktop nav link list */
.header__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* BEM: header__link — individual nav link */
.header__link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.header__link:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.header__link--active {
  background-color: var(--muted);
  color: var(--primary);
}

/* BEM: header__ctas — desktop call-to-action buttons */
.header__ctas,
.header-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* BEM: header__login — desktop login link */
.header__login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* BEM: header__menu-toggle — mobile hamburger/close button */
.header__menu-toggle,
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
}

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

.header__menu-icon--open {}
.header__menu-icon--close {}

/* BEM: header__mobile-menu — dropdown mobile menu */
.header__mobile-menu,
.mobile-menu {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem;
}

/* BEM: header__mobile-links — mobile nav link list */
.header__mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* BEM: header__mobile-link — individual mobile nav link */
.header__mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.header__mobile-link:hover {
  background-color: var(--muted);
}

.header__mobile-link--active {
  background-color: var(--muted);
  color: var(--primary);
}

/* BEM: header__mobile-ctas — mobile CTA container */
.header__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* BEM: header__mobile-login — mobile login link */
.header__mobile-login {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.375rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.header__mobile-login:hover {
  background-color: var(--muted);
}

/* Legacy flat-class nav link styles (kept for backward compat) */
.header-nav a,
.header-nav button {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav a:hover,
.header-nav button:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.header-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--foreground);
}

.mobile-menu {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

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

@media (min-width: 768px) {
  .header {
    height: 80px;
  }

  .header__links,
  .header-nav {
    display: flex;
  }

  .header__ctas,
  .header-ctas {
    display: flex;
  }

  .header__menu-toggle,
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   Components - Footer
   ========================================================================== */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  border-top: 1px solid var(--border);
  padding: 4rem 1rem;
}

.footer a {
  color: hsla(50, 23%, 97%, 0.7);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: hsla(50, 23%, 97%, 1);
}

/* BEM: footer__grid — main footer grid layout */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 2rem;
  }
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* BEM: footer__brand — brand column with logo and tagline */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
}

.footer__logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer__logo-safe {
  color: var(--background);
}

.footer__logo-play {
  color: var(--primary);
}

.footer__tagline {
  color: hsla(50, 23%, 97%, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* BEM: footer__newsletter — newsletter form */
.footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .footer__newsletter {
    flex-direction: row;
  }
}

.footer__newsletter-field {
  position: relative;
  flex: 1;
}

.footer__newsletter-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  display: inline-flex;
}

.footer__newsletter-input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid hsla(50, 23%, 97%, 0.2);
  background-color: hsla(50, 23%, 97%, 0.1);
  color: var(--background);
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: border-color 0.2s ease;
}

.footer__newsletter-input::placeholder {
  color: hsla(50, 23%, 97%, 0.5);
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer__newsletter-btn {
  white-space: nowrap;
}

/* BEM: footer__column — link columns */
.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--background);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__column-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: hsla(50, 23%, 97%, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: hsla(50, 23%, 97%, 1);
}

/* BEM: footer__trust — trust badges row */
.footer__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(50, 23%, 97%, 0.15);
  font-size: 0.75rem;
  color: hsla(50, 23%, 97%, 0.6);
}

.footer__trust-badge {
  white-space: nowrap;
}

.footer__trust-sep {
  color: hsla(50, 23%, 97%, 0.3);
}

/* BEM: footer__copyright — copyright row */
.footer__copyright {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(50, 23%, 97%, 0.15);
  font-size: 0.75rem;
  color: hsla(50, 23%, 97%, 0.5);
}

.footer__copyright p + p {
  margin-top: 0.25rem;
}

/* ==========================================================================
   Components - Cookie Consent
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background-color: var(--card);
  box-shadow: 0 -4px 15px -3px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .cookie-consent {
    width: auto;
    max-width: 28rem;
    bottom: 1.5rem;
    left: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }
}

/* BEM: cookie-consent sub-elements */
.cookie-consent__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-consent__close:hover {
  color: var(--foreground);
}

.cookie-consent__text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  padding-right: 1.5rem;
}

.cookie-consent__text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.cookie-consent__actions .btn {
  min-height: 2.75rem;
}

/* ==========================================================================
   Components - Exit Intent
   ========================================================================== */

/* BEM: exit-intent — wrapper + overlay + card */
.exit-intent {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exit-intent__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background-color: hsla(220, 26%, 14%, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.exit-intent__card {
  position: relative;
  z-index: 101;
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  background-color: var(--card);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 1rem;
}

.exit-intent__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.exit-intent__close:hover {
  color: var(--foreground);
}

.exit-intent__emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.exit-intent__heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.exit-intent__text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.exit-intent__form {
  margin-bottom: 0.75rem;
}

.exit-intent__field {
  display: flex;
  gap: 0.5rem;
}

.exit-intent__input {
  flex: 1;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exit-intent__input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsla(191, 100%, 42%, 0.2);
}

.exit-intent__input::placeholder {
  color: var(--muted-foreground);
}

.exit-intent__btn {
  white-space: nowrap;
}

.exit-intent__disclaimer {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.exit-intent__disclaimer a {
  color: var(--primary);
  text-decoration: underline;
}

.exit-intent__success {
  text-align: center;
  padding: 1rem 0;
}

/* Legacy flat exit-intent classes (kept for backward compat) */
.exit-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(220, 26%, 14%, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
}

.exit-card {
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  background-color: var(--card);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Components - CTA Banner
   ========================================================================== */
.cta-banner {
  color: white;
  text-align: center;
}

.cta-banner__heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

@media (min-width: 768px) {
  .cta-banner__heading {
    font-size: 2.25rem;
  }
}

.cta-banner__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.625;
}

.cta-banner__btn {
  display: inline-flex;
  max-width: 100%;
}

@media (max-width: 767px) {
  .cta-banner__btn .cta-mobile-hidden {
    display: none;
  }
}

/* ==========================================================================
   Components - Pricing Toggle
   ========================================================================== */
.pricing-toggle-btn {
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  cursor: pointer;
}

.pricing-toggle-btn.active {
  background-color: var(--card);
  color: var(--foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Components - Blog Category Filter
   ========================================================================== */
.blog-category-btn {
  cursor: pointer;
}

.blog-category-btn.active {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   Utility - Display
   ========================================================================== */
.hidden {
  display: none;
}

.block {
  display: block;
}

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

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

.inline {
  display: inline;
}

/* ==========================================================================
   Utility - Position
   ========================================================================== */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* ==========================================================================
   Utility - Z-Index
   ========================================================================== */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ==========================================================================
   Utility - Overflow
   ========================================================================== */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* ==========================================================================
   Utility - Transitions
   ========================================================================== */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: ease;
  transition-duration: 0.2s;
}

.transition-all {
  transition-property: all;
  transition-timing-function: ease;
  transition-duration: 0.2s;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: ease;
  transition-duration: 0.2s;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: ease;
  transition-duration: 0.2s;
}

/* ==========================================================================
   Utility - Opacity
   ========================================================================== */
.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-100 {
  opacity: 1;
}

/* ==========================================================================
   Utility - Text Alignment
   ========================================================================== */
.text-center {
  text-align: center;
}

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

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

/* ==========================================================================
   Utility - Space-Y (Lobotomized Owl)
   ========================================================================== */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ==========================================================================
   Utility - Misc
   ========================================================================== */
.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;
}

.cursor-pointer {
  cursor: pointer;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pointer-events-none {
  pointer-events: none;
}

.select-none {
  user-select: none;
  -webkit-user-select: none;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive Variants - sm (640px)
   ========================================================================== */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:block {
    display: block;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

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

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

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1.2;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:gap-6 {
    gap: 1.5rem;
  }

  .sm\:gap-8 {
    gap: 2rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ==========================================================================
   Responsive Variants - md (768px)
   ========================================================================== */
@media (min-width: 768px) {
  .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\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:block {
    display: block;
  }

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

  .md\:flex-row {
    flex-direction: row;
  }

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

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

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

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

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

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

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

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

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1.2;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1.2;
  }

  .md\:gap-2 {
    gap: 0.5rem;
  }

  .md\:gap-3 {
    gap: 0.75rem;
  }

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:gap-10 {
    gap: 2.5rem;
  }

  .md\:gap-12 {
    gap: 3rem;
  }

  .md\:p-4 {
    padding: 1rem;
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .md\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .md\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .md\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .md\:mt-0 {
    margin-top: 0;
  }

  .md\:mt-4 {
    margin-top: 1rem;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:mb-4 {
    margin-bottom: 1rem;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:max-w-md {
    max-width: 28rem;
  }

  .md\:max-w-2xl {
    max-width: 42rem;
  }

  .md\:max-w-3xl {
    max-width: 48rem;
  }

  .md\:space-y-0 > * + * {
    margin-top: 0;
  }

  .md\:space-y-4 > * + * {
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Responsive Variants - lg (1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .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\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:block {
    display: block;
  }

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

  .lg\:flex-row {
    flex-direction: row;
  }

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

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

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

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

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

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

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

  .lg\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .lg\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .lg\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1.2;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1.2;
  }

  .lg\:gap-4 {
    gap: 1rem;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:gap-10 {
    gap: 2.5rem;
  }

  .lg\:gap-12 {
    gap: 3rem;
  }

  .lg\:p-6 {
    padding: 1.5rem;
  }

  .lg\:p-8 {
    padding: 2rem;
  }

  .lg\:p-10 {
    padding: 2.5rem;
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lg\:mt-0 {
    margin-top: 0;
  }

  .lg\:mb-0 {
    margin-bottom: 0;
  }

  .lg\:w-auto {
    width: auto;
  }

  .lg\:max-w-3xl {
    max-width: 48rem;
  }

  .lg\:max-w-6xl {
    max-width: 72rem;
  }

  .lg\:space-y-0 > * + * {
    margin-top: 0;
  }
}

/* ==========================================================================
   Responsive Display Utility Helpers
   ========================================================================== */
@media (min-width: 768px) {
  .md\:flex-1 {
    flex: 1 1 0%;
  }

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

  .md\:w-full {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .lg\:flex-1 {
    flex: 1 1 0%;
  }

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

  .lg\:w-full {
    width: 100%;
  }
}

/* ==========================================================================
   Hover States
   ========================================================================== */
.hover\:shadow-lg:hover,
.hover-shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hover\:bg-primary:hover {
  background-color: var(--primary);
}

.hover\:bg-muted:hover {
  background-color: var(--muted);
}

.hover\:bg-muted\/80:hover {
  background-color: hsla(210, 20%, 95%, 0.8);
}

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

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

.hover\:text-foreground:hover {
  color: var(--foreground);
}

.hover\:border-primary:hover,
.hover-border-primary:hover {
  border-color: var(--primary);
}

.hover\:border-primary\/30:hover {
  border-color: hsla(191, 100%, 42%, 0.3);
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:underline:hover,
.hover-underline:hover {
  text-decoration: underline;
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Focus States
   ========================================================================== */
.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px hsla(191, 100%, 42%, 0.4);
}

.focus\:outline-none:focus {
  outline: none;
}

/* ==========================================================================
   Group Hover (parent .group triggers child hover styles)
   ========================================================================== */
.group:hover .group-hover\:text-primary {
  color: var(--primary);
}

.group:hover .group-hover\:shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.group:hover .group-hover\:border-primary\/30 {
  border-color: hsla(191, 100%, 42%, 0.3);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-0.25rem);
}

.group:hover .group-hover-visible {
  opacity: 1;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .header,
  .footer,
  .cookie-consent,
  .exit-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* ==========================================================================
   Blog Prose Styles
   ========================================================================== */
.prose p {
  color: hsla(220, 26%, 14%, 0.9);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.prose h3 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: hsla(220, 26%, 14%, 0.9);
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
}

.prose a:hover {
  opacity: 0.8;
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   Mobile Overflow Prevention & Tap Target Fixes
   ========================================================================== */
html, body {
  overflow-x: hidden;
}

/* Hamburger menu minimum tap target */
.mobile-menu-toggle {
  min-width: 3rem;
  min-height: 3rem;
}

/* Footer links tap target improvement */
@media (max-width: 767px) {
  .footer-links a {
    display: inline-block;
    padding: 0.5rem 0;
  }
}
