:root {
    --primary-color: #ff9500;
    --primary-hover: #ffd700;
}

:root[data-theme="light"] {
    --background: #ffffff;
    --text-color: #000000;
    --footer-text: #666666;
    --header-bg: rgba(255, 255, 255, 0.9);
    --card-bg: rgba(0, 0, 0, 0.05);
    --card-text: #4f4f4f;
}

:root[data-theme="dark"] {
    --background: #000000;
    --text-color: #ffffff;
    --footer-text: #888888;
    --header-bg: rgba(0, 0, 0, 0.9);
    --card-bg: rgba(255, 255, 255, 0.15);
    --card-text: #cacaca;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: var(--background);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links > * {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 1.2rem;
}

.dropdown-toggle::after {
    content: '▾';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 120px;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.1);
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown:hover .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.dropdown-menu a:hover {
    background: var(--card-bg);
    color: var(--primary-color);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(45deg);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 6rem 2rem 4rem;
    margin-top: 2rem;
}

.text-container {
    text-align: center;
    animation: fadeIn 1.5s ease-out;
    margin-top: 2rem;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.subheadline {
    font-size: 1.25rem;
    color: var(--footer-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Video Container */
.video-container {
    max-width: 900px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.15);
    position: relative;
    background: #111;
    margin-bottom: 3rem;
}

.responsive-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--background);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 10px 20px rgba(255, 149, 0, 0.2);
}

.cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    padding: 1.5rem;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    transition: background-color 0.3s ease;
}

.footer-text {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-text a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }

    .main-content {
        padding: 4rem 1rem;
    }
    
    .subheadline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .dropdown-menu {
        left: 0;
        transform: none;
        width: 100%;
        background: var(--background);
    }
    
    .dropdown-toggle {
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .headline {
        font-size: 2rem;
    }
}