/* ========================================
   智印标签 - 前台页面样式
   ======================================== */

/* CSS变量 */
:root {
    /* 主色调 */
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    
    /* 辅助色 */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* 中性色 */
    --dark: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 150ms;
    --transition: 300ms;
    --transition-slow: 500ms;
    
    /* 字体 */
    --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(79, 70, 229, 0.3);
}

.navbar.scrolled .nav-logo i {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6)); }
    50% { filter: drop-shadow(0 0 16px rgba(102, 126, 234, 0.9)); }
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover i {
    transform: scale(1.1) rotate(5deg);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-admin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.btn-admin:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-order {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-300);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* ========================================
   英雄区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 动态粒子背景 */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(79, 70, 229, 0.4);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.hero-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.hero-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.hero-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.hero-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 19s; }
.hero-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 21s; }
.hero-particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.hero-particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 23s; }

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* 光晕效果 */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-1 {
    top: -200px;
    right: -100px;
    background: var(--primary);
    animation: pulse-glow-1 8s ease-in-out infinite;
}

.hero-glow-2 {
    bottom: -200px;
    left: -100px;
    background: #764ba2;
    animation: pulse-glow-2 10s ease-in-out infinite;
}

@keyframes pulse-glow-1 {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

@keyframes pulse-glow-2 {
    0%, 100% { transform: scale(1.1); opacity: 0.12; }
    50% { transform: scale(0.9); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s ease-out;
    letter-spacing: 0.5px;
}

.hero-badge i {
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s ease-out 0.2s both;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    animation: fade-in-up 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.3);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-mono);
    letter-spacing: -2px;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

/* 仪表盘预览 */
.hero-visual {
    position: relative;
    animation: fade-in-up 0.8s ease-out 1s both;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 50%, var(--primary-light) 100%);
    border-radius: calc(var(--radius-lg) + 6px);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: glow-border 4s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

.dashboard-preview {
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #f59e0b; }
.preview-dot.green { background: #10b981; }

.preview-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.preview-content {
    padding: 1.5rem;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.preview-stat i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.preview-stat span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.preview-stat strong {
    font-size: 1.25rem;
    color: var(--white);
}

.preview-chart {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* ========================================
   通用区块样式
   ======================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.section-header.left {
    text-align: left;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: var(--gray-400);
}

/* ========================================
   渠道覆盖
   ======================================== */
.channels {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.channels::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.channel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.25);
    border-color: transparent;
}

.channel-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    position: relative;
    transition: all 0.4s ease;
}

.channel-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.channel-card:hover .channel-icon {
    transform: scale(1.1);
}

.channel-icon.pc { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.channel-icon.wechat { background: linear-gradient(135deg, #07c160 0%, #06ad56 100%); color: white; }
.channel-icon.miniapp { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.channel-icon.private { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: white; }
.channel-icon.qq { background: linear-gradient(135deg, #12b7f5 0%, #0e9bf5 100%); color: white; }

.channel-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.channel-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.channel-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.channel-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.channel-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.channel-card:hover .channel-detail {
    opacity: 1;
    max-height: 100px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.detail-item i {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   产品中心
   ======================================== */
.products {
    background: var(--white);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.625rem 1.5rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.tab-btn span {
    position: relative;
    z-index: 1;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--white);
}

.tab-btn:hover::before,
.tab-btn.active::before {
    transform: translateY(0);
}

.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-select label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.sort-select select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-500);
    transition: all 0.2s ease;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-grid.list-view {
    grid-template-columns: 1fr;
}

.product-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.product-grid.list-view .product-image {
    height: 150px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 10px 40px -10px rgba(79, 70, 229, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}

.product-card:hover::after {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    z-index: 1;
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
}

.product-badge.new {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: var(--white);
}

.product-badge.hot,
.product-badge:first-child:not(.new) {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: var(--white);
}

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 70, 229, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-placeholder {
    font-size: 4rem;
    color: var(--gray-400);
    transition: all 0.4s ease;
}

.product-card:hover .product-placeholder {
    transform: scale(1.1);
    color: var(--primary-light);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-detail,
.btn-quick-order {
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.product-card:hover .btn-detail,
.product-card:hover .btn-quick-order {
    transform: translateY(0);
}

.btn-detail {
    background: var(--white);
    color: var(--gray-900);
}

.btn-detail:hover {
    background: var(--gray-100);
}

.btn-quick-order {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-quick-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.product-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h4 {
    color: var(--primary);
}

.product-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--danger);
    position: relative;
}

.price::before {
    content: '¥';
    font-size: 0.875rem;
    margin-right: 2px;
}

.unit {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.product-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.product-specs span:hover {
    background: var(--primary);
    color: var(--white);
}

.product-specs span i {
    font-size: 0.6875rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.sales {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.sales i {
    color: var(--warning);
}

.product-more {
    text-align: center;
    margin-top: 3rem;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-more::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.btn-more span,
.btn-more i {
    position: relative;
    z-index: 1;
}

.btn-more:hover {
    border-color: transparent;
    color: var(--white);
}

.btn-more:hover::before {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AI功能演示
   ======================================== */
.ai-demo {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.ai-demo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
    animation: rotate-bg 30s linear infinite;
}

@keyframes rotate-bg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.ai-input-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
}

.ai-name {
    display: block;
    font-weight: 600;
    color: var(--white);
}

.ai-status {
    font-size: 0.75rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ai-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ai-input-box textarea {
    width: 100%;
    height: 120px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.9375rem;
    resize: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.ai-input-box textarea::placeholder {
    color: var(--gray-400);
}

.ai-input-box textarea:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.ai-tips {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ai-tips span {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.ai-tips button {
    padding: 0.375rem 0.75rem;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ai-tips button:hover {
    background: rgba(79, 70, 229, 0.3);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.ai-actions {
    display: flex;
    gap: 1rem;
}

.btn-ai-parse,
.btn-ai-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-ai-parse {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-ai-parse:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-ai-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-ai-submit:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ai-result-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ai-result-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-result-section.active::before {
    opacity: 1;
}

.ai-result-placeholder {
    text-align: center;
    color: var(--gray-400);
}

.ai-result-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-result-placeholder ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    text-align: left;
}

.ai-result-placeholder li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.ai-result-placeholder li i {
    font-size: 1rem;
    color: var(--success);
}

/* AI解析结果样式 */
.ai-result-content {
    width: 100%;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--primary);
}

.ai-result-item:last-child {
    margin-bottom: 0;
    border-left-color: var(--success);
}

.ai-result-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: white;
    margin-right: 1rem;
    font-size: 0.875rem;
}

.ai-result-item:last-child i {
    background: var(--success);
}

.ai-result-item span {
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.ai-result-item strong {
    color: var(--white);
    font-weight: 600;
}

.ai-apply-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

@media (max-width: 768px) {
    .ai-demo-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   解决方案
   ======================================== */
.solutions {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 70, 229, 0.03) 100%);
    pointer-events: none;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.solution-tabs .tab-btn {
    padding: 0.75rem 1.75rem;
    background: var(--white);
    color: var(--gray-600);
    border: 2px solid transparent;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.solution-tabs .tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.solution-tabs .tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.solution-content {
    position: relative;
}

.solution-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 100%;
    transition: all 0.5s ease;
    transform: translateX(20px);
}

.solution-main.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
}

.solution-text h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
}

.solution-text h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.solution-text > p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-item i {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: rotateY(180deg);
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.btn-solution-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-solution-detail:hover {
    gap: 1rem;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-solution-detail i {
    transition: transform 0.3s ease;
}

.btn-solution-detail:hover i {
    transform: translateX(4px);
}

.solution-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.25);
}

.visual-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.visual-card span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.visual-card:hover i,
.visual-card:hover span {
    color: var(--white);
}

.visual-card:hover::before {
    opacity: 1;
}

@media (max-width: 1024px) {
    .solution-main {
        grid-template-columns: 1fr;
    }
    
    .solution-visual {
        display: none;
    }
}

/* ========================================
   价格方案
   ======================================== */
.pricing {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: height 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover::before {
    height: 6px;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), 0 25px 50px -12px rgba(79, 70, 229, 0.25);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    background: var(--gradient-primary);
    height: 6px;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--danger);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--danger);
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success);
    font-size: 1rem;
}

.pricing-features li i.unavailable {
    color: var(--gray-400);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.btn-pricing span {
    position: relative;
    z-index: 1;
}

.btn-pricing:hover {
    color: var(--white);
}

.btn-pricing:hover::before {
    transform: translateY(0);
}

.btn-pricing.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-pricing.primary::before {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* 价格计算器 */
.pricing-calculator {
    margin-top: 4rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
}

.pricing-calculator h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-calculator h3 i {
    color: var(--primary);
    font-size: 1.75rem;
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.calc-group select,
.calc-group input {
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.calc-group select:focus,
.calc-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.calc-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
}

.calc-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.calc-price .label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.calc-price .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.calc-detail {
    text-align: right;
}

.calc-detail p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.calc-detail p span {
    font-weight: 600;
    color: var(--gray-900);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .calculator-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-result {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .calc-detail {
        text-align: center;
    }
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.about-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-feature:hover .feature-icon {
    transform: rotateY(180deg);
}

.about-feature h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-visual {
    position: relative;
}

.about-image {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.team-stats {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.team-stat {
    text-align: center;
    position: relative;
}

.team-stat::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
}

.team-stat:last-child::after {
    display: none;
}

.team-stat .number {
    display: inline;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
}

.team-stat .unit {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.team-stat .label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.certifications {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    position: relative;
    z-index: 1;
}

.certifications h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.cert-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
}

.cert-item i {
    color: var(--warning);
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
}

/* ========================================
   合作伙伴
   ======================================== */
.partners {
    background: var(--white);
    padding: 4rem 0;
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    background: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(79, 70, 229, 0.25);
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--gray-400);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-logo span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-logo:hover i,
.partner-logo:hover span {
    color: var(--white);
}

@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotateY(180deg);
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 0.125rem;
}

.contact-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-btn:hover::before {
    transform: translateY(0);
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.social-btn.wechat { background: #07c160; color: white; }
.social-btn.qq { background: #12b7f5; color: white; }
.social-btn.weibo { background: #e6162d; color: white; }

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px -5px currentColor;
}

.contact-qrcode {
    display: flex;
    gap: 1.5rem;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qrcode-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-300);
}

.qrcode-box i {
    font-size: 2rem;
    color: var(--gray-400);
}

.qrcode-item span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.05);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 0.25rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit span,
.btn-submit i {
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.5);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-column a {
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.footer-column a::before {
    content: '›';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-column a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.875rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-800), transparent);
}

.footer-bottom a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* Footer Animation on Scroll */
.footer.visible .footer-brand,
.footer.visible .footer-column {
    animation: fade-in-up 0.6s ease forwards;
}

.footer.visible .footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer.visible .footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer.visible .footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer.visible .footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer.visible .footer-column:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   弹窗
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.modal-header h3 i {
    color: var(--primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-600);
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.modal-video {
    max-width: 800px;
}

.video-placeholder {
    background: var(--gray-900);
    border-radius: var(--radius);
    padding: 4rem;
    text-align: center;
    color: var(--gray-400);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.video-placeholder .text-muted {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* ========================================
   微信扫码登录弹窗
   ======================================== */
.modal-wechat {
    max-width: 400px;
}

.wechat-header {
    background: linear-gradient(135deg, #07c160, #06ad56);
}

.wechat-header h3 {
    color: #fff;
}

.wechat-header h3 i {
    color: #fff;
}

.wechat-header .modal-close {
    color: rgba(255, 255, 255, 0.85);
}

.wechat-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.wechat-body {
    padding: 2rem 1.5rem;
}

.wx-login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wx-qrcode-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 1.25rem;
}

.wx-qrcode-box {
    width: 220px;
    height: 220px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.wx-qrcode-box img,
.wx-qrcode-box canvas {
    width: 200px !important;
    height: 200px !important;
}

.wx-qrcode-box .wx-qrcode-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
}

.wx-qrcode-box .wx-qrcode-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.wx-qrcode-mask {
    position: absolute;
    inset: 0;
    background: rgba(7, 193, 96, 0.92);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wx-qrcode-mask i {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.wx-qrcode-mask span {
    font-size: 1.1rem;
    font-weight: 600;
}

.wx-login-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.wx-login-status i {
    font-size: 1.2rem;
    color: #07c160;
}

.wx-login-status .status-waiting {
    color: #666;
}

.wx-login-status .status-scanned {
    color: #07c160;
    font-weight: 600;
}

.wx-login-tips {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.6;
}

.wx-login-tips a {
    color: #576b95;
    text-decoration: none;
}

.wx-login-tips a:hover {
    text-decoration: underline;
}

.wx-login-refresh {
    margin-top: 1rem;
}

.wx-login-refresh button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wx-login-refresh button:hover {
    background: #07c160;
    border-color: #07c160;
    color: #fff;
}

/* 导航栏用户信息 */
.nav-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-user-name {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-logout {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* 表单样式 */
.form-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0.02));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.quote-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.quote-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.quote-value.primary {
    color: var(--primary);
}

.quote-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.quote-total .quote-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.quote-total .quote-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.btn-submit-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit-order::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit-order span,
.btn-submit-order i {
    position: relative;
    z-index: 1;
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.5);
}

.btn-submit-order:hover::before {
    opacity: 1;
}

.btn-submit-order:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.25rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem) scale(0.8);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.5);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ========================================
   Toast 消息提示
   ======================================== */
.toast-container {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    max-width: 420px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--gray-400);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast.info {
    border-left-color: var(--info);
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.toast.warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.toast.info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.toast-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0; }
}

/* ========================================
   加载动画
   ======================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   滚动动画
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
