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

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

body.landing-page {
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.animated-3d-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: animateStars 50s linear infinite;
}

.stars::after {
    content: " ";
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 
        1825px 1062px #FFF, 718px 376px #FFF, 1915px 593px #FFF, 
        561px 902px #FFF, 922px 1749px #FFF, 1897px 1452px #FFF,
        124px 89px #FFF, 1308px 1593px #FFF, 681px 1969px #FFF,
        1629px 1521px #FFF, 226px 543px #FFF, 1551px 345px #FFF,
        724px 1829px #FFF, 1867px 1995px #FFF, 117px 1161px #FFF,
        294px 678px #FFF, 1529px 455px #FFF, 115px 565px #FFF,
        770px 1482px #FFF, 1075px 1794px #FFF, 280px 355px #FFF,
        706px 1531px #FFF, 1982px 1679px #FFF, 557px 436px #FFF,
        1481px 1524px #FFF, 614px 1915px #FFF, 936px 293px #FFF;
}

.stars2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background: transparent;
    animation: animateStars 100s linear infinite;
}

.stars2::after {
    content: " ";
    position: absolute;
    top: 0;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 
        188px 1031px #FFF, 1325px 654px #FFF, 1145px 1097px #FFF,
        1729px 1870px #FFF, 1795px 1249px #FFF, 443px 756px #FFF,
        197px 955px #FFF, 798px 1862px #FFF, 1964px 1648px #FFF,
        840px 165px #FFF, 1784px 1400px #FFF, 412px 503px #FFF,
        1682px 763px #FFF, 577px 1986px #FFF, 1700px 242px #FFF;
}

.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 3px;
    background: transparent;
    animation: animateStars 150s linear infinite;
}

.stars3::after {
    content: " ";
    position: absolute;
    top: 0;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 
        1475px 363px #FFF, 191px 1479px #FFF, 484px 853px #FFF,
        737px 748px #FFF, 1888px 1753px #FFF, 1702px 1054px #FFF,
        1452px 97px #FFF, 1189px 202px #FFF, 1533px 1849px #FFF,
        472px 49px #FFF, 1742px 610px #FFF, 803px 710px #FFF;
}

@keyframes animateStars {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}

.content-overlay {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.waitlist-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
}

.waitlist-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.waitlist-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.waitlist-form input[type="tel"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.waitlist-form input[type="tel"]:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.privacy-note {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-message, .error-message {
    animation: fadeIn 0.5s ease-out;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.95rem;
    text-align: center;
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.9;
}

.videos-page, .articles-page {
    background: #0a0a0a;
    min-height: 100vh;
}

.videos-page main, .articles-page main {
    position: relative;
    z-index: 1;
}

.countdown-section {
    text-align: center;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 600px;
}

.countdown-timer {
    font-size: 3rem;
    font-family: 'Courier New', monospace;
    color: #667eea;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    margin: 1rem 0;
}

.video-item.featured {
    grid-column: span 2;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

.video-meta span {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .video-item.featured {
        grid-column: span 1;
    }
    .main-logo {
        max-width: 300px;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .waitlist-section {
        padding: 1.5rem;
    }
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

nav h1 a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #34495e;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #666;
    line-height: 1.5;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-image::after {
    content: '📖';
    font-size: 3rem;
    opacity: 0.5;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer Styles */
.site-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-nav {
    margin: 1rem 0;
}

.footer-nav a {
    color: #667eea;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #764ba2;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .video-grid,
    .articles-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-thumbnail {
        height: 180px;
    }
    
    .article-image {
        height: 150px;
    }
    
    .video-info,
    .article-content {
        padding: 1rem;
    }
}