/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
}

/* Super Header */
.super-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1rem 0;
    text-align: center;
}

.site-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #a78bfa, #06b6d4, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(51, 65, 85, 0.9) 100%),
        url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding: 3rem 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    text-shadow:
        0 0 20px rgba(167, 139, 250, 0.5),
        0 0 40px rgba(167, 139, 250, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #e2e8f0, #a78bfa, #06b6d4, #f8fafc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Enhanced shimmer effect */
.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(110deg,
            transparent 20%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(167, 139, 250, 0.8) 55%,
            transparent 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerWave 3s infinite 2s;
    z-index: 1;
}

@keyframes shimmerWave {
    0% {
        transform: translateX(-150%) skewX(-15deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(150%) skewX(-15deg);
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.5;
    color: #cbd5e1;
    text-shadow:
        0 0 10px rgba(167, 139, 250, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.7);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section styles with reversible VC-funded animations */
.content-section {
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 16px;
    position: relative;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: local;
}

/* Stretched background effect that blends to edges */
.content-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: inherit;
    filter: blur(3px) brightness(0.6);
    transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 0;
    opacity: 1;
    transform: scale(1.4);
}

.content-section.in-view::before {
    filter: blur(1px) brightness(0.8);
    transform: scale(1.1);
    opacity: 0.7;
}

.content-section.out-of-view::before {
    filter: blur(5px) brightness(0.4);
    transform: scale(1.6);
    opacity: 1;
}

.content-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.content-section.in-view {
    transform: translateY(0) scale(1);
    animation: sectionsReveal 1.5s cubic-bezier(0.23, 1, 0.320, 1) forwards;
}

@keyframes sectionsReveal {
    0% {
        opacity: 0.3;
        transform: translateY(100px) scale(0.95);
        filter: blur(10px);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse>* {
    direction: ltr;
}

.section-content.centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
}

.content-section.in-view .text-content {
    opacity: 1;
    transform: translateY(0);
}

.content-section.out-of-view .text-content {
    opacity: 0;
    transform: translateY(30px);
}

/* Side-panning image animations */
.image-content {
    position: relative;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Images on the right side pan in from the right */
.section-content:not(.reverse) .image-content {
    transform: translateX(100px);
}

.content-section.in-view .section-content:not(.reverse) .image-content {
    opacity: 1;
    transform: translateX(0);
}

.content-section.out-of-view .section-content:not(.reverse) .image-content {
    opacity: 0;
    transform: translateX(100px);
}

/* Images on the left side (reverse sections) pan in from the left */
.section-content.reverse .image-content {
    transform: translateX(-100px);
}

.content-section.in-view .section-content.reverse .image-content {
    opacity: 1;
    transform: translateX(0);
}

.content-section.out-of-view .section-content.reverse .image-content {
    opacity: 0;
    transform: translateX(-100px);
}

.text-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.section-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(167, 139, 250, 0.2),
            transparent,
            rgba(6, 182, 212, 0.2),
            transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.section-image:hover {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1) contrast(1.1);
}

/* Section-specific backgrounds with dark mode VC-funded excess */
.mlm-section {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(75, 85, 99, 0.9) 100%),
        url('images/mlm.png');
    background-size: cover, cover;
    background-position: center, center;
}

.nft-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(88, 28, 135, 0.9) 100%),
        url('images/nft.png');
    background-size: cover, cover;
    background-position: center, center;
    color: white;
}

.nft-section .text-content h2 {
    background: linear-gradient(135deg, #a78bfa, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-section .text-content p {
    color: rgba(226, 232, 240, 0.9);
}

.fax-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(5, 46, 22, 0.9) 100%),
        url('images/fax.png');
    background-size: cover, cover;
    background-position: center, center;
}

.of-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(127, 29, 29, 0.9) 100%),
        url('images/of.png');
    background-size: cover, cover;
    background-position: center, center;
    color: white;
}

.of-section .text-content h2 {
    background: linear-gradient(135deg, #f87171, #fca5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.of-section .text-content p {
    color: rgba(226, 232, 240, 0.9);
}

.supplements-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(91, 33, 182, 0.9) 100%),
        url('images/supplements.png');
    background-size: cover, cover;
    background-position: center, center;
}

.pyramid-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(51, 65, 85, 0.95) 100%),
        url('images/pyramid.png');
    background-size: cover, cover;
    background-position: center, center;
    color: white;
}

.pyramid-section .text-content h2 {
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pyramid-section .text-content p {
    color: rgba(226, 232, 240, 0.9);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.6);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.cta-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

footer p {
    font-size: 0.9rem;
}

/* Over-the-top VC-funded particle effects */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

/* Floating particles for maximum startup energy */
.content-section.in-view::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.6), transparent);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

/* More floating nonsense */
.mlm-section.in-view::after {
    background: radial-gradient(circle, rgba(156, 163, 175, 0.6), transparent);
    animation-delay: -1s;
}

.nft-section.in-view::after {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6), transparent);
    animation-delay: -2s;
    left: 15%;
    right: auto;
}

.fax-section.in-view::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6), transparent);
    animation-delay: -3s;
}

/* Pulsing glow effect for maximum corporate excess */
@keyframes corporateGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(167, 139, 250, 0.3),
            0 0 40px rgba(167, 139, 250, 0.2),
            0 0 60px rgba(167, 139, 250, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(167, 139, 250, 0.5),
            0 0 60px rgba(167, 139, 250, 0.3),
            0 0 90px rgba(167, 139, 250, 0.2);
    }
}

.content-section.in-view {
    animation: corporateGlow 4s ease-in-out infinite 1s;
}

.content-section.out-of-view {
    animation: none;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .section-content.reverse {
        direction: ltr;
    }

    .content-section {
        margin: 1rem 0;
        padding: 2rem 0;
    }

    .text-content {
        text-align: center;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

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

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

    .text-content h2 {
        font-size: 1.5rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem 0;
    }
}

/* Animation and effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Glowing effects */
.hero h1 {
    position: relative;
}

/* Responsive design */
.section-image {
    position: relative;
    overflow: hidden;
}

.section-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(167, 139, 250, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-image:hover::after {
    opacity: 1;
    animation: shine 0.6s ease-in-out;
}

/* Join Page Styles - Peak VC-funded pyramid recruitment */
.join-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 2rem;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

/* Animated wormhole/vortex background */
.join-page::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300vw;
    height: 300vw;
    border-radius: 50%;
    background:
        radial-gradient(circle at center,
            transparent 5%,
            rgba(30, 41, 59, 0.8) 15%,
            rgba(167, 139, 250, 0.3) 25%,
            rgba(6, 182, 212, 0.2) 35%,
            rgba(30, 41, 59, 0.9) 45%,
            rgba(15, 23, 42, 0.95) 55%,
            #0f172a 65%);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: vortexSpin 20s linear infinite;
    z-index: 1;
}

.join-page::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 250vw;
    height: 250vw;
    border-radius: 50%;
    background:
        radial-gradient(circle at center,
            transparent 10%,
            rgba(167, 139, 250, 0.2) 20%,
            rgba(6, 182, 212, 0.15) 30%,
            rgba(30, 41, 59, 0.7) 40%,
            rgba(15, 23, 42, 0.9) 50%,
            #0f172a 60%);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: vortexSpin 25s linear infinite reverse;
    z-index: 2;
}

@keyframes vortexSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1);
    }

    75% {
        transform: translate(-50%, -50%) rotate(270deg) scale(0.9);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Pulsing energy rings */
.join-page .join-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(167, 139, 250, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyPulse 3s ease-in-out infinite;
    z-index: 0;
}

.join-page .join-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyPulse 4s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes energyPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.join-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(167, 139, 250, 0.2),
        inset 0 0 20px rgba(167, 139, 250, 0.1);
    position: relative;
    z-index: 10;
}

/* Add floating particles around the form */
.join-container .form-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.8), transparent);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.join-container .form-grid::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.7), transparent);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite reverse;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 1;
    }

    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.6;
    }
}

.join-header {
    text-align: center;
    margin-bottom: 3rem;
}

.join-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.join-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    opacity: 0.9;
    margin-bottom: 0;
}

.recruitment-form {
    margin-bottom: 2rem;
}

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

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input {
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
    background: rgba(30, 41, 59, 1);
}

.form-field input:valid {
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.pyramid-submit {
    width: 100%;
    margin: 2rem 0 1rem 0;
    padding: 1.2rem 2rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    transition: all 0.4s ease;
}

.pyramid-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(167, 139, 250, 0.4);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
}

.smallprint {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    border-left: 3px solid #ef4444;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #e2e8f0;
    border-color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
}

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

    .join-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}