/* Structural Heart CSS Overrides */

/* Image Hover Zoom Mask */
.group-hover-scale {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.group:hover .group-hover-scale {
    transform: scale(1.08);
}

/* Base card enhancements */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Arrow microinteraction */
.hover-arrow svg {
    transition: transform var(--transition-fast) ease-out;
}

.hover-arrow:hover svg {
    transform: translateX(6px);
}

/* 3D TRIC Valve Box */
.tric-hover-3d-wrapper {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.tric-hover-3d-inner {
    transition: transform 0.1s ease-out;
    /* JavaScript controlled */
    transform-style: preserve-3d;
}

.tric-floating-badge {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(40px);
    /* Pops off screen during rotation */
}

/* Accordion Specific Styling */
#structuralFaq .accordion-button:not(.collapsed) {
    background-color: var(--color-bg-soft) !important;
    color: var(--color-primary-dark) !important;
    box-shadow: none;
}

#structuralFaq .accordion-button:focus {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

#structuralFaq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234A7C59'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

#structuralFaq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23284A33'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Ambient Particles */
.ambient-particles {
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}