/* ===== V4 极简禅意设计系统 ===== */

/* 核心设计原则：
   - 大量留白，让内容呼吸
   - 细腻的微交互
   - 自然和谐的配色
   - 专注内容，减少干扰
*/

/* ===== CSS变量系统 ===== */
:root {
    /* 主色调 - 受日式配色启发 */
    --primary-50: #fafaf9;
    --primary-100: #f5f5f4;
    --primary-200: #e7e5e4;
    --primary-300: #d6d3d1;
    --primary-400: #a8a29e;
    --primary-500: #78716c;
    --primary-600: #57534e;
    --primary-700: #44403c;
    --primary-800: #292524;
    --primary-900: #1c1917;

    /* 自然绿色系 - 体现生机与平静 */
    --nature-50: #f0fdf4;
    --nature-100: #dcfce7;
    --nature-200: #bbf7d0;
    --nature-300: #86efac;
    --nature-400: #4ade80;
    --nature-500: #22c55e;
    --nature-600: #16a34a;
    --nature-700: #15803d;
    --nature-800: #166534;
    --nature-900: #14532d;

    /* 功能色 - 低饱和度，不突兀 */
    --success: #16a34a;
    --warning: #ca8a04;
    --error: #dc2626;
    --info: #0369a1;

    /* 中性色系 - 温暖的灰色调 */
    --neutral-0: #ffffff;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;

    /* 间距系统 - 基于黄金比例 */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 0.75rem;    /* 12px */
    --space-lg: 1rem;       /* 16px */
    --space-xl: 1.5rem;     /* 24px */
    --space-2xl: 2rem;      /* 32px */
    --space-3xl: 3rem;      /* 48px */
    --space-4xl: 4rem;      /* 64px */
    --space-5xl: 6rem;      /* 96px */
    --space-6xl: 8rem;      /* 128px */
    --space-7xl: 12rem;     /* 192px */
    --space-8xl: 16rem;     /* 256px */

    /* 字体系统 - 优雅可读 */
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
    
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    --text-7xl: 4.5rem;     /* 72px */

    /* 行高系统 */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* 阴影系统 - 细腻柔和 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 边框圆角 - 微妙统一 */
    --radius-none: 0;
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* 动画系统 - 自然流畅 */
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-zen: cubic-bezier(0.23, 1, 0.32, 1);

    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;
}

/* ===== 基础重置与设置 ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--neutral-800);
    background-color: var(--neutral-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== 容器系统 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-3xl);
    }
}

/* ===== 导航系统 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all var(--duration-300) var(--ease-zen);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--neutral-300);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: inherit;
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nature-600);
    color: white;
    border-radius: var(--radius-lg);
    font-size: var(--text-xl);
    font-weight: 700;
    transition: all var(--duration-300) var(--ease-zen);
}

.logo:hover .logo-symbol {
    background: var(--nature-700);
    transform: scale(1.05);
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--neutral-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    transition: all var(--duration-200) var(--ease-zen);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nature-600);
    transform: translateX(-50%);
    transition: width var(--duration-300) var(--ease-zen);
}

.nav-link:hover,
.nav-link.active {
    color: var(--nature-700);
    background: var(--nature-50);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    transition: all var(--duration-300) var(--ease-zen);
}

/* ===== 英雄区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-7xl) 0 var(--space-5xl);
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--nature-50) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: var(--space-2xl);
}

.title-line {
    display: block;
    font-size: var(--text-6xl);
    font-weight: 300;
    line-height: var(--leading-tight);
    color: var(--neutral-900);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-zen) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    font-weight: 700;
    color: var(--nature-700);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-3xl);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-zen) 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-zen) 0.6s forwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-zen) 0.8s forwards;
}

.zen-circle {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--neutral-300);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border: 1px solid var(--nature-400);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 15s linear infinite reverse;
}

.circle-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--nature-600);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.scroll-text {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: var(--neutral-400);
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { 
        transform: scaleY(1);
        opacity: 1;
    }
    50% { 
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* ===== 按钮系统 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-300) var(--ease-zen);
    white-space: nowrap;
}

.btn-primary {
    background: var(--nature-600);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--nature-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-text {
    background: transparent;
    color: var(--neutral-700);
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nature-600);
    transition: width var(--duration-300) var(--ease-zen);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-full {
    width: 100%;
}

/* ===== 区域系统 ===== */
section {
    padding: var(--space-7xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-5xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-meta {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--nature-100);
    color: var(--nature-700);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--neutral-900);
    line-height: var(--leading-tight);
}

/* ===== 关于区域 ===== */
.about {
    background: var(--neutral-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: start;
}

.about-philosophy {
    display: grid;
    gap: var(--space-xl);
}

.philosophy-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--duration-300) var(--ease-zen);
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--nature-300);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.card-icon {
    font-size: var(--text-2xl);
}

.philosophy-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-900);
}

.philosophy-card p {
    color: var(--neutral-600);
    margin-bottom: var(--space-sm);
}

.code {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--neutral-500);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.text-block {
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--nature-400);
}

.lead-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--nature-700);
    margin-bottom: var(--space-lg);
}

.text-block p {
    color: var(--neutral-700);
    line-height: var(--leading-loose);
}

/* ===== 服务区域 ===== */
.services {
    background: white;
}

.services-grid {
    display: grid;
    gap: var(--space-2xl);
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    transition: all var(--duration-300) var(--ease-zen);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--nature-100), var(--nature-50));
    border-radius: var(--radius-xl);
    transition: width var(--duration-500) var(--ease-zen);
    z-index: -1;
}

.service-item:hover::before {
    width: 100%;
}

.service-item:hover {
    border-color: var(--nature-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-number {
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--neutral-400);
    font-family: var(--font-mono);
    transition: color var(--duration-300) var(--ease-zen);
}

.service-item:hover .service-number {
    color: var(--nature-600);
}

.service-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    color: var(--neutral-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.service-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.service-tags span {
    padding: var(--space-xs) var(--space-sm);
    background: var(--neutral-200);
    color: var(--neutral-600);
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
    transition: all var(--duration-200) var(--ease-zen);
}

.service-item:hover .service-tags span {
    background: var(--nature-200);
    color: var(--nature-800);
}

/* ===== 解决方案区域 ===== */
.solutions {
    background: var(--neutral-50);
}

.solutions-content {
    max-width: 1000px;
    margin: 0 auto;
}

.solution-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    background: white;
    padding: var(--space-sm);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
}

.solution-tab {
    padding: var(--space-md) var(--space-xl);
    background: none;
    border: none;
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all var(--duration-300) var(--ease-zen);
}

.solution-tab.active,
.solution-tab:hover {
    background: var(--nature-600);
    color: white;
}

.solution-panels {
    position: relative;
}

.solution-panel {
    display: none;
    animation: fadeIn var(--duration-500) var(--ease-zen);
}

.solution-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    background: white;
    padding: var(--space-4xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.panel-text h3 {
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
}

.panel-text p {
    color: var(--neutral-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-xl);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    position: relative;
    padding-left: var(--space-lg);
    color: var(--neutral-700);
    font-size: var(--text-sm);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 1px;
    background: var(--nature-600);
}

.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    width: 200px;
    height: 200px;
    position: relative;
}

/* 数字化转型可视化 */
.digital-viz {
    display: flex;
    align-items: center;
    justify-content: center;
}

.viz-node {
    width: 40px;
    height: 40px;
    background: var(--nature-200);
    border-radius: 50%;
    position: absolute;
    transition: all var(--duration-300) var(--ease-zen);
}

.viz-node:nth-child(1) { top: 20px; left: 50%; transform: translateX(-50%); }
.viz-node:nth-child(2) { bottom: 20px; left: 20px; }
.viz-node:nth-child(3) { bottom: 20px; right: 20px; }

.viz-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 1px;
    background: var(--nature-400);
    transform: translate(-50%, -50%);
}

/* 云端部署可视化 */
.cloud-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.cloud-layer {
    width: 100%;
    height: 30px;
    background: linear-gradient(135deg, var(--nature-200), var(--nature-100));
    border-radius: var(--radius-lg);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.cloud-layer:nth-child(2) { animation-delay: -1s; width: 80%; }
.cloud-layer:nth-child(3) { animation-delay: -2s; width: 60%; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* AI可视化 */
.neural-network {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    width: 100%;
    height: 100%;
}

.neuron {
    width: 30px;
    height: 30px;
    background: var(--nature-400);
    border-radius: 50%;
    animation: neuronPulse 2s ease-in-out infinite;
}

.neuron:nth-child(2) { animation-delay: -0.5s; }
.neuron:nth-child(3) { animation-delay: -1s; }
.neuron:nth-child(4) { animation-delay: -1.5s; }

@keyframes neuronPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ===== 联系区域 ===== */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: start;
}

.contact-text {
    margin-bottom: var(--space-3xl);
}

.contact-lead {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--nature-700);
    margin-bottom: var(--space-lg);
}

.contact-text p {
    color: var(--neutral-600);
    line-height: var(--leading-relaxed);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    padding: var(--space-lg);
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--duration-300) var(--ease-zen);
}

.contact-item:hover {
    background: var(--nature-50);
    border-color: var(--nature-300);
    transform: translateY(-2px);
}

.contact-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-500);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: var(--text-base);
    color: var(--neutral-800);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-zen);
}

a.contact-value:hover {
    color: var(--nature-600);
}

/* ===== 表单系统 ===== */
.contact-form {
    background: var(--neutral-50);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
}

.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    background: white;
    transition: all var(--duration-200) var(--ease-zen);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nature-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo .logo-symbol {
    background: var(--nature-600);
}

.footer-logo .logo-text {
    color: white;
}

.footer-tagline {
    color: var(--neutral-400);
    font-size: var(--text-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.link-group h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-200);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-group a {
    display: block;
    color: var(--neutral-400);
    text-decoration: none;
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
    transition: color var(--duration-200) var(--ease-zen);
}

.link-group a:hover {
    color: var(--nature-400);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--neutral-500);
}

.footer-license {
    font-family: var(--font-mono);
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-2xl);
    right: var(--space-2xl);
    width: 48px;
    height: 48px;
    background: var(--nature-600);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-300) var(--ease-zen);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--nature-700);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .panel-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .zen-circle {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--neutral-200);
        padding: var(--space-2xl);
        flex-direction: column;
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--duration-300) var(--ease-zen);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .title-line {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .solution-nav {
        flex-wrap: wrap;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav-container {
        padding: 0 var(--space-lg);
    }
    
    .hero {
        padding: var(--space-5xl) 0 var(--space-3xl);
    }
    
    .title-line {
        font-size: var(--text-3xl);
    }
    
    section {
        padding: var(--space-5xl) 0;
    }
    
    .philosophy-card,
    .text-block,
    .service-item,
    .contact-form {
        padding: var(--space-lg);
    }
    
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-number {
        font-size: var(--text-2xl);
    }
}

/* ===== 滚动动画 ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-700) var(--ease-zen);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 深色模式支持 ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --neutral-0: var(--neutral-900);
        --neutral-50: var(--neutral-800);
        --neutral-100: var(--neutral-700);
        --neutral-900: var(--neutral-100);
        --neutral-800: var(--neutral-200);
    }
}

/* ===== 打印样式 ===== */
@media print {
    .nav,
    .hero-visual,
    .back-to-top,
    .menu-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }
    
    section {
        padding: var(--space-lg) 0;
        break-inside: avoid;
    }
    
    .philosophy-card,
    .service-item {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--neutral-300) !important;
    }
}

/* ===== 无障碍优化 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --nature-600: #000000;
        --neutral-600: #000000;
        --neutral-400: #666666;
    }
}