/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

/* CSS Custom Properties */
:root {
    /* Colors - Light Theme Only */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #8b5cf6;
    --color-accent: #ec4899;
    --color-bg: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-surface: rgba(255, 255, 255, 0.7);
    --color-surface-solid: #ffffff;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-border: rgba(226, 232, 240, 0.6);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    /* Glassmorphism */
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Glassmorphism Base */
.glass-card {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-primary) 0%,
        var(--color-secondary) 50%,
        var(--color-accent) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav:hover::before {
    opacity: 1;
}

.nav__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav__brand::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-accent)
    );
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__brand:hover::after {
    width: 100%;
}

.nav__brand:hover {
    transform: translateY(-2px);
}

.nav__logo {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
    animation: float 3s ease-in-out infinite;
}

.nav__logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.nav__logo-img:hover {
    transform: scale(1.1);
}

.nav__title {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-accent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__theme-toggle {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 16px;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.nav__theme-icon {
    display: inline-block;
    filter: grayscale(1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fce7f3 100%);
    background-size: 200% 200%;
    animation: gradientBackground 20s ease infinite;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../../coolbackgrounds-topography-micron.svg");
    background-size: 150%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    animation:
        topographyMove 60s ease-in-out infinite,
        backgroundPulse 10s ease-in-out infinite;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 100%
    );
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 15s ease-in-out infinite;
}

.hero__blob--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.4) 0%,
        transparent 70%
    );
    top: 20%;
    left: 10%;
    animation: blobFloat1 20s ease-in-out infinite;
}

.hero__blob--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(236, 72, 153, 0.4) 0%,
        transparent 70%
    );
    bottom: 20%;
    right: 10%;
    animation: blobFloat2 25s ease-in-out infinite;
    animation-delay: 2s;
}

.hero__blob--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.4) 0%,
        transparent 70%
    );
    top: 60%;
    left: 50%;
    animation: blobFloat3 30s ease-in-out infinite;
    animation-delay: 4s;
}

.hero__noise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary),
        var(--color-accent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    color: var(--color-text);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content */
.main {
    padding: var(--space-3xl) 0;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: var(--space-2xl);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.breadcrumb__link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.breadcrumb__link:hover {
    color: var(--color-primary);
}

.breadcrumb__current {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Categories Section */
.categories {
    margin-bottom: var(--space-3xl);
}

.categories__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.categories__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.categories__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* Category Cards */
.category-card {
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.05) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(236, 72, 153, 0.05) 100%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.category-card__icon i {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-accent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.category-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.category-card__count {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.category-card__description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.category-card__tags {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.tag {
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.category-card__link {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.category-card__link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    margin-bottom: var(--space-3xl);
}

.features__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.features__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature-card {
    padding: var(--space-2xl);
    text-align: center;
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.feature-card__description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.03) 0%,
        rgba(236, 72, 153, 0.03) 25%,
        rgba(139, 92, 246, 0.03) 50%,
        rgba(99, 102, 241, 0.03) 75%,
        rgba(236, 72, 153, 0.03) 100%
    );
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    padding: var(--space-3xl) 0 var(--space-2xl);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--color-primary) 0%,
        var(--color-secondary) 33%,
        var(--color-accent) 66%,
        var(--color-primary) 100%
    );
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

.footer::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}

.footer__content {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 500px;
}

.footer__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    position: relative;
    display: inline-block;
}

.footer__title i {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-accent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
}

.footer__title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-accent)
    );
    border-radius: 2px;
}

.footer__description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: var(--space-lg);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer__social-link i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.footer__social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.footer__social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.footer__social-link:hover::before {
    left: 100%;
}

.footer__social-link:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--color-primary);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.footer__social-link::after {
    content: "→";
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer__social-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer__bottom {
    position: relative;
    border-top: 2px solid rgba(99, 102, 241, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(99, 102, 241, 0.03) 100%
    );
}

.footer__copyright {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.footer__link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-accent)
    );
    transition: width 0.3s ease;
}

.footer__link:hover::before {
    width: 100%;
}

.footer__link:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* Animations */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes blobFloat1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -30px) scale(1.1) rotate(5deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(0, -60px) scale(1.15) rotate(0deg);
        opacity: 0.8;
    }
    75% {
        transform: translate(-50px, -30px) scale(1.1) rotate(-5deg);
        opacity: 0.7;
    }
}

@keyframes blobFloat2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translate(-60px, 40px) scale(1.12) rotate(-8deg);
        opacity: 0.75;
    }
    66% {
        transform: translate(60px, -40px) scale(1.08) rotate(8deg);
        opacity: 0.65;
    }
}

@keyframes blobFloat3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    20% {
        transform: translate(40px, 50px) scale(1.05) rotate(10deg);
        opacity: 0.7;
    }
    40% {
        transform: translate(-40px, 30px) scale(1.15) rotate(-5deg);
        opacity: 0.8;
    }
    60% {
        transform: translate(0, -40px) scale(1.1) rotate(5deg);
        opacity: 0.75;
    }
    80% {
        transform: translate(30px, 20px) scale(1.05) rotate(-10deg);
        opacity: 0.65;
    }
}

@keyframes topographyMove {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 0.6;
        background-position: 0% 0%;
    }
    25% {
        transform: scale(1.05) translate(-30px, 30px) rotate(1deg);
        opacity: 0.7;
        background-position: 25% 25%;
    }
    50% {
        transform: scale(1.1) translate(0, 50px) rotate(0deg);
        opacity: 0.8;
        background-position: 50% 50%;
    }
    75% {
        transform: scale(1.05) translate(30px, 30px) rotate(-1deg);
        opacity: 0.7;
        background-position: 75% 75%;
    }
    100% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 0.6;
        background-position: 100% 100%;
    }
}

@keyframes backgroundPulse {
    0%,
    100% {
        filter: brightness(1) hue-rotate(0deg);
    }
    50% {
        filter: brightness(1.1) hue-rotate(10deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translate(0, -100px) scale(1.2);
        opacity: 0.25;
    }
    75% {
        transform: translate(-50px, -50px) scale(1.1);
        opacity: 0.2;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Utility Classes */
.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;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav__content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav__actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer__social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .category-card,
    .feature-card {
        padding: var(--space-xl);
    }

    .categories__title,
    .features__title {
        font-size: 2rem;
    }
}

/* Reduced Motion Support */
@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;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .nav,
    .hero__actions,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

    .hero__title {
        background: none;
        -webkit-text-fill-color: black;
        color: black;
    }
}
