/* ==================== English Version Specific Styles ==================== */

/* Override font family for English version */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

/* Optimize headings for English */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Hero title adjustments for English */
.hero-title {
    letter-spacing: -0.03em;
}

.title-highlight {
    letter-spacing: -0.02em;
    font-weight: 900;
}

.title-main {
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Hero description optimization */
.hero-description {
    letter-spacing: -0.005em;
    line-height: 1.7;
    font-weight: 400;
}

/* Feature titles */
.feature-title {
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Feature descriptions */
.feature-description {
    letter-spacing: normal;
    line-height: 1.75;
    font-weight: 400;
}

/* Feature subtitles */
.feature-subtitle {
    letter-spacing: -0.01em;
    font-weight: 600;
}

.feature-item p {
    letter-spacing: normal;
    line-height: 1.7;
}

/* CTA title */
.cta-title {
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Download buttons text */
.download-label {
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 500;
}

.download-store {
    letter-spacing: -0.01em;
    font-weight: 700;
}

/* Language switcher */
.lang-btn {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Footer text */
.footer-text,
.footer-link {
    letter-spacing: normal;
}

/* Adjust responsive typography for English */
@media (max-width: 768px) {
    .hero-description {
        line-height: 1.65;
    }

    .feature-description {
        line-height: 1.7;
    }

    .feature-item p {
        line-height: 1.65;
    }
}

/* Optimize text rendering for English */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Better hyphenation for English */
.hero-description,
.feature-description,
.feature-item p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
}

/* Adjust line length for better readability */
@media (min-width: 1024px) {
    .feature-description {
        max-width: 100%;
    }

    .hero-description {
        max-width: 900px;
    }
}

/* Improve quote marks appearance */
.title-highlight::before,
.title-highlight::after {
    font-feature-settings: "kern" 1;
}

/* Numeric formatting */
.feature-description,
.feature-item p {
    font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
}

/* Small caps for abbreviations (if needed) */
abbr {
    font-feature-settings: "kern" 1, "liga" 1, "smcp" 1, "c2sc" 1;
    letter-spacing: 0.05em;
}

/* Optimize button text */
.download-btn {
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Better spacing for English punctuation */
.feature-description::first-letter,
.feature-item p::first-letter {
    margin-right: 0;
}

/* Adjust widow and orphan control */
.hero-description,
.feature-description,
.feature-item p {
    orphans: 3;
    widows: 3;
}

/* Better emphasis styling */
strong, b {
    font-weight: 700;
    letter-spacing: -0.01em;
}

em, i {
    font-style: italic;
    letter-spacing: -0.005em;
}

/* Code and monospace adjustments (if needed) */
code, pre {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    letter-spacing: normal;
}

/* Improve list styling */
.feature-list {
    letter-spacing: normal;
}

/* Better number formatting in lists */
ol {
    font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
}

/* Adjust heading hierarchy visual weight */
h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 600; }
h5 { font-weight: 600; }
h6 { font-weight: 600; }

/* Fine-tune for different screen sizes */
@media (max-width: 480px) {
    body {
        letter-spacing: normal;
    }

    .hero-title {
        letter-spacing: -0.02em;
    }

    .title-highlight {
        letter-spacing: -0.015em;
    }
}

/* Optimize for high-DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
    }
}

/* Dark mode optimization (if system prefers dark) */
@media (prefers-color-scheme: dark) {
    body {
        font-weight: 400;
    }

    .feature-description,
    .feature-item p {
        font-weight: 400;
    }
}

/* Print-specific adjustments */
@media print {
    body {
        font-family: 'Georgia', 'Times New Roman', serif;
        color: #000;
    }

    .hero-title,
    .feature-title {
        font-family: 'Helvetica', 'Arial', sans-serif;
    }
}