* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e7;
    background: #ffffff;
}

.header-content {
    padding: 0 20px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
}

.header h1 a {
    text-decoration: none;
    color: inherit;
}

.header h1 a:hover {
    color: #007aff;
}

/* Main Content */
.legal-content {
    flex: 1;
    padding: 40px 20px;
}

.legal-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.last-updated {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 40px;
}

section {
    margin-bottom: 32px;
}

section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
    color: #1d1d1f;
}

section p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

section ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

section li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* Links */
a {
    color: #007aff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 24px 0;
    border-top: 1px solid #e5e5e7;
    margin-top: auto;
}

.footer-content {
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #86868b;
    text-decoration: none;
}

.footer-links a:hover {
    color: #007aff;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .legal-content {
        padding: 20px 16px;
    }
    
    .legal-content h1 {
        font-size: 28px;
    }
    
    section h2 {
        font-size: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Support & About page styles */
.support-cards, .feature-grid, .use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.support-card, .feature-item, .use-case {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e5e7;
}

.support-card i, .feature-item i, .use-case i {
    font-size: 32px;
    color: #007aff;
    margin-bottom: 16px;
}

.support-card h3, .feature-item h3, .use-case h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.support-link, .contact-btn, .cta-button {
    display: inline-block;
    padding: 8px 16px;
    background: #007aff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 12px;
    transition: background 0.2s ease;
}

.support-link:hover, .contact-btn:hover, .cta-button:hover {
    background: #0056cc;
    text-decoration: none;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e5e7;
}

.contact-card i {
    font-size: 32px;
    color: #007aff;
    margin-bottom: 16px;
}

.faq-item {
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 16px;
    display: none;
    border-top: 1px solid #e5e5e7;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e7;
}

.status-item:last-child {
    border-bottom: none;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.operational {
    background: #34c759;
}

.status-text {
    color: #86868b;
    font-size: 14px;
    margin-left: auto;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.tips-list i {
    color: #ff9500;
    margin-top: 2px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
}

.benefit-item i {
    font-size: 24px;
    color: #007aff;
    margin-top: 4px;
    min-width: 24px;
}

.benefit-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.tech-list, .commitment-list {
    margin: 16px 0;
}

.tech-list li, .commitment-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commitment-list i {
    color: #34c759;
    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    color: #007aff;
    border: 1px solid #007aff;
}

.cta-button.secondary:hover {
    background: #007aff;
    color: #ffffff;
}

.contact-info {
    margin: 16px 0;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-info i {
    color: #007aff;
    width: 16px;
}

/* Print styles */
@media print {
    .header, .footer {
        display: none;
    }
    
    .legal-content {
        padding: 0;
    }
    
    a {
        color: #1d1d1f;
        text-decoration: none;
    }
    
    a:after {
        content: " (" attr(href) ")";
        font-size: 12px;
        color: #666;
    }
    
    .support-cards, .feature-grid, .use-cases {
        grid-template-columns: 1fr;
    }
}
