/* Policy Page Styles */

.policy-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.policy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}

.policy-hero.terms-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.policy-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.policy-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.policy-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.policy-content {
    padding: 4rem 0;
}

.policy-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    min-height: 400px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 1rem;
}

.content-area {
    line-height: 1.8;
    color: #374151;
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4 {
    color: #111827;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-area h1 { font-size: 2rem; }
.content-area h2 { font-size: 1.75rem; }
.content-area h3 { font-size: 1.5rem; }
.content-area h4 { font-size: 1.25rem; }

.content-area p {
    margin-bottom: 1rem;
}

.content-area ul,
.content-area ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-area li {
    margin-bottom: 0.5rem;
}

.content-area a {
    color: #667eea;
    text-decoration: underline;
}

.content-area a:hover {
    color: #764ba2;
}

.content-area strong {
    font-weight: 600;
    color: #111827;
}

.error-message {
    text-align: center;
    padding: 4rem 0;
    color: #ef4444;
}

.last-updated {
    text-align: center;
    margin-top: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.policy-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.policy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.policy-link:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 2.5rem;
    }

    .policy-hero p {
        font-size: 1rem;
    }

    .policy-card {
        padding: 2rem 1.5rem;
    }

    .content-area {
        font-size: 0.95rem;
    }

    .policy-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .policy-hero {
        padding: 4rem 0 3rem;
    }

    .policy-hero h1 {
        font-size: 2rem;
    }

    .policy-icon {
        width: 60px;
        height: 60px;
    }

    .policy-icon svg {
        width: 30px;
        height: 30px;
    }

    .policy-card {
        padding: 1.5rem 1rem;
    }
}

