:root {
    --purple: #602e9e;
    --orange: #d68e45;
    --light-purple: #f8f5fc;
    --light-orange: #fef8f3;
    --text-dark: #2d1b4e;
    --text-muted: #5d4a7a;
    --gradient-main: linear-gradient(135deg, #602e9e, #d68e45);
    --gradient-reverse: linear-gradient(135deg, #d68e45, #602e9e);
    --card-shadow: 0 8px 24px rgba(96, 46, 158, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #faf9fc;
    color: #2d1b4e;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ────────────────────────────────────────────────
   Shared Animations & Effects
───────────────────────────────────────────────── */

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(80px, 80px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
    50%      { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ────────────────────────────────────────────────
   Shared Hero Section (Privacy + Terms)
───────────────────────────────────────────────── */

.privacy-hero,
.terms-hero {
    position: relative;
    padding: 150px 20px 100px;
    background: linear-gradient(135deg, #f8f5fc 0%, #fef8f3 50%, #f8f5fc 100%);
    overflow: hidden;
}

.privacy-hero::before,
.terms-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(96, 46, 158, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(214, 142, 69, 0.12) 0%, transparent 40%);
    animation: drift 25s ease-in-out infinite;
}

.hero-content,
.privacy-hero-content,
.terms-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-badge,
.terms-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(96, 46, 158, 0.15), rgba(214, 142, 69, 0.15));
    border: 2px solid #d68e45;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #602e9e;
    font-weight: 700;
}

.privacy-hero h1,
.terms-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.privacy-hero p,
.terms-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(96, 46, 158, 0.08);
    border-radius: 50px;
    font-size: 0.95rem;
    color: #602e9e;
    font-weight: 600;
    margin-top: 30px;
}

/* ────────────────────────────────────────────────
   Shared Content Cards (Policy + Terms)
───────────────────────────────────────────────── */

.privacy-content,
.terms-content {
    padding: 80px 20px;
    background: #ffffff;
}

.policy-card,
.term-card {
    background: linear-gradient(135deg, #f8f5fc 0%, #fef8f3 100%);
    border: 2px solid #e8dff5;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(96, 46, 158, 0.08);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.policy-card::before,
.term-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.policy-card:hover,
.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(96, 46, 158, 0.15);
    border-color: #d68e45;
}

.policy-card:hover::before,
.term-card:hover::before {
    transform: scaleX(1);
}

.policy-icon,
.term-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #602e9e, #7d4bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(96, 46, 158, 0.3);
}

.policy-icon i,
.term-icon i {
    color: white;
    font-size: 2rem;
}

.policy-card h2,
.term-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #602e9e;
    margin-bottom: 20px;
}

.policy-card p,
.term-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.policy-card ul,
.term-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.policy-card ul li,
.term-card ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.policy-card ul li::before,
.term-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d68e45;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Shared highlight & warning boxes */
.highlight-box {
    background: rgba(214, 142, 69, 0.1);
    border-left: 4px solid #d68e45;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.highlight-box p,
.warning-box p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.warning-box {
    background: rgba(255, 87, 87, 0.08);
    border-left: 4px solid #ff5757;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.warning-box strong {
    color: #ff5757;
}

/* ────────────────────────────────────────────────
   Shared CTA Section
───────────────────────────────────────────────── */

.privacy-cta,
.terms-cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fef8f3 0%, #f8f5fc 50%, #fef8f3 100%);
    position: relative;
    overflow: hidden;
    border-top: 3px solid #d68e45;
}

.privacy-cta::before,
.terms-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 46, 158, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-content,
.privacy-cta-content,
.terms-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.privacy-cta h2,
.terms-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-cta p,
.terms-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(96, 46, 158, 0.25);
    transition: all 0.4s ease;
}

.contact-info:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(214, 142, 69, 0.4);
    color: white;
}

.contact-info i {
    font-size: 1.3rem;
}

/* ────────────────────────────────────────────────
   Shared Quick Navigation
───────────────────────────────────────────────── */

.quick-nav {
    position: sticky;
    top: 20px;
    background: linear-gradient(135deg, #f8f5fc 0%, #fef8f3 100%);
    border: 2px solid #e8dff5;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.quick-nav h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #602e9e;
    margin-bottom: 20px;
}

.quick-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav ul li {
    margin-bottom: 12px;
}

.quick-nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-nav ul li a:hover {
    background: rgba(96, 46, 158, 0.1);
    color: #602e9e;
    transform: translateX(5px);
}

.quick-nav ul li a i {
    color: #d68e45;
}

/* ────────────────────────────────────────────────
   Button (used in both pages)
───────────────────────────────────────────────── */

.btn-cta {
    background: var(--gradient-main);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 6px 18px rgba(96, 46, 158, 0.25);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(96, 46, 158, 0.35);
    color: #fff;
    background: var(--gradient-reverse);
}

.btn-cta i {
    margin-right: 0.5rem;
}

/* ────────────────────────────────────────────────
   Responsive & Scrollbar
───────────────────────────────────────────────── */

@media (max-width: 768px) {
    .privacy-hero, .terms-hero {
        padding: 120px 20px 80px;
    }

    .privacy-hero h1, .terms-hero h1 {
        font-size: 2.5rem;
    }

    .privacy-hero p, .terms-hero p {
        font-size: 1.1rem;
    }

    .policy-card, .term-card {
        padding: 35px 25px;
    }

    .policy-card h2, .term-card h2 {
        font-size: 1.6rem;
    }

    .privacy-cta h2, .terms-cta h2 {
        font-size: 2rem;
    }

    .quick-nav {
        position: static;
        margin-bottom: 30px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f8f5fc;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #602e9e, #d68e45);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d68e45, #602e9e);
}