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

:root {
    --apple-blue: #104d72; /* #007AFF; */
    --apple-blue-dark: #104d72; /* #0051D5; */
    --apple-gray: #8E8E93;
    --apple-gray-light: #C7C7CC;
    --apple-gray-bg: #F2F2F7;
    --apple-text-primary: #000000;
    --apple-text-secondary: #3C3C43;
    --apple-separator: #C6C6C8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--apple-text-primary);
    background-color: var(--apple-gray-bg);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--apple-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--apple-text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--apple-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--apple-blue) 0%, #0051D5 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-badges {
    margin-top: 2rem;
}

.badge img {
    height: 50px;
    margin: 0 10px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--apple-text-primary);
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: white;
    border: 1px solid var(--apple-separator);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 1 350px;
    min-width: 300px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--apple-blue);
}

.feature-icon i {
    display: block;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--apple-text-primary);
}

/* Languages Preview Section */
.languages-preview {
    background: linear-gradient(135deg, var(--apple-blue) 0%, #0051D5 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.languages-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.languages-preview p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: white;
    color: var(--apple-blue);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: rgba(255,255,255,0.9);
    transform: scale(1.05);
}

/* Content Pages */
.content {
    padding: 3rem 0;
    max-width: 900px;
}

.content h1 {
    font-size: 2.5rem;
    color: var(--apple-text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.content h2 {
    font-size: 2rem;
    color: var(--apple-text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content h3 {
    font-size: 1.5rem;
    color: var(--apple-text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content section {
    margin-bottom: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--apple-separator);
}

.content ul, .content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--apple-gray);
    margin-bottom: 2rem;
}

.last-updated {
    color: var(--apple-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Language Support Pages */
.language-section {
    margin-bottom: 3rem;
}

.language-section h2 i {
    margin-right: 0.5rem;
}

.language-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.language-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--apple-separator);
    background-color: white;
    flex: 0 1 300px;
    min-width: 250px;
}

.language-card.full-support {
    background-color: #E5F5E8;
    border-color: #34C759;
}

.language-card.partial-support {
    background-color: #FFF4E5;
    border-color: #FF9500;
}

.language-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-card h3 .fi {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.language-card .fa-check {
    color: #34C759;
    font-size: 0.9rem;
}

.language-card p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.support-details {
    margin-top: 1rem;
}

.support-details .note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--apple-gray);
    font-style: italic;
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    color: var(--apple-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--apple-text-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .features h2,
    .languages-preview h2 {
        font-size: 2rem;
    }

    .content h1 {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }
}
