.hero3d {
    position: relative;
    margin-top: 70px;
    padding: clamp(2.5rem, 6vw, 5rem);
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(120% 120% at 12% 10%, rgba(247, 147, 26, 0.22) 0%, rgba(26, 26, 26, 0) 60%),
                radial-gradient(140% 140% at 85% 20%, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0) 55%),
                linear-gradient(180deg, rgba(12, 12, 12, 0.92), rgba(8, 8, 8, 0.96));
    color: #ffffff;
    isolation: isolate;
    min-height: clamp(420px, 70vh, 620px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3rem);
}

.hero3d canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero3d__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero3d__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.75rem);
    text-align: center;
    align-items: center;
}

.hero3d__title {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ff8c00 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero3d__subtitle {
    margin: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
}

.hero3d__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero3d__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero3d__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid transparent;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero3d__action:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 25px rgba(10, 10, 10, 0.25);
}

.hero3d__action--primary {
    background: var(--gradient-orange);
    color: #151515;
    box-shadow: 0 12px 25px rgba(247, 147, 26, 0.35);
}

.hero3d__action--primary:hover {
    background: linear-gradient(135deg, #ffb347, #f7931a);
}

.hero3d__action--ghost {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.hero3d__stats {
    position: relative;
    z-index: 2;
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero3d__stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
}

.hero3d__stat .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

.hero3d__stat .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.hero3d__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    pointer-events: none;
    animation: hero3dPulse 2.5s ease-in-out infinite;
}

@keyframes hero3dPulse {
    0% { opacity: 0.45; }
    50% { opacity: 1; }
    100% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
    .hero3d__fallback {
        animation: none;
    }
    .hero3d__action {
        transition: none;
    }
}

@media (max-width: 960px) {
    .hero3d {
        padding: clamp(2rem, 8vw, 3.5rem);
    }
}

@media (max-width: 640px) {
    .hero3d__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero3d__action {
        width: 100%;
    }
    .hero3d__stats {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.75rem;
    }
}
