/* =============================================================
   SUPPORT.CSS — Glass container & typography for policy pages
   ============================================================= */

/* ===== PAGE LAYOUT ===== */
.support-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px 60px;
    max-width: 720px;
    margin: 0 auto;
}

/* ===== BACK LINK ===== */
.back-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(180, 160, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(140, 100, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.back-link:hover {
    color: rgba(210, 190, 255, 1);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(140, 100, 255, 0.25);
    transform: translateX(-3px);
}

.back-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-3px);
}

/* =============================================================
   GLASS CONTAINER — Apple-inspired rounded card
   ============================================================= */
.glass-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;

    /* Frosted glass */
    background:
        linear-gradient(
            165deg,
            rgba(30, 20, 70, 0.55) 0%,
            rgba(18, 12, 50, 0.65) 40%,
            rgba(25, 15, 60, 0.55) 100%
        );
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);

    /* Subtle border glow */
    border: 1px solid rgba(140, 100, 255, 0.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 40px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(100, 60, 200, 0.08);

    /* Animated outer glow */
    animation: containerGlow 6s ease-in-out infinite alternate;
}

@keyframes containerGlow {
    0%   { box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 1px 0 0 rgba(255,255,255,0.06) inset, 0 8px 40px rgba(0,0,0,0.45), 0 0 60px rgba(100,60,200,0.06); }
    100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 1px 0 0 rgba(255,255,255,0.06) inset, 0 8px 40px rgba(0,0,0,0.45), 0 0 100px rgba(120,70,220,0.12); }
}

/* Top highlight line */
.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(180, 150, 255, 0.30) 30%,
        rgba(200, 170, 255, 0.50) 50%,
        rgba(180, 150, 255, 0.30) 70%,
        transparent
    );
    z-index: 1;
    pointer-events: none;
}

/* ===== HEADER ===== */
.policy-header {
    text-align: center;
    padding: 48px 32px 32px;
}

.policy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(120, 80, 255, 0.10);
    border: 1px solid rgba(140, 100, 255, 0.18);
    margin-bottom: 20px;
    animation: iconFloat 4s ease-in-out infinite alternate;
}

@keyframes iconFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.policy-title {
    font-family: 'Passion One', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(
        180deg,
        rgba(240, 230, 255, 1.0) 0%,
        rgba(180, 150, 255, 1.0) 50%,
        rgba(130, 100, 240, 1.0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 12px rgba(140, 100, 255, 0.35))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.60));
    line-height: 1.1;
    margin-bottom: 12px;
}

.policy-date {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: rgba(180, 170, 210, 0.65);
    letter-spacing: 0.06em;
}

/* ===== DIVIDER ===== */
.policy-divider {
    height: 1px;
    margin: 0 32px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(140, 100, 255, 0.25) 20%,
        rgba(160, 120, 255, 0.35) 50%,
        rgba(140, 100, 255, 0.25) 80%,
        transparent
    );
}

/* =============================================================
   CONTENT — Typography
   ============================================================= */
.policy-content {
    padding: 36px 32px 20px;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section:last-child {
    margin-bottom: 16px;
}

.policy-section h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 3.5vw, 1.18rem);
    color: rgba(220, 210, 255, 0.95);
    margin-bottom: 12px;
    padding-left: 14px;
    position: relative;
    letter-spacing: 0.02em;
}

/* Accent bar left of h2 */
.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(160, 120, 255, 0.9), rgba(100, 70, 220, 0.5));
    box-shadow: 0 0 8px rgba(140, 100, 255, 0.4);
}

.policy-section p {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: clamp(0.88rem, 3vw, 0.96rem);
    line-height: 1.72;
    color: rgba(200, 195, 230, 0.82);
    margin-bottom: 10px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section strong {
    color: rgba(230, 220, 255, 0.95);
    font-weight: 600;
}

.policy-section a {
    color: rgba(160, 140, 255, 0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(160, 140, 255, 0.25);
    transition: all 0.25s ease;
}

.policy-section a:hover {
    color: rgba(200, 180, 255, 1);
    border-bottom-color: rgba(200, 180, 255, 0.5);
}

/* ===== LISTS ===== */
.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.policy-section ul li {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: clamp(0.88rem, 3vw, 0.96rem);
    line-height: 1.72;
    color: rgba(200, 195, 230, 0.82);
    padding: 8px 16px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(140, 100, 255, 0.08);
    position: relative;
    padding-left: 28px;
}

.policy-section ul li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: rgba(160, 120, 255, 0.6);
    box-shadow: 0 0 6px rgba(160, 120, 255, 0.4);
    border-radius: 1px;
}

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(120, 200, 255, 0.9);
    background: rgba(80, 160, 255, 0.12);
    border: 1px solid rgba(80, 160, 255, 0.20);
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 8px;
}

/* ===== CONTACT BOX ===== */
.contact-box {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(120, 80, 255, 0.10) 0%,
            rgba(80, 50, 200, 0.06) 100%
        );
    border: 1px solid rgba(140, 100, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-box:hover {
    border-color: rgba(160, 120, 255, 0.35);
    box-shadow: 0 4px 24px rgba(100, 60, 200, 0.15);
}

.contact-box a {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(180, 160, 255, 0.95) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    letter-spacing: 0.03em;
}

.contact-box a:hover {
    color: rgba(210, 190, 255, 1) !important;
}

/* ===== FOOTER ===== */
.policy-footer {
    text-align: center;
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(140, 100, 255, 0.10);
}

.policy-footer p {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    color: rgba(160, 150, 200, 0.45);
    letter-spacing: 0.05em;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 480px) {
    .support-page {
        padding: 20px 12px 48px;
    }

    .glass-container {
        border-radius: 20px;
    }

    .policy-header {
        padding: 36px 20px 24px;
    }

    .policy-content {
        padding: 28px 20px 16px;
    }

    .policy-divider {
        margin: 0 20px;
    }

    .policy-footer {
        padding: 20px 20px 28px;
    }

    .contact-box {
        padding: 12px 20px;
    }
}

@media (min-width: 769px) {
    .support-page {
        padding: 48px 20px 80px;
    }

    .glass-container {
        border-radius: 28px;
    }

    .policy-header {
        padding: 56px 48px 36px;
    }

    .policy-content {
        padding: 40px 48px 24px;
    }

    .policy-divider {
        margin: 0 48px;
    }

    .policy-footer {
        padding: 28px 48px 40px;
    }

    .policy-section {
        margin-bottom: 36px;
    }
}