@charset "UTF-8";

/* =====================================================
   Xpenso – Privacy & Terms Page Design
   Theme: #622CFF (primary), #4a15d4 (dark)
   ===================================================== */

/* ── Page Background ────────────────────────────────── */
.container {
    background: #f9f7ff;
    min-height: 100vh;
}

/* ── Main Content Area ──────────────────────────────── */
#main-content {
    padding: 100px 20px 60px;
    max-width: 1060px;
    margin: 0 auto;
}

/* ── Page Title ─────────────────────────────────────── */
.privacy-header {
    margin-bottom: 40px;
    padding: 36px 0 28px;
    border-bottom: none;
    text-align: left;
}

.privacy-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #622CFF;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.privacy-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
}

.privacy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid #ece6ff;
}

.privacy-meta strong {
    color: #555;
    font-weight: 600;
}

/* ── Intro Card ─────────────────────────────────────── */
.privacy-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: #fff;
    border-left: 4px solid #622CFF;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(98, 44, 255, 0.06);
}

/* ── Section Cards ──────────────────────────────────── */
.privacy-section {
    margin-bottom: 28px;
    padding: 28px 32px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0ecf9;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.privacy-section:hover {
    box-shadow: 0 4px 20px rgba(98, 44, 255, 0.08);
    transform: translateY(-1px);
}

.privacy-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #622CFF;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0ecf9;
    letter-spacing: -0.2px;
}

.privacy-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 3px solid #622CFF;
}

.privacy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.privacy-section ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    padding: 6px 8px 6px 32px;
    margin-bottom: 4px;
    position: relative;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.privacy-section ul li:hover {
    background: #faf8ff;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 15px;
    width: 7px;
    height: 7px;
    background: #622CFF;
    border-radius: 50%;
    opacity: 0.6;
}

/* ── Highlight / Warning Box ────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f0e8ff 100%);
    border: 1px solid #d9c9ff;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 20px 0;
}

.highlight-box h3 {
    color: #622CFF;
    margin-top: 0;
    font-size: 17px;
    font-weight: 700;
    padding-left: 0;
    border-left: none;
}

.highlight-box ul li::before {
    background: #e74c3c;
}

/* ── Contact Box (CTA) ──────────────────────────────── */
.contact-box {
    position: relative;
    background: linear-gradient(135deg, #622CFF 0%, #4a15d4 100%);
    color: #fff;
    padding: 44px 36px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0 0;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.contact-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.contact-box h2 {
    position: relative;
    color: #fff;
    border: none;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-box p {
    position: relative;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 0;
}

.contact-box > div {
    position: relative;
}

.contact-box a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 28px;
    transition: all 0.3s ease;
}

.contact-box a:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
    #main-content {
        padding: 80px 20px 50px;
    }

    .privacy-header h1 {
        font-size: 32px;
    }

    .privacy-section {
        padding: 24px 26px;
    }
}

@media (max-width: 768px) {
    #main-content {
        padding: 70px 12px 40px;
    }

    .privacy-header {
        padding: 28px 0 20px;
    }

    .privacy-header h1 {
        font-size: 26px;
    }

    .privacy-meta {
        flex-direction: column;
        gap: 8px;
    }

    .privacy-meta span {
        font-size: 12px;
    }

    .privacy-intro {
        padding: 18px;
        font-size: 14px;
        margin-bottom: 28px;
    }

    .privacy-section {
        padding: 20px 18px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .privacy-section h2 {
        font-size: 19px;
    }

    .privacy-section h3 {
        font-size: 16px;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 14px;
    }

    .highlight-box {
        padding: 18px;
    }

    .contact-box {
        padding: 32px 20px;
        margin: 32px 0 0;
        border-radius: 14px;
    }

    .contact-box h2 {
        font-size: 20px;
    }

    .contact-box a {
        font-size: 13px;
        padding: 9px 18px;
        margin: 5px 4px;
    }
}