/* ========================================
   星哥自动化 - 高科技明亮风格设计系统
   ======================================== */

/* CSS 变量 */
:root {
    /* 主色调 */
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary: #06b6d4;
    --accent: #10b981;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    
    /* 背景色 - 明亮系 */
    --bg-primary: #f8fafc;
    --bg-secondary: #f0f4ff;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    
    /* 文字色 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* 边框 */
    --border-light: rgba(99, 102, 241, 0.15);
    --border-medium: rgba(99, 102, 241, 0.25);
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
    --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.12);
    --shadow-lg: 0 16px 48px rgba(99, 102, 241, 0.16);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   科技感背景效果
   ======================================== */

/* 网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* 渐变光晕 */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: float-glow 30s ease-in-out infinite;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-100px, 100px); }
}

/* 动态粒子背景 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 25s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -80px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(100px, -50px) scale(1.4);
        opacity: 0.6;
    }
    75% {
        transform: translate(30px, -120px) scale(1.1);
        opacity: 0.4;
    }
}

/* ========================================
   导航栏 - 统一风格
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: none;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    isolation: isolate;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.28), rgba(6, 182, 212, 0.22), transparent);
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.75rem;
    min-height: 72px;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.03);
}

.logo-img {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.logo:hover .logo-img {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

/* 导航菜单 */
.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-nav__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(99, 102, 241, 0.28);
}

.site-nav__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.16), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.site-nav__panel {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* 导航链接 */
.nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    transition: all var(--transition-normal);
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-menu .nav-link i {
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

/* 悬停效果 */
.nav-menu .nav-link:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(99, 102, 241, 0.16);
    transform: translateY(-1px);
}

.nav-menu .nav-link:hover i {
    transform: scale(1.1);
}

.nav-menu .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

/* 选中状态 */
.nav-menu .nav-link.active,
.nav-menu .nav-link[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.10) 45%, rgba(6, 182, 212, 0.10) 100%);
    border: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.nav-menu .nav-link.active i,
.nav-menu .nav-link[aria-current="page"] i {
    color: var(--primary);
    transform: scale(1.1);
    filter: drop-shadow(0 8px 18px rgba(79, 70, 229, 0.18));
}

.nav-menu .nav-link.active::after,
.nav-menu .nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.0), rgba(79, 70, 229, 0.75), rgba(6, 182, 212, 0.65), rgba(6, 182, 212, 0.0));
    opacity: 0.9;
    pointer-events: none;
}

/* 登录按钮 */
.nav-menu .btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-hero);
    color: white;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
}

.nav-menu .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* 注册按钮 */
.nav-menu .btn-register {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-weight: 500;
    font-size: 0.9rem;
    background: transparent;
}

.nav-menu .btn-register:hover {
    background: var(--gradient-hero);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    border-color: transparent;
}

/* 用户菜单 */
.nav-menu .user-menu-wrapper {
    position: relative;
}

.nav-menu .user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-hero);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-menu .user-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.nav-menu .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.nav-menu .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-menu .user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid var(--border-light);
}

.nav-menu .user-menu-panel[hidden] {
    display: none;
}

.nav-menu .user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.nav-menu .user-menu-item:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
}

/* 认证状态控制 */
.nav-menu [data-auth="guest"] {
    display: flex;
    gap: 0.75rem;
}

.nav-menu [data-auth="guest"][hidden] {
    display: none !important;
}

.nav-menu [data-auth="user"] {
    display: block;
}

.nav-menu [data-auth="user"][hidden] {
    display: none !important;
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(124, 58, 237, 0.85) 50%, rgba(6, 182, 212, 0.85) 100%),
        url('https://vip.123pan.cn/1849374923/ymjew503t0l000d7w32xo5h4jvhkfeweDIYxBID0AdrvDvxvDwrPDY==.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.6) 0%, rgba(124, 58, 237, 0.6) 100%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    z-index: 1;
}

/* Hero 光效 */
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* AI徽章 */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: pulse-glow 3s ease-in-out infinite;
    font-size: 0.95rem;
    font-weight: 500;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 35px rgba(255, 255, 255, 0.4); }
}

.ai-badge i {
    font-size: 1.1rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero 图片装饰 */
.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    opacity: 0.15;
    z-index: 2;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="white" stroke-width="2"/><circle cx="100" cy="100" r="50" fill="none" stroke="white" stroke-width="1"/><path d="M100 20 L120 80 L180 100 L120 120 L100 180 L80 120 L20 100 L80 80 Z" fill="none" stroke="white" stroke-width="2"/></svg>') center/contain no-repeat;
    animation: float 18s ease-in-out infinite;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease-out;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero h1::after {
    content: '🤖';
    position: absolute;
    margin-left: 15px;
    font-size: 2rem;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ========================================
   核心能力区域
   ======================================== */

.capabilities {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 1;
}

.capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.4;
}

.capabilities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: 2px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.capability-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.capability-icon {
    font-size: 3rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: all var(--transition-normal);
}

.capability-card:hover .capability-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
}

.capability-card h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.capability-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ========================================
   产品展示区域
   ======================================== */

.products {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-white) 100%);
    position: relative;
    z-index: 1;
}

.automation-flow {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 180px;
    height: 180px;
    opacity: 0.08;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M20 100 Q50 50 100 50 T180 100" fill="none" stroke="%234f46e5" stroke-width="2"/><circle cx="20" cy="100" r="8" fill="%234f46e5"/><circle cx="100" cy="50" r="8" fill="%234f46e5"/><circle cx="180" cy="100" r="8" fill="%234f46e5"/></svg>') center/contain no-repeat;
    animation: float 25s ease-in-out infinite;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

.product-content {
    padding: 1.75rem;
}

.product-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    border: 1px solid var(--border-light);
}

.product-tag::before {
    content: '⚡';
    font-size: 0.85rem;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ========================================
   为什么自动化区域
   ======================================== */

.why-automation {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-primary) 100%);
    position: relative;
    z-index: 1;
}

.why-automation-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.benefit-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-hero);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    display: block;
}

.benefit-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.benefit-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   联系方式区域
   ======================================== */

.contact {
    padding: 5rem 2rem;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 0.875rem;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.contact-methods {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method {
    text-align: center;
    transition: transform var(--transition-normal);
}

.contact-method:hover {
    transform: translateY(-6px);
}

.contact-qr {
    width: 240px;
    height: 340px;
    background: white;
    border-radius: var(--radius-lg);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.contact-qr:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.contact-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========================================
   页脚
   ======================================== */

.footer {
    background: #1e293b;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2.25rem 2rem;
}

.footer p {
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

/* ========================================
   动画
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 920px) {
    .nav-container {
        padding: 0.7rem 1rem;
        min-height: 66px;
    }

    .site-nav__toggle {
        display: inline-flex;
    }

    .site-nav__panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 1rem;
        right: 1rem;
        display: none;
        z-index: 1000;
    }

    .navbar[data-open="true"] .site-nav__panel {
        display: block;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(99, 102, 241, 0.18);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 0.9rem;
        border-radius: 14px;
    }

    .nav-menu [data-auth="guest"] {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-menu .btn-login,
    .nav-menu .btn-register,
    .nav-menu .user-menu-toggle {
        width: 100%;
        justify-content: center;
    }

    .nav-menu .user-menu-panel {
        right: 0;
        left: 0;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem;
        background-attachment: scroll;
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1::after {
        display: none;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .capabilities-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.15rem;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding: 3.5rem 1.25rem;
        min-height: 420px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .capabilities,
    .products,
    .why-automation,
    .contact {
        padding: 3.5rem 1.25rem;
    }
}
