@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');

/* Utility class for visually hidden elements (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    background: #0A0E1A;
    color: #E0E0E0;
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #3898ff;
    text-decoration: none;
    transition: color 0.3s ease, outline 0.2s ease;
}

a:hover {
    color: #4db8ff;
}

a:focus {
    outline: 2px solid #3898ff;
    outline-offset: 2px;
}

main {
    max-width: 1000px; /* Match FAQ page */
    margin: 100px auto 60px;
    padding: 0 20px;
    position: relative;
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.3) 0%, rgba(10, 14, 26, 0) 70%), #0A0E1A;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.policy-header h1 {
    font-size: 2.5rem; /* Reduced for responsiveness */
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #a7b2ff, #3898ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy-header p {
    font-size: 1.1rem;
    color: #C0C0D0; /* Higher contrast */
    margin-bottom: 0;
}

.policy-header p strong {
    color: #E0E0E0; /* Brighter for emphasis */
}

.policy-content section {
    background-color: #161a2c;
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-content section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.policy-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a4e;
}

.policy-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

.policy-content p, .policy-content ul {
    color: #C0C0D0;
    line-height: 1.6;
    font-size: 1rem;
}

.policy-content ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 12px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3898ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #4db8ff;
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    .policy-header p {
        font-size: 1rem;
    }
    .policy-content section {
        padding: 20px;
    }
    .policy-content h2 {
        font-size: 1.4rem;
    }
    .policy-content h3 {
        font-size: 1.2rem;
    }
    .policy-content p, .policy-content ul {
        font-size: 0.95rem;
    }
}