/* English Version CSS Overrides */

/* English font stack - Modern, clean sans-serif fonts */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
}

/* Headings - Use Inter for better English typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #2c3e50;
}

/* Hero section optimization */
.hero {
    padding: 80px 0 60px;
}

.hero-content {
    max-width: 600px;
    margin-right: 40px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #2c3e50;
}

.hero-title span {
    font-weight: 800;
    color: #3498db;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: #666;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Section titles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Features section optimization */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 24px;
    color: #3498db;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #2c3e50;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* About section optimization */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 580px;
    margin-right: 40px;
}

.about-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #2c3e50;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Service Process section */
.features:nth-child(4) {
    background: #f8f9fa;
}

/* Navigation - slightly larger for English readability */
.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a.active {
    color: #3498db;
    font-weight: 600;
}

/* Footer optimization */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-icp {
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
}

/* Responsive adjustments for English text */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        max-width: 500px;
        margin-right: 30px;
    }
    
    .about-content {
        max-width: 500px;
        margin-right: 30px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .about {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/* Fix potential layout issues */
.container {
    max-width: 1200px;
    padding: 0 20px;
}

/* Navigation logo */
.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
    color: #2c3e50;
}

/* Ensure proper text wrapping for English */
.hero-subtitle,
.section-subtitle,
.feature-description,
.about-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}
