/* 全局样式 */
:root {
    /* 主色调 - 专业蓝 */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    
    /* 辅助色 - 活力橙 */
    --accent-color: #f97316;
    --accent-light: #fdba74;
    
    /* 中性色 */
    --text-color: #1e293b;
    --text-light: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    
    /* 成功/警告色 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.utility-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-selector select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    appearance: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    height: 36px;
    min-width: 100px;
}

.language-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.language-selector::after {
    content: "▼";
    font-size: 0.7rem;
    color: var(--primary-color);
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.language-selector select:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.language-selector select option {
    padding: 0.5rem;
    background: var(--white);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .language-selector {
        margin: 0.5rem 0;
        width: 100%;
    }
    .language-selector select {
        width: 100%;
    }
}


.login-btn {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.register-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    opacity: 0.9;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--primary-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

/* 功能页面样式 */
.feature-section {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-section h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.subtitle {
    text-align: center;
    color: #4b5563;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.feature {
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature:nth-child(3n+1) {
    background-color: var(--primary-light);
}

.feature:nth-child(3n+2) {
    background-color: var(--light-gray);
}

.feature:nth-child(3n+3) {
    background-color: var(--white);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.feature h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-light);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    width: 100%;
}

.feature-text {
    width: 100%;
}

.feature-text ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.feature-text li {
    white-space: nowrap;
}

.feature-text li {
    margin-bottom: 0.5rem;
    position: relative;
}

.feature-text li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
    }
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background-color: var(--light-gray);
}

/* 定价页面样式 */
.pricing-section {
    padding: 2rem 0;
    text-align: center;
}

.pricing-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card .cta-button {
    margin-top: 0.5rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.pricing-card.featured::before {
    content: "推荐";
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: normal;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.features li:last-child {
    border-bottom: none;
}

/* 联系页面样式 */
.contact-section {
    padding: 2rem 0;
}

.contact-section h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 首页功能展示区 */
.feature-showcase {
    margin: 4rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-text {
    width: 50%;
}

.feature-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-text p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.feature-text ul {
    padding-left: 1.5rem;
}

.feature-text li {
    margin-bottom: 0.5rem;
}

/* 平台集成区 */
.platform-integration {
    padding: 3rem 0;
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

@media (max-width: 1200px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

.platform-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-item {
    background-color: var(--primary-light);
    color: var(--text-color);
}

.platform-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.platform-item h3 {
    color: var(--primary-dark);
}

.platform-item p {
    color: var(--text-color);
}

.platform-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 客户评价区 */
.testimonials {
    background-color: var(--light-gray);
    padding: 3rem 0;
    margin-top: 3rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.author {
    font-weight: 500;
    color: var(--primary-color);
}
.language-selector {
  margin: 10px 0;
}
.language-selector select {
  padding: 4px 8px;
  font-size: 14px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .language-switcher {
        margin: 1rem 0 0;
        justify-content: center;
    }
    
    .nav-links {
        margin: 1rem 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-img,
    .feature-text {
        width: 100%;
    }

    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}
