.home-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0 4rem;
}

.hero-content .eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34a853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.2);
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    min-height: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.hero-visual:hover {
    box-shadow: var(--shadow-lg), 0 18px 50px rgba(30, 53, 82, 0.12);
}

.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-graphic-3d {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.95) 0%, rgba(244, 239, 230, 0.7) 100%);
    border: 1px solid rgba(222, 212, 190, 0.7);
    box-shadow: 0 10px 30px rgba(30, 53, 82, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#hero-scene,
#protein-3dmol-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#hero-scene {
    display: block;
}

#hero-scene.is-inactive {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

#protein-3dmol-container {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

#protein-3dmol-container.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-controls-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(222, 212, 190, 0.85);
    box-shadow: 0 4px 18px rgba(30, 53, 82, 0.08);
}

.hero-carousel-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(237, 230, 218, 0.6);
    padding: 2px;
    border-radius: var(--radius-pill);
}

.hero-tab-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.hero-tab-btn.is-active,
.hero-tab-btn:hover {
    background: #fffdf8;
    color: var(--navy-ink);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(30, 53, 82, 0.1);
}

.hero-ctrl-divider {
    width: 1px;
    height: 14px;
    background: rgba(222, 212, 190, 0.8);
    margin: 0 2px;
}

.hero-ctrl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--navy-ink);
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.hero-ctrl-btn:hover {
    background: rgba(30, 53, 82, 0.08);
    color: var(--navy);
}

@keyframes mol-spin {
    to { transform: rotate(360deg); }
}
