/* ============================================
   Material Icons — Fill variant
   ============================================ */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ============================================
   Crossfade Hero Images
   ============================================ */

@keyframes crossfadeImage {
    0%, 45%  { opacity: 1; }
    50%, 95% { opacity: 0; }
    100%     { opacity: 1; }
}

@keyframes crossfadeImageReverse {
    0%, 45%  { opacity: 0; }
    50%, 95% { opacity: 1; }
    100%     { opacity: 0; }
}

/* ============================================
   Infinite Marquee
   ============================================ */

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1.25rem;
    animation: marquee 25s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track > * {
    flex-shrink: 0;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.marquee-highlight-primary {
    color: #00daf3;
    border-color: rgba(0, 218, 243, 0.5);
    background: rgba(0, 218, 243, 0.15);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 218, 243, 0.25);
}

.marquee-highlight-primary:hover {
    box-shadow: 0 0 25px rgba(0, 218, 243, 0.4);
}

.marquee-highlight-secondary {
    color: #dfb7ff;
    border-color: rgba(223, 183, 255, 0.5);
    background: rgba(223, 183, 255, 0.15);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(223, 183, 255, 0.25);
}

.marquee-highlight-secondary:hover {
    box-shadow: 0 0 25px rgba(223, 183, 255, 0.4);
}

.marquee-highlight-tertiary {
    color: #ffade1;
    border-color: rgba(255, 173, 225, 0.5);
    background: rgba(255, 173, 225, 0.15);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 173, 225, 0.25);
}

.marquee-highlight-tertiary:hover {
    box-shadow: 0 0 25px rgba(255, 173, 225, 0.4);
}

/* ============================================
   Glass Card
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
   Perspective Utility (hero image tilt)
   ============================================ */

.perspective-1000 {
    perspective: 1000px;
}

/* ============================================
   Signature Gradient (buttons, badges)
   ============================================ */

.signature-gradient {
    background: linear-gradient(135deg, #00daf3, #009fb2);
}

/* ============================================
   Dynamic Simulation Calculator
   ============================================ */

.simulation-drawer {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.4s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0); max-height: 200px; }
}

.input-price::-webkit-inner-spin-button,
.input-price::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-price {
    -moz-appearance: textfield;
}

.simulation-drawer.hidden {
    display: none;
}

.btn-toggle-simulation span {
    transition: transform 0.3s ease;
}

.btn-toggle-simulation.active span {
    transform: rotate(180deg);
}
