/* ============================================
   达奇网络 - 全局公共样式
   域名: dakyi.com
   包含: 重置、导航、页脚、通用组件
   ============================================ */

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

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #fdfdfd;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: #4f46e5;
    text-decoration: none;
    transition: all 0.2s;
}
a:hover {
    color: #7c3aed;
}

/* ---------- 导航栏 ---------- */
.main-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.logo span {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}
.logo a{ color: #000;}
.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
}
.nav-list li a {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s;
    font-size: 0.9rem;
    white-space: nowrap;
}
.nav-list li a:hover,
.nav-list li a.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.header-contact {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
}

/* ---------- 汉堡按钮 ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
    border-radius: 6px;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 移动端菜单 ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}
.mobile-menu.open {
    pointer-events: auto;
}
.mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.mobile-menu.open .mobile-overlay {
    opacity: 1;
}
.mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    height: 100dvh;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10001;
}
.mobile-menu.open .mobile-panel {
    transform: translateX(0);
}
.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    min-height: 60px;
}
.mobile-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
    transition: all 0.2s;
}
.mobile-close:hover {
    background: #e8e8e8;
    color: #111;
}
.mobile-nav-list {
    list-style: none;
}
.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 1rem;
    border-left: 3px solid transparent;
    gap: 10px;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a.mobile-active {
    background: #f8f7ff;
    color: #4f46e5;
    border-left-color: #4f46e5;
}
.mobile-panel-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    flex-shrink: 0;
}
.mobile-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    font-size: 0.95rem;
    transition: all 0.25s;
}
.mobile-btn:hover {
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

/* ---------- 面包屑 ---------- */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}
.breadcrumb {
    font-size: 0.85rem;
    color: #999;
}
.breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- 页面头部 ---------- */
.page-header {
      background: linear-gradient(175deg, #faf9ff 0%, #f5f3ff 20%, #ffffff 100%);
      padding: 60px 0 50px;
      text-align: center;
      border-bottom: 1px solid #f0f0f0;
}
.page-header .breadcrumb {
    margin-bottom: 16px;
}
.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.page-header h1 .highlight {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto 25px;
}

/* ---------- 按钮 ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: #fff;
}
.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid #111;
    color: #111;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
}
.btn-outline:hover {
    background: #111;
    color: #fff;
}
.btn-white {
    display: block;
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #4f46e5;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    color: #4f46e5;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 60px 0;
}
.index .section-title{ text-align: center;}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
	margin-top: 16px;
    letter-spacing: -0.3px;
	position: relative;
}
.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
}
.section-title.centered {
    text-align: center;
}
.section-subtitle.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-title.with-line {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title.with-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

/* ---------- 卡片组件 ---------- */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}
.card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.06));
}
.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}
.card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}
.card ul {
    list-style: none;
    margin-bottom: 16px;
}
.card ul li {
    padding: 6px 0;
    color: #444;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.card ul li::before {
    content: "✓";
    color: #4f46e5;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- 标签 ---------- */
.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.06));
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    margin: 3px 3px 3px 0;
    font-weight: 500;
    border: 1px solid rgba(79, 70, 229, 0.12);
}
.tag-blue {
    background: linear-gradient(135deg, rgba(0, 164, 239, 0.08), rgba(0, 120, 212, 0.06));
    color: #0078d4;
    border-color: rgba(0, 164, 239, 0.15);
}
.tag-green {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(79, 70, 229, 0.06));
    color: #4285f4;
    border-color: rgba(66, 133, 244, 0.15);
}

/* ---------- 表格 ---------- */
.compare-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}
.compare-table th {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}
.compare-table td {
    color: #555;
}
.compare-table .check {
    color: #4f46e5;
    font-weight: 700;
}

/* ---------- 流程步骤 ---------- */
.process-section {
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}
.process-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}
.process-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -40px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.3), rgba(124, 58, 237, 0.1));
    display: none;
}

/* ---------- 技术亮点网格 ---------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.tech-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.tech-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.tech-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}
.tech-text p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
}

/* ---------- FAQ组件 ---------- */
.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
}
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.faq-item:hover {
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.04);
}
.faq-question {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    background: #fafbfc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f0f0f5;
}
.faq-question::after {
    content: "▾";
    color: #4f46e5;
    font-size: 0.9rem;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
   
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px;
}
.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- CTA区块 ---------- */
.cta-block {
    background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
    color: #fff;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin: 40px 0 60px;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.2);
    filter: blur(60px);
}
.cta-block::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.15);
    filter: blur(50px);
}
.cta-block h2 {
    font-size: 1.7rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-block p {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    color: #ddd;
}
.cta-block .btn-primary {
    position: relative;
    z-index: 1;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 35px 0 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.9rem;
}

/* ---------- 侧边栏 ---------- */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}
.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #f0f0f0;
    margin-bottom: 24px;
}
.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}
.sidebar-cta {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
}
.sidebar-cta h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    border: none;
    padding: 0;
    color: #fff;
}
.sidebar-cta h3::after {
    display: none;
}
.sidebar-cta p {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

/* ---------- 内容布局 ---------- */
.content-layout {
    display: flex;
    gap: 40px;
    padding: 40px 0 60px;
}
.main-content {
    flex: 1;
    min-width: 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 769px) {
    .process-step:not(:last-child)::after {
        display: block;
    }
}

@media (max-width: 1024px) {
    .content-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-list,
    .header-contact {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .page-header h1 {
        font-size: 1.9rem;
    }
    .page-header p {
        font-size: 0.95rem;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .process-step::after {
        display: none;
    }
    .btn-primary,
    .btn-outline {
        display: block;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    .page-header h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.35rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .mobile-panel {
        width: 92%;
        max-width: none;
    }
}