/* Kebijakan Garansi — halaman cek lisensi */

.warranty-policy-wrap {
    margin-top: 40px;
}

.warranty-policy-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(233, 0, 9, 0.22);
    background:
        radial-gradient(ellipse 80% 120% at 50% -20%, rgba(233, 0, 9, 0.14), transparent 55%),
        var(--dark-card);
    position: relative;
    overflow: hidden;
}

.warranty-policy-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(233, 0, 9, 0.06) 50%, transparent 60%);
    animation: wpHeaderShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wpHeaderShine {
    0%, 100% { transform: translateX(-30%); opacity: 0.4; }
    50% { transform: translateX(30%); opacity: 0.9; }
}

.warranty-policy-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-light);
    background: rgba(233, 0, 9, 0.12);
    border: 1px solid rgba(233, 0, 9, 0.28);
    box-shadow: 0 0 24px rgba(233, 0, 9, 0.15);
    animation: wpIconPulse 3s ease-in-out infinite;
}

@keyframes wpIconPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(233, 0, 9, 0.12); transform: scale(1); }
    50% { box-shadow: 0 0 28px rgba(233, 0, 9, 0.28); transform: scale(1.04); }
}

.warranty-policy-header h2 {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.warranty-policy-header p {
    color: var(--gray-light);
    font-size: 0.9rem;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.warranty-policy-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.warranty-policy-card {
    padding: 22px 22px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--dark-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.warranty-policy-card:hover {
    border-color: rgba(233, 0, 9, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.warranty-policy-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.warranty-policy-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-light);
    background: rgba(233, 0, 9, 0.12);
    border: 1px solid rgba(233, 0, 9, 0.25);
}

.warranty-policy-card h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin: 6px 0 0;
    line-height: 1.35;
}

.warranty-policy-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0 0 12px;
}

.warranty-policy-card p:last-child {
    margin-bottom: 0;
}

.warranty-policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.warranty-policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray-light);
}

.warranty-policy-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    text-align: center;
    font-size: 0.75rem;
}

.warranty-policy-list--cover li i {
    color: #22c55e;
}

.warranty-policy-list--exclude li i {
    color: #f87171;
}

.warranty-policy-list--claim li i {
    color: var(--primary-light);
}

.warranty-policy-highlight {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-light);
    background: rgba(233, 0, 9, 0.06);
    border-left: 3px solid var(--primary);
}

.warranty-policy-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
}

@media (max-width: 768px) {
    .warranty-policy-wrap {
        margin-top: 28px;
    }

    .warranty-policy-header {
        padding: 22px 16px;
    }

    .warranty-policy-card {
        padding: 18px 16px;
    }
}
