/* web6 - 主题色 #fa709a / #fee140 */
:root {
    --primary: #fa709a;
    --primary-dark: #e85d8a;
    --secondary: #fee140;
    --dark: #1a1a1a;
    --text: #333;
    --text-muted: #666;
    --border: #f0e0e5;
    --bg: #fefafb;
    --white: #fff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(250, 112, 154, 0.12);
    --shadow-hover: 0 12px 28px rgba(250, 112, 154, 0.18);
    --gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 页面顶部留白（固定 pill 导航） */
body.has-pill-nav {
    padding-top: 0;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(250, 112, 154, 0.35);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(250, 112, 154, 0.45);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-link {
    background: none;
    color: var(--primary);
    padding: 8px 0;
}
.btn-link:hover {
    text-decoration: underline;
}

/* 内页通用：页面标题区 */
.page-hero,
.page-header {
    padding: 120px 0 64px;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.page-hero .container,
.page-header .container {
    max-width: 720px;
}
.page-hero h1,
.page-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.page-hero p,
.page-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* 内容区 */
.content-box {
    background: var(--white);
    padding: 40px;
    margin: 24px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.cont-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: var(--radius-sm);
}
.content-box span,
.content-box p {
    display: block;
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text);
}

/* 友情链接（内页独立块） */
.friendly-link {
    background: var(--white);
    padding: 28px;
    margin: 24px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.friendly-link .tit {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.friendly-link a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 10px 10px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg);
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}
.friendly-link a:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 卡片 */
.card,
.service-card,
.case-card,
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover,
.service-card:hover,
.case-card:hover,
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.card-title,
.service-card h3,
.case-card h3,
.news-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.card-text,
.service-card p,
.case-card .case-description,
.news-card .news-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 网格 */
.services-grid,
.cases-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.cases-grid .case-card .case-image img,
.case-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.case-content,
.news-card {
    padding: 24px;
}
.news-date {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-input,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* 联系页 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h2,
.contact-form h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}
.contact-details {
    list-style: none;
}
.contact-item {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}
.contact-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px 0;
}
.page-link {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.page-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.page-link.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

/* 旧 footer-box 兼容：不再需要背景，新 footer 自带 */
.footer-box {
    background: transparent;
    margin-top: 0;
    padding: 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .content-box {
        padding: 24px;
    }
    .page-hero {
        padding: 100px 0 48px;
    }
    .page-hero h1 {
        font-size: 1.75rem;
    }
}

/* 首页（web6.index） */
.idx-hero {
    position: relative;
    overflow: hidden;
    padding: 132px 0 72px;
    background:
        radial-gradient(800px 400px at 20% 10%, rgba(250, 112, 154, 0.22) 0%, rgba(250, 112, 154, 0) 60%),
        radial-gradient(900px 500px at 90% 20%, rgba(254, 225, 64, 0.25) 0%, rgba(254, 225, 64, 0) 65%),
        linear-gradient(180deg, #ffffff 0%, rgba(254, 250, 251, 1) 55%, rgba(255, 255, 255, 1) 100%);
}
.idx-hero::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -60px;
    height: 140px;
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.10), rgba(254, 225, 64, 0.14));
    transform: skewY(-4deg);
    filter: blur(0.2px);
}
.idx-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.idx-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
}
.idx-hero-label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gradient);
    box-shadow: 0 8px 22px rgba(250, 112, 154, 0.30);
}
.idx-hero-title {
    margin-top: 14px;
    font-size: 2.9rem;
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--dark);
}
.idx-hero-desc {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 42ch;
}
.idx-hero-btns {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.idx-hero-kpis {
    list-style: none;
    margin-top: 22px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.idx-hero-kpis li {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 10px 26px rgba(250, 112, 154, 0.08);
}
.idx-hero-kpis strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}
.idx-hero-kpis span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.idx-hero-media {
    display: grid;
    gap: 14px;
}
.idx-hero-media-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-hover);
    transform: rotate(1deg);
    background: #fff;
}
.idx-hero-media-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.idx-hero-media-note {
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow);
}
.idx-hero-media-note p {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
}
.idx-hero-media-note strong {
    color: var(--primary-dark);
}

.idx-about {
    padding: 72px 0;
    background: var(--white);
}
.idx-about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
    align-items: center;
}
.idx-about-img {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.idx-about-img img {
    width: 100%;
    height: auto;
    display: block;
}
.idx-about-heading {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
}
.idx-about-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}
.idx-about-highlights {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.idx-highlight {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}
.idx-highlight h4 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}
.idx-highlight p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.idx-services {
    padding: 72px 0;
    background: var(--bg);
}
.idx-services-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}
.idx-service-card {
    grid-column: span 4;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}
.idx-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 200px at 0% 0%, rgba(250, 112, 154, 0.12) 0%, rgba(250, 112, 154, 0) 55%),
        radial-gradient(500px 200px at 100% 0%, rgba(254, 225, 64, 0.16) 0%, rgba(254, 225, 64, 0) 55%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}
.idx-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(250, 112, 154, 0.20);
}
.idx-service-card:hover::before {
    opacity: 1;
}
.idx-service-card:nth-child(1),
.idx-service-card:nth-child(2) {
    grid-column: span 6;
}
.idx-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.18), rgba(254, 225, 64, 0.22));
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.idx-service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.idx-service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.idx-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}
.idx-service-link::after {
    content: "→";
    transition: transform 0.22s ease;
}
.idx-service-card:hover .idx-service-link::after {
    transform: translateX(2px);
}

.idx-advantages {
    padding: 72px 0;
    background: var(--white);
}
.idx-adv-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.idx-adv-card {
    background: var(--bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(250, 112, 154, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.idx-adv-card:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: var(--shadow-hover);
}
.idx-adv-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    background: var(--gradient);
    margin-bottom: 12px;
}
.idx-adv-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.idx-adv-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.idx-cases {
    padding: 72px 0;
    background: var(--bg);
}
.idx-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.idx-cases-track {
    display: flex;
    gap: 16px;
    overflow: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.idx-cases-track::-webkit-scrollbar {
    height: 10px;
}
.idx-cases-track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.10);
    border-radius: 999px;
}
.idx-case-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.idx-case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.idx-case-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.idx-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.idx-case-content {
    padding: 18px 18px 20px;
}
.idx-case-content h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.idx-case-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.idx-news {
    padding: 72px 0;
    background: var(--white);
}
.idx-news-list {
    display: grid;
    gap: 12px;
}
.idx-news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.idx-news-item:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: var(--shadow);
}
.idx-news-date {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--primary-dark);
}
.idx-news-body h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.idx-news-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.idx-contact {
    padding: 72px 0;
    background: var(--bg);
}
.idx-contact-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 22px;
    padding: 44px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
}
.idx-contact-card::before {
    content: "";
    position: absolute;
    inset: -60px -80px auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, rgba(250, 112, 154, 0.25), rgba(250, 112, 154, 0));
    pointer-events: none;
}
.idx-contact-info h2 {
    font-size: 1.55rem;
    font-weight: 850;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.idx-contact-info > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.idx-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.idx-contact-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

@media (max-width: 1024px) {
    .idx-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .idx-hero-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .idx-hero-btns {
        justify-content: center;
    }
    .idx-hero-media-frame {
        transform: none;
    }
    .idx-about-grid {
        grid-template-columns: 1fr;
    }
    .idx-about-highlights {
        grid-template-columns: 1fr;
    }
    .idx-services-bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .idx-service-card {
        grid-column: span 3;
    }
    .idx-service-card:nth-child(1),
    .idx-service-card:nth-child(2) {
        grid-column: span 6;
    }
    .idx-adv-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .idx-news-item {
        grid-template-columns: 1fr;
    }
    .idx-contact-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
@media (max-width: 640px) {
    .idx-hero {
        padding: 110px 0 56px;
    }
    .idx-hero-title {
        font-size: 2.1rem;
    }
    .idx-hero-kpis {
        grid-template-columns: 1fr;
    }
    .idx-services-bento {
        grid-template-columns: 1fr;
    }
    .idx-service-card,
    .idx-service-card:nth-child(1),
    .idx-service-card:nth-child(2) {
        grid-column: auto;
    }
    .idx-adv-rail {
        grid-template-columns: 1fr;
    }
    .idx-case-card {
        flex-basis: 300px;
    }
    .idx-contact-card {
        padding: 26px;
    }
}

/* 从service.html提取的样式 */
/* 英雄区域（service.html） */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 24px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 服务区块（service.html） */
.services {
    background: white;
}

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

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 30px;
    font-size: 40px;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-content {
    padding: 0 30px 40px;
    text-align: center;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-features {
    text-align: left;
    margin-bottom: 30px;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.service-feature::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

/* 服务详情（service.html） */
.service-details {
    background: #f8fafc;
}

.service-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-details-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-details-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-details-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.service-details-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-details-list {
    margin-bottom: 30px;
}

.service-details-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-details-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.service-details-item-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-details-item-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 服务流程（service.html） */
.process {
    background: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 20px -5px rgba(99, 102, 241, 0.5);
}

.process-step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.process-step-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 常见问题（service.html） */
.faq {
    background: #f8fafc;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-answer {
    padding: 0 30px 24px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

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

.faq-toggle {
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle.active {
    transform: rotate(45deg);
}

/* 响应式设计（service.html） */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 20px;
    }

    .service-details-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-details-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .service-details-text h3 {
        font-size: 24px;
    }

    .service-details-text p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .service-card {
        padding: 0;
    }

    .service-content {
        padding: 0 20px 30px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin: 30px auto 20px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
    }
}
