/* 基础样式与变量定义 */
:root {
    --primary-color: #6884FF;
    --primary-dark: #4A6AFF;
    --primary-light: #8BA0FF;
    --secondary-color: #FF6B6B;
    --dark-color: #1A1D29;
    --light-color: #F8F9FF;
    --gray-color: #6C757D;
    --light-gray: #E9ECEF;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(104, 132, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    min-width: 320px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(104, 132, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    margin-right: 10px;
}

.logo-text {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* 英雄区域样式 */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.data-visualization {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.data-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    transition: var(--transition);
}

.data-card:nth-child(1) {
    transform: translateX(-20px);
}

.data-card:nth-child(2) {
    transform: translateX(30px);
}

.data-card:nth-child(3) {
    transform: translateX(-20px);
}

.data-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.data-label {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

.data-wave {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(104, 132, 255, 0.1) 0%, rgba(104, 132, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* 分区标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* 服务区域样式 */
.services-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(104, 132, 255, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-desc {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(104, 132, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 技术区域样式 */
.tech-section {
    padding: 100px 0;
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-text {
    flex: 1;
}

.tech-visual {
    flex: 1;
}

.tech-features {
    margin-top: 40px;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(104, 132, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-text p {
    color: var(--gray-color);
}

.dashboard-preview {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.dashboard-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-weight: 600;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #FF5F57;
}

.dot.yellow {
    background-color: #FFBD2E;
}

.dot.green {
    background-color: #28CA42;
}

.dashboard-content {
    padding: 30px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    height: 150px;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--primary-light));
    border-radius: 4px 4px 0 0;
    min-height: 10px;
}

.metrics {
    display: flex;
    justify-content: space-around;
}

.metric {
    text-align: center;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* 成功案例样式 */
.cases-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(104, 132, 255, 0.15);
}

.case-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid var(--light-gray);
}

.case-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.case-client {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.case-client i {
    color: var(--primary-color);
}

.case-body {
    padding: 20px 25px;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: rgba(104, 132, 255, 0.05);
    border-radius: var(--border-radius);
}

.result-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-text {
    font-weight: 600;
    color: var(--dark-color);
}

.case-desc {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-footer {
    padding: 0 25px 25px;
}

.case-duration {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 未来规划样式 */
.future-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.future-roadmap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.future-roadmap::before {
    content: '';
    position: absolute;
    left: 110px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(104, 132, 255, 0.2);
    border-radius: 2px;
}

.roadmap-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.roadmap-item.current .roadmap-content::before {
    background-color: var(--secondary-color);
}

.roadmap-date {
    width: 100px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    padding-top: 5px;
}

.roadmap-content {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-left: 30px;
    flex: 1;
    position: relative;
}

.roadmap-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 25px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 5px solid white;
}

.roadmap-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.roadmap-content p {
    color: var(--gray-color);
}

/* 关于我们样式 */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-color);
}

.about-visual {
    flex: 1;
}

.team-illustration {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.person {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.person:hover {
    transform: translateY(-5px);
}

.person-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 32px;
}

.person-role {
    font-weight: 600;
    color: var(--dark-color);
}

.person-1 .person-avatar {
    background: linear-gradient(135deg, #8BA0FF, #6884FF);
}

.person-2 .person-avatar {
    background: linear-gradient(135deg, #FF8B8B, #FF6B6B);
}

.person-3 .person-avatar {
    background: linear-gradient(135deg, #7CE0C3, #4AC9A8);
}

.person-4 .person-avatar {
    background: linear-gradient(135deg, #FFD166, #FFC145);
}

/* 联系区域样式 */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(104, 132, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    color: var(--gray-color);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(104, 132, 255, 0.2);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    min-width: 150px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* 动画样式 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.count-up {
    animation: countUp 0.6s ease forwards;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message.show {
    opacity: 1;
    transform: translateX(0);
}

.message.success {
    background-color: #28a745;
}

.message.error {
    background-color: #dc3545;
}

.message.info {
    background-color: #17a2b8;
}

.message.warning {
    background-color: #ffc107;
    color: #212529;
}