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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    background: #ffffff;
    color: #0f1729;
    overflow-x: hidden;
}

/* Shader Background */
#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Magnetic Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 3rem;
    border-bottom: 1px solid #e5e7eb;
}

/* 起缘科技 ┊ 企业微信服务商标识（官方"正确使用"锁版） */
.nav-brand-divider {
    width: 1px;
    height: 20px;
    background: #d1d5db; /* 淡灰色竖线 */
    flex-shrink: 0;
}

/* 官方标识原样使用：蓝边为标识一部分，不改色/不加阴影动画 */
.nav-isp-logo {
    display: block;
    width: 150px;
    height: auto; /* 锁定 5.5:1 原始比例（≈150×27），避免拉伸变形 */
    flex-shrink: 0;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1a56db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: #1a56db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.magnetic-btn:hover {
    background: #1648b8;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.18);
}

.magnetic-btn span {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 8rem 2rem 4rem;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, #0f1729 0%, #0f1729 40%, #2d6ef0 50%, #0f1729 60%, #0f1729 100%);
    background-size: 250% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: titleShine 2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s 1 forwards;
}

@keyframes titleShine {
    from { background-position: 120% 0; }
    to { background-position: -40% 0; }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #6b7280;
    max-width: 560px;
    line-height: 1.8;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #0f1729;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Section Styles */
.section {
    position: relative;
    z-index: 10;
    padding: 8rem 2rem;
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 520px;
}

/* 3D Card Effect */
.card-3d {
    position: relative;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 2rem;
    cursor: pointer;
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(26, 86, 219, 0.28), rgba(0, 229, 255, 0.18)) border-box;
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(0, 229, 255, 0.18) 50%, transparent 100%);
    transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}

.card-3d > * {
    position: relative;
    z-index: 1;
}

.card-3d:hover {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(26, 86, 219, 0.85), rgba(0, 229, 255, 0.75)) border-box;
    box-shadow: 0 14px 36px -6px rgba(26, 86, 219, 0.18), 0 0 24px rgba(0, 229, 255, 0.12);
}

.card-3d:hover::before {
    left: 160%;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 1.25rem;
}

.card-tag {
    padding: 0.25rem 0.625rem;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Stats Section */
.stat-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem 1.75rem 1.5rem 2rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 0;
    width: 3px;
    height: 76%;
    background: #1a56db;
    border-radius: 0 2px 2px 0;
}

.stat-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 24px -4px rgba(26, 86, 219, 0.12);
    transform: translateY(-2px);
}

.stat-number {
    font-family: 'SF Mono', 'Monaco', 'Menlo', Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f1729;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Products Section */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-row:nth-child(even) .product-visual {
    order: 2;
}

.product-visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 55%, #f0f9ff 100%);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(26, 86, 219, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 86, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9), transparent 78%);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9), transparent 78%);
    pointer-events: none;
}

.product-row:hover .product-visual {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(26, 86, 219, 0.22), 0 0 28px rgba(0, 229, 255, 0.1);
}

.product-mockup {
    position: relative;
    z-index: 1;
    width: 82%;
    max-width: 420px;
}

.product-placeholder-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(26, 86, 219, 0.15);
    border-radius: 6px;
    font-family: 'SF Mono', 'Monaco', 'Menlo', Consolas, monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: #1a56db;
    text-transform: uppercase;
}

.product-badge {
    font-family: 'SF Mono', 'Monaco', 'Menlo', Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: #1a56db;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-badge::before {
    content: '';
    width: 22px;
    height: 1px;
    background: #1a56db;
}

.product-name {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: #0f1729;
}

.product-pitch {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
}

.product-features li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a56db, #00E5FF);
    margin-top: 0.5625rem;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.08);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.product-tag {
    padding: 0.3125rem 0.75rem;
    background: rgba(26, 86, 219, 0.06);
    border: 1px solid rgba(26, 86, 219, 0.12);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #1a56db;
    font-weight: 500;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a56db;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.product-cta:hover {
    gap: 0.75rem;
    color: #1648b8;
}

.product-cta svg {
    transition: transform 0.3s ease;
}

.product-cta:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .products-grid {
        gap: 4rem;
    }
    .product-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .product-row:nth-child(even) .product-visual {
        order: 0;
    }
}

/* Case Section */
.case-card {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    clip-path: inset(0 round 12px);
    -webkit-clip-path: inset(0 round 12px);
    text-decoration: none;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    will-change: transform;
}

.case-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.case-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #fff;
    margin-bottom: 0.75rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.case-card:hover .case-tag {
    background: rgba(255, 255, 255, 0.3);
}

.case-title {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease;
}

.case-card:hover .case-title {
    transform: translateY(-4px);
}

.case-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-desc {
    transform: translateY(0);
    opacity: 1;
}

/* Partners Section */
.partners-section {
    position: relative;
    padding: 5rem 0 6rem;
    background: #f9fafb;
    overflow: clip;
}

.partners-title {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-title h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #0f1729;
    margin-bottom: 0.5rem;
}

.partners-title p {
    font-size: 1rem;
    color: #6b7280;
}

.marquee-container {
    position: relative;
    overflow: visible;
    padding: 1rem 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, #f9fafb, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, #f9fafb, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    animation: marquee 45s linear infinite;
    width: max-content;
    padding: 0.5rem 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    margin: 0 0.375rem;
    background: #fff;
    border: 1px solid #1a56db;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 41, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
    border-color: #1648b8;
    box-shadow: 0 10px 24px -8px rgba(26, 86, 219, 0.25);
}

.partner-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.partner-item:hover .partner-name {
    color: #0f1729;
}

/* QR Code Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1729;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.qr-code-wrapper {
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.qr-code-img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    object-fit: contain;
}

.modal-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.modal-tip svg {
    flex-shrink: 0;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem 2rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-vision {
    text-align: center;
    padding: 1.5rem 0 2.5rem;
}

.vision-text {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: #6b7280;
    line-height: 1.4;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1a56db;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Video */
.video-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #0f1729;
}

.video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: #0f1729;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: #1a56db;
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f1729;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f1729;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #1a56db;
}

/* Grid overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(26, 86, 219, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle 460px at var(--mx, 50%) var(--my, 30%), rgba(0, 0, 0, 0.95), transparent 72%);
    mask-image: radial-gradient(circle 460px at var(--mx, 50%) var(--my, 30%), rgba(0, 0, 0, 0.95), transparent 72%);
}

/* Section label (terminal-style) */
.section-label {
    font-family: 'SF Mono', 'Monaco', 'Menlo', Consolas, monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    color: #1a56db;
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a56db);
}

.section-label::after {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, #1a56db, transparent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .magnetic-btn.nav-cta {
        display: none;
    }
}

/* Card as link (service cards link to sub-pages) */
a.card-3d {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== Service Sub-pages ===== */
.page-hero {
    position: relative;
    z-index: 10;
    padding: 11rem 2rem 5rem;
    text-align: center;
}

.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.page-hero .breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .breadcrumb a:hover {
    color: #1a56db;
}

.page-hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f1729;
    margin-bottom: 1.25rem;
}

.page-hero p {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.feature-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-block:hover {
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: 0 8px 24px -4px rgba(26, 86, 219, 0.12);
    transform: translateY(-2px);
}

.feature-block h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f1729;
    margin-bottom: 0.625rem;
}

.feature-block p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.feature-block .card-icon {
    margin-bottom: 1rem;
}

/* Process steps */
.process-step {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.process-step .step-num {
    font-family: 'SF Mono', 'Monaco', 'Menlo', Consolas, monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a56db;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f1729;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
}

/* Page CTA banner */
.page-cta {
    position: relative;
    z-index: 10;
    margin: 0 2rem;
}

.page-cta .cta-inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a56db 0%, #1648b8 100%);
    color: #fff;
}

.page-cta h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 0.875rem;
}

.page-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.page-cta .magnetic-btn {
    background: #fff;
    color: #1a56db;
}

.page-cta .magnetic-btn:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* 弹窗 / 移动菜单打开时锁定背景滚动；用 padding 补偿消失的滚动条宽度，
   避免页面整体横向跳动。--scrollbar-comp 由 JS 按实际滚动条宽度设置 */
body.scroll-locked {
    overflow: hidden;
    padding-right: var(--scrollbar-comp, 0px);
}
