/* ===== 基础变量与重置 ===== */
:root {
    /* 主色调 - 温暖橙色系 */
    --primary: #FF6B35;
    --primary-light: #FF8A5B;
    --primary-dark: #E85A2C;
    --primary-gradient: linear-gradient(135deg, #FF8A5B 0%, #FF6B35 50%, #F7931E 100%);
    
    /* 辅助色 - 科技蓝青色 */
    --secondary: #4ECDC4;
    --secondary-dark: #3DB8B0;
    --accent-blue: #3498DB;
    --accent-purple: #9B59B6;
    --accent-green: #2ECC71;
    --accent-red: #E74C3C;
    --accent-yellow: #F39C12;
    
    /* 中性色 */
    --text-dark: #1A1A2E;
    --text-body: #4A4A68;
    --text-light: #7A7A90;
    --text-muted: #A0A0B0;
    
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFC;
    --bg-gray: #F5F5F8;
    --bg-dark: #1A1A2E;
    --bg-darker: #0F0F1A;
    
    /* 边框与阴影 */
    --border-color: #E8E8F0;
    --border-light: #F0F0F5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 24px rgba(255, 107, 53, 0.3);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 字体 */
    --font-sans: 'Noto Sans SC', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Noto Sans SC', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* ===== 通用组件 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header.light {
    color: white;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: white;
}

.section-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-dark);
}

.logo-icon svg {
    width: 36px;
    height: 36px;
}

.logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-base);
    border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ===== 语言切换 ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

.lang-link {
    color: var(--text-body);
    padding: 4px 2px;
    transition: var(--transition-fast);
    line-height: 1;
}

.lang-link:hover {
    color: var(--primary);
}

.lang-link.active {
    color: var(--primary);
    font-weight: 700;
}

.lang-sep {
    color: var(--border-color);
    user-select: none;
}

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 30%, #FFF0E5 60%, #FFF8F0 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(78, 205, 196, 0.15) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 40%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: 20%;
    right: 10%;
    animation-delay: -3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #F7931E;
    top: 50%;
    left: 30%;
    animation-delay: -5s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-highlight {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-actions .btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.hero-actions .btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero 产品展示 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
}

.product-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.product-ring.ring-1 {
    width: 90%;
    height: 90%;
}

.product-ring.ring-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(78, 205, 196, 0.2);
    animation-direction: reverse;
    animation-duration: 25s;
}

.product-ring.ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(247, 147, 30, 0.2);
    animation-duration: 20s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.product-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    animation: productFloat 4s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

.product-main svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 107, 53, 0.3));
}

.float-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    animation: tagFloat 3s ease-in-out infinite;
}

.tag-icon {
    font-size: 18px;
}

.tag-1 {
    top: 5%;
    left: 0;
    animation-delay: 0s;
}

.tag-2 {
    top: 25%;
    right: -5%;
    animation-delay: -0.5s;
}

.tag-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: -1s;
}

.tag-4 {
    bottom: 5%;
    right: 5%;
    animation-delay: -1.5s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}

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

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

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ===== 合作伙伴 ===== */
.partners {
    padding: 40px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.partners-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-base);
    letter-spacing: 0.5px;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===== 功能区 ===== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--bg-light) 0%, transparent 100%);
    pointer-events: none;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 138, 91, 0.1));
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-base);
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.feature-tags span {
    padding: 4px 12px;
    background: var(--bg-gray);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

/* ===== 应用场景 ===== */
.scenes {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.scenes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--bg-light) 0%, transparent 100%);
    pointer-events: none;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.scene-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.scene-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.scene-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.scene-card:hover::before {
    transform: scaleX(1);
}

.scene-card.more {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(78, 205, 196, 0.05));
    border-style: dashed;
    border-color: var(--primary);
}

.scene-card.more:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(78, 205, 196, 0.1));
}

.scene-emoji {
    font-size: 56px;
    margin-bottom: 16px;
    line-height: 1;
    transition: transform var(--transition-base);
}

.scene-card:hover .scene-emoji {
    transform: scale(1.15);
}

.scene-card.more .scene-emoji {
    font-size: 48px;
    color: var(--primary);
    font-weight: 300;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary);
    border-radius: 50%;
}

.scene-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.scene-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.scene-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.scene-tags span {
    padding: 4px 12px;
    background: var(--bg-gray);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.scene-card:hover .scene-tags span {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
}

/* ===== 技术能力区 ===== */
.technology {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    color: white;
}

.tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tech-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

.tech-visual {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-core {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: 10;
}

.tech-core-inner {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.4);
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 60px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 80px rgba(255, 107, 53, 0.6); }
}

.tech-core-inner span {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.tech-core-inner small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.tech-orbits {
    position: absolute;
    inset: 0;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 60%;
    height: 60%;
    animation: orbitRotate 20s linear infinite;
}

.orbit-2 {
    width: 75%;
    height: 75%;
    animation: orbitRotate 25s linear infinite reverse;
}

.orbit-3 {
    width: 90%;
    height: 90%;
    animation: orbitRotate 30s linear infinite;
}

.orbit-4 {
    width: 100%;
    height: 100%;
    animation: orbitRotate 35s linear infinite reverse;
}

.orbit-5 {
    width: 85%;
    height: 85%;
    animation: orbitRotate 28s linear infinite;
}

.orbit-6 {
    width: 70%;
    height: 70%;
    animation: orbitRotate 22s linear infinite reverse;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tech-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: nodeCounterRotate 20s linear infinite;
}

.orbit-1 .tech-node { animation-duration: 20s; top: -20px; left: 50%; transform: translateX(-50%); }
.orbit-2 .tech-node { animation-duration: 25s; top: 50%; right: -20px; transform: translateY(-50%); }
.orbit-3 .tech-node { animation-duration: 30s; bottom: -20px; left: 50%; transform: translateX(-50%); }
.orbit-4 .tech-node { animation-duration: 35s; top: 50%; left: -20px; transform: translateY(-50%); }
.orbit-5 .tech-node { animation-duration: 28s; top: 10%; right: 10%; }
.orbit-6 .tech-node { animation-duration: 22s; bottom: 10%; left: 10%; }

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

.orbit-1 .tech-node,
.orbit-3 .tech-node,
.orbit-5 .tech-node {
    animation-name: nodeCounterRotate;
}

.orbit-2 .tech-node,
.orbit-4 .tech-node,
.orbit-6 .tech-node {
    animation-name: nodeRotate;
}

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

.node-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tech-node span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(8px);
}

.tech-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.tech-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.tech-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 12px;
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-specs span {
    padding: 4px 10px;
    background: rgba(78, 205, 196, 0.15);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

/* ===== 定制服务区 ===== */
.custom {
    padding: 100px 0;
    background: var(--bg-light);
}

.custom-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.step-arrow {
    font-size: 24px;
    color: var(--primary);
    padding-top: 60px;
    font-weight: 700;
}

.custom-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.custom-feature {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.custom-feature:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cf-icon {
    flex-shrink: 0;
    font-size: 36px;
}

.custom-feature h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.custom-feature p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 健康数据看板 ===== */
.dashboard {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.dashboard-wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* 看板控制面板 */
.dash-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.dash-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.dash-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.dash-control-btn:active {
    transform: translateY(0);
}

.dash-control-btn.loading svg {
    animation: spin 1s linear infinite;
}

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

.dash-control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.dash-select {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.dash-select:hover {
    border-color: var(--primary);
}

.dash-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.dash-segmented {
    display: flex;
    background: var(--bg-gray);
    padding: 3px;
    border-radius: var(--radius-full);
}

.seg-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.seg-btn:hover {
    color: var(--text-body);
}

.seg-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* 侧边栏 */
.dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-pet-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pet-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 16px rgba(255, 107, 53, 0.3));
}

.pet-avatar svg {
    width: 100%;
    height: 100%;
}

.pet-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pet-info p {
    font-size: 13px;
    color: var(--text-light);
}

.pet-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.pet-status span {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

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

/* 健康评分仪表盘 */
.dash-score-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}

.score-trend {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.score-trend.up {
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
}

.score-trend.down {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-red);
}

.score-gauge {
    position: relative;
    text-align: center;
    margin-bottom: 8px;
}

.gauge-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.score-value {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    text-align: center;
}

.score-value small {
    display: inline;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
}

.score-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 4px;
}

/* 实时指标 */
.dash-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-mini {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-base);
}

.metric-mini:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.mm-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mm-content {
    flex: 1;
    min-width: 0;
}

.mm-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.mm-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.mm-value small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.mm-status {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}

.mm-status.good {
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
}

.mm-status.warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-yellow);
}

.mm-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.mm-bar span {
    display: block;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 1s ease;
}

/* 步数和睡眠卡片：上下两行布局 */
.metric-mini.metric-steps,
.metric-mini.metric-sleep {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.metric-mini.metric-steps .mm-content,
.metric-mini.metric-sleep .mm-content {
    width: 100%;
}

.metric-mini.metric-steps .mm-icon,
.metric-mini.metric-sleep .mm-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.metric-mini.metric-steps .mm-value,
.metric-mini.metric-sleep .mm-value {
    font-size: 20px;
    margin-bottom: 2px;
}

.metric-mini.metric-steps .mm-bar,
.metric-mini.metric-sleep .mm-bar {
    height: 6px;
    margin-top: 8px;
}

.metric-mini.metric-steps .mm-bar span,
.metric-mini.metric-sleep .mm-bar span {
    border-radius: 3px;
}

/* 主看板区域 */
.dash-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.dash-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.dash-card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.card-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.card-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.card-badge.warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-yellow);
}

.card-badge.safe {
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
}

.chart-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-gray);
    padding: 3px;
    border-radius: var(--radius-full);
}

.tab-btn {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-light);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* 折线图 */
.chart-container {
    position: relative;
}

.line-chart {
    width: 100%;
    height: 180px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

/* 柱状图 */
.bar-chart-container {
    margin-bottom: 20px;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 160px;
    padding: 0 8px;
}

.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 70%;
    max-width: 36px;
    background: linear-gradient(180deg, #FF8A5B 0%, #FF6B35 100%);
    border-radius: 6px 6px 2px 2px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 10px;
    cursor: pointer;
}

.bar:hover {
    filter: brightness(1.1);
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.bar.today {
    background: linear-gradient(180deg, #4ECDC4 0%, #3DB8B0 100%);
}

.bar span {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.bar:hover span {
    opacity: 1;
}

.bar-label {
    font-size: 12px;
    color: var(--text-light);
}

.chart-summary {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.summary-value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

/* 睡眠分析 */
.sleep-chart {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sleep-ring {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.sleep-ring svg {
    width: 100%;
    height: 100%;
}

.sleep-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sleep-score {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #9B59B6, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.sleep-label {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

.sleep-stages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sleep-stage {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stage-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stage-dot.deep { background: #9B59B6; }
.stage-dot.light { background: #3498DB; }
.stage-dot.rem { background: #4ECDC4; }

.stage-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
    min-width: 80px;
}

.stage-name {
    font-size: 13px;
    color: var(--text-body);
}

.stage-time {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.stage-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-gray);
    border-radius: 3px;
    overflow: hidden;
}

.stage-bar span {
    display: block;
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.sleep-stage:nth-child(1) .stage-bar span { background: #9B59B6; }
.sleep-stage:nth-child(2) .stage-bar span { background: #3498DB; }
.sleep-stage:nth-child(3) .stage-bar span { background: #4ECDC4; }

/* 行为姿态分析 */
.behavior-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.behavior-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.behavior-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.behavior-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
    margin-bottom: 4px;
}

.behavior-name {
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
}

.behavior-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.behavior-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
    flex: 2;
}

.behavior-bar span {
    display: block;
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* 环境与位置 */
.env-location {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.env-map {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mini-map {
    width: 100%;
    height: 140px;
    display: block;
}

.map-legend {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    display: flex;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.env-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.env-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.env-icon {
    font-size: 20px;
}

.env-label {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.env-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-display);
}

/* 底部概览 */
.dash-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.overview-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.overview-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.overview-content h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.overview-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== 关于我们 ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

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

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

.about-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border-light);
}

.about-hl-item {
    text-align: center;
}

.hl-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.hl-text {
    font-size: 13px;
    color: var(--text-light);
}

.about-visual {
    position: relative;
}

.about-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-light);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF5F56;
}

.card-dots span:nth-child(2) {
    background: #FFBD2E;
}

.card-dots span:nth-child(3) {
    background: #27C93F;
}

.about-card-header span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.about-card-body {
    padding: 24px;
}

.health-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.metric-item {
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.metric-item.good {
    background: rgba(46, 204, 113, 0.1);
}

.metric-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.metric-value small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.metric-status {
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 500;
}

.metric-bar {
    height: 6px;
    background: var(--bg-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.metric-bar span {
    display: block;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.mini-chart {
    height: 80px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

/* ===== 联系我们 ===== */
.contact {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.contact-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #FF6B35 100%);
    opacity: 0.95;
}

.contact-gradient::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(78, 205, 196, 0.3) 0%, transparent 60%);
}

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

.contact-info {
    color: white;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin: 16px 0 20px;
}

.contact-info h2 .highlight {
    color: #FFD4B8;
}

.contact-info > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cm-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cm-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.cm-value {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

/* WhatsApp & WeChat 二维码 */
.qr-codes-wrap {
    margin-top: 32px;
    text-align: center;
}

.qr-item {
    display: inline-block;
}

.qr-img-wrap {
    background: transparent;
    border-radius: 24px;
    padding: 0;
}

.qr-img {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-base);
}

.qr-img:hover {
    transform: scale(1.03);
}

.qr-names {
    display: flex;
    justify-content: space-around;
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 1px;
}

.qr-desc {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.contact-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-dark);
    transition: all var(--transition-base);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.contact-form .btn {
    margin-top: 8px;
    padding: 16px 28px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-size: 24px;
}

.footer-brand > p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

/* ===== 响应式适配 ===== */
@media (max-width: 1024px) {
    /* 看板响应式 */
    .dashboard-wrap {
        grid-template-columns: 1fr;
    }
    
    .dash-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .dash-pet-card {
        grid-column: span 2;
    }
    
    .dash-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenes {
        padding: 60px 0;
    }
    
    .scenes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 24px;
    }
    
    .hero-desc {
        margin: 0 auto 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .product-showcase {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }
    
    .tech-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .custom-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
}

@media (max-width: 768px) {
    /* 看板移动端 */
    .dashboard {
        padding: 50px 0;
    }
    
    .dash-controls {
        padding: 16px;
        gap: 12px;
    }
    
    .dash-control-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dash-control-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .dash-sidebar {
        grid-template-columns: 1fr;
    }
    
    .dash-pet-card {
        grid-column: span 1;
    }
    
    .dash-row {
        grid-template-columns: 1fr;
    }
    
    .dash-card {
        padding: 20px;
    }
    
    .sleep-chart {
        flex-direction: column;
        text-align: center;
    }
    
    .sleep-ring {
        width: 120px;
        height: 120px;
    }
    
    .sleep-score {
        font-size: 28px;
    }
    
    .behavior-item {
        flex-wrap: wrap;
    }
    
    .behavior-bar {
        flex-basis: 100%;
        margin-top: 4px;
    }
    
    .env-stats {
        grid-template-columns: 1fr;
    }
    
    .dash-overview {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .overview-item {
        padding: 20px;
    }
    
    .scenes {
        padding: 50px 0;
    }
    
    .scenes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .scene-card {
        padding: 24px 20px;
    }
    
    .scene-emoji {
        font-size: 48px;
    }
    
    .bar-chart {
        height: 140px;
    }
    
    .nav-menu,
    .nav-cta {
        display: none;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .features,
    .technology,
    .custom,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 28px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .custom-features {
        grid-template-columns: 1fr;
    }
    
    .health-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .float-tag {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
