/* ===============================================
   MakeUGC - Modern Professional Styles 2025
   Import Professional Design System
   =============================================== */

/* All styles consolidated for better loading performance */

/* ============================================
   Legacy Variables (for backward compatibility)
   ============================================ */
:root {
    /* Legacy color mappings to new system */
    --color-warm-stone: var(--background-secondary);
    --color-sage: var(--primary-600);
    --color-charcoal: var(--text-primary);
    --color-clay: var(--neutral-400);
    --color-cream: var(--background-primary);
    --color-muted-teal: var(--neutral-500);
    --color-soft-terracotta: var(--neutral-400);
    
    /* Legacy typography */
    --font-serif: var(--font-display);
    --font-sans: var(--font-body);
    
    /* Legacy radius */
    --radius-soft: var(--radius-lg);
    --radius-softer: var(--radius-xl);
    
    /* Legacy shadows */
    --shadow-subtle: var(--shadow-sm);
    --shadow-lift: var(--shadow-md);
    
    /* Legacy transitions */
    --transition-gentle: var(--duration-base) var(--ease-out);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--color-cream);
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 154, 122, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-charcoal);
    font-weight: 500;
    transition: var(--transition-gentle);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--color-sage);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-sage);
    transition: var(--transition-gentle);
}

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

/* Special styling for navbar contact button */
.nav-links .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--color-sage);
    border: 1.5px solid var(--color-sage);
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-links .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-sage), var(--color-muted-teal));
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-links .btn-primary:hover {
    color: white;
    border-color: var(--color-sage);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 154, 122, 0.25);
}

.nav-links .btn-primary:hover::before {
    left: 0;
}

.nav-links .btn-primary::after {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-charcoal);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Slide Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--color-cream);
    z-index: 1001;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-header {
    padding: 1.5rem;
    background: var(--color-sage);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin-bottom: 1rem;
}

.mobile-menu-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-charcoal);
    text-decoration: none;
    border-radius: var(--radius-soft);
    transition: var(--transition-gentle);
    font-weight: 500;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: var(--color-sage);
    color: white;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-soft);
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-gentle);
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-sage);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
    background: #7A8A6A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-secondary {
    background: transparent;
    color: var(--color-sage);
    border: 2px solid var(--color-sage);
}

.btn-secondary:hover {
    background: var(--color-sage);
    color: white;
}

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

/* ============================================
   Cards
   ============================================ */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-softer);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-gentle);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

/* ============================================
   Forms
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-warm-stone);
    border-radius: var(--radius-soft);
    font-family: var(--font-sans);
    background: white;
    transition: var(--transition-gentle);
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-sage);
}

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

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

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

/* ============================================
   Range Sliders
   ============================================ */
input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--color-warm-stone);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-sage);
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-sage);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-subtle);
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    p {
        font-size: 1rem;
    }
}

/* ============================================
   Quote Calculator
   ============================================ */
.quote-calculator {
    background: white;
    border-radius: var(--radius-softer);
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
    max-width: 800px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-warm-stone);
    border-radius: 3px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-sage), var(--color-muted-teal));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.step-indicator {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    opacity: 0.7;
    margin: 0.5rem 0;
}

.service-options {
    display: grid;
    gap: 1rem;
}

.service-option {
    display: block;
    cursor: pointer;
}

.service-option input[type="checkbox"] {
    display: none;
}

.option-content {
    padding: 1.5rem;
    border: 2px solid var(--color-warm-stone);
    border-radius: var(--radius-soft);
    transition: var(--transition-gentle);
}

.service-option input[type="checkbox"]:checked + .option-content {
    border-color: var(--color-sage);
    background: rgba(139, 154, 122, 0.05);
}

.option-content h5 {
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.option-content p {
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
    opacity: 0.8;
    font-size: 0.9rem;
}

.price {
    font-weight: 600;
    color: var(--color-sage);
    font-size: 0.9rem;
}

.requirement-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-warm-stone);
    border-radius: var(--radius-soft);
}

.requirement-group h5 {
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.range-value {
    font-weight: 600;
    color: var(--color-sage);
    font-size: 0.9rem;
}

.calculator-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

/* ============================================
   Footer (if shared across pages)
   ============================================ */
.footer {
    background: var(--color-charcoal);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer a {
    color: var(--color-sage);
    text-decoration: none;
    transition: var(--transition-gentle);
}

.footer a:hover {
    color: var(--color-clay);
}
/* ===============================================
   MakeUGC - Professional Design System 2025
   Modern, Conversion-Focused UI/UX
   =============================================== */

:root {
  /* ============ PRIMARY COLORS ============ */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-900: #0c4a6e;
  
  /* ============ NEUTRAL COLORS ============ */
  --neutral-0: #ffffff;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* ============ ACCENT COLORS ============ */
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-error: #ef4444;
  --accent-purple: #8b5cf6;

  /* ============ SEMANTIC COLORS ============ */
  --background-primary: var(--neutral-0);
  --background-secondary: var(--neutral-50);
  --background-tertiary: var(--neutral-100);
  
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-500);
  
  --border-light: var(--neutral-200);
  --border-medium: var(--neutral-300);
  --border-dark: var(--neutral-400);

  /* ============ TYPOGRAPHY SYSTEM ============ */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Typography Scale (Perfect Fourth - 1.333) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* ============ SPACING SYSTEM ============ */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* ============ BORDER RADIUS ============ */
  --radius-none: 0;
  --radius-sm: 0.125rem;    /* 2px */
  --radius-base: 0.25rem;   /* 4px */
  --radius-md: 0.375rem;    /* 6px */
  --radius-lg: 0.5rem;      /* 8px */
  --radius-xl: 0.75rem;     /* 12px */
  --radius-2xl: 1rem;       /* 16px */
  --radius-3xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;

  /* ============ SHADOWS ============ */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-base: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* ============ ANIMATIONS ============ */
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;

  --ease-linear: linear;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ============ BREAKPOINTS ============ */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ============ CONTAINER WIDTHS ============ */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;
}

/* ============ RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* ============ BASE STYLES ============ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  color: var(--text-primary);
  background-color: var(--background-primary);
  line-height: var(--leading-relaxed);
}

/* ============ TYPOGRAPHY ============ */
h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}

h5, .h5 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
}

h6, .h6 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1, .h1 { font-size: var(--text-4xl); }
  h2, .h2 { font-size: var(--text-3xl); }
  h3, .h3 { font-size: var(--text-2xl); }
  h4, .h4 { font-size: var(--text-xl); }
}

/* Text Utilities */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* ============ LAYOUT UTILITIES ============ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 640px) { .container { max-width: var(--container-sm); } }
@media (min-width: 768px) { .container { max-width: var(--container-md); } }
@media (min-width: 1024px) { .container { max-width: var(--container-lg); } }
@media (min-width: 1280px) { .container { max-width: var(--container-xl); } }
@media (min-width: 1536px) { .container { max-width: var(--container-2xl); } }

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

/* Grid System */
.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)); }

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Responsive Grid */
@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-y-4 > * + * { margin-top: var(--space-4); }
.space-y-6 > * + * { margin-top: var(--space-6); }
.space-y-8 > * + * { margin-top: var(--space-8); }

/* ============ SPACING UTILITIES ============ */
.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.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); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

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

.m-0 { margin: 0; }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.my-12 { margin-top: var(--space-12); margin-bottom: var(--space-12); }

/* ============ BACKGROUND UTILITIES ============ */
.bg-primary { background-color: var(--background-primary); }
.bg-secondary { background-color: var(--background-secondary); }
.bg-tertiary { background-color: var(--background-tertiary); }

/* ============ BORDER UTILITIES ============ */
.border { border: 1px solid var(--border-light); }
.border-medium { border: 1px solid var(--border-medium); }
.border-dark { border: 1px solid var(--border-dark); }

.rounded { border-radius: var(--radius-base); }
.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); }

/* ============ SHADOW UTILITIES ============ */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-base); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ============ TRANSITIONS ============ */
.transition { 
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: var(--ease-in-out);
  transition-duration: var(--duration-base);
}

.transition-all { 
  transition-property: all;
  transition-timing-function: var(--ease-in-out);
  transition-duration: var(--duration-base);
}

/* ============ HOVER EFFECTS ============ */
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* ============ FOCUS STATES ============ */
.focus\:outline-none:focus { outline: none; }
.focus\:ring:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--primary-500);
}

/* ============ RESPONSIVE UTILITIES ============ */
@media (max-width: 640px) {
  .sm\:text-center { text-align: center; }
  .sm\:px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
}

@media (max-width: 768px) {
  .md\:text-center { text-align: center; }
  .md\:px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
}

/* ============ DISPLAY UTILITIES ============ */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

@media (max-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
}

/* ============ TEXT ALIGNMENT ============ */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
/* ===============================================
   MakeUGC - Modern UI Components 2025
   Conversion-Optimized Components
   =============================================== */

/* ============ BUTTON SYSTEM ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--duration-base) var(--ease-out);
  transition-property: all;
  white-space: nowrap;
  user-select: none;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-500), 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button - High Conversion */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--neutral-0);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--neutral-0);
  color: var(--primary-700);
  border: 2px solid var(--primary-200);
}

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

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

.btn-ghost:hover {
  background-color: var(--background-secondary);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

/* CTA Button with Glow Effect */
.btn-cta {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
  color: var(--neutral-0);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--duration-slower) var(--ease-out);
}

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

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

/* ============ CARD SYSTEM ============ */
.card {
  background-color: var(--neutral-0);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: var(--space-6);
  transition: var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.card-feature {
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

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

.card-testimonial {
  background: linear-gradient(145deg, var(--background-primary) 0%, var(--background-secondary) 100%);
  border: 2px solid var(--primary-100);
  position: relative;
}

.card-testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 4rem;
  color: var(--primary-200);
  font-family: Georgia, serif;
  line-height: 1;
}

.card-blog {
  overflow: hidden;
  transition: var(--duration-base) var(--ease-out);
}

.card-blog:hover .card-blog-image {
  transform: scale(1.05);
}

.card-blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--duration-slow) var(--ease-out);
}

.card-blog-content {
  padding: var(--space-6);
}

/* ============ NAVIGATION ============ */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: var(--duration-base) var(--ease-out);
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--font-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: var(--duration-base) var(--ease-out);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-700);
  background-color: var(--primary-50);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-600);
  transition: var(--duration-base) var(--ease-out);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Mobile Navigation */
.mobile-nav {
  background-color: var(--neutral-0);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--duration-base) var(--ease-out);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

/* ============ FORM ELEMENTS ============ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: var(--neutral-0);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: var(--duration-base) var(--ease-out);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

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

/* ============ HERO SECTIONS ============ */
.hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-50) 50%, var(--primary-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.4'%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Ccircle cx='31' cy='9' r='2'/%3E%3Ccircle cx='53' cy='9' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* ============ SECTIONS ============ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

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

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ BADGES & TAGS ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  background-color: var(--primary-100);
  color: var(--primary-800);
}

.badge-success {
  background-color: #dcfce7;
  color: #166534;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-new {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: var(--neutral-0);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============ STATS & METRICS ============ */
.stat-card {
  background: linear-gradient(145deg, var(--neutral-0) 0%, var(--neutral-50) 100%);
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: var(--duration-base) var(--ease-out);
}

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

.stat-number {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--primary-700);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
}

/* ============ PROGRESS BARS ============ */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--ease-out);
}

/* ============ TOOLTIPS ============ */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--neutral-800);
  color: var(--neutral-0);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--duration-base) var(--ease-out);
  z-index: 100;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* ============ LOADING STATES ============ */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

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

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

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn-primary {
    background: var(--neutral-900);
    border: 2px solid var(--neutral-0);
  }
  
  .card {
    border-width: 2px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ RESPONSIVE UTILITIES ============ */
@media (max-width: 768px) {
  .btn-xl {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-lg);
  }
  
  .btn-cta {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
  
  .card {
    padding: var(--space-4);
  }
  
  .stat-number {
    font-size: var(--text-3xl);
  }
}
/* ===============================================
   Utility Classes for Modern UI
   Complete set of utility classes used in HTML
   =============================================== */

/* ============ DISPLAY & POSITIONING ============ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

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

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

/* ============ SIZING ============ */
.w-4 { width: var(--space-4); }
.w-5 { width: var(--space-5); }
.w-6 { width: var(--space-6); }
.w-8 { width: var(--space-8); }
.w-10 { width: 2.5rem; }
.w-12 { width: var(--space-12); }
.w-16 { width: var(--space-16); }

.h-4 { height: var(--space-4); }
.h-5 { height: var(--space-5); }
.h-6 { height: var(--space-6); }
.h-8 { height: var(--space-8); }
.h-10 { height: 2.5rem; }
.h-12 { height: var(--space-12); }
.h-16 { height: var(--space-16); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.max-w-sm { max-width: 24rem; }
.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; }
.max-w-7xl { max-width: 80rem; }

/* ============ SPACING ============ */
.mx-auto { 
  margin-left: auto; 
  margin-right: auto; 
}

.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); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.space-x-2 > * + * { margin-left: var(--space-2); }
.space-x-3 > * + * { margin-left: var(--space-3); }
.space-x-4 > * + * { margin-left: var(--space-4); }
.space-x-6 > * + * { margin-left: var(--space-6); }
.space-x-8 > * + * { margin-left: var(--space-8); }

.space-y-2 > * + * { margin-top: var(--space-2); }
.space-y-3 > * + * { margin-top: var(--space-3); }

/* ============ COLORS ============ */
.text-primary { color: var(--primary-600); }
.text-white { color: var(--neutral-0); }
.text-transparent { color: transparent; }

.bg-primary { background-color: var(--primary-600); }
.bg-white { background-color: var(--neutral-0); }

/* Gradient backgrounds */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

.from-primary-50 { --tw-gradient-from: var(--primary-50); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary-600 { --tw-gradient-from: var(--primary-600); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-primary-100 { --tw-gradient-to: var(--primary-100); }
.to-primary-700 { --tw-gradient-to: var(--primary-700); }

.bg-clip-text { 
  -webkit-background-clip: text;
  background-clip: text;
}

/* Hover colors */
.hover\:text-primary-400:hover { color: var(--primary-400); }
.hover\:bg-primary-600:hover { background-color: var(--primary-600); }

/* ============ BORDERS ============ */
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-neutral-800 { border-color: var(--neutral-800); }

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

/* ============ OBJECT FIT ============ */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ============ OVERFLOW ============ */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ============ FLEXBOX GRID UTILITIES ============ */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }

/* Responsive grid columns */
@media (min-width: 768px) {
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .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\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
}

/* Small screen utilities */
@media (max-width: 640px) {
  .sm\:flex-col { flex-direction: column; }
}

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

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

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* ============ TRANSFORM UTILITIES ============ */
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.rotate-45 { transform: rotate(45deg); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-y-1 { transform: translateY(0.25rem); }

/* ============ INTERACTION STATES ============ */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

.active\:scale-95:active { transform: scale(0.95); }

/* ============ OPACITY ============ */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* ============ CURSOR ============ */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* ============ USER SELECT ============ */
.select-none { user-select: none; }
.select-text { user-select: text; }

/* ============ POINTER EVENTS ============ */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ============ BACKDROP BLUR ============ */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* ============ LOADING SPINNER ============ */
.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============ NOTIFICATION STYLES ============ */
.notification {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--neutral-0);
  color: var(--text-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary-500);
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-out);
  z-index: 1000;
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-left-color: var(--accent-success);
  background: #f0fdf4;
  color: #166534;
}

.notification-error {
  border-left-color: var(--accent-error);
  background: #fef2f2;
  color: #991b1b;
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--neutral-900);
  color: var(--neutral-0);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* ============ KEYBOARD NAVIGATION ============ */
.keyboard-navigation .focus-visible:focus {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}

/* ============ HIGH CONTRAST MODE ============ */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid;
  }
  
  .card {
    border: 2px solid var(--text-primary);
  }
  
  .nav-link::after {
    height: 3px;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .navbar,
  .fab,
  .mobile-menu,
  .notification {
    display: none !important;
  }
  
  .section {
    break-inside: avoid;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
