/* Legal Policy Pages (Privacy, Terms, Disclaimer, Refund) */

body {
    font-family: 'Poppins', sans-serif !important;
}

.policy-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

.policy-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.mesh-bg {
    background-color: #fff5f5;
    background-image:
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0.03) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.03) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.03) 0, transparent 50%);
}

.section-nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.section-nav-link:hover {
    color: #000;
    border-left-color: #000;
}

.section-nav-link.active {
    color: #000;
    border-left-color: #000;
    font-weight: 600;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .policy-card {
        padding: 0.5rem;
        border-radius: 1.5rem;
    }
    
    .policy-card h2 {
        font-size: 1.5rem !important;
    }

    .policy-card p, .policy-card li {
        font-size: 1rem !important;
    }

    .policy-card .w-12 {
        width: 2.5rem;
        height: 2.5rem;
    }

    .policy-card i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .policy-card {
        padding: 1.25rem;
    }
    
    .policy-card .flex {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 360px) {
    .text-4xl {
        font-size: 1.75rem !important;
    }
}

/* Dark Mode */
[data-theme="dark"] .mesh-bg {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0.3) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.15) 0, transparent 50%);
}

[data-theme="dark"] .policy-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .policy-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .section-nav-link {
    color: #888;
}

[data-theme="dark"] .section-nav-link:hover {
    color: #fff;
    border-left-color: #fff;
}

[data-theme="dark"] .section-nav-link.active {
    color: #fff;
    border-left-color: #fff;
}

/* ===== FIX FOR REFUND POLICY CONTACT SECTION WHITE LINE ===== */
.refund-contact-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: hidden;
    width: 100%;
}

.refund-contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.refund-contact-icon i {
    color: #fff;
    font-size: 1.25rem;
}

.refund-contact-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.refund-contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.refund-contact-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.refund-contact-box {
    padding: 1rem;
    border-radius: 1rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    width: 100%;
    overflow-x: hidden;
}

.refund-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #666;
    flex-wrap: wrap;
    word-break: break-word;
}

.refund-contact-item i {
    width: 1.25rem;
    color: #999;
    flex-shrink: 0;
}

.refund-contact-item a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
}

.refund-contact-item a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
    .refund-contact-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .refund-contact-title {
        font-size: 1.5rem;
    }
    
    .refund-contact-box {
        padding: 0.75rem;
    }
    
    .refund-contact-item {
        gap: 0.5rem;
        font-size: 0.875rem;
    }
}
