/* ============================================
   REFUND POLICY PAGE - COMPLETE STYLING
   db-portfolio WordPress Theme
   File: /assets/css/refund.css
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f9fafb;
    overflow-x: hidden;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

/* ============================================
   CONTAINERS
============================================ */
.refund-hero-container,
.refund-container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* ============================================
   HERO SECTION
============================================ */
.refund-hero {
    min-height: 60vh;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 30%, #ede9fe 60%, #f5f3ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.refund-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: refund-float 25s ease-in-out infinite;
    z-index: 0;
}

.refund-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: refund-float 20s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes refund-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -40px) scale(1.1); }
    66%       { transform: translate(-30px, 30px) scale(0.95); }
}

.refund-hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border: 2px solid #a78bfa;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    color: #5b21b6;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
    animation: refund-fadeInUp 1s ease 0.2s both;
}

@keyframes refund-fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.badge-icon { font-size: 1.3rem; }

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 2rem;
    animation: refund-fadeInUp 1s ease 0.3s both;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #6b21a8 0%, #8b5cf6 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.85;
    animation: refund-fadeInUp 1s ease 0.4s both;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: refund-fadeInUp 1s ease 0.5s both;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #ddd6fe;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    color: #334155;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.meta-icon     { font-size: 1.3rem; }
.meta-highlight { color: #8b5cf6; font-weight: 700; }

/* ============================================
   CONTENT SECTION
============================================ */
.refund-content-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.refund-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   QUICK SUMMARY CARD
============================================ */
.refund-summary-card {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 2px solid #a78bfa;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.refund-summary__title {
    font-size: 2rem;
    font-weight: 800;
    color: #5b21b6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.refund-summary__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.refund-summary__item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #a78bfa;
}

.refund-summary__item-icon  { font-size: 2rem; margin-bottom: 0.8rem; }
.refund-summary__item-title { font-weight: 700; color: #5b21b6; margin-bottom: 0.5rem; font-size: 1.1rem; }
.refund-summary__item-text  { color: #6b21a8; font-size: 0.95rem; line-height: 1.6; }

/* ============================================
   TABLE OF CONTENTS
============================================ */
.refund-toc-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid #f1f5f9;
}

.refund-toc__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.refund-toc__title-icon { font-size: 2rem; }

.refund-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.refund-toc__item {
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.refund-toc__item:hover {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border-color: #8b5cf6;
    transform: translateX(5px);
}

.refund-toc__link {
    color: #475569;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.3rem;
    transition: color 0.3s ease;
}

.refund-toc__item:hover .refund-toc__link { color: #5b21b6; }
.toc-arrow { color: #8b5cf6; font-weight: bold; }

/* ============================================
   SECTION CARDS
============================================ */
.refund-section-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid #f1f5f9;
    scroll-margin-top: 100px;
}

.refund-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%) 1;
}

.refund-section__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.refund-section__content {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

.refund-section__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2.5rem 0 1.2rem;
    position: relative;
    padding-left: 1.5rem;
}

.refund-section__content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 3px;
}

.refund-section__content p      { margin-bottom: 1.5rem; }
.refund-section__content ul,
.refund-section__content ol     { margin: 1.5rem 0; padding-left: 2rem; }
.refund-section__content li     { margin-bottom: 1rem; line-height: 1.8; }
.refund-section__content strong { color: #1e293b; font-weight: 700; }

/* ============================================
   INFO BOXES (blue)
============================================ */
.refund-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid #3b82f6;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.refund-info__title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.refund-info__content { color: #1e40af; line-height: 1.8; }
.refund-info__content p { margin-bottom: 0; }

/* ============================================
   WARNING BOXES (red)
============================================ */
.refund-warning {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

.refund-warning__title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #991b1b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.refund-warning__content { color: #7f1d1d; line-height: 1.8; }
.refund-warning__content p { margin-bottom: 0; }

/* ============================================
   PROCESS TIMELINE
============================================ */
.refund-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.refund-timeline__item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.refund-timeline__item::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 3rem;
    bottom: -3rem;
    width: 2px;
    background: linear-gradient(180deg, #8b5cf6 0%, #c4b5fd 100%);
}

.refund-timeline__item:last-child::before { display: none; }

.refund-timeline__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.refund-timeline__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
    padding-top: 0.6rem;
}

.refund-timeline__content { color: #475569; line-height: 1.7; }

/* ============================================
   CONTACT CTA
============================================ */
.refund-contact-cta {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 4rem;
    border: 2px solid #a78bfa;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.refund-contact__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.refund-contact__title .gradient-text {
    background: linear-gradient(135deg, #6b21a8 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.refund-contact__text {
    color: #475569;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.refund-contact__btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 3rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.refund-contact__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    color: white !important;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .refund-hero    { padding: 4rem 0 3rem; min-height: auto; }
    .hero-title     { font-size: 2.8rem; }
    .hero-subtitle  { font-size: 1.1rem; }
    .hero-meta      { gap: 1rem; flex-direction: column; align-items: center; }

    .refund-summary-card,
    .refund-toc-card,
    .refund-section-card { padding: 2rem 1.5rem; }

    .refund-section__title {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .refund-section__number { width: 50px; height: 50px; font-size: 1.3rem; }
    .refund-toc__list,
    .refund-summary__grid   { grid-template-columns: 1fr; }
    .refund-contact-cta     { padding: 3rem 2rem; }
    .refund-contact__title  { font-size: 1.8rem; }

    .refund-timeline__item  { padding-left: 3.5rem; }
    .refund-timeline__number { width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .refund-summary-card,
    .refund-toc-card,
    .refund-section-card { padding: 1.5rem 1.2rem; }
}
/* ── COMPREHENSIVE MOBILE RESPONSIVE ADDITIONS ── */
@media (max-width: 480px) {
    .hero-title     { font-size: 1.7rem; line-height: 1.3; }
    .hero-subtitle  { font-size: 0.9rem; }
    .hero-meta      { flex-direction: column; align-items: center; gap: 0.75rem; }
    .refund-hero    { padding: 3rem 0 2rem; }
    .refund-summary-card,
    .refund-toc-card,
    .refund-section-card { padding: 1.2rem 1rem; border-radius: 16px; }
    .refund-section__title { font-size: 1.2rem; }
    .refund-contact-cta  { padding: 2.5rem 1.2rem; border-radius: 20px; }
    .refund-contact__title { font-size: 1.4rem; }
    .refund-contact__btn { padding: 1rem 2rem; font-size: 1rem; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.4rem; }
}
