/* 基础样式 */
:root {
    /* 主色调 */
    --primary-color: #0052d9;
    --primary-hover: #0046be;
    --secondary-color: #00c1d4;
    --accent-color: #ff9c00;
    
    /* 中性色 */
    --dark: #0d1a31;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #999999;
    --gray-lighter: #cccccc;
    --light: #f5f7fa;
    
    /* 功能色 */
    --success: #00a870;
    --warning: #ed7b2f;
    --error: #e34d59;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    
    /* 圆角 */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-dark);
    background-color: #fff;
}

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

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 18px;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--gray-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons .btn {
    margin-left: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--gray-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero区域样式 */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4f1fe 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-stats {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px 0;
    margin-top: 60px;
}

.hero-stats .container {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 16px;
    color: var(--gray);
}

/* 产品特性部分样式 */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 82, 217, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
}

/* 动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 解决方案部分样式 */
.solutions {
    padding: 100px 0;
    background-color: var(--light);
}

.solutions-tabs {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-lighter);
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 定价部分样式 */
.pricing {
    padding: 100px 0;
    background-color: #fff;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 50px;
}

.toggle-label {
    font-size: 16px;
    color: var(--gray);
    margin: 0 10px;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--dark);
    font-weight: 500;
}

.discount {
    display: inline-block;
    background-color: var(--success-light);
    color: var(--success);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* 定价卡片样式 */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.card-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-lighter);
}

.card-header h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.price {
    font-size: 18px;
    margin-bottom: 15px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
}

.amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.amount.yearly {
    display: none;
}

.period {
    font-size: 14px;
    color: var(--gray);
}

.card-header p {
    font-size: 14px;
    color: var(--gray);
}

.card-body {
    padding: 30px 20px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--gray-dark);
}

.features-list i {
    color: var(--success);
    margin-right: 10px;
    margin-top: 3px;
}

.card-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--gray-lighter);
}

.custom-plan {
    text-align: center;
    margin-top: 30px;
}

.custom-plan p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 年付模式样式 */
body.yearly-billing .amount.monthly {
    display: none;
}

body.yearly-billing .amount.yearly {
    display: inline;
}

/* 客户案例部分样式 */
.cases {
    padding: 100px 0;
    background-color: var(--light);
}

.cases-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
    justify-content: center;
}

.case-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-logo {
    margin-bottom: 20px;
}

.logo-placeholder {
    width: 100px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 5px;
}

.case-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.case-description {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    flex-direction: column;
}

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

.result-label {
    font-size: 14px;
    color: var(--gray);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* 合作伙伴部分 */
.partners {
    margin-top: 80px;
    text-align: center;
}

.partners h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.partner-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.solution-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.solution-features {
    margin-bottom: 30px;
}

.solution-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--gray-dark);
}

.solution-features i {
    color: var(--success);
    margin-right: 10px;
}

.solution-image {
    flex: 1;
    max-width: 500px;
}

/* 联系我们部分样式 */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-color-light);
    max-width: 90%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-method .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 82, 217, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method .icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-method .details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-method .details p {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 3px;
}

.contact-method .details .text-muted {
    font-size: 14px;
    color: var(--gray-light);
}

.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--gray-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-lighter);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark);
    color: #fff;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

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

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.legal-links a:hover {
    color: #fff;
}