.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    text-align: center;
    padding: 4rem 1rem;
    overflow: hidden;
    background: #000000;
    perspective: 1000px;
}

.heroContent {
    position: relative;
    z-index: 10;
    max-width: 900px;
    transform-style: preserve-3d;
    pointer-events: auto;
}

.sceneLoader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUp3D 0.8s ease-out;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    color: var(--foreground-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.ctaGroup {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.ctaButton {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--foreground);
    color: var(--background);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 10;
}

.ctaButton::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ctaButton:hover::before {
    width: 300px;
    height: 300px;
}

.ctaButton:hover {
    transform: translateY(-4px) rotateX(5deg) rotateY(-5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ctaButton:active {
    transform: translateY(-2px) rotateX(2deg) rotateY(-2deg) scale(1.02);
}

.secondaryButton {
    background: transparent;
    color: var(--foreground);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    cursor: pointer;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 10;
}

.secondaryButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.secondaryButton:hover::before {
    left: 100%;
}

.secondaryButton:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--foreground-muted);
    transform: translateY(-2px) rotateX(3deg) rotateY(3deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gradientOrb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse3D 8s ease-in-out infinite, rotate3D 20s linear infinite;
    z-index: 2;
    transform-style: preserve-3d;
    pointer-events: none;
}

@keyframes fadeInUp3D {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(-100px) rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0deg);
    }
}

@keyframes pulse3D {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) translateZ(0) scale(1) rotateY(0deg);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) translateZ(50px) scale(1.1) rotateY(180deg);
    }
}

@keyframes rotate3D {
    0% {
        transform: translate(-50%, -50%) translateZ(0) rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) translateZ(0) rotateX(360deg) rotateY(360deg);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 2rem 1rem;
    }

    .ctaGroup {
        flex-direction: column;
        width: 100%;
    }

    .ctaButton,
    .secondaryButton {
        width: 100%;
        justify-content: center;
    }

    .gradientOrb {
        width: 400px;
        height: 400px;
    }
}

