/* English Version Styles - Override base styles */

/* Premium Color Scheme */
:root {
    --primary-color: #1a1a2e;
    --primary-dark: #0f0f1a;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --gold-accent: #d4af37;
    --text-dark: #0f0f1a;
    --text-light: #6c7293;
    --text-color: #0f0f1a;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --background-dark: #1a1a2e;
    --border-color: #e8eaed;
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.15);
    --shadow-xl: 0 24px 48px -8px rgb(0 0 0 / 0.2);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #d4af37 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Premium Visual Enhancements */
.header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(232, 234, 237, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

.hero {
    background: var(--gradient-hero) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="180" fill="url(%23a)"/><circle cx="800" cy="800" r="200" fill="url(%23a)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    // gap: 4rem;
    gap: 18rem;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    // padding-left: 10rem;
}

.hero-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 4rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    // margin-bottom: 2rem !important;
    margin-bottom: 4rem !important;
    position: relative;
}
.hero-title::before {
    content: '';
    position: absolute;
    top: -94px;
    left: -140px;
    right: 0;
    width: 160px;
    height: 160px;
    background: url(./logo.png) no-repeat center center;
    background-size: 100% 100%;
    animation: float 2s ease-in-out infinite;
}
.hero-description {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0.02em !important;
    // margin-bottom: 3rem !important;
    margin-bottom: 4rem !important;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--gradient-accent) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3) !important;
    transition: all 0.3s ease !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Global Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* 整体布局优化 */
.container {
    // max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.hero {
    // padding: 6rem 0 !important;
    padding: 6rem 0 3rem !important
}

.about, .case-study, .careers, .contact, .services {
    padding: 5rem 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 1rem !important;
    color: var(--text-dark) !important;
}

.section-subtitle {
    font-size: 1.2rem !important;
    text-align: center;
    margin-bottom: 3rem !important;
    color: var(--text-light) !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 5rem 0 !important;
}

.services-grid {
    display: grid;
    // grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4rem;
}

.about-text h2 {
    margin-bottom: 2.5rem !important;
}

.about-description {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: var(--text-light) !important;
    margin-bottom: 0 !important;
    text-align: justify;
    max-width: none;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
}

.feature i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Case Study Section */
.case-study {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    color: var(--text-dark) !important;
}

.case-study .section-title,
.case-study .section-subtitle {
    color: var(--text-dark) !important;
}

.case-study .case-description,
.case-study .case-description h4,
.case-study .case-description p,
.case-study .case-description ul,
.case-study .case-description li {
    color: var(--text-dark) !important;
}

.case-study-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* WeHappy Link Styles */
.app-name a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    cursor: pointer !important;
    border-bottom: 2px solid transparent !important;
    padding-bottom: 2px !important;
}

.app-name a::after {
    content: '🔗' !important;
    font-size: 0.8rem !important;
    margin-left: 0.3rem !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.app-name a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    border-bottom: 2px solid var(--accent-color) !important;
    transform: translateY(-1px) !important;
}

.app-name a:hover::after {
    opacity: 1 !important;
    transform: translateX(2px) !important;
}

/* WeHappy App Logo Styles */
.app-logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

.app-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.app-logo-fallback {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #d4af37 100%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WeHappy App Screenshots */
.app-screenshots {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.app-screenshots h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 600px;
}

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

.screenshot-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-image:hover {
    transform: scale(1.05);
}

/* Careers Section */
.careers {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Contact Section */
.contact {
    background: var(--background-dark) !important;
    color: white !important;
}

.contact .section-title,
.contact .section-subtitle {
    color: white !important;
}

.contact-item h4,
.contact-item p {
    color: white !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact-form select option {
    color: #000000 !important;
    background: #ffffff !important;
}

.footer {
    background: var(--primary-dark) !important;
    color: white !important;
}

/* Language Switch Button */
.lang-switch {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

.lang-switch:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-title::before {
        top: -40px;
        left: 0px;
        right: 0;
        width: 80px;
        height: 80px;
    }
    
    .hero-description {
        font-size: 1.2rem !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-main {
        padding: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    .team-graphic {
        flex-wrap: wrap;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
    
    .screenshot-image {
        max-width: 100px;
    }
}