/* 页面通用样式 */
.page-header {
    padding: calc(var(--nav-height) + 4.5rem) 0 3.5rem;
    background: radial-gradient(1000px 500px at 20% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(135deg, #0b1220 0%, #1d2a55 45%, #3a2a6f 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    margin-bottom: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 60ch;
    margin: 0 auto;
}

/* 咨询页面样式 */
.consulting-intro {
    padding: 4.75rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 900;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 1.6rem;
    line-height: 1.85;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 0.7rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.check-list li i {
    color: #22c55e;
    font-size: 1.2rem;
}

.intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* 咨询流程 */
.consulting-process {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.6));
    padding: 4.75rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    align-items: center;
}

.process-step {
    text-align: center;
    padding: 2rem 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-arrow {
    text-align: center;
    color: rgba(37, 99, 235, 0.7);
    font-size: 1.25rem;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.05rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.30);
}

.step-icon {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin: 1.4rem 0 0.9rem;
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
    color: var(--text-dark);
    font-weight: 900;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 咨询类型 */
.consulting-types {
    padding: 4.75rem 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}

.type-card {
    background: rgba(255, 255, 255, 0.92);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.type-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.type-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.type-card > p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.type-card ul {
    list-style: none;
    padding-left: 0;
}

.type-card ul li {
    padding: 0.55rem 0;
    color: var(--text-light);
    border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
    font-size: 0.92rem;
}

.type-card ul li:last-child {
    border-bottom: none;
}

/* 表单样式 */
.consulting-form-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(248, 250, 252, 0.95));
    padding: 4.75rem 0;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1040px;
    margin: 0 auto;
}

.consulting-form, .contact-form {
    background: rgba(255, 255, 255, 0.94);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
    background: rgba(248, 250, 252, 0.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: var(--ring);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}

/* 联系信息侧边栏 */
.contact-info-sidebar {
    background: rgba(255, 255, 255, 0.94);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 900;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0.15rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* FAQ */
.faq-section, .contact-faq {
    padding: 4.75rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.92);
    padding: 2rem;
    margin-bottom: 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 900;
}

.faq-item h3 i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.85;
    margin: 0;
}

/* 服务详情页 */
.service-detail {
    padding: 4.75rem 0;
}

.service-detail.alt {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(248, 250, 252, 0.95));
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.detail-content.reverse {
    direction: rtl;
}

.detail-content.reverse > * {
    direction: ltr;
}

.service-badge {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.detail-text h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.detail-text .lead {
    font-size: 1.12rem;
    color: rgba(37, 99, 235, 0.95);
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.detail-text > p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.6rem;
}

.features-list {
    margin-bottom: 1.4rem;
}

.features-list h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.features-list ul {
    list-style: none;
}

.features-list ul li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.features-list ul li i {
    color: #22c55e;
    font-size: 1.05rem;
    margin-top: 0.25rem;
}

.tech-stack h4 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tags span {
    padding: 0.45rem 0.85rem;
    background: rgba(248, 250, 252, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 700;
}

.detail-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* 案例页面样式 */
.cases-filter {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.7rem 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: var(--text-dark);
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.25);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), #5b8cff);
    border-color: transparent;
    color: white;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.cases-showcase {
    padding: 4.75rem 0;
}

.cases-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.6rem;
}

.case-item {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    opacity: 1;
    transform: scale(1);
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.case-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.case-item:hover .case-image-wrapper img {
    transform: scale(1.08);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 55%);
    padding: 1rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-tags span {
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--primary-color);
}

.case-content {
    padding: 1.4rem 1.5rem 1.6rem;
}

.case-content h3 {
    font-size: 1.18rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 900;
}

.case-content > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.case-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    color: var(--text-light);
}

.stat-item i {
    color: rgba(37, 99, 235, 0.95);
}

.case-tech {
    font-size: 0.92rem;
    color: var(--text-light);
}

.case-tech strong {
    color: var(--text-dark);
}

.case-tech span {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    margin-left: 0.45rem;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
}

/* 解决方案页面 */
.solutions-intro {
    padding: 4.75rem 0;
}

.solutions-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.overview-card {
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.overview-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.9rem;
}

.overview-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.55rem;
    color: var(--text-dark);
    font-weight: 900;
}

.overview-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.solution-detail {
    padding: 4.75rem 0;
}

.solution-detail.alt {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(248, 250, 252, 0.95));
}

.solution-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.solution-content.reverse {
    direction: rtl;
}

.solution-content.reverse > * {
    direction: ltr;
}

.solution-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.solution-text h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.solution-text .lead {
    font-size: 1.12rem;
    color: rgba(37, 99, 235, 0.95);
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.solution-text > p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.6rem;
}

.solution-features {
    margin-bottom: 1.6rem;
}

.solution-features h3 {
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    color: var(--text-dark);
    font-weight: 900;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}

.feature-box {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.feature-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-box h4 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-weight: 900;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.solution-benefits {
    margin-top: 1.6rem;
}

.solution-benefits h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.solution-benefits ul {
    list-style: none;
}

.solution-benefits ul li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.solution-benefits ul li i {
    color: #22c55e;
    font-size: 1.15rem;
    margin-top: 0.2rem;
}

.solution-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}

.more-industries {
    padding: 4.75rem 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(248, 250, 252, 0.95));
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.industry-card {
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.industry-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.9rem;
}

.industry-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.55rem;
    color: var(--text-dark);
    font-weight: 900;
}

.industry-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 联系页面 */
.contact-info-section {
    padding: 4.75rem 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.6));
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.contact-info-card {
    text-align: left;
    padding: 2.2rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 900;
}

.contact-info-card p {
    color: var(--text-light);
    margin: 0.4rem 0;
}

.contact-info-card .time {
    color: rgba(37, 99, 235, 0.95);
    font-weight: 900;
    font-size: 0.92rem;
    margin-top: 0.85rem;
}

.contact-form-section {
    padding: 4.75rem 0;
}

.contact-form-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.map-section {
    padding: 4.75rem 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(248, 250, 252, 0.95));
}

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.map-container {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    margin: 0.4rem 0;
}

.map-hint {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0.35rem 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: calc(var(--nav-height) + 3.75rem) 0 3rem;
    }

    .intro-content,
    .detail-content,
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .cases-grid-full {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tab {
        text-align: center;
    }
}
