/* -------------------------- HERO SECTION -------------------------- */

.policy-hero {
    width: 100%;
    padding: 100px 40px 80px;
    position: relative;
    background-color: #f7fdff;
    overflow: hidden;
}

.policy-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    background-size: 1200px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.policy-hero-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7fdff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 50px rgba(247, 253, 255, 0.8),
        0 0 0 100px rgba(247, 253, 255, 0.6),
        0 0 0 150px rgba(247, 253, 255, 0.4),
        0 0 0 200px rgba(247, 253, 255, 0.2),
        0 0 0 250px rgba(247, 253, 255, 0.1);
}

.hero-decoration {
    height: 120px;
    width: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-decoration {
        animation: none;
    }
}

.policy-hero h1 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 64px;
    color: #006ad5;
    letter-spacing: 2px;
}

.policy-hero p {
    font-size: 20px;
    color: #333333;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 650px;
}

/* -------------------------- CONTAINER -------------------------- */

.policy-container {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto 100px;
    padding: 60px;
    background-color: #f7fdff;
    border-radius: 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: #004b97;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.back-link:hover {
    color: #0280ff;
    transform: translateX(-3px);
}

.back-link:focus-visible,
.policy-footer-note a:focus-visible {
    outline: 3px solid #004b97;
    outline-offset: 4px;
}

.policy-preamble {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.policy-preamble strong {
    color: #004b97;
}

/* -------------------------- COLUMNS -------------------------- */

.policy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.policy-column {
    padding: 35px;
    border-radius: 24px;
    background: white;
    border: 2px solid rgba(2, 128, 255, 0.08);
}

.policy-column-can {
    background: rgba(31, 157, 85, 0.05);
}

.policy-column-cannot {
    background: rgba(226, 69, 60, 0.05);
}

.policy-column-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.policy-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.policy-icon svg {
    width: 100%;
    height: 100%;
}

.policy-icon-can {
    background: rgba(31, 157, 85, 0.15);
    color: #1f9d55;
}

.policy-icon-cannot {
    background: rgba(226, 69, 60, 0.15);
    color: #e2453c;
}

.policy-column-header h2 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 26px;
    letter-spacing: 0.5px;
}

.policy-column-can h2 {
    color: #1f9d55;
}

.policy-column-cannot h2 {
    color: #e2453c;
}

.policy-list {
    list-style: none;
    counter-reset: policy-counter;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.policy-list li {
    counter-increment: policy-counter;
    position: relative;
    padding-left: 40px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.policy-list li::before {
    content: counter(policy-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 14px;
    color: white;
}

.policy-column-can .policy-list li::before {
    background: #1f9d55;
}

.policy-column-cannot .policy-list li::before {
    background: #e2453c;
}

.policy-list strong {
    color: #1a1a1a;
}

/* -------------------------- FOOTER NOTE -------------------------- */

.policy-footer-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(2, 128, 255, 0.1);
    text-align: center;
}

.policy-footer-note p {
    font-size: 16px;
    color: #555;
}

.policy-footer-note a {
    color: #004b97;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-footer-note a:hover {
    color: #0280ff;
}

/* -------------------------- RESPONSIVE -------------------------- */

@media (max-width: 968px) {
    .policy-hero {
        padding: 80px 30px 60px;
    }

    .policy-hero h1 {
        font-size: 52px;
    }

    .policy-hero p {
        font-size: 18px;
    }

    .policy-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-container {
        padding: 50px 30px;
    }
}

@media (max-width: 640px) {
    .policy-hero {
        padding: 60px 20px 50px;
    }

    .policy-hero h1 {
        font-size: 42px;
    }

    .policy-hero p {
        font-size: 16px;
    }

    .policy-container {
        margin-top: 40px;
        padding: 40px 25px;
    }

    .policy-column {
        padding: 25px;
    }

    .policy-column-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .policy-hero::after {
        background-size: 600px;
    }

    .policy-hero h1 {
        font-size: 30px;
    }

    .policy-hero p {
        font-size: 13px;
    }

    .policy-hero-content {
        width: 65%;
        gap: 20px;
        box-shadow:
            0 0 0 10px rgba(247, 253, 255, 0.8),
            0 0 0 20px rgba(247, 253, 255, 0.6),
            0 0 0 30px rgba(247, 253, 255, 0.4);
    }

    .policy-container {
        width: 90%;
        padding: 30px 20px;
    }

    .policy-preamble {
        font-size: 15px;
    }

    .policy-list li {
        font-size: 14px;
    }
}
