/* Policy Pages Styles */

.policy-page {
    padding: 180px 0 60px;
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.policy-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.policy-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.policy-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.policy-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

.policy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.policy-icon.privacy { border-color: var(--primary-color); color: var(--primary-color); box-shadow: 0 0 30px rgba(0, 240, 255, 0.3); }
.policy-icon.terms { border-color: var(--secondary-color); color: var(--secondary-color); box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); }
.policy-icon.cookie { border-color: var(--accent-color); color: var(--accent-color); box-shadow: 0 0 30px rgba(255, 255, 0, 0.3); }

.updated-date {
    font-size: 1rem;
    color: var(--text-gray-light);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 240, 255, 0.1);
    position: relative;
    z-index: 1;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.policy-section h2::before {
    content: '';
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.policy-section h3 {
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.policy-section ul,
.policy-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--primary-dark);
}

.contact-info-box {
    background: rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.contact-info-box p {
    margin-bottom: 0.75rem;
}

.contact-info-box i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.policy-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.policy-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Thank You Page */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 0 60px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.thank-you-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 0, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 240, 255, 0.2), 0 0 60px rgba(0, 240, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: thankYouFadeIn 0.8s ease;
}

@keyframes thankYouFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    z-index: -1;
    animation: gradientRotate 3s ease infinite;
    opacity: 0.5;
}

@keyframes gradientRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    animation: thankYouIconPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(255, 0, 255, 0.3);
    position: relative;
}

.thank-you-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 300% 300%;
    z-index: -1;
    animation: gradientRotate 3s ease infinite;
    opacity: 0.7;
}

@keyframes thankYouIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(255, 0, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(0, 240, 255, 0.7), 0 0 100px rgba(255, 0, 255, 0.5);
    }
}

.thank-you-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

.thank-you-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-page {
        padding: 160px 0 40px;
    }
    
    .thank-you-page {
        padding: 160px 0 40px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.25rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 1rem;
    }
    
    .thank-you-content {
        padding: 3rem 2rem;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}