/* Policy Pages Specific Styles */
.policy-main {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: var(--dark-bg);
}

.policy-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.policy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.policy-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.policy-title i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.policy-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 24px;
    padding: 60px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.policy-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 24px;
    position: relative;
    padding-left: 24px;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.policy-section h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 32px 0 16px;
    font-weight: 600;
}

.policy-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 0;
}

.policy-section li {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-left: 24px;
    font-size: 1.125rem;
}

.policy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.policy-section strong {
    color: var(--text-light);
    font-weight: 600;
}

.contact-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
}

.contact-info p {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1.125rem;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation for sections */
.policy-section {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.2s; }
.policy-section:nth-child(3) { animation-delay: 0.3s; }
.policy-section:nth-child(4) { animation-delay: 0.4s; }
.policy-section:nth-child(5) { animation-delay: 0.5s; }
.policy-section:nth-child(6) { animation-delay: 0.6s; }
.policy-section:nth-child(7) { animation-delay: 0.7s; }
.policy-section:nth-child(8) { animation-delay: 0.8s; }
.policy-section:nth-child(9) { animation-delay: 0.9s; }
.policy-section:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-main {
        padding: 100px 0 40px;
    }
    
    .policy-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 16px;
    }
    
    .policy-content {
        padding: 40px 24px;
        margin: 0 16px;
    }
    
    .policy-section h2 {
        font-size: 1.75rem;
    }
    
    .policy-section h3 {
        font-size: 1.25rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 1rem;
    }
    
    .policy-footer {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .policy-header {
        margin: 0 16px 60px;
        padding: 40px 20px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 32px 20px;
    }
    
    .contact-info {
        padding: 24px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
        padding-left: 20px;
    }
    
    .policy-section h2::before {
        width: 3px;
        height: 30px;
    }
}

/* Enhanced visual effects */
.policy-section:hover {
    background: rgba(99, 102, 241, 0.02);
    border-radius: 12px;
    padding: 24px;
    margin: -24px;
    transition: all 0.3s ease;
}

.policy-section:hover h2 {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Code blocks styling */
.policy-section code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

/* Quote styling */
.policy-section blockquote {
    border-left: 4px solid var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

/* Table styling */
.policy-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.policy-section th,
.policy-section td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.policy-section th {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-light);
    font-weight: 600;
}

.policy-section td {
    color: var(--text-gray);
}
