/* ==========================================================================
   INFLUENCER TEMPLATE - PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
    /* Brand Colors - Bold & Vibrant */
    --color-primary: #ff0080;           /* Hot Pink */
    --color-primary-light: #ff33a1;
    --color-primary-dark: #cc0066;
    --color-secondary: #8b5cf6;         /* Electric Purple */
    --color-secondary-light: #a78bfa;
    --color-secondary-dark: #7c3aed;
    --color-accent: #ff6b6b;            /* Bright Coral */
    --color-accent-light: #ff8787;
    --color-accent-dark: #fa5252;

    /* Neutral Colors */
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-neutral-50: #fafafa;
    --color-neutral-100: #f5f5f5;
    --color-neutral-200: #e5e5e5;
    --color-neutral-300: #d4d4d4;
    --color-neutral-400: #a3a3a3;
    --color-neutral-500: #737373;
    --color-neutral-600: #525252;
    --color-neutral-700: #404040;
    --color-neutral-800: #262626;
    --color-neutral-900: #171717;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff0080 0%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(255, 0, 128, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(255, 107, 107, 0.2) 0px, transparent 50%);

    /* Typography Scale */
    --text-hero: clamp(3.5rem, 10vw, 7rem);
    --text-display: clamp(2.5rem, 6vw, 5rem);
    --text-h1: clamp(2.5rem, 5vw, 3.5rem);
    --text-h2: clamp(2rem, 4vw, 2.75rem);
    --text-h3: clamp(1.5rem, 3vw, 2rem);
    --text-h4: clamp(1.25rem, 2vw, 1.5rem);
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow-pink: 0 0 40px rgba(255, 0, 128, 0.4);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.4);
    --shadow-glow-coral: 0 0 40px rgba(255, 107, 107, 0.4);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Overrides */
.dark {
    --color-neutral-50: #171717;
    --color-neutral-100: #262626;
    --color-neutral-200: #404040;
    --color-neutral-300: #525252;
    --color-neutral-400: #737373;
    --color-neutral-500: #a3a3a3;
    --color-neutral-600: #d4d4d4;
    --color-neutral-700: #e5e5e5;
    --color-neutral-800: #f5f5f5;
    --color-neutral-900: #fafafa;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-neutral-900);
    background-color: var(--color-white);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.dark body {
    color: var(--color-white);
    background-color: var(--color-black);
}

/* Selection Styles */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-neutral-100);
}

.dark ::-webkit-scrollbar-track {
    background: var(--color-neutral-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--color-neutral-900);
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: var(--color-white);
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-neutral-200);
    transition: all var(--transition-base);
}

.dark nav {
    background: rgba(10, 10, 10, 0.8);
    border-bottom-color: var(--color-neutral-800);
}

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

nav .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: var(--font-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-links a {
    color: var(--color-neutral-700);
    text-decoration: none;
    font-weight: var(--font-medium);
    font-size: var(--text-small);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition-base);
    position: relative;
}

.dark .nav-links a {
    color: var(--color-neutral-300);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-neutral-900);
    transition: all var(--transition-base);
}

.dark .mobile-menu-btn span {
    background: var(--color-white);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .dark .nav-links {
        background: rgba(10, 10, 10, 0.95);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Theme Toggle */
#theme-toggle {
    background: var(--color-neutral-100);
    border: none;
    padding: var(--space-3);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark #theme-toggle {
    background: var(--color-neutral-800);
}

#theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-pink);
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-body);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--color-neutral-100);
    color: var(--color-neutral-900);
}

.dark .btn-ghost {
    background: var(--color-neutral-800);
    color: var(--color-white);
}

.btn-ghost:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) var(--space-6);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
}

.dark .hero::before {
    opacity: 0.6;
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: var(--text-hero);
    font-weight: var(--font-black);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero p {
    font-size: var(--text-h4);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.dark .hero p {
    color: var(--color-neutral-400);
}

/* ==========================================================================
   SOCIAL STATS
   ========================================================================== */

.social-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin: var(--space-16) 0;
}

.stat-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-base);
}

.dark .stat-card {
    background: var(--color-neutral-900);
    border-color: var(--color-neutral-800);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-pink);
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .number {
    font-size: var(--text-h2);
    font-weight: var(--font-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-card .label {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-medium);
}

.dark .stat-card .label {
    color: var(--color-neutral-400);
}

/* ==========================================================================
   CONTENT GRID (Instagram-style)
   ========================================================================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin: var(--space-12) 0;
}

.content-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-neutral-100);
}

.dark .content-card {
    background: var(--color-neutral-900);
}

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.content-card:hover img {
    transform: scale(1.1);
}

.content-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.content-card:hover .content-overlay {
    opacity: 1;
}

.content-overlay h3 {
    color: var(--color-white);
    font-size: var(--text-h4);
    margin-bottom: var(--space-2);
}

.content-meta {
    display: flex;
    gap: var(--space-4);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-small);
}

/* ==========================================================================
   BRAND LOGOS
   ========================================================================== */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-12) 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    filter: grayscale(1);
    opacity: 0.6;
}

.dark .brand-logo {
    background: var(--color-neutral-900);
    border-color: var(--color-neutral-800);
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

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

.dark .testimonial-card {
    background: var(--color-neutral-900);
    border-color: var(--color-neutral-800);
}

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

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    fill: #ffd93d;
}

.testimonial-text {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--color-neutral-700);
    margin-bottom: var(--space-6);
}

.dark .testimonial-text {
    color: var(--color-neutral-300);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.testimonial-info h4 {
    font-size: var(--text-body);
    margin-bottom: var(--space-1);
}

.testimonial-info p {
    font-size: var(--text-small);
    color: var(--color-neutral-500);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: var(--color-neutral-50);
    border-top: 1px solid var(--color-neutral-200);
    padding: var(--space-16) var(--space-6);
    margin-top: var(--space-32);
}

.dark footer {
    background: var(--color-neutral-900);
    border-top-color: var(--color-neutral-800);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-section h3 {
    font-size: var(--text-h4);
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--color-neutral-600);
    text-decoration: none;
    transition: color var(--transition-base);
}

.dark .footer-links a {
    color: var(--color-neutral-400);
}

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

.social-links {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.dark .social-link {
    background: var(--color-neutral-800);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-pink);
}

.social-link:hover svg {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.dark .footer-bottom {
    border-top-color: var(--color-neutral-800);
}

.footer-bottom p {
    color: var(--color-neutral-500);
    font-size: var(--text-small);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: var(--color-neutral-500);
    text-decoration: none;
    font-size: var(--text-small);
    transition: color var(--transition-base);
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ==========================================================================
   HOVER EFFECTS
   ========================================================================== */

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

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

.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

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

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

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

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

.section-lg {
    padding: var(--space-32) 0;
}

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

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

/* ==========================================================================
   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-width: 0;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-4) var(--space-6);
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) 0;
    z-index: 9999;
}

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

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: var(--text-h1);
    }

    .hero p {
        font-size: var(--text-body);
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-4);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

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

@media print {
    nav, footer, .btn, #theme-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}
