:root {
    --bg-color: #000000; 
    --text-main: #ffffff; 
    --text-muted: #a1a1aa;
    --accent-primary: #26442a; 
    --accent-secondary: #3bf6c4; 
    --accent-glow: rgba(124, 255, 68, 0.4);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(177, 255, 191, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(11, 25, 9, 0.37);
    
    --font-main: 'SF Pro Display', 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 150px; background-repeat: repeat; opacity: 0.025; 
}

.background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; display: flex; justify-content: center; align-items: center;
}

.blob {
    width: 50vw; height: 50vw; max-width: 800px; max-height: 800px;
    background: #aaf7a6; border-radius: 50%; filter: blur(150px); 
    opacity: 0.15; animation: pulseBlob 10s infinite alternate ease-in-out;
}

@keyframes pulseBlob {
    0% { transform: scale(0.8); opacity: 0.1; }
    100% { transform: scale(1.1); opacity: 0.2; }
}

.glass-nav {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; background: rgba(7, 7, 10, 0.6); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 40px 120px -10px rgba(255, 255, 255, 0.15), 0 20px 50px -10px rgba(255, 255, 255, 0.1); 
    z-index: 1000; transition: padding 0.3s ease;
}

.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.8rem; }
.nav-profile-pic { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--glass-border); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 1.2rem; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent-primary); }

.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px; box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ==================================================
   APPLE LIQUID GLASS BUTTONS
   ================================================== */
.btn-primary, .btn-secondary, .glass-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px; 
    border-radius: 100px; 
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(30px) saturate(140%);
    -webkit-backdrop-filter: blur(30px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    box-shadow: 
        inset 0px 1px 1px rgba(255, 255, 255, 0.4), 
        inset 0px -1px 1px rgba(255, 255, 255, 0.05), 
        0 8px 32px rgba(0, 0, 0, 0.4); 
        
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(180deg, rgba(124, 255, 68, 0.3) 0%, rgba(38, 68, 42, 0.5) 100%); 
    border: 1px solid rgba(177, 255, 191, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.8); 
    box-shadow: 
        inset 0px 2px 4px rgba(255, 255, 255, 0.6), 
        inset 0px -4px 8px rgba(0, 0, 0, 0.4), 
        0 10px 30px rgba(124, 255, 68, 0.4); 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); 
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.04); 
    background: linear-gradient(180deg, rgba(124, 255, 68, 0.4) 0%, rgba(38, 68, 42, 0.6) 100%);
    box-shadow: 
        inset 0px 2px 6px rgba(255, 255, 255, 0.8), 
        inset 0px -4px 8px rgba(0, 0, 0, 0.4), 
        0 15px 40px rgba(124, 255, 68, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 1);
}

.btn-secondary:hover, .glass-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        inset 0px 1px 2px rgba(255, 255, 255, 0.6),
        0 12px 40px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:active, .btn-secondary:active, .glass-btn:active {
    transform: translateY(2px) scale(0.96); 
    transition: all 0.1s ease; 
}

main { padding-top: 0; max-width: 1800px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
section { padding: 60px 0; }
.section-title { font-size: 3rem; margin-bottom: 50px; text-align: center; font-weight: 800; letter-spacing: -1px; }

/* ==================================================
   HERO SECTION & PARALLAX CARDS 
   ================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; 
    padding: 160px 5% 50px; 
    max-width: 1300px; 
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hero-content { flex: 1; min-width: 350px; max-width: 550px; z-index: 10; } 
.hero-content h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 800; letter-spacing: -2px; color: #aaf7a6; }
.accent-text { background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); max-width: 650px; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 20px; }

.hero-visuals { flex: 1.2; position: relative; display: flex; justify-content: flex-start; align-items: center; }

.card-stack-container { width: 100%; max-width: 520px; aspect-ratio: 16 / 9; perspective: 1000px; position: relative; }

.thumb-card {
    position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border-radius: 15px; overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); padding: 0 !important; border: 2px solid rgba(255, 255, 255, 0.1) !important; transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.thumb-card img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

.card-back { transform: translate(calc(var(--mouse-x, 0px) * 0.2), calc(var(--mouse-y, 0px) * 0.2 + 60px)) scale(0.85) rotate(-6deg); z-index: 0; opacity: 0.4; }
.card-bottom { transform: translate(calc(var(--mouse-x, 0px) * 0.5), calc(var(--mouse-y, 0px) * 0.5 + 40px)) scale(0.9) rotate(-3deg); z-index: 1; opacity: 0.6; }
.card-middle { transform: translate(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) + 20px)) scale(0.95) rotate(2deg); z-index: 2; opacity: 0.8; }
.card-top { transform: translate(calc(var(--mouse-x, 0px) * 1.5), calc(var(--mouse-y, 0px) * 1.5)) scale(1) rotate(0deg); z-index: 3; opacity: 1; }


.card-stack-container:hover .card-bottom { transform: translate(calc(var(--mouse-x, 0px) - 100px), calc(var(--mouse-y, 0px) - 80px)) scale(1) rotate(-12deg); opacity: 1; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6); }
.card-stack-container:hover .card-middle { transform: translate(calc(var(--mouse-x, 0px) + 100px), calc(var(--mouse-y, 0px) - 40px)) scale(1) rotate(10deg); opacity: 1; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6); }
.card-stack-container:hover .card-top { transform: translate(calc(var(--mouse-x, 0px) * 1.5), calc(var(--mouse-y, 0px) * 1.5 + 20px)) scale(1.05) rotate(0deg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); }

/* ==================================================
   BRAND & CREATOR PFP SLIDER
   ================================================== */
.brand-slider-section { padding: 30px 20px; text-align: center; overflow: hidden; position: relative; z-index: 10; }
.brand-slider-container { max-width: 1400px; margin: 0 auto; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.brand-slider-track { display: flex; gap: 60px; }

.brand-slide-group { display: flex; gap: 60px; flex-shrink: 0; align-items: center; animation: scrollBrands 40s linear infinite; }

.brand-slide-group img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 2px solid var(--glass-border); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease; }
.brand-slide-group img:hover { transform: scale(1.1); border-color: var(--glass-border-hover); }
.brand-slider-track:hover .brand-slide-group { animation-play-state: paused; }
@keyframes scrollBrands { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - 60px)); } }

/* ==================================================
   SELECTED WORK INFINITE SLIDER
   ================================================== */
.slider-container { width: 100%; overflow: hidden; padding: 40px 0; position: relative; }
.slider-container::before, .slider-container::after { content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.slider-container::before { left: 0; background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%); }
.slider-container::after { right: 0; background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%); }
.slider-track { display: flex; gap: 40px; width: max-content; animation: infinite-scroll 80s linear infinite; }
.track-right { animation: infinite-scroll-reverse 80s linear infinite; }
.slider-container:hover .slider-track { animation-play-state: paused; }
.slide-item { width: 450px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 2px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease; flex-shrink: 0; cursor: pointer; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.slide-item:hover { transform: scale(1.05) translateY(-10px); border-color: var(--glass-border-hover); z-index: 10; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }
@keyframes infinite-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 20px)); } }
@keyframes infinite-scroll-reverse { 0% { transform: translateX(calc(-50% - 20px)); } 100% { transform: translateX(0); } }

/* ==================================================
   PROCESS GRID
   ================================================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.process-card { position: relative; overflow: hidden; }
.process-card:hover { transform: translateY(-10px); border-color: var(--glass-border-hover); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15); }
.step-number { 
    font-size: 4rem; 
    font-weight: 900; 
    position: absolute; 
    top: 10px; 
    right: 20px; 
    line-height: 1; 
    color: rgba(170, 247, 166, 0.15); 
    -webkit-text-stroke: 1px rgba(170, 247, 166, 0.4); 
    text-shadow: 0 8px 24px rgba(124, 255, 68, 0.2); 
    z-index: 0;
}
.process-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: #fff; position: relative; }
.process-card p { color: var(--text-muted); position: relative; }

/* ==================================================
   TESTIMONIALS SLIDER
   ================================================== */
#testimonials { padding: 120px 5% 80px; max-width: 1100px; margin: 0 auto; text-align: center; }
.testimonial-container { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; max-width: 850px; margin: 0 auto; }
.testimonial-slider { flex: 1; position: relative; display: grid; place-items: center; width: 100%; padding: 0 50px; }
.testimonial-slide { grid-area: 1 / 1; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; display: flex; flex-direction: column; align-items: center; }
.testimonial-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.quote-text { font-size: 1.8rem; font-weight: 500; line-height: 1.5; color: #ffffff; margin-bottom: 40px; }
.author-card { display: inline-flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 24px 8px 8px; border-radius: 100px; text-align: left; }
.author-pfp { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.author-info h4 { font-size: 1.1rem; font-weight: 600; color: #ffffff; margin: 0; line-height: 1.2; }
.author-info span { font-size: 0.9rem; color: var(--text-muted); }
.testi-btn { background: transparent; border: none; color: rgba(255, 255, 255, 0.3); font-size: 2rem; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; padding: 10px; z-index: 10; position: absolute; top: 38%; transform: translateY(-50%); }
.prev-btn { left: 0; }
.next-btn { right: 0; }
.testi-btn:hover { color: #ffffff; transform: translateY(-50%) scale(1.15); }
.testimonial-dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.dot { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: #ffffff; transform: scale(1.3); }

/* ==================================================
   CONTACT & MISC
   ================================================== */
.contact-container { text-align: center; max-width: 800px; margin: 0 auto; }
.contact-container p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }
.social-links {
    display: flex;
    flex-direction: row;    /* Forces them side-by-side */
    flex-wrap: wrap;       /* Allows them to stack ONLY on small phones */
    justify-content: center; 
    gap: 15px;             /* Space between buttons */
    width: 100%;
    margin-top: 30px;
}

.glass-btn {
    white-space: nowrap;   /* Prevents button text from wrapping */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;      /* Ensures buttons have a consistent look */
}

.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

footer { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; }

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { position: relative; width: 90%; max-width: 500px; text-align: center; transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 25px; font-size: 2.5rem; color: var(--text-muted); cursor: pointer; transition: color 0.3s ease; line-height: 1; }
.close-modal:hover { color: #fff; }

/* ==================================================
   MOBILE RESPONSIVENESS
   ================================================== */
@media (max-width: 768px) {
    /* 1. Slim down the Navigation */
    .glass-nav { padding: 12px 5%; }
    .nav-logo { font-size: 1.4rem; }
    .nav-profile-pic { width: 32px; height: 32px; }
    .nav-links { display: none; }
    
    /* 2. Fix the Hero Layout (Stop elements from getting pushed down) */
    #hero { 
        padding-top: 100px; 
        padding-bottom: 20px;
        gap: 1rem; 
        min-height: auto; 
        flex-direction: column; 
        text-align: center;
    }
    .hero-content { margin-bottom: 10px; width: 100%; }
    
    /* 3. Drastically Shrink Typography */
    #hero h1 { font-size: 2rem; margin-bottom: 10px; line-height: 1.15; } 
    .hero-content p { font-size: 0.95rem; margin-bottom: 20px; padding: 0 10px; }
    
    /* 4. Slimmer Buttons */
    .btn-primary, .btn-secondary, .glass-btn { padding: 10px 24px; font-size: 0.95rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 220px; margin: 0 auto; gap: 12px; }
    
    /* 5. Bring the Hero Cards into View */
    .hero-visuals { width: 100%; display: flex; justify-content: center; margin-top: 15px; }
    .card-stack-container { max-width: 280px; margin: 0 auto; } 

    /* 6. Massively Shrink the PFP Slider */
    .brand-slider-section { padding: 20px 10px; }
    .section-title { font-size: 1.8rem !important; margin-bottom: 20px !important; }
    .brand-slide-group { gap: 20px; } 
    .brand-slide-group img { width: 70px !important; height: 70px !important; } 
    .brand-pfp-item { width: 90px; gap: 8px; }
    .brand-channel-details { font-size: 0.75rem; padding: 4px 10px; } 
    
    /* 7. Shrink the Remaining Sections */
    .step-number { font-size: 2.2rem; } 
    .process-card h3 { font-size: 1.2rem; }
    .process-card { padding: 20px; }
    
    .slide-item { width: 240px; } 
    .quote-text { font-size: 1rem; margin-bottom: 20px; }
    .author-pfp { width: 35px; height: 35px; }
    .author-info h4 { font-size: 0.95rem; }
    .author-info span { font-size: 0.8rem; }

    /* 8. Shrink Slider Edge Shadows */
    .slider-container::before, 
    .slider-container::after { 
        width: 40px; 
    }
    
    /* Image Protection */
    .thumb-card img, .slide-item img {
        -webkit-user-drag: none; 
        user-drag: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    .slide-item { cursor: default; }
}
