/**
 * SIGMIX Refund Policy Page Styles
 * /css/refund.css
 */

/* ========================================
   HEADER SPACER
   ======================================== */
.header-spacer {
    height: 70px;
}

/* ========================================
   REFUND HERO
   ======================================== */
.refund-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.refund-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.refund-hero .container {
    position: relative;
    z-index: 1;
}

.refund-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.refund-hero .last-updated {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.refund-hero .last-updated time {
    font-weight: 600;
}

/* ========================================
   REFUND CONTENT
   ======================================== */
.refund-content {
    padding: 4rem 0;
    background: var(--white);
}

.refund-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Company Info Box */
.company-info {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
}

.company-info p {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.8;
}

.company-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.company-info a:hover,
.company-info a:focus {
    text-decoration: underline;
}

/* Section Styling */
.refund-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.refund-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.refund-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    flex-shrink: 0;
}

.refund-section p {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.refund-section p:last-child {
    margin-bottom: 0;
}

/* Lists */
.refund-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.refund-section li {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.refund-section li:last-child {
    margin-bottom: 0;
}

/* Highlight Box - Paddle Info */
.merchant-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.merchant-box i {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.merchant-box-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.merchant-box-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, rgba(7, 0, 120, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.guarantee-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.guarantee-box p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Apple Info Box */
.apple-box {
    background: #F5F5F7;
    border: 1px solid #D2D2D7;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.apple-box i {
    color: #000;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.apple-box p {
    margin: 0;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-card {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(7, 0, 120, 0.1);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-card a:hover,
.contact-card a:focus {
    text-decoration: underline;
}

/* Legal Notice Box */
.legal-notice {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 3rem;
}

.legal-notice h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-notice h2 i {
    font-size: 1rem;
}

.legal-notice p {
    color: #78350F;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

.legal-notice a {
    color: #92400E;
    font-weight: 600;
    text-decoration: underline;
}

.legal-notice a:hover,
.legal-notice a:focus {
    color: #78350F;
}

/* Quick Nav (Table of Contents) */
.refund-toc {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
}

.refund-toc h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.toc-list a:hover,
.toc-list a:focus {
    background: var(--primary-glass);
    color: var(--primary);
}

.toc-list .toc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 768px) {
    .refund-hero {
        padding: 3rem 0;
    }

    .refund-content {
        padding: 3rem 0;
    }

    .refund-section h2 {
        font-size: 1.3rem;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .merchant-box,
    .apple-box {
        flex-direction: column;
        text-align: center;
    }

    .company-info,
    .refund-toc,
    .guarantee-box,
    .legal-notice {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .refund-hero h1 {
        font-size: 1.75rem;
    }

    .section-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .refund-section h2 {
        font-size: 1.15rem;
    }

    .refund-section p,
    .refund-section li {
        font-size: 0.95rem;
    }

    .guarantee-box h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .refund-hero::before {
        display: none;
    }

    .refund-hero {
        background: var(--primary);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .refund-section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--gray);
    }
}