/* ==================== Policy Pages Styles ==================== */

/* Hero — syncs with transparent header overlay */
.policy-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.policy-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.policy-hero__gradient {
    position: absolute;
    inset: 0;
    background: #0a0a0a;
}

.policy-hero__gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 102, 204, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 204, 255, 0.15) 0%, transparent 50%);
}

.policy-hero__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 204, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: policyMeshMove 15s linear infinite;
}

@keyframes policyMeshMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.policy-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.policy-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.policy-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.15);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #00CCFF;
}

.policy-hero__title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.policy-hero__title span {
    background: linear-gradient(135deg, #0066CC 0%, #00CCFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
}

.policy-hero__meta i {
    font-size: 0.85rem;
    color: #00CCFF;
}

.policy-hero__divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 204, 255, 0.3) 25%,
        rgba(0, 102, 204, 0.3) 50%,
        rgba(0, 204, 255, 0.3) 75%,
        transparent 100%);
}

/* Content */
.policy-content {
    position: relative;
    background: #0a0a0a;
    padding: 0 2rem 4rem;
}

.policy-content__container {
    max-width: 800px;
    margin: 0 auto;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

/* Typography */
.policy-content__container h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 204, 255, 0.12);
}

.policy-content__container h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #0066CC 0%, #00CCFF 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.policy-content__container h2:first-child {
    margin-top: 0;
}

.policy-content__container h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.policy-content__container p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.policy-content__container ul,
.policy-content__container ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
}

.policy-content__container li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-content__container ul li::marker {
    color: #00CCFF;
}

.policy-content__container ol li::marker {
    color: #00CCFF;
    font-weight: 600;
}

.policy-content__container strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.policy-content__container a {
    color: #00CCFF;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.policy-content__container a:hover {
    border-bottom-color: #00CCFF;
}

.policy-content__container blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 102, 204, 0.08);
    border-right: 3px solid #0066CC;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}

.policy-content__container hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 2rem 0;
}

/* Navigation */
.policy-nav {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
}

.policy-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-nav__link:hover {
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 204, 255, 0.3);
    color: #00CCFF;
    transform: translateY(-2px);
}

.policy-nav__link i {
    transition: transform 0.3s ease;
}

.policy-nav__link:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .policy-hero {
        min-height: 40vh;
    }

    .policy-hero__content {
        padding: 3rem 1.5rem;
    }

    .policy-hero__icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .policy-content__container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .policy-content__container h2 {
        font-size: 1.3rem;
    }

    .policy-content__container p,
    .policy-content__container li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .policy-content__container {
        padding: 1.5rem 1.25rem;
    }

    .policy-hero__title {
        font-size: 1.75rem;
    }
}
