/* ==================== Base Reset (from index.css) ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

html {
    width: 100%;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
    background-color: #f6f6f6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    max-width: 100%;
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }
    body {
        min-width: 320px;
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }
    body * {
        max-width: 100vw;
    }
}

@media (min-width: 769px) {
    body {
        min-width: 1200px;
        overflow-x: scroll;
    }
}

/* ==================== Shared Hero Base ==================== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 58, 92, 0.5) 50%, rgba(13, 33, 55, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


/* ==================== Data Service Page ==================== */

/* Hero Section Override */
.ds-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%);
}

.ds-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(26, 58, 92, 0.55) 50%, rgba(13, 33, 55, 0.75) 100%);
}

.ds-hero .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 900px;
    padding: 0 50px;
}

.ds-hero .hero-title {
    font-size: 56px;
    color: #fff;
    text-shadow: none;
    margin-bottom: 40px;
}

.ds-hero-desc {
    font-size: 20px;
    color: #fff;
    line-height: 1.8;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.ds-highlight-orange {
    color: #ff8d1a;
    font-weight: 600;
}

.ds-highlight-cyan {
    color: #4dd0e1;
    font-weight: 600;
}

.ds-highlight-green {
    color: #66bb6a;
    font-weight: 600;
}

.ds-highlight-yellow {
    color: #fdd835;
    font-weight: 600;
}

.ds-highlight-pink {
    color: #ec407a;
    font-weight: 600;
}

/* Common Section */
.ds-section {
    padding: 80px 0;
}

.ds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.ds-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.ds-section-subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
}

.ds-section-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
}

/* Section 1: 精细化数据清洗 - Cards Grid */
.ds-cleaning-section {
    background: #fff;
}

.ds-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ds-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.ds-card-img {
    height: 180px;
    overflow: hidden;
}

.ds-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-card-content {
    padding: 24px;
}

.ds-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.ds-card-text {
    font-size: 16px;
    line-height: 1.85;
}

/* Section 2: 全流程KPI监测 */
.ds-kpi-section {
    background: #f6f6f6;
}

.ds-kpi-section .ds-section-title,
.ds-kpi-section .ds-section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.ds-kpi-layout {
    display: grid;
    grid-template-columns: 1fr 265px;
    gap: 40px;
    align-items: start;
}

.ds-kpi-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ds-kpi-intro {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.ds-kpi-item {
    /* no extra style needed beyond children */
}

.ds-kpi-item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.ds-kpi-item-text {
    font-size: 16px;
    line-height: 1.85;
}

.ds-kpi-right {
    align-self: end;
}

.ds-kpi-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Section 3: 资深数据团队 */
.ds-team-section {
    background: #fff;
}

.ds-team-section .ds-section-intro {
    text-align: left;
    margin-bottom: 40px;
}

.ds-team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 5px;
}

.ds-team-item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
}

.ds-team-item-text {
    font-size: 16px;
    line-height: 1.85;
}

.ds-team-imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ds-team-imgs img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ds-team-item-img {
    display: none;
}

/* ==================== Responsive - Tablet (768px) ==================== */
@media (max-width: 768px) {
    .ds-hero {
        height: 350px;
    }

    .ds-hero .hero-content {
        padding: 40px 20px 0;
    }

    .ds-hero .hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .ds-hero-desc {
        font-size: 14px;
        line-height: 1.9;
    }

    .ds-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ds-section {
        padding: 50px 0;
    }

    .ds-section-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .ds-section-subtitle {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .ds-section-intro {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left;
    }

    /* Cleaning cards */
    .ds-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ds-card-img {
        height: 160px;
    }

    .ds-card-content {
        padding: 20px;
    }

    .ds-card-title {
        font-size: 18px;
    }

    .ds-card-text {
        font-size: 14px;
    }

    /* KPI section */
    .ds-kpi-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ds-kpi-left {
        gap: 20px;
    }

    .ds-kpi-intro,
    .ds-kpi-item-text {
        font-size: 14px;
    }

    .ds-kpi-item-title {
        font-size: 18px;
    }

    /* Team section */
    .ds-team-section .ds-section-intro {
        margin-bottom: 20px;
    }

    .ds-team-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 0;
    }

    .ds-team-item-title {
        font-size: 18px;
    }

    .ds-team-item-text {
        font-size: 14px;
    }

    .ds-team-imgs {
        display: none;
    }

    .ds-team-item-img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin-top: 16px;
    }
}

/* ==================== Responsive - Mobile (480px) ==================== */
@media (max-width: 480px) {
    .ds-hero {
        height: 350px;
    }

    .ds-hero .hero-content {
        padding: 40px 20px 0;
    }

    .ds-hero .hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .ds-hero-desc {
        font-size: 14px;
        line-height: 1.85;
    }

    .ds-section {
        padding: 38px 0;
    }

    .ds-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ds-section-title {
        font-size: 18px;
    }

    .ds-section-subtitle {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .ds-section-intro {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left;
    }

    .ds-cards-grid {
        gap: 20px;
    }

    .ds-card-img {
        height: 140px;
    }

    .ds-card-content {
        padding: 16px;
    }

    .ds-card-title {
        font-size: 18px;
    }

    .ds-card-text {
        font-size: 14px;
    }

    .ds-kpi-layout {
        gap: 20px;
    }

    .ds-kpi-left {
        gap: 20px;
    }

    .ds-kpi-intro,
    .ds-kpi-item-text {
        font-size: 14px;
    }

    .ds-kpi-item-title {
        font-size: 18px;
    }

    .ds-team-section .ds-section-intro {
        margin-bottom: 20px;
    }

    .ds-team-layout {
        gap: 20px;
        margin-bottom: 0;
    }

    .ds-team-item-title {
        font-size: 18px;
    }

    .ds-team-item-text {
        font-size: 14px;
    }

    .ds-team-imgs {
        display: none;
    }

    .ds-team-item-img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin-top: 16px;
    }
}
