:root {
    /* Colors */
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #d5d5d5;
    --accent-color: #0be477;
    --success-color: #00ff88;

    /* Glass */
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #0be477 0%, #00ff88 100%);
    --accent-gradient-hover: linear-gradient(135deg, #0be477 0%, #00ff88 100%);
    --accent-text-gradient: linear-gradient(90deg, #0be477 0%, #00ff88 100%);
    --video-overlay: linear-gradient(
        90deg,
        rgba(5, 5, 8, 0.95) 0%,
        rgba(29, 29, 53, 0.182) 40%,
        rgba(5, 5, 8, 0.4) 100%
    );

    /* Typography */
    --font-primary: "Outfit", system-ui, -apple-system, sans-serif;
    --font-secondary: "Inter", system-ui, -apple-system, sans-serif;
}

/* ============================================================
    2. RESET & BASE
    ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ============================================================
    3. VIDEO BACKGROUND
    ============================================================ */
.video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container::after {
    /* readability overlay */
    content: "";
    position: absolute;
    inset: 0;
    background: var(--video-overlay);
    pointer-events: none;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
    4. HERO SECTION LAYOUT
    ============================================================ */
.hero-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 4rem;
}

/* ============================================================
    5. NAVBAR
    ============================================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    position: relative;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ============================================================
    6. HERO CENTER CONTENT
    ============================================================ */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.text-wrapper {
    max-width: 800px;
}

.greeting {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.main-title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 1rem;
    white-space: pre-line;
}

.sub-title {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    background: var(--accent-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* ============================================================
    7. BUTTONS
    ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(138, 99, 248, 0.25);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(138, 99, 248, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
    8. HERO FOOTER (availability card, stats, social, scroll)
    ============================================================ */
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphism availability card */
.availability-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.pulse-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success-color);
    flex-shrink: 0;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.availability-card .label {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Stats */
.stats-group {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.stat-line {
    width: 1px;
    align-self: stretch;
    background: var(--glass-border);
}

/* Social links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent-color);
    animation: scroll-wheel 2s infinite;
}

/* ============================================================
    9. ANIMATIONS
    ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.5s; }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ============================================================
    10. RESPONSIVE
    ============================================================ */
@media (max-width: 1200px) {
    .hero-section {
        padding: 2rem;
    }
    .main-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .hero-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
    }
    .scroll-indicator {
        display: none;
    }
    .footer-left {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .availability-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
    }
    .main-title {
        font-size: 3.5rem;
    }
    .sub-title {
        font-size: 1.4rem;
    }
    .cta-group {
        flex-direction: column;
    }
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-group {
        flex-wrap: wrap;
    }
    .stat-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.8rem;
    }
    .sub-title {
        font-size: 1.2rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}