/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #1a1a2e;
    --accent-color: #00ff88;
    --text-color: #2c2c2c;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;

    /* Spacing */
    --nav-height: 64px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-base: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1200px;
}

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: -1;
}

@supports not (background-image: url('/assets/images/hero.webp')) {
    .hero::before {
        background-image: url('/assets/images/hero.png');
    }
}

.hero-content {
    text-align: center;
    color: white;
    padding: var(--spacing-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    .hero-content {
        padding: var(--spacing-md);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --background-color: #1a1a2e;
        --light-gray: #2c2c2c;
        --border-color: #3a3a3a;
    }

    .hero-content {
        background: rgba(26, 26, 46, 0.9);
    }
}

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

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
