/* ============================================
   LucidTV - Apple-Style Scroll Animation
   ============================================ */

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

:root {
    --primary-dark: #0a0e27;
    --primary-light: #f5f5f5;
    --accent-purple: #8b5cf6;
    --accent-teal: #14b8a6;
    --accent-cyan: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-light: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background: url('public/positronic-bg.jpg') center/cover fixed;
    color: white;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.70);
    z-index: -1;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-purple);
}

/* ============================================
   HERO SCROLL ANIMATION SECTION
   ============================================ */

.hero-scroll-section {
    position: relative;
    height: 300vh;
    margin-bottom: 0;
}

/* Timelapse video as background layer */
.timelapse-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Fill screen, crop to fit - no black bars */
    background: #000;
    z-index: 0;
    opacity: 0.3; /* Start at 30%, crossfade to 100% */
    transition: opacity 0.3s ease;
}

/* Positronic background overlay for contrast */
.positronic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('public/positronic-bg.jpg') center/cover;
    z-index: 1;
    opacity: 0.05; /* 5% opacity - reduced to not overpower visuals */
    pointer-events: none;
}

.scroll-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 10;
    pointer-events: none; /* Allow scrolling through */
}

#heroCanvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    animation: fadeInTitle 1s ease-out 0.5s forwards;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem 4rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.6);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}



/* ============================================
   INTRO SECTION
   ============================================ */

.intro-section {
    padding: 2rem 0 6rem 0;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.6);
}

.intro-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 1) !important;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 2rem 3rem !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 12px !important;
    border: 2px solid rgba(139, 92, 246, 0.4) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

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

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: white;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* ============================================
   CURRENT WORK SECTION
   ============================================ */

.current-work {
    position: relative;
}

.current-work .section-title {
    color: white;
}

.current-work .title-underline {
    background: linear-gradient(90deg, white, var(--accent-purple));
}

.work-highlight {
    max-width: 800px;
    margin: 0 auto;
}

.work-card-large {
    background: rgba(20, 20, 30, 0.95);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.work-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.work-card-large h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.work-card-large p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.work-image-placeholder {
    width: 100%;
}

.placeholder-box {
    background: rgba(30, 30, 40, 0.9);
    border: 2px dashed var(--accent-purple);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-box p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.placeholder-box span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.latest-piece {
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    padding-top: 2rem;
    margin-top: 1rem;
}

.latest-piece h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.latest-piece-placeholder {
    background: rgba(30, 30, 40, 0.9);
    border: 2px dashed var(--accent-teal);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.latest-piece-placeholder p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   NFT SECTION
   ============================================ */

.nft-section {
    position: relative;
}

.nft-showcase {
    margin-bottom: 4rem;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.nft-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
}

.nft-image-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nft-image-large img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.nft-image-large:hover img {
    transform: scale(1.05);
}

.nft-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nft-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.nft-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.nft-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin: 1.5rem 0;
}

.nft-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.nft-card {
    background: rgba(30, 30, 40, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.nft-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    border-color: var(--accent-purple);
}

.nft-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    overflow: hidden;
}

.nft-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nft-card-info {
    padding: 1.5rem;
}

.nft-card-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.nft-card-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.nft-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nft-link:hover {
    gap: 1rem;
    color: var(--accent-teal);
}

.zora-section {
    text-align: center;
    padding: 3rem;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.zora-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.zora-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    position: relative;
}

.about-content-vertical {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text-block {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 100%;
}

.about-text-box {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.about-text-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text-box strong {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 1.2rem;
}

.about-text-box h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.about-text-box a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
}

.about-text-box a:hover {
    color: var(--accent-teal);
}

.about-text-block p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text-block strong {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 1.2rem;
}

.about-text-block h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.about-text-block a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
}

.about-text-block a:hover {
    color: var(--accent-teal);
}

.milestones {
    list-style: none;
    margin-top: 1rem;
}

.milestones li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.milestones li:last-child {
    border-bottom: none;
}

.life-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.life-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    background: rgba(20, 20, 30, 0.95);
}

.life-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    border-color: var(--accent-purple);
}

.life-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.image-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(20, 20, 30, 0.95);
    margin: 0;
}

.life-image-placeholder {
    background: rgba(30, 30, 40, 0.9);
    border: 2px dashed var(--accent-purple);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.life-image-placeholder:hover {
    border-color: var(--accent-cyan);
    background: rgba(40, 40, 50, 0.95);
}

/* Video Sections */
.video-section {
    margin-top: 3rem;
}

.video-embed-container,
.zora-embed-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    background: rgba(20, 20, 30, 0.5);
}

.video-embed-container iframe,
.zora-embed-container iframe {
    display: block;
    width: 100%;
    border: none;
}

.video-section h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.video-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.video-placeholder {
    background: rgba(30, 30, 40, 0.9);
    border: 2px dashed var(--accent-purple);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--accent-cyan);
    background: rgba(40, 40, 50, 0.95);
}

.video-placeholder p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.video-placeholder span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-link {
    display: inline-block;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-cyan);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-link:hover {
    background: var(--accent-cyan);
    color: #0a0a0f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 211, 238, 0.4);
}

.life-image-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.life-image-placeholder span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

#nightCounter {
    color: var(--accent-purple);
    font-size: 1.1em;
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Center the meditating figure on mobile */
    .timelapse-video-bg {
        object-position: 45% center; /* Shift video to center meditating figure */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-overlay-text {
        padding: 2rem 2rem;
        width: 90%;
        max-width: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-title {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nft-featured,
    .about-content {
        grid-template-columns: 1fr;
    }

    .life-images-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .work-card-large,
    .nft-featured {
        padding: 1.5rem;
    }

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

    .hero-overlay-text {
        padding: 2rem;
    }

    .hero-scroll-section {
        height: 200vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }
}


/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background: rgba(10, 10, 15, 0.95);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 40, 0.9);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(30, 30, 40, 1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-status:not(:empty) {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.social-icon img {
    transition: all 0.3s ease;
}


/* ============================================
   VIDEO PLAYLIST GRID
   ============================================ */

.playlist-section {
    margin: 3rem 0;
}

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

.video-card {
    display: block;
    background: rgba(30, 30, 40, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    color: white;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    font-weight: 600;
}

.video-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Timelapse Video Background Section */
.dream-video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.video-background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.video-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.dream-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1.5s ease-out;
}

.dream-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1.8s ease-out;
    max-width: 900px;
    line-height: 1.8;
    margin: 0 auto;
    padding: 0 2rem;
}

.sound-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.sound-toggle:hover {
    background: rgba(139, 92, 246, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.sound-toggle:active {
    transform: translateY(0);
}

#soundIcon {
    font-size: 1.5rem;
}

/* Scroll effect - video becomes background */
.dream-video-section.scrolled .video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: -1;
}

.dream-video-section.scrolled .timelapse-video {
    opacity: 0.3;
    filter: blur(3px);
}

.dream-video-section.scrolled .video-overlay-content {
    opacity: 0;
}

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

/* Responsive */
@media (max-width: 768px) {
    .dream-title {
        font-size: 2rem;
    }
    
    .dream-subtitle {
        font-size: 1rem;
    }
    
    .sound-toggle {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}


/* ============================================
   HYPNODYNE TECHNOLOGY SECTION
   ============================================ */

/* ============================================
   HOW WE USE ZMAX SECTION
   ============================================ */

.zmax-workflow-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
}

.zmax-hero {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.zmax-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.zmax-intro {
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
}

.zmax-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.zmax-workflow {
    max-width: 1000px;
    margin: 5rem auto;
}

.zmax-workflow h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-purple);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workflow-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateX(10px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.zmax-tech-details {
    max-width: 1200px;
    margin: 5rem auto;
}

.zmax-tech-details h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-purple);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    padding: 2rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-5px);
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.tech-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.zmax-partnership {
    max-width: 900px;
    margin: 5rem auto;
    padding: 3rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    text-align: center;
}

.zmax-partnership h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.zmax-partnership p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.zmax-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   FUTURE RELEASES SECTION
   ============================================ */

.future-releases-section {
    padding: 6rem 2rem;
    background: #0a0a0a;
}

.future-releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.release-card {
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.release-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.release-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.release-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.release-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.release-status {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    color: #a78bfa;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Waitlist Signup */
.waitlist-signup {
    max-width: 600px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 3rem;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
}

.waitlist-signup h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.waitlist-signup p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.waitlist-form button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

.waitlist-success {
    margin-top: 1.5rem;
    color: #4ade80;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   DREAM ART GALLERY
   ============================================ */

.dream-gallery-section {
    padding: 6rem 2rem;
    background: #000;
    position: relative;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
}

.gallery-crossfade {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .zmax-workflow-section {
        padding: 4rem 1.5rem;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .workflow-step:hover {
        transform: translateX(0);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .zmax-partnership {
        padding: 2rem 1.5rem;
    }
    
    .future-releases-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-crossfade {
        height: 400px;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .waitlist-form input[type="email"] {
        min-width: 100%;
    }
}

/* ============================================
   DREAM ART GALLERY - CROSSFADING
   ============================================ */

.dream-gallery-section {
    position: relative;
    min-height: 1000vh; /* 10 items × 100vh each */
    background: #000;
}

.gallery-scroll-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item.active .gallery-caption {
    opacity: 1;
}

.gallery-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-purple);
}

.gallery-caption p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-caption {
        padding: 1.5rem 2rem;
        max-width: 90%;
    }
    
    .gallery-caption h3 {
        font-size: 1.4rem;
    }
    
    .gallery-caption p {
        font-size: 0.9rem;
    }
}


/* ============================================
   POSITRONIC FADE SPACER
   ============================================ */

.positronic-fade-spacer {
    height: 2000vh; /* 20 viewport heights for ultra-long meditative crossfade */
    width: 100%;
    pointer-events: none;
}

/* ============================================
   NAVIGATION RIGHT SECTION WITH SOCIAL ICONS
   ============================================ */

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.nav-contact-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-contact-link:hover {
    color: var(--accent-purple);
}

.nav-social-icons {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.nav-social-icon {
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.nav-social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-social-icon:hover img {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

@media (max-width: 768px) {
    .nav-right {
        gap: 0.4rem;
    }
    
    .nav-contact-link {
        font-size: 1rem;
    }
    
    .nav-social-icons {
        gap: 0.4rem;
    }
    
    .nav-social-icon img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .nav-contact-link {
        font-size: 0.9rem;
    }
    
    .nav-social-icon img {
        width: 18px;
        height: 18px;
    }
}


/* ============================================
   HORIZONTAL SCROLL VIDEO GALLERY
   ============================================ */

.horizontal-video-gallery {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    background: #000;
}

.video-scroll-container {
    display: flex;
    height: 100%;
    width: 400vw; /* 4 videos × 100vw each */
}

.video-slide {
    position: relative;
    min-width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.8s ease;
}

.video-slide.active {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    width: 90vw;
    max-width: 800px;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    margin-top: 2rem;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.video-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.scroll-indicator p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .video-wrapper {
        width: 95vw;
        aspect-ratio: 16 / 9;
    }
    
    .video-info h3 {
        font-size: 1.5rem;
    }
    
    .video-info p {
        font-size: 1rem;
    }
    
    .scroll-indicator p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
}
/* Add to existing styles.css - append at the end */

/* ============================================
   VIDEO GALLERY SECTION - SCROLL-TRIGGERED CROSSFADE
   ============================================ */

.video-gallery-section {
    position: relative;
    padding: 8rem 0;
    background: #000000;
    z-index: 100;
}

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

.video-item {
    margin-bottom: 15rem; /* Space between videos for scroll effect */
    position: relative;
}

.video-item:last-child {
    margin-bottom: 8rem;
}

/* Video Title Bar */
.video-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-20px);
}

.video-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.5px;
}

/* Sound Toggle Button */
.sound-toggle {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.sound-toggle:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    transform: scale(1.05);
}

.sound-toggle:active {
    transform: scale(0.95);
}

.sound-toggle.active {
    background: rgba(139, 92, 246, 0.4);
    border-color: var(--accent-purple);
}

/* Sound Icons */
.sound-icon {
    width: 24px;
    height: 24px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.sound-toggle .sound-off {
    opacity: 1;
}

.sound-toggle .sound-on {
    opacity: 0;
}

.sound-toggle.active .sound-off {
    opacity: 0;
}

.sound-toggle.active .sound-on {
    opacity: 1;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(139, 92, 246, 0.2);
    background: #000;
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: opacity 1.5s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-gallery-section {
        padding: 4rem 0;
    }
    
    .video-item {
        margin-bottom: 10rem;
    }
    
    .video-title {
        font-size: 1.5rem;
    }
    
    .sound-toggle {
        width: 40px;
        height: 40px;
    }
    
    .sound-icon {
        width: 20px;
        height: 20px;
    }
    
    .video-title-bar {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .video-item {
        margin-bottom: 8rem;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .sound-toggle {
        width: 36px;
        height: 36px;
    }
    
    .sound-icon {
        width: 18px;
        height: 18px;
    }
}

/* Smooth fade transitions */
.video-item.in-view .gallery-video {
    opacity: 1;
}

.video-item.in-view .video-title-bar {
    opacity: 1;
    transform: translateY(0);
}
