* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e6bc2;
    --primary-dark: #0d4a9c;
    --secondary: #1dd1a1;
    --danger: #ff6b6b;
    --light: #f5f7fa;
    --dark: #333;
    --gray: #777;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

/* 语言切换器样式 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid var(--primary);
}

.language-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 70px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
}

.language-btn.active {
    background: var(--primary);
    color: white;
}

.language-btn:hover:not(.active) {
    background: rgba(30, 107, 194, 0.1);
}

/* Header 样式 */
.header-with-logo {
    display: flex;
    align-items: center;
    padding: 30px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.logo-container {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.header-content {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 120px;
}

/* Header 联系按钮样式 */
.header-contact-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.header-contact-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-contact-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.header-contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-contact-text span:first-child {
    font-size: 0.9rem;
    font-weight: bold;
}

.header-contact-text span:last-child {
    font-size: 0.8rem;
    opacity: 0.9;
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: #ffd166;
    font-weight: bold;
}

.comparison-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.column {
    flex: 1;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.column:hover {
    transform: translateY(-5px);
}

.column-header {
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.traditional .column-header {
    background-color: var(--danger);
    color: white;
}

.app .column-header {
    background-color: var(--secondary);
    color: white;
}

.feature {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.feature:last-child {
    border-bottom: none;
}

.feature-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.traditional .feature-title {
    color: var(--danger);
}

.app .feature-title {
    color: var(--secondary);
}

.feature-title i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.feature-content {
    color: #555;
}

.app-highlight {
    background-color: #e8f6f3;
    border-left: 4px solid var(--secondary);
}

.traditional-highlight {
    background-color: #ffebee;
    border-left: 4px solid var(--danger);
}

/* CTA按钮样式 */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.cta-section p {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 74, 156, 0.3);
    margin: 10px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 74, 156, 0.4);
}

.download-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.download-btn {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 250px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--primary);
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-text span:first-child {
    font-size: 0.9rem;
    color: var(--gray);
}

.download-text span:last-child {
    font-weight: bold;
    font-size: 1.1rem;
}

/* 轮播样式 */
.screenshots-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.screenshots-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 25%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.03);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    color: var(--primary);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* 价格板块样式 */
.pricing-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.pricing-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: "ƯU ĐÃI";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.pricing-card-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricing-card-period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-card-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-card-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.pricing-card-features li i {
    margin-right: 10px;
    color: var(--secondary);
}

.pricing-card.featured .pricing-card-features li i {
    color: white;
}

.pricing-card-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.pricing-card.featured .pricing-card-btn {
    background: white;
    color: var(--primary);
}

.pricing-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.contact-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f0f0f0;
    margin: 0 auto 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray);
    border: 1px dashed #ccc;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-dark);
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .header-with-logo {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }
    
    .logo-container {
        position: static;
        transform: none;
        margin-bottom: 20px;
    }
    
    .header-contact-btn {
        position: static;
        transform: none;
        margin-top: 15px;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header-content {
        margin: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .logo {
        height: 60px;
    }
    
    .comparison-container {
        flex-direction: column;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .screenshots-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-with-logo {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .header-contact-btn {
        padding: 10px 15px;
    }
    
    .header-contact-text span:first-child {
        font-size: 0.8rem;
    }
    
    .header-contact-text span:last-child {
        font-size: 0.7rem;
    }
    
    .language-btn {
        padding: 6px 12px;
        min-width: 60px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .contact-item {
        min-width: 100%;
    }
    
    .pricing-card {
        min-width: 100%;
    }
    /* 在css/style.css中添加以下样式 */

.comparison-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch; /* 确保两栏高度拉伸一致 */
}

.column {
    flex: 1;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* 使用flex布局确保内部元素撑开高度 */
}

/* 确保每个feature的高度一致 */
.feature {
    padding: 20px;
    border-bottom: 1px solid #eee;
    flex: 1; /* 让每个feature平均分配高度 */
    display: flex;
    flex-direction: column;
    min-height: 120px; /* 设置最小高度确保一致性 */
}

.feature:last-child {
    border-bottom: none;
}

.feature-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    min-height: 40px; /* 标题最小高度 */
}

.feature-content {
    color: #555;
    flex: 1; /* 内容区域填充剩余空间 */
    display: flex;
    align-items: center; /* 垂直居中 */
}

/* 为不同行数的内容设置不同的最小高度 */
.feature:nth-child(1) { min-height: 140px; }
.feature:nth-child(2) { min-height: 130px; }
.feature:nth-child(3) { min-height: 160px; }
.feature:nth-child(4) { min-height: 130px; }
.feature:nth-child(5) { min-height: 160px; }
.feature:nth-child(6) { min-height: 140px; }

/* 响应式调整 */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
    
    .feature {
        min-height: auto !important; /* 在移动端取消固定高度 */
    }
    
    .feature-title {
        min-height: auto;
    }
}
}