
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    background: #000;
}

/* Logo Container (top-left) */
.logo-container {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 50;
    transition: opacity 0.3s ease;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo-dark {
    display: none;
}

/* On lighter video frames, swap logos */
body.light-frame .logo-light {
    display: none;
}

body.light-frame .logo-dark {
    display: block;
}

/* Top-right CTA Buttons */
.cta-buttons {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    gap: 1rem;
}

/* Hero Overlay with Split Gradient */
.hero-overlay {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 128, 0, 0.45) 50%, rgba(255, 255, 255, 0.45) 50%);
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    z-index: 10;
}

/* FDA Badge */
.fda-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 163, 123, 0.15);
    border: 1px solid rgba(14, 163, 123, 0.5);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0EA37B;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title-white {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-green {
    color: #0EA37B;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: #0EA37B;
    color: #FFFFFF;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #0D8F6C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 163, 123, 0.3);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    background: #4F93FF;
    color: #FFFFFF;
}

.btn-hero:hover {
    background: #3D7FE5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 147, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        top: 1rem;
        left: 1rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .cta-buttons {
        top: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 128, 0, 0.45) 50%, rgba(255, 255, 255, 0.45) 50%);
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .fda-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus Styles for Keyboard Navigation */
.btn:focus-visible {
    outline: 2px solid #0EA37B;
    outline-offset: 2px;
}
