/* Global Styles */
:root {
    --primary-color: #4a6fff;
    --secondary-color: #34c759;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e1e4e8;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #2a4fd7;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Language Display Control */
.en, .zh {
    display: none;
}

html[lang="en"] .en {
    display: inline-block;
}

html[lang="zh"] .zh {
    display: inline-block;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Main Content Styles */
main {
    padding: 40px 0;
    min-height: calc(100vh - 140px);
}

/* Homepage Styles */
.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 20px;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.features {
    margin-bottom: 60px;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.feature {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.cta {
    text-align: center;
    margin: 40px 0;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin: 0 10px 10px;
    transition: var(--transition);
}

.button:hover {
    background-color: #2a4fd7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 111, 255, 0.3);
}

/* Support Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 36px;
    color: var(--primary-color);
}

.last-updated {
    color: var(--lighter-text);
    font-size: 14px;
}

.support-intro, .privacy-intro {
    margin-bottom: 40px;
    padding: 0 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section {
    margin-bottom: 50px;
}

.faq-item {
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-item h3 {
    background-color: var(--light-bg);
    padding: 15px 20px;
    margin-bottom: 0;
    font-size: 18px;
    cursor: pointer;
    position: relative;
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-section {
    margin-bottom: 50px;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.contact-method {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    flex: 1 1 300px;
    box-shadow: var(--shadow);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.system-requirements {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 50px;
}

.system-requirements ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

/* Privacy Policy Styles */
.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-section h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-section li {
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    background-color: var(--light-bg);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .button {
        display: block;
        margin: 10px auto;
    }
} 