/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    opacity: 0.9;
}

/* Main Content */
.main {
    padding: 3rem 0;
}

.content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
}

.meta-info {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.meta-info p {
    margin-bottom: 0.5rem;
}

.meta-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.meta-info a:hover {
    text-decoration: underline;
}

.delete-link {
    color: #ef4444 !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #ef4444;
    transition: all 0.2s ease;
}

.delete-link:hover {
    color: #dc2626 !important;
    background-color: #fef2f2;
    padding: 2px 4px;
    border-radius: 4px;
    text-decoration: none;
}

.support-link {
    color: #48bb78 !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #48bb78;
    transition: all 0.2s ease;
}

.support-link:hover {
    color: #38a169 !important;
    background-color: #f0fdf4;
    padding: 2px 4px;
    border-radius: 4px;
    text-decoration: none;
}

/* Section Styles */
.section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.section h2 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.section h3 {
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 0.8rem 0;
}

.section p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.section strong {
    color: #2d3748;
    font-weight: 600;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #a0aec0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
        margin: 0 10px 2rem 10px;
    }
    
    .section h2 {
        font-size: 1.3rem;
    }
    
    .section h3 {
        font-size: 1.1rem;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .main {
        padding: 2rem 0;
    }
    
    /* Dark mode toggle positioning for mobile */
    .dark-mode-toggle {
        top: 15px !important;
        right: 120px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    
    /* Print button positioning for mobile */
    .print-button {
        top: 15px !important;
        right: 15px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1.5rem 1rem;
        margin: 0 5px 2rem 5px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.2rem;
    }
    
    .meta-info {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .content {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
    
    .footer {
        display: none;
    }
    
    a {
        color: #333 !important;
        text-decoration: underline !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section h2 {
        border-bottom-color: #000;
    }
    
    .meta-info {
        border-left-color: #000;
    }
}

/* Delete Account Page Styles */
.navigation {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.nav-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.warning-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #ef4444;
}

.warning-box h2 {
    color: #dc2626;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.warning-box p {
    color: #7f1d1d;
    margin: 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.step-number {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #4a5568;
}

.data-categories {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.data-category {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.data-category h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.data-category:first-child {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.data-category:first-child h3 {
    color: #166534;
}

.data-category:last-child {
    background: #fef2f2;
    border-color: #fecaca;
}

.data-category:last-child h3 {
    color: #dc2626;
}

.tech-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.tech-details h3 {
    margin: 1.5rem 0 1rem 0;
    color: #2d3748;
}

.tech-details h3:first-child {
    margin-top: 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.contact-method h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.contact-method p {
    margin: 0.5rem 0;
    color: #4a5568;
}

.legal-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.legal-info h3 {
    margin: 1.5rem 0 1rem 0;
    color: #2d3748;
}

.legal-info h3:first-child {
    margin-top: 0;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.faq-item h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #4a5568;
}

.final-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #ef4444;
    text-align: center;
}

.final-warning h2 {
    color: #dc2626;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.final-warning p {
    color: #7f1d1d;
    margin-bottom: 1rem;
}

.final-warning ul {
    text-align: left;
    display: inline-block;
    color: #7f1d1d;
}

/* Responsive adjustments for delete page */
@media (max-width: 768px) {
    .steps {
        gap: 1rem;
    }
    
    .step {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .data-categories {
        gap: 1rem;
    }
    
    .faq {
        gap: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .final-warning {
        padding: 1.5rem;
    }
}

/* Support Page Styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: #667eea;
    color: white;
}

.lang-btn.active {
    background: #667eea;
    color: white;
}

.navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    flex-wrap: wrap;
}

.navigation .nav-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.navigation .nav-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.app-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.info-item h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: #4a5568;
}

.troubleshooting {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.trouble-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #ed8936;
}

.trouble-item h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.trouble-item p {
    margin: 0;
    color: #4a5568;
}

.privacy-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.privacy-link {
    padding: 1rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.privacy-link:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.response-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.response-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.response-item h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.response-item p {
    margin: 0;
    color: #4a5568;
}

.final-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.final-contact h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    border: none;
    padding: 0;
}

.final-contact p {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Dark mode styles for support page */
[data-theme="dark"] .language-switcher .lang-btn {
    background: #2d3748;
    border-color: #81c784;
    color: #81c784;
}

[data-theme="dark"] .language-switcher .lang-btn:hover {
    background: #81c784;
    color: #1a202c;
}

[data-theme="dark"] .language-switcher .lang-btn.active {
    background: #81c784;
    color: #1a202c;
}

[data-theme="dark"] .navigation {
    background-color: #2d3748;
    border-left-color: #81c784;
}

[data-theme="dark"] .navigation .nav-link {
    color: #81c784;
}

[data-theme="dark"] .navigation .nav-link:hover {
    color: #68d391;
}

[data-theme="dark"] .info-item,
[data-theme="dark"] .trouble-item,
[data-theme="dark"] .response-item {
    background-color: #2d3748;
    border-left-color: #68d391;
}

[data-theme="dark"] .info-item h3,
[data-theme="dark"] .trouble-item h3,
[data-theme="dark"] .response-item h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .info-item p,
[data-theme="dark"] .trouble-item p,
[data-theme="dark"] .response-item p {
    color: #a0aec0;
}

[data-theme="dark"] .privacy-link {
    background: #81c784;
    color: #1a202c;
}

[data-theme="dark"] .privacy-link:hover {
    background: #68d391;
}

[data-theme="dark"] .final-contact {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

[data-theme="dark"] .contact-button {
    background: #81c784;
    color: #1a202c;
}

[data-theme="dark"] .contact-button:hover {
    background: #68d391;
}

/* Responsive adjustments for support page */
@media (max-width: 768px) {
    .language-switcher {
        gap: 0.25rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .app-info {
        grid-template-columns: 1fr;
    }
    
    .response-times {
        grid-template-columns: 1fr;
    }
    
    .privacy-links {
        flex-direction: column;
    }
    
    .final-contact {
        padding: 2rem 1rem;
    }
    
    .final-contact h2 {
        font-size: 1.5rem;
    }
    
    .contact-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
