
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-base: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(124, 58, 237, 0.35);

    --color-text-main: #1a1a1f;
    --color-text-sub: #6b7280;
    --color-text-muted: #9ca3af;

    --color-accent: #7c3aed;
    --color-accent-2: #6366f1;
    --color-accent-3: #3b82f6;

    --gradient-brand: linear-gradient(135deg, #7c3aed, #6366f1, #3b82f6);
    --gradient-border: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.3));

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.2s ease;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 8px;
}

/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-smooth); }
::selection { background-color: rgba(124, 58, 237, 0.15); color: var(--color-text-main); }

/* =========================================================
   滚动进度条
   ========================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-brand);
    z-index: 9999;
    transition: none;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

/* =========================================================
   全局鼠标光晕
   ========================================================= */

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: left, top;
}

/* =========================================================
   按钮
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--border-radius-xs);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
    filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; filter: none; }

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--gradient-brand);
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
}
.btn-glow:hover::after { opacity: 0.4; }

.btn-secondary {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text-main);
}
.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* 脉冲点 */
.pulse-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    position: relative;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}
.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: #22c55e;
    opacity: 0.4;
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(2.2); opacity: 0; }
}

/* =========================================================
   导航栏
   ========================================================= */

.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: rgba(248, 249, 250, 0.7);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all var(--transition-smooth);
    animation: headerSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border-color);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-area:hover .logo-icon { transform: scale(1.08); }

.logo-icon {
    width: 28px; height: 28px;
    transition: transform var(--transition-smooth);
}
.logo-icon svg { width: 28px; height: 28px; }

.logo-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.1rem; font-weight: 600; color: var(--color-text-main); }
.brand-subtitle { font-size: 0.6rem; font-weight: 500; color: var(--color-text-sub); letter-spacing: 0.12em; margin-top: -1px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    color: var(--color-text-sub);
    border-radius: var(--border-radius-xs);
    transition: color var(--transition-smooth), background var(--transition-fast);
    position: relative;
}
.nav-link:hover { color: var(--color-text-main); background: rgba(0, 0, 0, 0.04); }
.nav-link.active { color: var(--color-accent); font-weight: 500; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* 语言切换按钮 */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--color-text-sub);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.04em;
}
.lang-toggle:hover {
    color: var(--color-text-main);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
}

.mobile-menu-btn {
    display: none;
    background: none; border: none;
    color: var(--color-text-main);
    cursor: pointer; padding: 6px;
    border-radius: var(--border-radius-xs);
}
.mobile-menu-btn:hover { background: rgba(0, 0, 0, 0.05); }

/* 抽屉菜单 */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 199;
    pointer-events: none;
    transition: background var(--transition-smooth);
}
.drawer-overlay.active { background: rgba(0, 0, 0, 0.3); pointer-events: auto; }

.mobile-drawer {
    position: fixed; top: 0; right: 0;
    width: 300px; height: 100%;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    z-index: 200;
    display: flex; flex-direction: column;
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer-title { font-weight: 600; font-size: 1.05rem; color: var(--color-text-main); }
.drawer-close {
    background: none; border: none;
    color: var(--color-text-sub);
    cursor: pointer; padding: 6px;
    border-radius: var(--border-radius-xs);
}
.drawer-close:hover { background: rgba(0, 0, 0, 0.05); color: var(--color-text-main); }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-link {
    font-size: 1rem; color: var(--color-text-sub);
    padding: 12px 16px;
    border-radius: var(--border-radius-xs);
    transition: all var(--transition-fast);
}
.drawer-link:hover { background: rgba(0, 0, 0, 0.04); color: var(--color-text-main); }
.drawer-link.active { background: rgba(124, 58, 237, 0.08); color: var(--color-accent); font-weight: 500; }

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-bg .orb-1 {
    width: 600px; height: 600px;
    top: -15%; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    animation: orbFloat1 8s ease-in-out infinite;
}
.hero-bg .orb-2 {
    width: 400px; height: 400px;
    bottom: 10%; left: -5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: orbFloat2 10s ease-in-out infinite;
}
.hero-bg .orb-3 {
    width: 350px; height: 350px;
    bottom: 20%; right: -5%;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.06) 0%, transparent 70%);
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(30px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(15px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-25px) translateX(-10px); }
}

/* Hero 入场动画 */
.hero-anim {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.4s; }
.hero-anim-3 { animation-delay: 0.6s; }
.hero-anim-4 { animation-delay: 0.8s; }
.hero-anim-5 { animation-delay: 1.0s; }
.hero-anim-6 { animation-delay: 1.2s; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* 超大品牌标题 */
.hero-brand {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
}
.hero-brand .brand-highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
}
.hero-brand .brand-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-brand);
    border-radius: 3px;
    opacity: 0.3;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    color: var(--color-text-sub);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-smooth);
}
.tagline-badge:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1a1a1f 0%, #7c3aed 40%, #3b82f6 70%, #7c3aed 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* =========================================================
   3D 产品展示窗口（保持深色作为对比元素）
   ========================================================= */

.hero-showcase {
    width: 100%;
    max-width: 680px;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

.showcase-window {
    background: #1e1e2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: rotateX(8deg) rotateY(-2deg) scale(0.95);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 0 40px rgba(124, 58, 237, 0.06);
}

.showcase-window:hover {
    transform: rotateX(2deg) rotateY(0deg) scale(0.98);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 0 80px rgba(124, 58, 237, 0.1);
}

.window-glow {
    position: absolute;
    inset: -2px;
    border-radius: 13px;
    background: var(--gradient-border);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}
.showcase-window:hover .window-glow { opacity: 1; }

.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; }
.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.window-body {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* 打字机效果 */
.typewriter-line {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.typewriter-line.typed {
    opacity: 1;
    transform: translateX(0);
}
.typewriter-line.typing::after {
    content: '▋';
    color: #a78bfa;
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}
@keyframes blink {
    50% { opacity: 0; }
}

.console-line { display: flex; gap: 6px; flex-wrap: wrap; }
.console-prompt { color: #a78bfa; font-weight: 600; }
.console-cmd { color: #4ade80; }
.console-str { color: #fbbf24; word-break: break-all; }
.console-flag { color: #60a5fa; }
.console-bracket { color: rgba(255, 255, 255, 0.5); }
.console-key { color: #c4b5fd; }
.console-colon { color: rgba(255, 255, 255, 0.3); margin-right: 4px; }
.console-val { color: #34d399; }
.console-comma { color: rgba(255, 255, 255, 0.3); }

.console-response {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.console-response.typed .console-success {
    animation: flashGreen 0.6s ease;
}
@keyframes flashGreen {
    0% { text-shadow: 0 0 20px rgba(74, 222, 128, 0.8); }
    100% { text-shadow: none; }
}
.console-success { color: #4ade80; font-weight: 600; }
.console-meta { color: rgba(255, 255, 255, 0.3); margin-left: 8px; }

/* =========================================================
   波浪分割线
   ========================================================= */

.wave-divider {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    margin-bottom: -1px;
    line-height: 0;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}
.wave-flip { transform: scaleX(-1); }

/* =========================================================
   合作伙伴横幅
   ========================================================= */

.partners-section {
    padding: 48px 0 32px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.partners-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}
.partner-item:hover { color: var(--color-text-sub); }
.partner-item svg { opacity: 0.5; flex-shrink: 0; }

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

/* =========================================================
   公共区块
   ========================================================= */

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 72px;
}

.section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.section-bg .orb-left {
    width: 500px; height: 500px;
    top: 30%; left: -10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
}
.section-bg .orb-right {
    width: 400px; height: 400px;
    top: 20%; right: -8%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
}
.section-bg .orb-center {
    width: 500px; height: 500px;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--color-text-main);
}
.section-subtitle {
    color: var(--color-text-sub);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================================
   SERVICES 卡片（3D Tilt + 旋转边框）
   ========================================================= */

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card-shine {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(124, 58, 237, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}
.service-card:hover .card-shine { opacity: 1; }

/* 旋转渐变边框 */
.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: conic-gradient(from var(--border-angle, 0deg),
        rgba(124, 58, 237, 0.4),
        rgba(99, 102, 241, 0.1),
        rgba(59, 130, 246, 0.4),
        rgba(99, 102, 241, 0.1),
        rgba(124, 58, 237, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    animation: rotateBorder 4s linear infinite;
}
@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.service-card:hover .card-border-glow { opacity: 1; }

.service-icon {
    color: var(--color-accent);
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-smooth);
}
.service-card:hover .service-icon {
    transform: scale(1.08) translateZ(20px);
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15), 0 0 30px rgba(124, 58, 237, 0.08);
}

.service-icon svg { width: 22px; height: 22px; }
.service-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--color-text-main); }
.service-desc { color: var(--color-text-sub); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }

.card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.06);
    color: var(--color-accent);
    border: 1px solid rgba(124, 58, 237, 0.12);
    letter-spacing: 0.02em;
}

/* =========================================================
   SHOWCASE 产品展示区
   ========================================================= */

.showcase-section {
    background: var(--bg-surface);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-visual {
    position: relative;
    height: 380px;
    perspective: 1000px;
}

.showcase-center-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    animation: centerGlow 4s ease-in-out infinite;
}
@keyframes centerGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.3); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.floating-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(124, 58, 237, 0.08);
    transform: translateY(-6px) scale(1.02) !important;
}

.fc-1 { top: 10%; left: 5%; animation: fcFloat1 6s ease-in-out infinite; }
.fc-2 { top: 40%; right: 0%; animation: fcFloat2 7s ease-in-out infinite; }
.fc-3 { bottom: 8%; left: 15%; animation: fcFloat3 8s ease-in-out infinite; }

@keyframes fcFloat1 {
    0%, 100% { transform: translateY(0) rotateZ(-2deg); }
    50% { transform: translateY(-12px) rotateZ(1deg); }
}
@keyframes fcFloat2 {
    0%, 100% { transform: translateY(0) rotateZ(1deg); }
    50% { transform: translateY(-10px) rotateZ(-2deg); }
}
@keyframes fcFloat3 {
    0%, 100% { transform: translateY(0) rotateZ(1deg); }
    50% { transform: translateY(-14px) rotateZ(-1deg); }
}

.fc-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fc-text { display: flex; flex-direction: column; gap: 2px; }
.fc-title { font-size: 0.9rem; font-weight: 600; color: var(--color-text-main); }
.fc-sub { font-size: 0.75rem; color: var(--color-text-sub); }

.showcase-text { display: flex; flex-direction: column; gap: 24px; }

.stats-row { display: flex; gap: 36px; margin-top: 12px; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--color-text-sub); }

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--bg-base);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-info .section-title { text-align: left; margin-bottom: 24px; }

.info-content p {
    color: var(--color-text-sub);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}
.info-content p strong { color: var(--color-text-main); font-weight: 600; }

.detail-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-smooth);
}
.detail-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.detail-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-main);
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
}

.detail-scope-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-scope-list li {
    display: flex; flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-radius: var(--border-radius-xs);
    transition: background var(--transition-fast);
}
.detail-scope-list li:hover { background: rgba(0, 0, 0, 0.02); }
.detail-scope-list strong { font-size: 0.9rem; font-weight: 600; color: var(--color-text-main); }
.detail-scope-list span { font-size: 0.82rem; color: var(--color-text-sub); line-height: 1.6; }

/* =========================================================
   CONTACT
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block .section-title { text-align: left; margin-bottom: 12px; }

.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-item {
    display: flex; gap: 16px;
    padding: 14px 16px;
    border-radius: var(--border-radius-xs);
    transition: background var(--transition-fast);
}
.contact-item:hover { background: rgba(0, 0, 0, 0.02); }
.contact-item svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.contact-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text-main); }
.contact-item p { font-size: 0.85rem; color: var(--color-text-sub); line-height: 1.6; }

.contact-form-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-smooth);
}
.contact-form-block:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--color-text-sub); }

.contact-form input,
.contact-form textarea {
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-main);
    padding: 12px 16px;
    border-radius: var(--border-radius-xs);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: all var(--transition-smooth);
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--color-text-muted); }
.contact-form input:hover,
.contact-form textarea:hover { border-color: rgba(0, 0, 0, 0.15); }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

/* =========================================================
   页脚
   ========================================================= */

.main-footer {
    padding: 44px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0.3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.footer-copyright { font-size: 0.78rem; color: var(--color-text-muted); }

/* =========================================================
   回到顶部按钮
   ========================================================= */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 90;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

/* =========================================================
   滚动显现（增强版）
   ========================================================= */

body.js-enabled .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
    will-change: opacity, transform;
    filter: blur(4px);
}
body.js-enabled .reveal.active { opacity: 1; transform: translateY(0); filter: blur(0); }

body.js-enabled .reveal-left {
    opacity: 0;
    transform: translateX(-40px) translateY(20px);
    filter: blur(4px);
}
body.js-enabled .reveal-left.active { opacity: 1; transform: translateX(0) translateY(0); filter: blur(0); }

body.js-enabled .reveal-right {
    opacity: 0;
    transform: translateX(40px) translateY(20px);
    filter: blur(4px);
}
body.js-enabled .reveal-right.active { opacity: 1; transform: translateX(0) translateY(0); filter: blur(0); }

body.js-enabled .reveal-delay-1 { transition-delay: 0.08s; }
body.js-enabled .reveal-delay-2 { transition-delay: 0.16s; }
body.js-enabled .reveal-delay-3 { transition-delay: 0.24s; }
body.js-enabled .reveal-delay-4 { transition-delay: 0.32s; }

/* =========================================================
   无障碍
   ========================================================= */

a:focus-visible, button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline: none; }

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1024px) {
    .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3.2rem; }
    .hero-brand { font-size: 4.5rem; }
    .services-grid { gap: 14px; }
    .service-card { padding: 28px; }
    .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
    .showcase-visual { height: 320px; }
    .showcase-text { text-align: center; align-items: center; }
    .showcase-text .section-title { text-align: center !important; }
    .showcase-text .section-subtitle { text-align: center !important; }
    .stats-row { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .header-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-container { height: 56px; }
    .cursor-glow { display: none; }

    .hero-section { padding: 100px 20px 40px; }
    .hero-title { font-size: 2.4rem; }
    .hero-brand { font-size: 3.5rem; }
    .hero-subtitle { font-size: 0.92rem; margin-bottom: 32px; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .hero-content { margin-bottom: 40px; }
    .hero-showcase { max-width: 100%; }
    .showcase-window { transform: rotateX(4deg) scale(0.98); }
    .window-body { padding: 16px; font-size: 0.72rem; }

    .services-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 24px; }
    .service-title { font-size: 1.05rem; }

    section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.88rem; }

    .showcase-visual { height: 280px; }
    .floating-card { padding: 12px 16px; }
    .fc-icon { width: 36px; height: 36px; }
    .fc-title { font-size: 0.82rem; }
    .fc-sub { font-size: 0.7rem; }
    .stats-row { gap: 24px; }
    .stat-number { font-size: 1.6rem; }

    .contact-form-block { padding: 24px; }
    .detail-card { padding: 24px; }

    .wave-divider svg { height: 40px; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-brand { font-size: 2.8rem; }
    .tagline-badge { font-size: 0.75rem; padding: 6px 14px; }
    .service-card { padding: 20px; }
    .contact-form-block { padding: 20px; }
    .stats-row { flex-direction: column; gap: 16px; align-items: center; }
    .showcase-visual { height: 240px; }
}

/* =========================================================
   滚动条
   ========================================================= */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.2); }
