/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    /* Fallback gradient background */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 27, 0.4) 0%,
        rgba(10, 14, 27, 0.7) 50%,
        rgba(10, 14, 27, 0.9) 100%
    );
    z-index: -1;
}

/* Ensure text is above video */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: var(--font-h3);
    color: var(--text-gray);
    margin-bottom: var(--spacing-2xl);
}

/* Terminal Section */
.terminal-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-darker);
}

/* Email Section */
.email-section {
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.email-section h2 {
    font-size: var(--font-h2);
    margin-bottom: var(--spacing-lg);
    color: var(--accent-green);
}