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

:root {
    --cyan: #4fd2ff;
    --cyan-glow: rgba(79, 210, 255, 0.3);
    --text-primary: #0a0a12;
    --text-secondary: #666;
    --white: #ffffff;
    --border-light: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 18px var(--cyan-glow);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 24px rgba(79, 210, 255, 0.5);
        transform: scale(1.05);
    }
}

.brand-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== Main Scroll Container ===== */
.scroll-container {
    position: relative;
    width: 100%;
}

.scroll-spacer {
    height: 300vh; /* Creates scroll length (3x viewport) */
}

.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: #ffffff;
    overflow: hidden;
}

#video-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Loading Screen ===== */
#loading-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--white);
    z-index: 5;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px var(--cyan-glow);
    animation: pulse 1.2s ease-in-out infinite;
}

.loading-text {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== Content Overlay ===== */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.content-inner {
    text-align: center;
    max-width: 800px;
    padding: 32px;
    opacity: 1;
    transition: opacity 0.5s ease;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.content-inner.fade-out {
    opacity: 0;
}

.kicker {
    font-size: clamp(11px, 2vw, 13px);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(79, 210, 255, 0.5);
}

.hero-title {
    font-size: clamp(44px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.accent {
    color: var(--cyan);
    position: relative;
    text-shadow: 0 2px 15px rgba(79, 210, 255, 0.6);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Footer Section ===== */
.footer-section {
    position: relative;
    background: var(--white);
    padding: 120px 24px 80px;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-text {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ===== Creator Section ===== */
.creator-section {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto 48px;
    padding: 32px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 210, 255, 0.02), rgba(79, 210, 255, 0.05));
    text-align: left;
}

.creator-image-wrapper {
    flex-shrink: 0;
}

.creator-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.creator-info {
    flex: 1;
}

.creator-name {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.creator-bio {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: all;
}

.social-link:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 18px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-content {
        padding: 16px 20px;
    }

    .status-badge {
        padding: 5px 10px;
        font-size: 9px;
    }

    .brand-name {
        font-size: 12px;
    }

    .content-inner {
        padding: 20px 16px;
        margin: 0 12px;
        max-width: 90%;
        background: rgba(255, 255, 255, 0.88);
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 16px);
        line-height: 1.5;
    }

    .kicker {
        font-size: clamp(10px, 2.5vw, 11px);
        margin-bottom: 12px;
    }

    .scroll-spacer {
        height: 250vh;
    }

    .footer-section {
        padding: 80px 20px 60px;
    }

    .creator-section {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 20px;
    }

    .creator-image {
        width: 100px;
        height: 100px;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }
}
