/* Privacy Policy Page Styles */

/* Keyframe animations */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
}

/* Animation classes */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.6s; }
.animate-fade-in:nth-child(5) { animation-delay: 0.8s; }

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, gold, rgb(220, 187, 0), rgb(164, 140, 0));
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    opacity: 0.1;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-top: 30px;
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.effective-date {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.date-label {
    font-weight: 600;
    margin-right: 8px;
}

.date-value {
    font-weight: 700;
    color: white;
}

/* Main Content */
.privacy-main {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Introduction Section */
.privacy-intro {
    margin-bottom: 4rem;
    text-align: center;
}

.intro-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* Privacy Sections */
.privacy-section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, gold, rgb(166, 143, 9));
    border-radius: 2px;
}

.section-content {
    color: #475569;
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* Subsections */
.subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.subsection-title {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

/* Data Types */
.data-type {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #6366f1;
}

.data-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.data-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1rem;
}

.data-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.data-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.data-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Purpose Lists */
.purpose-list, .legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.purpose-list li, .legal-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 1.075rem;
    line-height: 1.6;
}

.purpose-list li::before, .legal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Cookies Examples */
.cookies-examples {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.examples-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cookies-list {
    list-style: none;
    padding-left: 0;
}

.cookies-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f1f5f9;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

/* Analytics Provider */
.analytics-provider {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #fbbf24;
}

.provider-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.provider-list {
    list-style: none;
    padding-left: 0;
}

.provider-list li {
    padding: 0.5rem 0;
    color: #78350f;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Contact Information */
.contact-info {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ddd6fe, #e0e7ff);
    border-radius: 12px;
    text-align: center;
}

.contact-method {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* External Links */
.external-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Footer Active Page Styling */
.footer-nav .active-page {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .privacy-main {
        padding: 60px 15px;
    }
    
    .intro-content, .privacy-section {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .effective-date {
        flex-direction: column;
        text-align: center;
    }
    
    .date-label {
        margin-right: 0;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 100px 15px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .intro-content, .privacy-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .data-type, .cookies-examples, .analytics-provider, .contact-info {
        padding: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in {
        animation: none;
        opacity: 1;
    }
    
    .privacy-hero::before {
        animation: none;
    }
    
    .privacy-section {
        transition: none;
    }
}

/* Focus styles for better keyboard navigation */
.contact-link:focus,
.external-link:focus {
    outline: 2px solid gold;
    outline-offset: 2px;
    border-radius: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .privacy-section {
        border: 2px solid #000;
    }
    
    .section-title::after {
        background: #000;
    }
}