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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
}

.description p {
    margin-bottom: 1rem;
}

.description strong {
    color: #ffffff;
    font-weight: 600;
}

.description a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.description a:hover {
    color: #66b3ff;
    text-decoration: underline;
}

.credits {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
}

/* Video Grid Styles */
.main-content {
    margin-bottom: 4rem;
}

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

.video-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.video-card:hover::before {
    left: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: #4a9eff;
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2);
    background: linear-gradient(135deg, #1f1f1f 0%, #2f2f2f 100%);
}

.video-card:active {
    transform: translateY(-4px);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.video-info p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(74, 158, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.video-thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

/* Caveat Note Styles */
.caveat-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.caveat-note p {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

.caveat-note strong {
    color: #ffffff;
}

/* Learn More Section Styles */
.learn-more-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 100%);
    margin-top: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: #4a9eff;
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2);
}

.resource-preview {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.resource-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1.1);
}

.resource-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-info {
    padding: 2rem;
}

.resource-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.resource-info p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4a9eff 0%, #66b3ff 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e6ed;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #66b3ff;
    text-decoration: underline;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
}

.video-info {
    padding: 2rem;
    text-align: center;
}

.video-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.video-info p {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        margin: 0;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    .caveat-note {
        margin-top: 2rem;
        padding: 1.25rem;
    }
    
    .caveat-note p {
        font-size: 0.85rem;
    }
    
    .learn-more-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-info {
        padding: 1.5rem;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .video-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .video-grid {
        gap: 1rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .play-overlay::after {
        border-left: 14px solid #ffffff;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
    
    .caveat-note {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .resource-info {
        padding: 1.25rem;
    }
    
    .resource-info h3 {
        font-size: 1.2rem;
    }
    
    .resource-info p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    border-top-color: #4a9eff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

