/* ==========================================================================
   Template: Maison - Boutique Pet Wellness & Spa
   Version: 2.0.0

   A sophisticated pet wellness template with luxury spa aesthetic.
   Color palette: Sage green + Ivory + Gold accents
   Typography: Playfair Display (serif) + Inter (sans)
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES - Design Tokens
   ========================================================================== */
:root {
    /* ==============================================
       COLOR SYSTEM
       ============================================== */

    /* Primary - Sage Green */
    --color-sage-50: #f6f7f6;
    --color-sage-100: #e3e7e3;
    --color-sage-200: #c7cfc7;
    --color-sage-300: #a3b0a4;
    --color-sage-400: #7e8f7f;
    --color-sage-500: #5f7264;
    --color-sage-600: #4a5a4e;
    --color-sage-700: #3d4a40;
    --color-sage-800: #333d35;
    --color-sage-900: #2b332d;
    --color-sage-950: #161b17;

    /* Neutral - Ivory */
    --color-ivory-50: #fdfcfa;
    --color-ivory-100: #f8f6f2;
    --color-ivory-200: #f0ebe3;
    --color-ivory-300: #e4ddd1;
    --color-ivory-400: #d4c9b8;
    --color-ivory-500: #c2b8a8;

    /* Accent - Gold */
    --color-gold-300: #d4b896;
    --color-gold-400: #c9a87c;
    --color-gold-500: #b8956a;
    --color-gold-600: #a6825a;

    /* Semantic Colors */
    --color-primary: var(--color-sage-500);
    --color-primary-light: var(--color-sage-400);
    --color-primary-dark: var(--color-sage-700);
    --color-accent: var(--color-gold-400);
    --color-accent-dark: var(--color-gold-600);

    /* Text Colors - Light Mode */
    --color-text-primary: var(--color-sage-950);
    --color-text-secondary: var(--color-sage-600);
    --color-text-muted: var(--color-sage-400);

    /* Background Colors - Light Mode */
    --color-bg-primary: var(--color-ivory-50);
    --color-bg-secondary: var(--color-ivory-100);
    --color-bg-tertiary: var(--color-ivory-200);
    --color-surface: #ffffff;

    /* Border Colors - Light Mode */
    --color-border: var(--color-ivory-300);
    --color-border-light: var(--color-ivory-200);

    /* ==============================================
       TYPOGRAPHY SCALE
       ============================================== */
    --text-hero: clamp(3rem, 8vw, 5rem);
    --text-display: clamp(2.5rem, 6vw, 4rem);
    --text-h1: clamp(2rem, 4vw, 3rem);
    --text-h2: clamp(1.75rem, 3vw, 2.5rem);
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);
    --text-h4: clamp(1.125rem, 1.5vw, 1.25rem);
    --text-body: 1rem;
    --text-body-lg: 1.125rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Font Families */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;

    /* ==============================================
       SPACING SCALE (8px base)
       ============================================== */
    --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-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-3xl: 2rem;     /* 32px */
    --radius-full: 9999px;

    /* ==============================================
       SHADOWS
       ============================================== */
    --shadow-xs: 0 1px 2px rgba(43, 51, 45, 0.04);
    --shadow-sm: 0 2px 4px rgba(43, 51, 45, 0.06);
    --shadow-md: 0 4px 12px rgba(43, 51, 45, 0.08);
    --shadow-lg: 0 8px 24px rgba(43, 51, 45, 0.1);
    --shadow-xl: 0 16px 48px rgba(43, 51, 45, 0.12);
    --shadow-2xl: 0 24px 64px rgba(43, 51, 45, 0.16);

    /* Colored Shadows */
    --shadow-sage: 0 8px 32px rgba(95, 114, 100, 0.2);
    --shadow-sage-lg: 0 16px 48px rgba(95, 114, 100, 0.25);
    --shadow-gold: 0 8px 32px rgba(201, 168, 124, 0.25);
    --shadow-gold-glow: 0 0 40px rgba(201, 168, 124, 0.3);

    /* ==============================================
       TRANSITIONS
       ============================================== */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;

    --transition-fast: var(--duration-fast) var(--ease-out);
    --transition-base: var(--duration-base) var(--ease-out);
    --transition-slow: var(--duration-slow) var(--ease-out);
    --transition-slower: var(--duration-slower) var(--ease-out);
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
.dark {
    /* Text Colors - Dark Mode */
    --color-text-primary: var(--color-ivory-100);
    --color-text-secondary: var(--color-sage-300);
    --color-text-muted: var(--color-sage-400);

    /* Background Colors - Dark Mode */
    --color-bg-primary: var(--color-sage-950);
    --color-bg-secondary: var(--color-sage-900);
    --color-bg-tertiary: var(--color-sage-800);
    --color-surface: var(--color-sage-900);

    /* Border Colors - Dark Mode */
    --color-border: var(--color-sage-700);
    --color-border-light: var(--color-sage-800);

    /* Shadows - Dark Mode (more subtle) */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.5);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Selection */
::selection {
    background-color: var(--color-sage-200);
    color: var(--color-sage-900);
}

.dark ::selection {
    background-color: var(--color-sage-600);
    color: var(--color-ivory-100);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6,
.heading {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

/* Hero Typography */
.text-hero {
    font-size: var(--text-hero);
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

.text-display {
    font-size: var(--text-display);
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: var(--leading-snug);
}

/* Body Text */
.text-body-lg {
    font-size: var(--text-body-lg);
    line-height: var(--leading-relaxed);
}

/* Italic Accent (signature style) */
.italic-accent {
    font-style: italic;
    color: var(--color-accent);
}

/* Uppercase Labels */
.label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Screen Reader Only */
.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;
}

.sr-only.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 500;
    z-index: 9999;
    transition: top var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Focus States */
:focus {
    outline: none;
}

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

/* Touch Targets */
button,
a,
input[type="checkbox"],
input[type="radio"],
select {
    min-height: 44px;
    min-width: 44px;
}

/* Inline links exception */
p a,
li a,
span a {
    min-height: auto;
    min-width: auto;
}

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

/* Backdrop Blur for Navigation */
.nav-blur {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Container */
.container-luxury {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 1024px) {
    .container-luxury {
        padding: 0 var(--space-12);
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slower),
                transform var(--transition-slower);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--transition-slower),
                transform var(--transition-slower);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--transition-slower),
                transform var(--transition-slower);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--transition-slower),
                transform var(--transition-slower);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(20px);
    transition: opacity var(--transition-slower),
                filter var(--transition-slower),
                transform var(--transition-slower);
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ==========================================================================
   HOVER ANIMATIONS
   ========================================================================== */

/* Card Lift */
.hover-lift {
    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

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

/* Image Zoom */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform var(--duration-slow) var(--ease-out);
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

/* Subtle Scale */
.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Shine Effect */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left var(--duration-slow) var(--ease-out);
    z-index: 1;
}

.hover-shine:hover::before {
    left: 100%;
}

/* Gold Glow on Hover */
.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: var(--shadow-gold-glow);
}

/* ==========================================================================
   CONTINUOUS ANIMATIONS
   ========================================================================== */

/* Gentle Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite 1s;
}

/* Subtle Pulse */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-subtle {
    animation: pulse-subtle 3s ease-in-out infinite;
}

/* Gradient Shift */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* Rotate Slow */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-rotate-slow {
    animation: rotate-slow 60s linear infinite;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ==========================================================================
   COMPONENT STYLES
   ========================================================================== */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: var(--text-small);
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1.5px solid var(--color-border);
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-500) 100%);
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-body);
}

/* --- Cards --- */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.card-service {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.card-testimonial {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.card-testimonial:hover {
    border-color: var(--color-gold-400);
    box-shadow: var(--shadow-gold);
}

/* --- Form Elements --- */
.form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

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

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(95, 114, 100, 0.1);
}

.dark .form-input:focus {
    box-shadow: 0 0 0 4px rgba(95, 114, 100, 0.2);
}

.form-input.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: var(--text-small);
    margin-top: var(--space-2);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235f7264'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 1.25rem;
    padding-right: var(--space-12);
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.badge-sage {
    background: rgba(95, 114, 100, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(95, 114, 100, 0.2);
}

.badge-gold {
    background: rgba(201, 168, 124, 0.1);
    color: var(--color-gold-600);
    border: 1px solid rgba(201, 168, 124, 0.3);
}

/* --- Dividers --- */
.divider {
    height: 1px;
    background: var(--color-border);
}

.divider-gold {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-gold-400), var(--color-gold-500));
    border-radius: var(--radius-full);
}

/* --- Avatar --- */
.avatar {
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.avatar-sm { width: 40px; height: 40px; }
.avatar-md { width: 56px; height: 56px; }
.avatar-lg { width: 80px; height: 80px; }

/* --- Star Rating --- */
.star-rating {
    display: flex;
    gap: var(--space-1);
}

.star-rating svg {
    width: 16px;
    height: 16px;
    color: var(--color-gold-400);
    fill: var(--color-gold-400);
}

/* ==========================================================================
   BENTO GRID STYLES
   ========================================================================== */

.bento-grid {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(280px, auto);
    }

    .bento-item-large {
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--color-surface);
}

.bento-item-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    color: white;
}

/* ==========================================================================
   GALLERY STYLES
   ========================================================================== */

.gallery-masonry {
    columns: 2;
    column-gap: var(--space-4);
}

@media (min-width: 768px) {
    .gallery-masonry {
        columns: 3;
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        columns: 4;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */

[data-nav-menu] {
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

[data-nav-menu].active {
    transform: translateX(0);
}

/* ==========================================================================
   DECORATIVE ELEMENTS
   ========================================================================== */

/* Gradient Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.orb-sage {
    background: var(--color-sage-400);
}

.orb-gold {
    background: var(--color-gold-400);
}

.orb-ivory {
    background: var(--color-ivory-300);
}

/* Subtle Grid Pattern */
.pattern-grid {
    background-image:
        linear-gradient(rgba(95, 114, 100, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 114, 100, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.dark .pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Elegant Line */
.line-accent {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-gold-400),
        transparent
    );
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sage-400);
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sage-500);
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--color-sage-600);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

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

/* GPU acceleration for animated elements */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur,
.hover-lift,
.hover-zoom img,
.animate-float {
    will-change: transform, opacity;
    transform: translateZ(0);
}
