/* 变量定义 */
:root {
    --primary: #0F172A;
    /* 深蓝色 - 极简背景/文字 */
    --accent: #38BDF8;
    /* 天蓝色 - 强调色 */
    --success: #22C55E;
    /* 成功绿色 */
    --text-main: #1E293B;
    /* 主文字色 */
    --text-muted: #64748B;
    /* 次要文字色 */
    --bg-light: #F8FAFC;
    /* 浅灰色背景 */
    --bg-dark: #0F172A;
    /* 深色背景 */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Figtree', 'Noto Sans SC', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.blue-gradient-text {
    background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thin {
    font-weight: 300;
}

.cursor-pointer {
    cursor: pointer;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon i {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1E293B;
    transform: translateY(-2px);
    color: var(--white) !important;
}

.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* 英雄区 */
.hero-section {
    padding: 180px 0 80px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-section .grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image-wrapper {
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid white;
}

.hero-main-img {
    width: 100%;
    display: block;
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-badge i {
    color: var(--success);
    width: 20px;
    height: 20px;
}

/* 合作伙伴 */
.partners-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #F1F5F9;
}

.partners-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-item {
    font-weight: 800;
    font-size: 1.2rem;
    opacity: 0.4;
}

/* 工作流 */
.workflow-section {
    padding: 100px 0;
    background: white;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    position: relative;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.1);
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.step-card h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 40px;
    height: 2px;
    background: dashed var(--accent);
    opacity: 0.3;
}

/* 核心方案 */
.services-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--white);
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(56, 189, 248, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.icon-box i {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* 关于我们 (深色背景) */
.about-section {
    padding: 120px 0;
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--white);
}

.about-section .grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 2rem;
    width: 80%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.about-content .upper-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.check-list i {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

/* 页脚 */
footer {
    padding: 80px 0 40px;
    background: #050A18;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-info .logo-text {
    color: var(--white);
}

.footer-grid h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-contact i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-qrcode {
    text-align: right;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    background: white;
    padding: 2px;
    display: inline-block;
}

.footer-qrcode p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* 移动端适配 */
@media (max-width: 968px) {

    .hero-section .grid,
    .about-section .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info p,
    .footer-contact p,
    .footer-qrcode {
        margin: 0 auto;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-qrcode {
        margin-top: 1rem;
    }

    .glass-card {
        width: 100%;
    }
}

/* 动画效果 */
/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    position: relative;
    padding: 3rem;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #F1F5F9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

/* 详情内容样式 */
.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-header .icon-box {
    margin-bottom: 0;
}

.detail-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detail-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

.detail-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-badge-group {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    background: #F1F5F9;
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 技术优势 */
.advantages-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.advantages-section .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.advantage-item {
    padding: 2rem;
    text-align: center;
}

.advantage-item i {
    color: var(--accent);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.advantage-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* FAQ */
.faq-section {
    padding: 120px 0;
    background: white;
}

.faq-section .grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
}

.faq-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #F1F5F9;
    padding: 2rem 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active i {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 底部 CTA */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.final-cta p {
    margin-bottom: 3rem;
    opacity: 0.8;
    font-size: 1.2rem;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-form input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .faq-section .grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-dot {
        display: none;
    }

    .final-cta h2 {
        font-size: 2.2rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.4s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}