/* ==================== 全局重置与基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    line-height: 1.65;
    color: #2d3748;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.07) 0%, transparent 25%);
    z-index: -2;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== 顶部横幅 ==================== */
.hero-banner {
    background: linear-gradient(135deg, #3a0ca3 0%, #4361ee 100%);
    color: white;
    text-align: center;
    padding: 110px 20px 90px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 12px 50px rgba(59, 38, 165, 0.4);
    z-index: 2;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%),
        repeating-conic-gradient(from 0deg, transparent 0deg 10deg, rgba(255,255,255,0.05) 10deg 20deg);
    animation: rotateBG 40s linear infinite;
    z-index: 1;
}

@keyframes rotateBG {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hero-banner.visible .banner-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner h1 {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.25);
    background: linear-gradient(to right, #ffffff, #d0e1ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-banner p {
    font-size: 1.4rem;
    opacity: 0.96;
    font-weight: 400;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== Tab 切换 ==================== */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 28px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 234, 254, 0.7);
    margin-bottom: 56px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    margin-top: -30px;
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.12);
}

.tab-btn {
    padding: 14px 36px;
    background: transparent;
    border: none;
    font-size: 1.12em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    color: #3a0ca3;
    border-radius: 52px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    letter-spacing: 0.3px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4361ee, #4cc9f0, #3a0ca3);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease, transform 0.45s ease;
    border-radius: 52px;
    transform: scale(0.92);
}

.tab-btn:hover {
    color: white;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 22px rgba(67, 97, 238, 0.4);
}

.tab-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.tab-btn.active {
    color: white;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 10px 28px rgba(67, 97, 238, 0.5);
}

.tab-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

/* ==================== 内容容器 ==================== */
.content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ==================== 解决方案卡片 ==================== */
.solution-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 52px;
    margin-bottom: 60px;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px) rotateX(6deg) perspective(1000px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 12px 36px rgba(0,0,0,0.09),
        inset 0 0 0 1px rgba(219, 234, 254, 0.6);
    border: 1px solid rgba(219, 234, 254, 0.7);
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4361ee, #4cc9f0, #3a0ca3, #7209b7);
    opacity: 0.85;
    z-index: 2;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.solution-card:hover {
    transform: translateY(-14px) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 22px 60px rgba(67, 97, 238, 0.35),
        inset 0 0 0 1px rgba(100, 116, 255, 0.3);
    border-color: rgba(100, 116, 255, 0.4);
}

.solution-card h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #1a202c;
    font-weight: 800;
    background: linear-gradient(135deg, #3a0ca3, #4361ee, #7209b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.solution-card .description {
    color: #4a5568;
    margin-bottom: 36px;
    font-size: 1.12em;
    line-height: 1.8;
    font-weight: 400;
}

.features-list h3 {
    font-size: 1.4em;
    margin: 32px 0 18px;
    color: #3a0ca3;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.features-list h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #4361ee, #4cc9f0);
    border-radius: 2px;
}

.features-list ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 32px;
}

.features-list li {
    margin-bottom: 16px;
    color: #2d3748;
    font-size: 1.08em;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    padding-left: 32px;
    transition: transform 0.2s ease;
}

.features-list li:hover {
    transform: translateX(4px);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #4361ee;
    font-weight: bold;
    font-size: 1.4em;
    text-shadow: 0 1px 2px rgba(67, 97, 238, 0.3);
}

.case-studies h3 {
    margin-top: 34px;
    color: #3a0ca3;
    font-weight: 700;
}

.case-studies ul {
    margin-top: 16px;
    list-style-type: none;
    padding-left: 0;
}

.case-studies li {
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.2s ease;
}

.case-studies li:hover {
    color: #4361ee;
}

.case-studies li:last-child {
    border-bottom: none;
}

/* ==================== 双栏布局 ==================== */
.dual-layout {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    align-items: stretch;
}

.text-col,
.image-col {
    flex: 1;
    min-width: 320px;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.solution-img {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    box-shadow: 
        0 14px 40px rgba(0,0,0,0.22),
        inset 0 0 0 1px rgba(219, 234, 254, 0.5);
    transition: 
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
        box-shadow 0.5s ease,
        filter 0.4s ease;
    border: 1px solid rgba(219, 234, 254, 0.6);
    filter: brightness(1.02) contrast(1.05);
}

.solution-card:hover .solution-img {
    transform: scale(1.06) rotate(0.8deg);
    box-shadow: 
        0 22px 56px rgba(67, 97, 238, 0.38),
        inset 0 0 0 1px rgba(100, 116, 255, 0.3);
    filter: brightness(1.05) contrast(1.1);
}

/* ==================== 按钮组 ==================== */
.action-buttons {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 52px;
    font-size: 1.12em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: none;
    min-width: 180px;
    text-align: center;
    letter-spacing: 0.6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #4361ee, #3a0ca3, #7209b7);
    color: white;
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.5);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.7s;
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 36px rgba(67, 97, 238, 0.65);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: #4361ee;
    border: 2px solid #4361ee;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.18);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(67, 97, 238, 0.08);
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 52px;
}

.btn-secondary:hover {
    background: transparent;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.35);
}

.btn-secondary:hover::after {
    width: 100%;
}

/* ==================== Tab 内容区域 ==================== */
.tab-content {
    display: none; /* 关键：默认隐藏，不占空间 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
}

.tab-content.active {
    display: block !important; /* 显示并占据空间 */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ==================== 通用淡入动画 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 模态框 ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 24px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(22px);
    margin: auto;
    padding: 48px;
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 24px 70px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(219, 234, 254, 0.7);
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.6s ease;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close {
    color: #a0aec0;
    float: right;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 22px;
    right: 26px;
    z-index: 1002;
    transition: color 0.25s ease, transform 0.2s ease;
}

.close:hover {
    color: #2d3748;
    transform: rotate(90deg);
}

.modal-body {
    margin: 28px 0;
    line-height: 1.8;
    color: #2d3748;
    font-size: 1.05em;
}

.modal-footer {
    text-align: right;
    margin-top: 36px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.feature-bullets li {
    margin-bottom: 14px;
    padding-left: 2em;
    position: relative;
    color: #2d3748;
    font-weight: 500;
}

.feature-bullets li::before {
    content: "✓";
    color: #4361ee;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.3em;
    text-shadow: 0 1px 2px rgba(67, 97, 238, 0.3);
}

.delivery-steps {
    padding-left: 32px;
    margin: 24px 0;
}
.delivery-steps li {
    margin-bottom: 14px;
    color: #4a5568;
    position: relative;
    font-weight: 500;
}
.delivery-steps li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 11px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.pricing-note {
    background: linear-gradient(to right, #f0f7ff, #e6f0ff, #dbeafe);
    padding: 24px;
    border-radius: 16px;
    margin-top: 28px;
    font-size: 1.08em;
    border-left: 5px solid #4361ee;
    box-shadow: inset 0 0 12px rgba(67, 97, 238, 0.1);
    position: relative;
}

.pricing-note::before {
    content: '💡';
    position: absolute;
    top: 12px;
    left: -20px;
    font-size: 1.2em;
}

.case-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 1em;
    background: #f8fbff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.case-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
    color: #2d3748;
    font-weight: 500;
}
.case-table tr:last-child td {
    border-bottom: none;
}
.case-table tr:nth-child(even) {
    background-color: #f0f7ff;
}

.video-container {
    margin: 36px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.28);
    background: #000;
    position: relative;
    aspect-ratio: 16 / 9;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#quote-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.05em;
}

#quote-form input,
#quote-form textarea {
    display: block;
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #cbd5e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.35s ease;
    background: #f8fafc;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#quote-form input:focus,
#quote-form textarea:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.18), inset 0 1px 3px rgba(0,0,0,0.08);
    background: white;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hero-banner {
        padding: 90px 20px 80px;
        clip-path: none;
    }
    .hero-banner h1 { font-size: 2.6rem; }
    .hero-banner p { font-size: 1.25rem; }
    .dual-layout { flex-direction: column; gap: 36px; }
    .text-col, .image-col { width: 100%; }
    .solution-img { max-width: 100%; border-radius: 18px; }
    .tab-container { flex-wrap: wrap; gap: 12px; padding: 22px 0; margin-top: -20px; }
    .tab-btn { padding: 12px 26px; font-size: 1.05em; }
    .action-buttons { flex-direction: column; gap: 16px; }
    .btn-primary, .btn-secondary { width: 100%; padding: 16px; min-width: auto; }
    .solution-card { padding: 36px 28px; }
    .modal-content { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .hero-banner h1 { font-size: 2.1rem; }
    .hero-banner p { font-size: 1.1rem; }
    .solution-card h2 { font-size: 2rem; }
}

