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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #161616;
    --bg-hover: #1c1c1c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #5a5a5a;
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    --border: #1f1f1f;
    --border-hover: #333333;
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    letter-spacing: -0.03em;
    font-weight: 600;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-flush {
    padding-top: 40px;
}

.section-header {
    margin-bottom: 56px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 32px;
}

.section-header-inline .section-title {
    margin-bottom: 0;
}

.section-header-inline .section-description {
    max-width: 400px;
    text-align: right;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.channel-link:hover {
    opacity: 1;
    color: var(--text-primary);
    transform: translate(2px, -2px);
}

.section-description {
    max-width: 600px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.channel-btn:hover {
    background: linear-gradient(135deg, rgba(100, 160, 255, 0.15) 0%, rgba(160, 100, 255, 0.1) 100%);
    border-color: rgba(140, 140, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(120, 120, 255, 0.15);
}

.channel-btn svg {
    transition: transform var(--transition-fast);
}

.channel-btn:hover svg {
    transform: translate(3px, -3px);
}

.section-views {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    transition: all var(--transition);
}

.section-views:hover {
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(100, 200, 150, 0.08) 0%, rgba(100, 150, 200, 0.05) 100%);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-cta {
    padding: 10px 20px;
    background-color: var(--text-primary);
    color: var(--bg-primary) !important;
    border-radius: 6px;
    font-weight: 500;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2), 0 0 24px rgba(140, 180, 255, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ff 100%);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 72px;
    position: relative;
}

.hero-compact {
    min-height: auto;
    padding: 120px 0 40px;
}

.hero-content {
    max-width: 900px;
    padding: 0 24px;
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 20px;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all var(--transition);
}

.hero-stats:hover {
    background: linear-gradient(135deg, rgba(120, 180, 255, 0.06) 0%, rgba(180, 120, 255, 0.04) 100%);
    border-color: rgba(150, 150, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition);
}

.hero-stats:hover .stat-number {
    background: linear-gradient(135deg, #a0d0ff 0%, #d0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), 0 0 30px rgba(140, 180, 255, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ff 100%);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    border-color: rgba(140, 140, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 140, 255, 0.08) 0%, rgba(140, 100, 255, 0.05) 100%);
}

/* Video Embeds */
.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-embed:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(100, 140, 255, 0.08);
}

.video-embed-short {
    width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
}

.video-embed-short:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(120, 100, 255, 0.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: filter var(--transition);
}

.video-embed:hover iframe {
    filter: brightness(1.05);
}

.video-embed .video-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    transition: transform var(--transition);
}

.video-embed:hover .video-badge {
    transform: scale(1.05);
    background-color: rgba(100, 180, 255, 0.15);
    border-color: rgba(100, 180, 255, 0.2);
}

/* Video Placeholders */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.video-placeholder:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-placeholder:hover::before {
    opacity: 1;
}

.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.placeholder-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: all var(--transition);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--accent-dim);
}

.video-placeholder:hover .placeholder-icon {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.placeholder-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.video-placeholder:hover .placeholder-text {
    color: var(--text-secondary);
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-caption {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.video-item:hover .video-caption {
    color: var(--text-secondary);
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    padding: 0 60px;
    margin-top: 0;
}

.carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.carousel:active {
    cursor: grabbing;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px 24px 40px;
}

.carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.video-placeholder-short {
    width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(100, 140, 255, 0.1) 0%, rgba(140, 100, 255, 0.06) 100%);
    border-color: rgba(140, 140, 255, 0.25);
    color: var(--text-primary);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 16px rgba(120, 120, 255, 0.1);
}

.carousel-btn-left {
    left: 12px;
}

.carousel-btn-right {
    right: 12px;
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.about-content {
    max-width: 600px;
}

.about-lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-heading {
    margin-bottom: 32px;
}

.contact-email {
    display: inline-block;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
    padding: 16px 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
}

.contact-email:hover {
    border-color: rgba(120, 160, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 140, 255, 0.08) 0%, rgba(140, 100, 255, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(120, 140, 255, 0.1);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.contact-link:hover {
    border-color: rgba(100, 180, 255, 0.3);
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.1) 0%, rgba(150, 100, 255, 0.06) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(100, 140, 255, 0.12);
}

.contact-link svg {
    transition: transform var(--transition-fast);
}

.contact-link:hover svg {
    transform: translate(2px, -2px);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .section-flush {
        padding-top: 20px;
    }

    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-header-inline .section-description {
        text-align: left;
        max-width: 100%;
    }

    .hero-compact {
        padding: 100px 0 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .carousel-wrapper {
        padding: 0 20px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        padding-left: 24px;
        padding-right: 24px;
    }

    .video-placeholder-short {
        width: 160px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .video-placeholder-short {
        width: 140px;
    }

    .contact-email {
        font-size: 1.125rem;
        padding: 14px 24px;
    }
}
