/* 全局变量 */
:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary-color: #F59E0B;
    --secondary-dark: #d97706;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* 章节通用样式 */
.features-section,
.advantage-section,
.industry-section,
.trust-section,
.cta-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

/* 功能卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 部署优势 */
.advantage-section {
    background-color: var(--bg-light);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advantage-item {
    text-align: center;
    padding: 40px 20px;
}

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-gray);
}

/* 行业标签 */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.industry-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.industry-tag:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 信任背书 */
.trust-section {
    background-color: var(--primary-color);
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 18px;
    opacity: 0.95;
}

/* CTA区域 */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cta-section > .container > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页脚 */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* 功能详情 */
.features-detail-section {
    padding: 60px 0;
}

.feature-detail-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.feature-detail-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.feature-icon.large {
    font-size: 64px;
}

.feature-detail-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.feature-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-point h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-point p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 安全区域 */
.security-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.security-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.security-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.security-item p {
    color: var(--text-gray);
}

/* 行业导航 */
.industry-nav-section {
    background-color: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.industry-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.industry-nav-link {
    padding: 10px 20px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.industry-nav-link:hover,
.industry-nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 行业方案 */
.industry-solutions-section {
    padding: 60px 0;
}

.industry-solution {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.solution-icon {
    font-size: 48px;
}

.solution-header h2 {
    font-size: 32px;
    color: var(--text-dark);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.solution-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 联系页面 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-gray);
}

.contact-details p {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 表单样式 */
.form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 关于我们 */
.about-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-text p {
    font-size: 18px;
    line-height: 2;
    color: var(--text-gray);
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.advantage-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-list-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.advantage-list-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.advantage-list-content p {
    color: var(--text-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .industry-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .industry-nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.advantage-item,
.security-item,
.solution-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
