.relative-hero-container {
    position: relative;
    width: 100%;
}

.hero-3d-wrapper {
    position: relative;
    height: 70vh; /* Further reduced height from bottom */
    width: 100%;
    background: #000; /* Dark background to blend with Spline */
    overflow: hidden;
}

.spline-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh; /* Make it taller than the wrapper to push the logo down */
    z-index: 0;
    pointer-events: auto;
}

/* Ensure the spline viewer takes full screen */
.spline-bg-container spline-viewer {
    width: 100%;
    height: 100%; /* Takes the 100vh height */
    display: block;
}

/* Hide the "Built with Spline" watermark (fallback) */
.spline-bg-container spline-viewer::part(logo) {
    display: none !important;
}

.spline-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.8)),
                linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.9));
    pointer-events: none;
    z-index: 1;
}

.hero-3d-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to 3d bg where empty */
}

.hero-content-inner {
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.hero-left-col, .hero-right-col {
    pointer-events: auto; /* Allow interactions on content */
    flex: 1;
}

.hero-3d-title {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-3d-tags {
    font-size: 14px;
    color: #cbd5e1;
    opacity: 0.9;
    letter-spacing: 2px;
}

.hero-right-col {
    padding-left: 40px;
}

.hero-3d-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.6;
}

.hero-3d-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-white {
    border: 1px solid white;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: white;
    color: black;
}

.btn-solid-white {
    background: white;
    color: black;
    padding: 14px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-solid-white:hover {
    transform: scale(1.05);
}

.btn-solid-white svg {
    width: 20px;
    height: 20px;
    color: #22d3ee;
}

/* Responsive */
@media(max-width: 900px) {
    .hero-content-inner {
        flex-direction: column;
        text-align: left;
        gap: 40px;
        padding-top: 100px;
    }
    .hero-right-col {
        padding-left: 0;
    }
}
