/* ==========================================================================
   赣星实业 v2 - AI+生态农业品牌站
   设计语言：科技蓝绿渐变 + 生态绿 + 数据可视化
   ========================================================================== */

/* ============== 设计变量 ============== */
:root {
    /* 核心品牌色 — 生态绿 */
    --color-primary: #1f8a4e;
    --color-primary-dark: #0d5a2f;
    --color-primary-light: #4cbb7a;
    --color-primary-bg: #f0f9f4;

    /* 科技蓝 */
    --color-tech: #1e6fb9;
    --color-tech-dark: #0c4a85;
    --color-tech-light: #4ea3e5;
    --color-tech-bg: #e8f3fc;

    /* 强调色 */
    --color-accent: #f59e0b;        /* 阳光金（果实/丰收） */
    --color-accent-warm: #e76f51;   /* 暖橙（土壤/温度） */
    --color-data: #8b5cf6;          /* 数据紫（AI/智慧） */

    /* 中性色 */
    --color-text: #1a2332;
    --color-text-light: #4a5568;
    --color-text-muted: #8b95a3;
    --color-border: #e5e7eb;
    --color-bg: #ffffff;
    --color-bg-soft: #fafbfc;
    --color-bg-card: #ffffff;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "STZhongsong", "Noto Serif SC", "Songti SC", serif;
    --font-mono: "SF Mono", Monaco, Consolas, monospace;

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 32px rgba(31, 138, 78, 0.15);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* 容器 */
    --container-max: 1240px;
    --container-pad: 24px;

    /* 渐变 */
    --gradient-eco: linear-gradient(135deg, #1f8a4e 0%, #4cbb7a 100%);
    --gradient-tech: linear-gradient(135deg, #1e6fb9 0%, #4ea3e5 100%);
    --gradient-mix: linear-gradient(135deg, #1f8a4e 0%, #1e6fb9 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #e76f51 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 90, 47, 0.85) 0%, rgba(12, 74, 133, 0.75) 100%);
}

/* ============== 基础重置 ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }

p {
    margin-bottom: 1em;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ============== 导航栏 ============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary-dark);
}

.brand-tagline {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

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

.nav-link {
    padding: 8px 14px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
}

/* ============== 按钮 ============== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-eco);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 138, 78, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 138, 78, 0.35);
    color: white;
}

.btn-tech {
    background: var(--gradient-tech);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 111, 185, 0.25);
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 111, 185, 0.35);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* ============== Hero ============== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    padding-top: 72px;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.1s both;
}

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

.hero h1 {
    color: white;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 600px;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    animation: fadeUp 0.8s ease 0.5s both;
}

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

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ============== 区段通用 ============== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag.tech {
    background: var(--color-tech-bg);
    color: var(--color-tech);
}

.section-tag.warm {
    background: #fff7ed;
    color: var(--color-accent-warm);
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* ============== 数据看板 ============== */
.dashboard {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-card {
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card.tech { border-left-color: var(--color-tech); }
.dashboard-card.warm { border-left-color: var(--color-accent-warm); }
.dashboard-card.data { border-left-color: var(--color-data); }

.dashboard-card-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-card-value {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.dashboard-card-value .unit {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-left: 4px;
    font-weight: 400;
}

.dashboard-card-trend {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dashboard-card-trend.up { color: var(--color-primary); }
.dashboard-card-trend.down { color: var(--color-accent-warm); }

.dashboard-trend-bar {
    height: 6px;
    background: var(--color-primary-bg);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.dashboard-trend-bar-fill {
    height: 100%;
    background: var(--gradient-eco);
    transition: width 1.5s ease;
    width: 0;
}

.dashboard-trend-bar-fill.tech { background: var(--gradient-tech); }
.dashboard-trend-bar-fill.warm { background: var(--gradient-warm); }

/* ============== AI模块网格 ============== */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai-card {
    padding: 32px 28px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-mix);
}

.ai-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.ai-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--color-primary);
}

.ai-card.tech .ai-icon {
    background: var(--color-tech-bg);
    color: var(--color-tech);
}

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

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

.ai-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-tag {
    padding: 4px 10px;
    background: var(--color-bg-soft);
    color: var(--color-text-light);
    font-size: 11px;
    border-radius: 50px;
    font-weight: 500;
}

/* ============== 特性区 ============== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-img:hover img {
    transform: scale(1.05);
}

.feature-content h2 {
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-eco);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.feature-list strong {
    color: var(--color-text);
    font-weight: 600;
}

.feature-list span {
    color: var(--color-text-light);
    font-size: 14px;
}

/* ============== 时间线 ============== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-tech));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-spacer {
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-spacer {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
}

.timeline-dot {
    grid-column: 2;
    width: 32px;
    height: 32px;
    background: white;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(31, 138, 78, 0.1);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============== 产品卡片 ============== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--gradient-eco);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
}

.product-content {
    padding: 20px 24px 24px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 60px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.product-price {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent-warm);
}

.product-price .unit {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-left: 2px;
}

/* ============== 文旅项目 ============== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.tour-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover img {
    transform: scale(1.08);
}

.tour-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.tour-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.tour-card h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.tour-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.tour-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============== 表单 ============== */
.form-group {
    margin-bottom: 20px;
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text);
    background: white;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(31, 138, 78, 0.15);
}

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

/* ============== 页脚 ============== */
.footer {
    background: #0d1b2a;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 30px;
}

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

.footer-brand .brand-logo {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: var(--radius-sm);
    padding: 6px;
    margin-bottom: 16px;
}

.footer-brand .brand-name {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

/* ============== 通用页面头 ============== */
.page-header {
    padding-top: 152px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f3fc 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(31, 138, 78, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(30, 111, 185, 0.05) 0%, transparent 50%);
}

.page-header > .container {
    position: relative;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 16px;
}

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

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* ============== FAQ ============== */
.faq {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

/* ============== 浮动动作 ============== */
.float-actions {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-primary);
    font-size: 20px;
    transition: all 0.2s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    background: var(--color-primary);
    color: white;
}

.float-btn.wechat {
    background: #07c160;
    color: white;
}

.float-btn.phone {
    background: var(--gradient-tech);
    color: white;
}

/* ============== 响应式 ============== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .nav-menu.open li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid,
    .tour-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-grid.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .timeline-item {
        grid-template-columns: 1fr 60px 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .hero-stat-num {
        font-size: 26px;
    }

    .dashboard-grid,
    .ai-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-spacer,
    .timeline-item:nth-child(even) .timeline-spacer {
        display: none;
    }

    .timeline-dot {
        grid-column: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .float-actions {
        bottom: 16px;
        right: 16px;
    }
}

/* ============== 滚动渐入 ============== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============== 数据图表 ============== */
.chart-container {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

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

.chart-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.chart-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-light);
}

.chart-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* SVG图表样式 */
.bar-chart {
    width: 100%;
    height: 240px;
}

.bar-chart .bar {
    transition: opacity 0.2s ease;
}

.bar-chart .bar:hover {
    opacity: 0.8;
}

/* 加载状态 */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-primary-bg);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* 提示框 */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 14px;
    color: var(--color-text);
    border-left: 4px solid var(--color-primary);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
}

.toast.error {
    border-left-color: var(--color-accent-warm);
}