@import url('./fonts-local.css');

:root {
    --primary: #0a2463;
    --primary-light: #3e92cc;
    --secondary: #d4af37;
    --secondary-light: #f5e6ca;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --hero-overlay: rgba(5, 17, 51, 0.6);
    --card-shadow: 0 14px 35px rgba(10, 36, 99, 0.15);
}

[data-theme='sunset'] {
    --primary: #7c2d12;
    --primary-light: #f97316;
    --secondary: #f59e0b;
    --secondary-light: #ffe8b6;
    --bg: #fff7ed;
    --surface: #fff8f1;
    --text: #431407;
    --muted: #7c2d12;
    --hero-overlay: rgba(124, 45, 18, 0.55);
    --card-shadow: 0 14px 35px rgba(249, 115, 22, 0.2);
}

[data-theme='aurora'] {
    --primary: #064e3b;
    --primary-light: #14b8a6;
    --secondary: #84cc16;
    --secondary-light: #e6f9c9;
    --bg: #ecfeff;
    --surface: #f0fdfa;
    --text: #022c22;
    --muted: #115e59;
    --hero-overlay: rgba(6, 78, 59, 0.55);
    --card-shadow: 0 14px 35px rgba(20, 184, 166, 0.18);
}

[data-theme='royal'] {
    --primary: #312e81;
    --primary-light: #7c3aed;
    --secondary: #f472b6;
    --secondary-light: #fde2f3;
    --bg: #f5f3ff;
    --surface: #faf5ff;
    --text: #1f1147;
    --muted: #5b21b6;
    --hero-overlay: rgba(49, 46, 129, 0.58);
    --card-shadow: 0 14px 35px rgba(124, 58, 237, 0.2);
}

[data-theme='mono'] {
    --primary: #111827;
    --primary-light: #374151;
    --secondary: #f59e0b;
    --secondary-light: #fef3c7;
    --bg: #f3f4f6;
    --surface: #ffffff;
    --text: #111827;
    --muted: #4b5563;
    --hero-overlay: rgba(17, 24, 39, 0.62);
    --card-shadow: 0 14px 35px rgba(17, 24, 39, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% -20%, rgba(255, 255, 255, 0.95), var(--bg) 60%);
    transition: background 0.5s ease, color 0.5s ease;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.34), transparent 35%),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.2), transparent 40%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.hero-heading {
    font-family: 'Playfair Display', serif;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    position: relative;
    background: linear-gradient(132deg, var(--primary), var(--primary-light), var(--primary));
    background-size: 200% 200%;
    animation: gradientFlow 12s ease infinite;
}

.bg-gradient-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, transparent, var(--hero-overlay));
    pointer-events: none;
}

/* 避免 ::after 装饰层盖住区块内正文与图标（子内容需高于 z-index:0） */
.bg-gradient-primary > .container {
    position: relative;
    z-index: 1;
}

/* 首页英雄区：静态深蓝底 + CSS 动效层（星野 / 极光 / 流星） */
.hero-with-starfield.bg-gradient-primary {
    animation: none;
    background: linear-gradient(155deg, var(--primary) 0%, #0a1432 42%, var(--primary-light) 68%, #081028 100%);
    background-size: 100% 100%;
}

/* 蒙层在粒子下方，避免把旋转动感完全压没 */
.hero-with-starfield.bg-gradient-primary::after {
    z-index: 0;
}

.hero-with-starfield.bg-gradient-primary > .container {
    z-index: 3;
}

/* Three.js 粒子画布：在蒙层之上、极光之下，动效可见 */
.hero-bg-three {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-three canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* 动效包裹层：蒙层之上、正文之下（极光 + 流星） */
.hero-fx {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* 柔和极光气团，缓慢漂移 */
.hero-fx-aurora {
    position: absolute;
    inset: -25% -15%;
    opacity: 0.88;
    background:
        radial-gradient(ellipse 50% 42% at 18% 28%, rgba(62, 146, 204, 0.45), transparent 62%),
        radial-gradient(ellipse 46% 38% at 88% 18%, rgba(212, 175, 55, 0.18), transparent 58%),
        radial-gradient(ellipse 55% 48% at 72% 88%, rgba(100, 180, 230, 0.22), transparent 65%);
    animation: heroAuroraDrift 16s ease-in-out infinite alternate;
}

@keyframes heroAuroraDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.82;
    }
    100% {
        transform: translate(2.5%, -2%) scale(1.06);
        opacity: 1;
    }
}

/* 星点：多层径向渐变拼成星野 + 轻微闪烁 */
.hero-fx-stars {
    position: absolute;
    inset: 0;
    opacity: 0.95;
    background-image:
        radial-gradient(circle 1.4px at 10% 14%, rgba(255, 255, 255, 0.98), transparent),
        radial-gradient(circle 1px at 22% 38%, rgba(255, 246, 220, 0.95), transparent),
        radial-gradient(circle 1.2px at 35% 11%, rgba(230, 245, 255, 0.9), transparent),
        radial-gradient(circle 0.9px at 48% 52%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(circle 1.3px at 62% 22%, rgba(255, 255, 255, 0.92), transparent),
        radial-gradient(circle 1px at 76% 41%, rgba(255, 236, 200, 0.88), transparent),
        radial-gradient(circle 1.1px at 88% 16%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(circle 0.85px at 7% 62%, rgba(220, 240, 255, 0.82), transparent),
        radial-gradient(circle 1.25px at 19% 78%, rgba(255, 255, 255, 0.94), transparent),
        radial-gradient(circle 1px at 33% 66%, rgba(255, 248, 210, 0.9), transparent),
        radial-gradient(circle 1.15px at 52% 82%, rgba(255, 255, 255, 0.88), transparent),
        radial-gradient(circle 0.95px at 68% 58%, rgba(235, 250, 255, 0.86), transparent),
        radial-gradient(circle 1.35px at 84% 72%, rgba(255, 255, 255, 0.96), transparent),
        radial-gradient(circle 1px at 94% 48%, rgba(255, 236, 200, 0.85), transparent),
        radial-gradient(circle 1px at 14% 91%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(circle 1.2px at 41% 28%, rgba(250, 255, 255, 0.9), transparent),
        radial-gradient(circle 0.9px at 57% 9%, rgba(255, 255, 255, 0.84), transparent),
        radial-gradient(circle 1.1px at 72% 93%, rgba(255, 240, 200, 0.87), transparent),
        radial-gradient(circle 1px at 3% 44%, rgba(220, 235, 255, 0.8), transparent),
        radial-gradient(circle 1.15px at 96% 88%, rgba(255, 255, 255, 0.82), transparent),
        radial-gradient(circle 1.2px at 27% 55%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(circle 0.85px at 59% 37%, rgba(255, 250, 230, 0.85), transparent),
        radial-gradient(circle 1.3px at 82% 6%, rgba(240, 252, 255, 0.88), transparent),
        radial-gradient(circle 1px at 46% 96%, rgba(255, 255, 255, 0.78), transparent);
    background-size: 100% 100%;
    animation: heroStarShimmer 4.8s ease-in-out infinite alternate;
}

.hero-fx-stars--deep {
    inset: -8%;
    opacity: 0.55;
    mix-blend-mode: screen;
    transform: rotate(-8deg) scale(1.08);
    animation: heroStarParallax 22s linear infinite alternate, heroStarShimmer 6.2s ease-in-out infinite alternate-reverse;
    background-image:
        radial-gradient(circle 1px at 15% 25%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(circle 0.8px at 45% 18%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(circle 1.1px at 71% 33%, rgba(255, 230, 190, 0.72), transparent),
        radial-gradient(circle 0.9px at 33% 71%, rgba(230, 245, 255, 0.68), transparent),
        radial-gradient(circle 1px at 90% 62%, rgba(255, 255, 255, 0.74), transparent),
        radial-gradient(circle 0.85px at 61% 84%, rgba(255, 255, 255, 0.66), transparent),
        radial-gradient(circle 1.15px at 8% 88%, rgba(255, 248, 220, 0.7), transparent),
        radial-gradient(circle 0.95px at 52% 47%, rgba(255, 255, 255, 0.72), transparent),
        radial-gradient(circle 1px at 38% 8%, rgba(220, 240, 255, 0.65), transparent),
        radial-gradient(circle 0.8px at 77% 19%, rgba(255, 255, 255, 0.68), transparent),
        radial-gradient(circle 1.2px at 24% 93%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(circle 0.9px at 95% 12%, rgba(255, 236, 200, 0.65), transparent),
        radial-gradient(circle 1px at 66% 51%, rgba(240, 252, 255, 0.68), transparent),
        radial-gradient(circle 0.95px at 13% 51%, rgba(255, 255, 255, 0.66), transparent),
        radial-gradient(circle 1.1px at 56% 26%, rgba(255, 255, 255, 0.72), transparent);
    background-size: 100% 100%;
}

@keyframes heroStarShimmer {
    0% {
        opacity: 0.72;
        filter: brightness(0.92);
    }
    100% {
        opacity: 1;
        filter: brightness(1.12);
    }
}

@keyframes heroStarParallax {
    0% {
        transform: rotate(-8deg) scale(1.08) translate(0, 0);
    }
    100% {
        transform: rotate(-8deg) scale(1.08) translate(-1.8%, 1.2%);
    }
}

/* 流星：倾斜亮线划过（线性渐变 + 位移动画） */
.hero-meteor {
    position: absolute;
    z-index: 3;
    width: min(140px, 28vw);
    height: 2px;
    border-radius: 2px;
    right: -20%;
    top: 12%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 250, 235, 0.95) 82%, #fff 100%);
    box-shadow: 0 0 10px rgba(200, 235, 255, 0.65), 0 0 24px rgba(255, 255, 255, 0.35);
    transform: rotate(-38deg);
    opacity: 0;
    animation: heroMeteorDash 9s ease-in-out infinite;
}

.hero-meteor--b {
    width: min(100px, 22vw);
    top: 28%;
    right: -15%;
    animation-name: heroMeteorDashB;
    animation-delay: 3.4s;
    animation-duration: 11s;
    transform: rotate(-41deg);
}

.hero-meteor--c {
    width: min(120px, 26vw);
    top: 6%;
    right: -18%;
    animation-name: heroMeteorDashC;
    animation-delay: 6.8s;
    animation-duration: 10.5s;
    transform: rotate(-34deg);
}

@keyframes heroMeteorDash {
    0%,
    70%,
    100% {
        opacity: 0;
        transform: rotate(-38deg) translate3d(0, 0, 0);
    }
    72% {
        opacity: 1;
    }
    88% {
        opacity: 1;
        transform: rotate(-38deg) translate3d(-120%, 85%, 0);
    }
    92% {
        opacity: 0;
    }
}

@keyframes heroMeteorDashB {
    0%,
    65%,
    100% {
        opacity: 0;
        transform: rotate(-41deg) translate3d(0, 0, 0);
    }
    67% {
        opacity: 1;
    }
    83% {
        opacity: 1;
        transform: rotate(-41deg) translate3d(-130%, 95%, 0);
    }
    88% {
        opacity: 0;
    }
}

@keyframes heroMeteorDashC {
    0%,
    58%,
    100% {
        opacity: 0;
        transform: rotate(-34deg) translate3d(0, 0, 0);
    }
    60% {
        opacity: 1;
    }
    78% {
        opacity: 1;
        transform: rotate(-34deg) translate3d(-115%, 78%, 0);
    }
    82% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fx-aurora,
    .hero-fx-stars,
    .hero-fx-stars--deep,
    .hero-meteor,
    .hero-meteor--b,
    .hero-meteor--c {
        animation: none !important;
    }

    .hero-fx-stars--deep {
        transform: rotate(-8deg) scale(1.08);
    }

    .hero-fx-aurora,
    .hero-fx-stars {
        opacity: 0.88;
    }

    .hero-meteor,
    .hero-meteor--b,
    .hero-meteor--c {
        display: none;
    }
}

/* 「为什么选择我们」列表：圆底 + 纯白矢量，避免 secondary 与半透明底色同色（看似「没图标」） */
.bg-gradient-primary .why-us-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gradient-primary .why-us-icon svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    fill: #ffffff;
}

.bg-gradient-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.card-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-hover:hover {
    transform: translateY(-12px) rotateX(3deg);
    box-shadow: var(--card-shadow);
}

.service-card {
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 3px solid transparent;
    transform-style: preserve-3d;
    backdrop-filter: blur(2px);
}

.service-card:hover {
    border-bottom: 3px solid var(--secondary);
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.counter {
    transition: all 0.5s ease;
}

.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 1.5s ease;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 55%;
}

.why-us-visual {
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0d1b2a;
}

.why-us-visual__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(175deg, var(--primary), var(--primary-light));
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-nav.active {
    right: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
/* 浅色主色底：勿与 .bg-primary 混用 tailwind 的 bg-opacity，否则会被上行 !important 盖掉而变成实心色 */
.bg-primary-tint {
    background-color: color-mix(in srgb, var(--primary) 14%, var(--surface)) !important;
}
.bg-secondary { background-color: var(--secondary) !important; }
.hover\:text-secondary:hover { color: var(--secondary) !important; }
.hover\:bg-primary:hover { background-color: var(--primary-light) !important; }
.hover\:text-primary:hover { color: var(--primary-light) !important; }

a.rounded-full,
button.rounded-lg {
    position: relative;
    overflow: hidden;
}

a.rounded-full::before,
button.rounded-lg::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -30%;
    width: 40%;
    height: 400%;
    transform: rotate(18deg);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.45s ease;
}

a.rounded-full:hover::before,
button.rounded-lg:hover::before {
    left: 120%;
}

.theme-switcher {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    gap: 10px;
    align-items: end;
}

.theme-switcher-toggle {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease;
}

.theme-switcher-toggle:hover {
    transform: rotate(18deg) scale(1.07);
}

.theme-switcher-panel {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--card-shadow);
}

.theme-switcher.open .theme-switcher-panel {
    width: 188px;
    opacity: 1;
    transform: translateX(0);
    padding: 12px;
}

.theme-switcher-title {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.theme-options {
    display: flex;
    gap: 8px;
}

.theme-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
}

.theme-btn[data-theme='oceanic'] { background: linear-gradient(135deg, #0a2463, #3e92cc); }
.theme-btn[data-theme='sunset'] { background: linear-gradient(135deg, #7c2d12, #f97316); }
.theme-btn[data-theme='aurora'] { background: linear-gradient(135deg, #064e3b, #14b8a6); }
.theme-btn[data-theme='royal'] { background: linear-gradient(135deg, #312e81, #7c3aed); }
.theme-btn[data-theme='mono'] { background: linear-gradient(135deg, #111827, #f59e0b); }

.theme-btn.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

@keyframes gradientFlow {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    box-shadow: var(--card-shadow);
    background: #fff;
}

.brand-mark--sm {
    width: 40px;
    height: 40px;
}

.brand-mark--footer {
    width: 48px;
    height: 48px;
    background: transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-visual {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.hero-visual-inner {
    text-align: center;
    padding: 2rem;
}

/* 英雄区：实拍/场景图（与会议室商务风截图一致） */
.hero-visual--photo {
    padding: 0;
    min-height: 0;
    overflow: hidden;
    display: block;
    backdrop-filter: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-visual-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.hero-visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.25rem 1.25rem 1.1rem;
    text-align: center;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.92) 0%, rgba(10, 36, 99, 0.45) 55%, transparent 100%);
}

.hero-visual-caption__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.hero-visual-caption__sub {
    display: block;
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.92);
    letter-spacing: 0.12em;
}

.about-visual {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

/* 关于我们：左侧标语卡 — 白底叠柔光渐变，与右侧面板同级质感 */
.about-visual--statement {
    position: relative;
    border-radius: 1.35rem;
    align-self: stretch;
    overflow: hidden;
    background-color: var(--surface);
    background-image:
        radial-gradient(ellipse 130% 95% at 100% -25%, color-mix(in srgb, var(--secondary) 16%, transparent) 0%, transparent 55%),
        radial-gradient(ellipse 100% 75% at -15% 105%, color-mix(in srgb, var(--primary) 8%, transparent) 0%, transparent 48%),
        linear-gradient(165deg, var(--surface) 0%, color-mix(in srgb, var(--secondary-light) 14%, var(--surface)) 100%);
    border: 1px solid color-mix(in srgb, var(--secondary) 22%, rgba(0, 0, 0, 0.06));
    box-shadow:
        0 12px 40px rgba(10, 36, 99, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* 细网格：极轻纹理，打破纯渐变平板感 */
.about-visual--statement::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.28;
    background-image: linear-gradient(rgba(0, 0, 0, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.028) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 18%, transparent 68%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 18%, transparent 68%);
}

.about-visual__inner {
    position: relative;
    z-index: 1;
}

.about-visual__rule {
    display: block;
    width: 3rem;
    height: 2px;
    border-radius: 1px;
    background: var(--secondary);
    opacity: 0.85;
}

.about-visual__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
}

/* 仅轻微阴影与描边变化，无放大、无双层光晕 */
.about-visual--statement:hover {
    border-color: color-mix(in srgb, var(--secondary) 35%, rgba(0, 0, 0, 0.06));
    box-shadow:
        0 16px 44px rgba(10, 36, 99, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-visual:hover {
    transform: none;
}

.about-visual--statement:hover .about-visual__tag {
    border-color: rgba(0, 0, 0, 0.12);
}

/* 关于我们：左右栏同高；右侧列表加间距，与左侧卡片版式对齐 */
@media (max-width: 767px) {
    .about-visual--statement {
        min-height: clamp(300px, 72vw, 420px);
    }
}

@media (min-width: 768px) {
    #about .about-split__col--visual,
    #about .about-split__col--advantages {
        min-height: 0;
    }

    .about-visual--statement {
        min-height: 0;
        flex: 1 1 auto;
    }

    .about-advantages-panel {
        min-height: 100%;
    }
}

.about-advantages-panel {
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-advantages-panel:hover {
    box-shadow: 0 18px 48px rgba(10, 36, 99, 0.09);
    border-color: color-mix(in srgb, var(--secondary) 35%, var(--surface));
}

.case-card-price {
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.case-card-price__num {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.case-card-price__unit {
    font-size: 1.15rem;
    font-weight: 700;
    margin-left: 0.2em;
    opacity: 0.95;
}

.case-card-price--1 .case-card-price__num,
.case-card-price--1 .case-card-price__unit { color: #c2410c; }

.case-card-price--2 .case-card-price__num,
.case-card-price--2 .case-card-price__unit { color: #1d4ed8; }

.case-card-price--3 .case-card-price__num,
.case-card-price--3 .case-card-price__unit { color: #0f766e; }

.case-card-price--4 .case-card-price__num,
.case-card-price--4 .case-card-price__unit { color: #6d28d9; }

.case-card-price--5 .case-card-price__num,
.case-card-price--5 .case-card-price__unit { color: #047857; }

.case-card-price--6 .case-card-price__num,
.case-card-price--6 .case-card-price__unit { color: #b45309; }

/* —— 滚动入场：区块标题与统计 —— */
.section-intro {
    opacity: 0;
    transform: translateY(2rem);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

section.section-in-view .section-intro {
    opacity: 1;
    transform: translateY(0);
}

.section-intro .w-24.h-1 {
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

section.section-in-view .section-intro .w-24.h-1 {
    transform: scaleX(1);
}

.stats-strip {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--primary) 4%, #fff) 45%, #ffffff 100%);
    background-size: 100% 220%;
    transition: background-position 0.1s linear;
}

section:not(.section-in-view) .stat-cell .counter,
section:not(.section-in-view) .stat-cell > p {
    opacity: 0;
    transform: translateY(12px);
}

section.section-in-view .stat-cell .counter,
section.section-in-view .stat-cell > p {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

section.section-in-view .stat-cell:nth-child(1) .counter,
section.section-in-view .stat-cell:nth-child(1) > p {
    transition-delay: 0.05s;
}

section.section-in-view .stat-cell:nth-child(2) .counter,
section.section-in-view .stat-cell:nth-child(2) > p {
    transition-delay: 0.12s;
}

section.section-in-view .stat-cell:nth-child(3) .counter,
section.section-in-view .stat-cell:nth-child(3) > p {
    transition-delay: 0.19s;
}

section.section-in-view .stat-cell:nth-child(4) .counter,
section.section-in-view .stat-cell:nth-child(4) > p {
    transition-delay: 0.26s;
}

/* 页头：滚动后加强层次 */
.site-header.header-scrolled {
    box-shadow: 0 10px 32px rgba(10, 36, 99, 0.14);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 主导航：悬停下划线 */
.site-header nav.desktop-nav a {
    position: relative;
    transition: color 0.25s ease;
}

.site-header nav.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header nav.desktop-nav a:hover::after {
    width: 100%;
}

/* 数据统计格：悬停浮起 */
.stat-cell {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background-color 0.3s ease;
    border-radius: 14px;
}

.stat-cell:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(10, 36, 99, 0.12);
    background: color-mix(in srgb, var(--surface) 92%, var(--primary-light) 8%);
}

/* 案例卡片：图片放大 */
.card-hover img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 企业服务能力：标题侧 icon 微动效 */
.strength-card__icon {
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.strength-card:hover .strength-card__icon {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(10, 36, 99, 0.12);
    background-color: color-mix(in srgb, var(--secondary) 28%, var(--surface)) !important;
}

/* 业务板块：大图标底 */
.services-feature-card__icon-wrap {
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

.services-feature-card:hover .services-feature-card__icon-wrap {
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 12px 28px rgba(10, 36, 99, 0.14);
}

/* 时间线卡片 */
.timeline-content {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.timeline-item::before {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.timeline-item:hover::before {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 35%, transparent);
}

/* 联系区块图标底 */
#contact .rounded-full.bg-primary-tint {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

#contact .flex.gap-4:hover .rounded-full.bg-primary-tint {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(10, 36, 99, 0.15);
}

/* 页脚链接 */
footer a[href] {
    display: inline-block;
    transition: transform 0.28s ease, color 0.25s ease;
}

footer a[href]:hover {
    transform: translateX(5px);
}

/* Logo 徽标 */
header .brand-mark {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header .brand-mark:hover {
    transform: rotate(-4deg) scale(1.06);
}

/* 内链「预约沟通」箭头 */
.service-card a.inline-block .fa-arrow-right {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card a.inline-block:hover .fa-arrow-right {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }

    .theme-switcher {
        left: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-intro,
    section.section-in-view .stat-cell .counter,
    section.section-in-view .stat-cell > p {
        transition: none !important;
    }

    .section-intro {
        opacity: 1;
        transform: none;
    }

    .section-intro .w-24.h-1 {
        transform: scaleX(1);
    }

    section:not(.section-in-view) .stat-cell .counter,
    section:not(.section-in-view) .stat-cell > p {
        opacity: 1;
        transform: none;
    }

    .stat-cell:hover,
    .about-visual:hover,
    .timeline-item:hover .timeline-content,
    .card-hover:hover img,
    header .brand-mark:hover,
    footer a[href]:hover,
    #contact .flex.gap-4:hover .rounded-full.bg-primary-tint,
    .strength-card:hover .strength-card__icon,
    .services-feature-card:hover .services-feature-card__icon-wrap {
        transform: none;
    }
}
