/* Privacy Policy Enhanced Styles */

/* Main container with proper margins and max-width */
.privacy-policy-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 40px;
}

.privacy-policy-main .container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 60px;
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile responsive padding */
@media (max-width: 768px) {
    .privacy-policy-main {
        padding: 60px 15px 30px;
    }
    
    .privacy-policy-main .container {
        padding: 30px 20px;
        border-radius: 15px;
    }
}

/* Header styling */
.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 3px solid #f0f0f0;
}

.privacy-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.privacy-header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 15px 0;
    line-height: 1.6;
}

.last-updated {
    display: inline-block;
    background: #f3f4f6;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    color: #4b5563;
    margin-top: 20px;
}

/* Section styling */
.privacy-section {
    margin-bottom: 50px;
    padding: 35px;
    background: #fafafa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.privacy-section h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.privacy-section h3 {
    font-size: 1.35rem;
    color: #374151;
    margin: 30px 0 20px;
    padding-left: 20px;
    position: relative;
}

.privacy-section h3::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
}

/* Lists */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-list li {
    padding: 15px 20px 15px 45px;
    margin-bottom: 12px;
    background: white;
    border-radius: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.privacy-list li:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.privacy-list li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Highlight boxes */
.highlight-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-left-color: #764ba2;
    padding: 40px;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.highlight-box i {
    font-size: 2.5rem;
    color: #667eea;
    flex-shrink: 0;
}

.highlight-box h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

.highlight-box.warning {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

.highlight-box.warning i {
    color: #f59e0b;
}

/* Security features grid */
.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.security-feature:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.security-feature i {
    font-size: 1.5rem;
    color: #667eea;
}

/* Rights grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.right-card {
    padding: 25px;
    background: white;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.right-card h4 {
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.right-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact box */
.contact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.contact-box h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: white;
}

.contact-details a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #fcd34d;
    text-decoration: underline;
}

/* Actions bar */
.privacy-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #f0f0f0;
    flex-wrap: wrap;
}

.privacy-actions .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Help button styling */
.page-help-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-help-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Subsection styling */
.subsection {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 10px;
}

/* Rights CTA */
.rights-cta {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 1.1rem;
}

.rights-cta a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #667eea;
    transition: all 0.2s ease;
}

.rights-cta a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme support */
[data-theme="dark"] .privacy-policy-main {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .privacy-policy-main .container {
    background: #1e293b;
    color: #e5e7eb;
}

[data-theme="dark"] .privacy-section {
    background: #334155;
    border-left-color: #818cf8;
}

[data-theme="dark"] .privacy-section h2,
[data-theme="dark"] .privacy-section h3 {
    color: #f3f4f6;
}

[data-theme="dark"] .privacy-list li {
    background: #475569;
    color: #e5e7eb;
}

[data-theme="dark"] .highlight-box {
    background: #475569;
    color: #e5e7eb;
}

[data-theme="dark"] .security-feature,
[data-theme="dark"] .right-card {
    background: #475569;
    border-color: #64748b;
    color: #e5e7eb;
}

[data-theme="dark"] .contact-box {
    background: linear-gradient(135deg, #4c1d95 0%, #581c87 100%);
}