/* =============================================
   海南星慕网络科技有限公司 - 主样式表
   现代简约 · 蓝白灰主调
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.logo-icon {
    color: #2563eb;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e293b;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edf5 40%, #f5f7fa 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-text {
    flex: 1;
    max-width: 540px;
    flex-shrink: 0;
}

.hero-visual {
    flex: 1.3;
    max-width: 540px;
    display: flex;
    justify-content: flex-end;
    margin-left: 12px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ---------- Hero 代码块 ---------- */
/* 已移除，不再使用 */

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 13px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Hero 装饰几何图形 ---------- */
/* 已移除 */

/* ---------- Hero 信任条 ---------- */
.hero-trust {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.trust-logos {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-logo-item {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.3px;
    position: relative;
}

.trust-logo-item::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #d1d5db;
}

.trust-logo-item:last-child::after {
    display: none;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.btn-primary:hover {
    background: #0f172a;
    border-color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.2);
}

.btn-outline {
    background: transparent;
    color: #1e293b;
    border-color: #d1d5db;
}

.btn-outline:hover {
    border-color: #1e293b;
    background: rgba(30, 41, 59, 0.04);
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
}

/* ---------- Section Common ---------- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.about-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.about-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    color: #2563eb;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.service-num {
    font-size: 32px;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    margin-bottom: 12px;
    font-feature-settings: "tnum";
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.service-card > p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tech li {
    font-size: 12px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* ---------- Cases ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.case-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}

.case-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.case-card:hover .case-img img {
    transform: scale(1.05);
}

.case-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.case-body {
    padding: 24px;
}

.case-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.case-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 16px;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-tags span {
    font-size: 12px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* ---------- Stats ---------- */
.stats {
    background: #1e293b;
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-num {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    font-feature-settings: "tnum";
}

.stat-num::after {
    content: '+';
    color: #60a5fa;
    font-size: 28px;
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 500;
}

/* ---------- Contact / Message Board ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #4b5563;
}

.info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #2563eb;
}

.info-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.form-success.show {
    display: block;
}

.form-success svg {
    color: #10b981;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-success p {
    color: #6b7280;
}

/* ---------- Footer ---------- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 64px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand .logo .logo-icon {
    color: #60a5fa;
}

.footer-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #64748b;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #475569;
}

.footer-icp {
    color: #475569;
}

/* ---------- Back to Top ---------- */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: #f8fafc;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ---------- Page Banner (独立页面顶部) ---------- */
.page-banner {
    padding: 140px 0 64px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edf5 40%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-banner-content p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- About Detail ---------- */
.about-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-detail-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.about-detail-text p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-stat-item {
    text-align: center;
    padding: 32px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.about-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.about-stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.team-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.team-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 13px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, #2563eb, #e5e7eb);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    font-feature-settings: "tnum";
}

.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
}

/* ---------- Contact Info Note ---------- */
.contact-info-note {
    margin-top: 8px;
    padding: 16px 0 0 34px;
}

.contact-info-note p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid::before {
        display: none;
    }

    .about-detail {
        grid-template-columns: 1fr;
    }

    .about-detail-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #e5e7eb;
        padding: 16px 24px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero-content {
        flex-direction: column;
        gap: 32px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual {
        max-width: 100%;
        justify-content: center;
    }

    .hero-img {
        max-width: 360px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }

    .hero-trust {
        margin-top: 32px;
        padding-top: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .trust-logos {
        gap: 20px;
    }

    .trust-logo-item {
        font-size: 13px;
    }

    .trust-logo-item::after {
        right: -10px;
        height: 10px;
    }

    .code-block {
        font-size: 11px;
        padding: 16px;
    }

    .code-block pre {
        font-size: 11px;
    }

    .section {
        padding: 64px 0;
    }

    .page-banner {
        padding: 100px 0 48px;
    }

    .page-banner-content h1 {
        font-size: 30px;
    }

    .page-banner-content p {
        font-size: 15px;
    }

    .about-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-detail-text h2 {
        font-size: 24px;
    }

    .about-detail-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    .section-header h2 {
        font-size: 28px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-num {
        font-size: 36px;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

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

    .hero h1 {
        font-size: 28px;
    }

.hero-content {
        gap: 24px;
    }

    .hero-img {
        max-width: 280px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-shapes .shape-3,
    .hero-shapes .shape-4 {
        display: none;
    }

    .hero-trust {
        margin-top: 24px;
        padding-top: 20px;
    }

    .trust-logos {
        gap: 12px;
    }

    .trust-logo-item {
        font-size: 12px;
    }

    .trust-logo-item::after {
        display: none;
    }

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

    .page-banner {
        padding: 80px 0 40px;
    }

    .page-banner-content h1 {
        font-size: 24px;
    }

    .about-detail-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .back-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ---------- Fade-in animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 页面切换过渡动画 ---------- */
@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes page-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

body.page-enter {
    animation: page-enter 0.45s ease-out both;
}

body.page-exit {
    animation: page-exit 0.3s ease-in both;
}

/* 支持 View Transitions API 的浏览器用原生过渡 */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: page-exit 0.3s ease-in both;
}

::view-transition-new(root) {
    animation: page-enter 0.45s ease-out both;
}