/* ===========================
   基础样式与变量
   =========================== */
:root {
    --bg-primary: #05101c;
    --bg-secondary: #0a1a2c;
    --tint-rgb: 255, 255, 255;      /* 卡片/边框/按钮的叠加基色 */
    --overlay-rgb: 10, 14, 26;      /* 导航栏/页脚/面板的玻璃背景基色 */
    --bg-card: rgba(var(--tint-rgb), 0.03);
    --bg-card-hover: rgba(var(--tint-rgb), 0.06);
    --border: rgba(var(--tint-rgb), 0.08);
    --border-hover: rgba(var(--tint-rgb), 0.15);
    --text-primary: #ffffff;
    --text-secondary: #a5b8cc;
    --text-muted: #6b8199;

    /* === 品牌色 === */
    --c1: #0ea5e9;
    --c2: #06b6d4;
    --c3: #22d3ee;
    --accent-1-rgb: 14, 165, 233;
    --accent-2-rgb: 6, 182, 212;
    --accent-3-rgb: 34, 211, 238;
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-pink: #f472b6;

    --gradient-primary: linear-gradient(135deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
    --gradient-blue: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
    --gradient-cyan: linear-gradient(135deg, var(--c2) 0%, var(--c3) 100%);
    --shadow-glow: 0 0 40px rgba(var(--accent-1-rgb), 0.35);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);

    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ===========================
   动态背景
   =========================== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--c1), transparent);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--c2), transparent);
    top: 30%;
    right: -200px;
    animation-delay: -7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--c3), transparent);
    bottom: 10%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--accent-1-rgb), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-1-rgb), 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* ===========================
   导航栏
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(var(--overlay-rgb), 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-icon {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--accent-1-rgb), 0.45);
    box-shadow: 0 0 16px rgba(var(--accent-1-rgb), 0.35);
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    border-color: rgba(var(--accent-1-rgb), 0.8);
    box-shadow: 0 0 20px rgba(var(--accent-1-rgb), 0.5);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-btn {
    padding: 10px 20px !important;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(var(--accent-1-rgb), 0.35);
    margin-left: 8px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--accent-1-rgb), 0.55);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(var(--accent-2-rgb), 0.1);
    border: 1px solid rgba(var(--accent-2-rgb), 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Hero 顶部状态条 */
.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #4ade80;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(var(--accent-1-rgb), 0.1);
    border: 1px solid rgba(var(--accent-1-rgb), 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #fbbf24;
}

.hero-rating svg {
    width: 14px;
    height: 14px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-pills span {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(var(--tint-rgb), 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: var(--transition);
}

.hero-pills span:hover {
    color: var(--accent-cyan);
    border-color: rgba(var(--accent-1-rgb), 0.4);
    background: rgba(var(--accent-1-rgb), 0.08);
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-item strong {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-trust-item span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-title-line {
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.8;
    max-width: 580px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-desc strong {
    color: var(--text-primary);
    background: linear-gradient(120deg, transparent 0%, transparent 45%, rgba(var(--accent-2-rgb), 0.3) 45%, rgba(var(--accent-2-rgb), 0.3) 100%);
    padding: 2px 4px;
    border-radius: 4px;
}

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

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    font-family: inherit;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--accent-1-rgb), 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--accent-1-rgb), 0.55);
}

.btn-ghost {
    background: rgba(var(--tint-rgb), 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(var(--tint-rgb), 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero 右侧展示卡 */
.hero-visual {
    position: relative;
}

.hero-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-float-tag {
    position: absolute;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(var(--overlay-rgb), 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 100px;
    z-index: 3;
    animation: tagFloat 4s ease-in-out infinite;
    white-space: nowrap;
}

.hero-float-tag.tag-1 {
    top: -8px;
    right: 10%;
    animation-delay: 0s;
}

.hero-float-tag.tag-2 {
    top: 38%;
    left: -12px;
    animation-delay: -1.3s;
}

.hero-float-tag.tag-3 {
    bottom: 28%;
    right: -8px;
    animation-delay: -2.6s;
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-profile-card {
    padding: 20px 22px;
    background: rgba(var(--overlay-rgb), 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--accent-1-rgb), 0.25);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.hero-profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--accent-1-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-1-rgb), 0.3);
    flex-shrink: 0;
}

.hero-profile-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.hero-profile-role {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-profile-shop {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.hero-profile-stats div {
    text-align: center;
}

.hero-profile-stats strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-profile-stats span {
    font-size: 11px;
    color: var(--text-muted);
}

.code-window--compact {
    animation: floatUp 6s ease-in-out infinite;
    animation-delay: -2s;
}

.code-window--compact .code-body {
    padding: 16px 20px;
    font-size: 13px;
}

.code-window {
    background: rgba(15, 20, 36, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-header .dot.red { background: #ff5f56; }
.code-header .dot.yellow { background: #ffbd2e; }
.code-header .dot.green { background: #27c93f; }

.code-title {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: "Monaco", "Consolas", monospace;
}

.code-body {
    padding: 20px 24px;
    font-family: "Monaco", "Consolas", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.9;
    position: relative;
}

.code-line {
    color: var(--text-secondary);
}

.code-line.indent {
    padding-left: 24px;
}

.c-purple { color: var(--accent-blue); }
.c-blue { color: var(--accent-cyan); }
.c-green { color: #86efac; }
.c-orange { color: #fbbf24; }
.c-yellow { color: #fde047; }

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-cyan);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 2s ease-in-out infinite;
}

@keyframes wheelMove {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0; }
}

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

/* ===========================
   通用区块
   =========================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(var(--accent-2-rgb), 0.1);
    border: 1px solid rgba(var(--accent-2-rgb), 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-tag--shop,
.section-tag--contact {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.2), rgba(var(--accent-3-rgb), 0.12));
    border: 1px solid rgba(var(--accent-1-rgb), 0.5);
    box-shadow: 0 4px 24px rgba(var(--accent-1-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #fff;
    text-shadow: 0 0 24px rgba(var(--accent-1-rgb), 0.6);
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title--sm {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.particle-works .section-header {
    margin-bottom: 40px;
}

.particle-works .section-desc {
    font-size: 14px;
    max-width: 560px;
}

.section-desc {
    margin-top: 16px;
    max-width: 640px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.section-header.center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* 粒子互动专区 */
.particle-works {
    background: linear-gradient(180deg, transparent, rgba(var(--accent-1-rgb), 0.04) 50%, transparent);
    border-top: 1px solid var(--border);
}

/* ===========================
   特性卡片
   =========================== */
.features {
    padding: 60px 0;
}

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

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-2-rgb), 0.1);
    border-radius: 14px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(-5deg) scale(1.05);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-1-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(var(--accent-1-rgb), 0.2);
}

.service-hover {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    filter: blur(40px);
}

.service-card:hover .service-hover {
    opacity: 0.15;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: "Monaco", monospace;
    font-size: 48px;
    font-weight: 800;
    color: rgba(var(--tint-rgb), 0.05);
    line-height: 1;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: white;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(var(--accent-1-rgb), 0.35);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===========================
   作品展示
   =========================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 交付案例 */
.delivery-cases {
    margin-top: 64px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
}

.delivery-cases-header {
    text-align: center;
    margin-bottom: 36px;
}

.delivery-cases-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delivery-cases-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.delivery-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.case-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    min-height: 26px;
}

.case-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.case-category--enterprise {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
}

.case-category--ai {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.12);
}

.case-category--train {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
}

.case-category--mobile {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.12);
}

.case-category--data {
    color: #818cf8;
    background: rgba(129, 140, 248, 0.12);
}

.case-hot {
    flex-shrink: 0;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 100px;
}

.case-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-card > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
    min-height: 74px;
}

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

.case-tags span {
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(var(--tint-rgb), 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.delivery-cases-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.delivery-cases-footer a {
    color: var(--accent-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.delivery-cases-footer a:hover {
    color: var(--accent-blue);
}

/* 闲鱼真实好评 */
.reviews-section {
    padding: 60px 0 80px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(var(--accent-1-rgb), 0.03) 50%, transparent);
}

.reviews-block {
    margin-bottom: 0;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.reviews-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-title svg {
    width: 22px;
    height: 22px;
    color: #fbbf24;
    flex-shrink: 0;
}

.reviews-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.reviews-badge {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 100px;
}

.reviews-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

.reviews-carousel-track {
    display: flex;
    width: max-content;
    animation: reviews-marquee 50s linear infinite;
}

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

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

.reviews-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 16px;
    width: max-content;
    padding: 4px 8px;
    flex-shrink: 0;
}

.review-card {
    flex: 0 0 auto;
    display: block;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: zoom-in;
    transition: var(--transition);
    line-height: 0;
}

.review-card:hover {
    border-color: rgba(var(--accent-1-rgb), 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.review-card img {
    display: block;
    width: auto;
    height: auto;
    max-height: 400px;
    max-width: none;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-carousel-track {
        animation: none;
    }
    .reviews-carousel {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.review-lightbox[hidden] {
    display: none;
}

.review-lightbox img {
    max-width: min(480px, 100%);
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.review-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.review-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wechat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.wechat-lightbox[hidden] {
    display: none;
}

.wechat-lightbox-card {
    text-align: center;
    padding: 32px;
    background: rgba(var(--overlay-rgb), 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wechat-lightbox-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.wechat-lightbox-card img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.wechat-lightbox-card p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.wechat-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.wechat-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.work-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.work-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.12), rgba(var(--accent-3-rgb), 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-image--media::before {
    display: none;
}

.work-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-cover {
    transform: scale(1.05);
}

.work-image--video .work-cover {
    background: #000;
}

.work-video-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    color: white;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.work-video-icon svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.work-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 0h60M0 20h60M0 40h60' stroke='rgba(255,255,255,0.03)'/></svg>");
    opacity: 0.5;
}

.work-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    z-index: 1;
    text-align: center;
}

.work-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

.work-placeholder span {
    font-size: 13px;
}

.work-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    z-index: 2;
}

.work-badge.badge-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee0979);
}

.work-body {
    padding: 24px;
}

.work-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-body p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.work-tags span {
    padding: 4px 10px;
    background: rgba(var(--accent-2-rgb), 0.1);
    color: var(--accent-cyan);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
}

.work-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.work-link:hover svg {
    transform: translateX(4px);
}

/* ===========================
   关于我
   =========================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

/* 头像 + 悬浮技术标签 */
.avatar-orbit {
    --orbit-r: 148px;
    position: relative;
    width: 340px;
    height: 340px;
    flex-shrink: 0;
}

.avatar-orbit-glow {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-1-rgb), 0.35), transparent 70%);
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.avatar-orbit-ring {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed rgba(var(--accent-1-rgb), 0.25);
    animation: ringSpin 30s linear infinite;
}

.avatar-orbit-ring--reverse {
    inset: 6%;
    border-style: solid;
    border-color: rgba(var(--accent-2-rgb), 0.12);
    animation: ringSpin 45s linear infinite reverse;
}

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-orbit-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 136px;
    height: 136px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(var(--accent-1-rgb), 0.55);
    box-shadow: 0 0 40px rgba(var(--accent-1-rgb), 0.35), 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.orbit-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(var(--overlay-rgb), 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--accent-1-rgb), 0.35);
    border-radius: 100px;
    white-space: nowrap;
    z-index: 3;
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--a) * 1deg))
        translateY(calc(-1 * var(--orbit-r)))
        rotate(calc(var(--a) * -1deg));
    animation: tagBob 3.5s ease-in-out infinite;
    animation-delay: calc(var(--a) * -0.01s);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.orbit-tag:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-1-rgb), 0.7);
    box-shadow: 0 4px 16px rgba(var(--accent-1-rgb), 0.3);
    z-index: 5;
}

@keyframes tagBob {
    0%, 100% {
        transform:
            translate(-50%, -50%)
            rotate(calc(var(--a) * 1deg))
            translateY(calc(-1 * var(--orbit-r)))
            rotate(calc(var(--a) * -1deg));
    }
    50% {
        transform:
            translate(-50%, -50%)
            rotate(calc(var(--a) * 1deg))
            translateY(calc(-1 * var(--orbit-r) - 10px))
            rotate(calc(var(--a) * -1deg));
    }
}

.about-visual .about-stats {
    width: 100%;
}

.about-lead {
    font-size: 20px;
    color: var(--text-primary);
    margin: 20px 0 20px;
    font-weight: 500;
    line-height: 1.5;
}

.about-text {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
    font-size: 15px;
}

.about-skills {
    margin-bottom: 32px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.skill-bar {
    height: 6px;
    background: rgba(var(--tint-rgb), 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(var(--accent-1-rgb), 0.6);
}

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

.stat-card {
    padding: 32px 24px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-1-rgb), 0.4);
    background: var(--bg-card-hover);
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================
   联系我们
   =========================== */
#contact {
    padding-bottom: 140px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.7;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-2-rgb), 0.1);
    border-radius: 12px;
    color: var(--accent-cyan);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-list a, .contact-list span {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--accent-blue);
}

.contact-wechat-item {
    align-items: flex-start;
}

.contact-wechat-info {
    flex: 1;
}

.contact-wechat-qr-btn {
    display: block;
    margin-top: 10px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.contact-wechat-qr-btn img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.contact-wechat-qr-btn:hover {
    border-color: rgba(var(--accent-2-rgb), 0.5);
    box-shadow: 0 4px 16px rgba(var(--accent-1-rgb), 0.2);
    transform: scale(1.03);
}

.section-quiz-hint--center {
    text-align: center;
    margin-top: 12px;
}

.contact-quiz-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 24px;
    padding: 16px 18px;
    text-align: left;
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.12), rgba(var(--accent-3-rgb), 0.06));
    border: 1px solid rgba(var(--accent-1-rgb), 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.contact-quiz-banner:hover {
    border-color: rgba(var(--accent-1-rgb), 0.5);
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.18), rgba(var(--accent-3-rgb), 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-1-rgb), 0.15);
}

.contact-quiz-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-1-rgb), 0.15);
    border: 1px solid rgba(var(--accent-1-rgb), 0.25);
    border-radius: 11px;
    color: var(--accent-cyan);
}

.contact-quiz-banner-icon svg {
    width: 22px;
    height: 22px;
}

.contact-quiz-banner-text {
    flex: 1;
    min-width: 0;
}

.contact-quiz-banner-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-quiz-banner-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-quiz-banner-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    background: rgba(var(--accent-2-rgb), 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-quiz-banner-arrow svg {
    width: 18px;
    height: 18px;
}

.contact-quiz-banner:hover .contact-quiz-banner-arrow {
    background: var(--gradient-primary);
    color: white;
}

/* 表单 */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    scroll-margin-top: 100px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label span {
    color: var(--accent-pink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(var(--tint-rgb), 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8b0c5' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(var(--tint-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--accent-2-rgb), 0.18);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.form-note.success { color: #4ade80; }
.form-note.error { color: #f87171; }

/* ===========================
   页脚
   =========================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: rgba(var(--overlay-rgb), 0.6);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--accent-blue);
}

.partner-slot {
    padding: 24px;
    text-align: center;
    background: rgba(var(--tint-rgb), 0.03);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.footer-contact-item {
    position: relative;
}

.footer-contact-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--accent-2-rgb), 0.1);
    border: 1px solid var(--border);
    color: var(--accent-cyan);
    cursor: pointer;
    transition: var(--transition);
}

.footer-contact-btn:hover,
.footer-contact-btn[aria-expanded="true"] {
    background: rgba(var(--accent-2-rgb), 0.2);
    border-color: rgba(var(--accent-2-rgb), 0.4);
    transform: translateY(-2px);
    color: var(--accent-blue);
}

.footer-contact-btn svg {
    width: 20px;
    height: 20px;
}

.footer-contact-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    z-index: 20;
    text-align: center;
}

.footer-contact-pop::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--border);
}

.footer-contact-pop-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-contact-pop a {
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-contact-pop a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--accent-blue);
}

/* ===========================
   返回顶部
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(var(--accent-1-rgb), 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 90;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(var(--accent-1-rgb), 0.65);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* ===========================
   进入动画
   =========================== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   响应式
   =========================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
    .delivery-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .container { padding: 0 20px; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 24px;
        background: rgba(var(--overlay-rgb), 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 12px;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-link, .nav-btn {
        width: 100%;
        text-align: center;
    }
    .nav-toggle { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 16px; }
    .hero-pills { margin-bottom: 24px; }
    .hero-pills span { font-size: 12px; padding: 5px 12px; }
    .hero-trust-bar { gap: 16px; margin-top: 28px; padding-top: 24px; }
    .hero-trust-divider { display: none; }
    .hero-trust-item strong { font-size: 18px; }
    .hero-float-tag { display: none; }
    .btn-lg { padding: 14px 24px; font-size: 15px; width: 100%; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .services-grid, .works-grid { grid-template-columns: 1fr; }
    .delivery-cases-grid { grid-template-columns: 1fr; }
    .delivery-cases { margin-top: 48px; padding-top: 40px; }
    .case-card > p { min-height: auto; }
    .review-card img { max-height: 320px; }
    .about-visual { order: -1; }
    .avatar-orbit {
        --orbit-r: 118px;
        width: 280px;
        height: 280px;
    }
    .avatar-orbit-img {
        width: 108px;
        height: 108px;
    }
    .orbit-tag {
        font-size: 10px;
        padding: 4px 9px;
    }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 36px; }
    .contact-info, .contact-form { padding: 28px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .back-to-top { bottom: 24px; right: 24px; width: 42px; height: 42px; }
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 32px; }
    .code-body { padding: 16px; font-size: 12px; }
    .stat-card { padding: 24px 16px; }
    .stat-number { font-size: 32px; }
}

/* ===========================
   命令面板 Ctrl+K
   =========================== */
.cmdk-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-right: 8px;
    background: rgba(var(--tint-rgb), 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cmdk-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

.cmdk-trigger-keys {
    display: inline-flex;
    gap: 4px;
}

.cmdk-trigger kbd,
.cmdk kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-family: inherit;
    color: var(--text-muted);
    background: rgba(var(--tint-rgb), 0.06);
    border: 1px solid var(--border);
    border-radius: 4px;
    line-height: 1.4;
}

.cmdk-trigger:hover {
    border-color: rgba(var(--accent-2-rgb), 0.4);
    color: var(--text-primary);
    background: rgba(var(--accent-2-rgb), 0.08);
}

.cmdk {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 20px 20px;
}

.cmdk[hidden] {
    display: none;
}

.cmdk-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.cmdk-panel {
    position: relative;
    width: min(560px, 100%);
    background: rgba(var(--overlay-rgb), 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--accent-1-rgb), 0.15);
    overflow: hidden;
    animation: cmdkIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cmdkIn {
    from { opacity: 0; transform: scale(0.96) translateY(-8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cmdk-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.cmdk-prompt {
    color: var(--accent-cyan);
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 700;
    font-size: 16px;
}

.cmdk-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.cmdk-input-wrap input::placeholder {
    color: var(--text-muted);
}

.cmdk-esc {
    flex-shrink: 0;
}

.cmdk-list {
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
}

.cmdk-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.cmdk-item-label {
    grid-row: 1 / 3;
    align-self: center;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
}

.cmdk-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.cmdk-item-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.cmdk-item:hover,
.cmdk-item.active {
    background: rgba(var(--accent-1-rgb), 0.12);
}

.cmdk-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.cmdk-detail {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
    background: rgba(var(--accent-1-rgb), 0.04);
}

.cmdk-detail-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.cmdk-detail-body {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
    margin: 0;
}

.cmdk-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}

.cmdk-footer span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .cmdk-trigger-keys {
        display: none;
    }
    .cmdk-trigger {
        padding: 8px;
        margin-right: 4px;
    }
}

/* ===========================
   帮我选方案问卷
   =========================== */
.section-quiz-hint {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.section-quiz-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.section-quiz-link:hover {
    color: var(--accent-blue);
}

.quiz-modal {
    position: fixed;
    inset: 0;
    z-index: 290;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quiz-modal[hidden] {
    display: none;
}

.quiz-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.quiz-panel {
    position: relative;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(var(--overlay-rgb), 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    animation: cmdkIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
}

.quiz-step {
    display: block;
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 6px;
}

.quiz-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.quiz-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    background: rgba(var(--tint-rgb), 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.quiz-close:hover {
    color: var(--text-primary);
    background: rgba(var(--tint-rgb), 0.1);
}

.quiz-progress-bar {
    height: 3px;
    background: rgba(var(--tint-rgb), 0.06);
    margin: 0 24px;
}

.quiz-progress-fill {
    height: 100%;
    width: 33%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.quiz-body {
    padding: 20px 24px 24px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    background: rgba(var(--tint-rgb), 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: rgba(var(--accent-1-rgb), 0.4);
    background: rgba(var(--accent-1-rgb), 0.08);
    transform: translateX(4px);
}

.quiz-option-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-2-rgb), 0.1);
    border: 1px solid rgba(var(--accent-2-rgb), 0.15);
    border-radius: 11px;
    color: var(--accent-cyan);
    transition: var(--transition);
}

.quiz-option-icon svg {
    width: 20px;
    height: 20px;
}

.quiz-option:hover .quiz-option-icon {
    background: rgba(var(--accent-1-rgb), 0.18);
    border-color: rgba(var(--accent-1-rgb), 0.35);
    color: var(--accent-blue);
    transform: scale(1.05);
}

.quiz-option-label {
    font-weight: 500;
    line-height: 1.4;
}

.quiz-result-card {
    padding: 20px;
    background: rgba(var(--accent-1-rgb), 0.08);
    border: 1px solid rgba(var(--accent-1-rgb), 0.25);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.quiz-result-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(var(--accent-2-rgb), 0.15);
    border-radius: 100px;
}

.quiz-result-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.quiz-result-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-1-rgb), 0.15);
    border: 1px solid rgba(var(--accent-1-rgb), 0.3);
    border-radius: 12px;
    color: var(--accent-cyan);
}

.quiz-result-icon svg {
    width: 22px;
    height: 22px;
}

.quiz-result-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.quiz-result-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.quiz-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.quiz-result-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quiz-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
    background: rgba(var(--accent-2-rgb), 0.1);
    border-radius: 6px;
}

.quiz-meta-icon svg {
    width: 13px;
    height: 13px;
}

.quiz-result-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.quiz-result-link:hover {
    color: var(--accent-blue);
}

.quiz-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.quiz-actions .btn {
    flex: 1;
}

/* ===========================
   AI 问答浮窗
   =========================== */
.ai-chat {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
}

.ai-chat-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    background: rgba(var(--overlay-rgb), 0.92);
    border: 1px solid rgba(var(--accent-1-rgb), 0.35);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(var(--accent-1-rgb), 0.1);
    animation: botBob 3s ease-in-out infinite;
}

.ai-chat-pulse {
    position: absolute;
    left: 6px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--accent-1-rgb), 0.2);
    animation: botPulse 2.5s ease-out infinite;
    pointer-events: none;
}

.ai-chat-bot-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.25), rgba(var(--accent-3-rgb), 0.12));
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-1-rgb), 0.4);
}

.ai-bot-face {
    width: 44px;
    height: 44px;
}

.ai-bot-eye {
    transform-origin: center;
    animation: botBlink 4s ease-in-out infinite;
}

.ai-bot-eye:nth-child(5) {
    animation-delay: 0.1s;
}

.ai-chat-bot-close {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
}

.ai-chat-toggle.active .ai-bot-face {
    opacity: 0.3;
}

.ai-chat-toggle.active .ai-chat-bot-close {
    display: flex;
}

.ai-chat-toggle.active .ai-chat-toggle-card {
    display: none;
}

.ai-chat-toggle.active .ai-chat-pulse {
    animation: none;
    opacity: 0;
}

.ai-chat-online-dot {
    position: absolute;
    top: 8px;
    left: 48px;
    z-index: 2;
    width: 10px;
    height: 10px;
    background: #4ade80;
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.ai-chat-toggle-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-right: 4px;
    text-align: left;
}

.ai-chat-toggle-card strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-chat-toggle-card span {
    font-size: 11px;
    color: var(--text-muted);
}

.ai-chat-toggle:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-1-rgb), 0.55);
    box-shadow: 0 12px 36px rgba(var(--accent-1-rgb), 0.25);
}

.ai-chat-toggle.active {
    animation: none;
    padding: 6px;
}

@keyframes botBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes botPulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    70%, 100% { transform: scale(1.35); opacity: 0; }
}

@keyframes botBlink {
    0%, 88%, 100% { transform: scaleY(1); }
    92% { transform: scaleY(0.15); }
}

.ai-chat-panel {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    width: 360px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    background: rgba(var(--overlay-rgb), 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    animation: cmdkIn 0.2s ease;
}

.ai-chat-panel[hidden] {
    display: none;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(var(--accent-1-rgb), 0.06);
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.2), rgba(var(--accent-3-rgb), 0.1));
    border: 1px solid rgba(var(--accent-1-rgb), 0.35);
    border-radius: 50%;
}

.ai-chat-avatar svg {
    width: 32px;
    height: 32px;
}

.ai-chat-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 4px;
    background: #4ade80;
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: 0 0 6px #4ade80;
    font-style: normal;
}

.ai-chat-header-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.ai-chat-header-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.ai-chat-close {
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.ai-chat-close:hover {
    color: var(--text-primary);
    background: rgba(var(--tint-rgb), 0.08);
}

.ai-chat-messages {
    flex: 1;
    min-height: 200px;
    max-height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.ai-chat-msg--user {
    justify-content: flex-end;
}

.ai-chat-msg-avatar {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.2), rgba(var(--accent-3-rgb), 0.1));
    border: 1px solid rgba(var(--accent-1-rgb), 0.3);
    border-radius: 50%;
}

.ai-chat-msg-avatar svg {
    width: 20px;
    height: 20px;
}

.ai-chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.65;
    border-radius: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-chat-msg--bot .ai-chat-bubble {
    background: rgba(var(--tint-rgb), 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.ai-chat-msg--user .ai-chat-bubble {
    background: rgba(var(--accent-1-rgb), 0.2);
    border: 1px solid rgba(var(--accent-1-rgb), 0.3);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}

.ai-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
}

.ai-chat-quick-btn {
    padding: 5px 10px;
    font-size: 11px;
    color: var(--accent-cyan);
    background: rgba(var(--accent-2-rgb), 0.1);
    border: 1px solid rgba(var(--accent-2-rgb), 0.25);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}

.ai-chat-quick-btn:hover {
    background: rgba(var(--accent-2-rgb), 0.18);
    color: var(--text-primary);
}

.ai-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: rgba(var(--overlay-rgb), 0.5);
}

.ai-chat-form input {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-primary);
    background: rgba(var(--tint-rgb), 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    outline: none;
    transition: var(--transition);
}

.ai-chat-form input:focus {
    border-color: rgba(var(--accent-1-rgb), 0.5);
}

.ai-chat-form input:disabled {
    opacity: 0.6;
}

.ai-chat-send {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.ai-chat-send svg {
    width: 18px;
    height: 18px;
}

.ai-chat-send:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .ai-chat {
        bottom: 16px;
        left: 16px;
    }
    .ai-chat-panel {
        width: calc(100vw - 32px);
        max-width: 360px;
    }
    .ai-chat-toggle-card {
        display: none;
    }
    .ai-chat-toggle {
        padding: 6px;
        animation: botBob 3s ease-in-out infinite;
    }
    .ai-chat-online-dot {
        left: 42px;
        top: 6px;
    }
    .quiz-actions {
        flex-direction: column;
    }
}
