/* ===========================
   雄安响应农业 - 企业官网样式
   =========================== */

/* CSS 变量 */
:root {
    --primary: #2d7d46;
    --primary-dark: #1f5e33;
    --primary-light: #4ba567;
    --accent: #e8a735;
    --accent-dark: #c88a1c;
    --bg-light: #f5f9f6;
    --bg-section: #ffffff;
    --text-main: #2c3e2e;
    --text-secondary: #6b7d6e;
    --text-light: #ffffff;
    --border: #e0e8e2;
    --shadow: 0 2px 20px rgba(45, 125, 70, 0.08);
    --shadow-hover: 0 8px 30px rgba(45, 125, 70, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* 通用容器 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 通用按钮 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 125, 70, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   导航栏
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

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

.nav-menu a {
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ===========================
   首页 Hero
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7d46 50%, #4ba567 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="white" opacity="0.15"/></svg>');
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 167, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    color: #fff;
}

.hero-text .badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text .subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 400px;
    text-align: center;
}

.hero-image svg {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

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

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

.section-header .label {
    display: inline-block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===========================
   关于我们简介（首页）
   =========================== */
.about-brief {
    background: var(--bg-section);
}

.about-brief .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-brief-image {
    flex: 0 0 45%;
}

.about-brief-image .image-box {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-brief-image .image-box svg {
    width: 60%;
    height: 60%;
    opacity: 0.9;
}

.about-brief-image .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-brief-image .experience-badge .number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-brief-image .experience-badge .text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-brief-text {
    flex: 1;
}

.about-brief-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-brief-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 2;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature .icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature .text strong {
    display: block;
    color: var(--text-main);
    font-size: 15px;
}

.about-feature .text span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===========================
   服务/产品卡片
   =========================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-card .icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}

.service-card:hover .icon-wrap {
    transform: rotate(-5deg) scale(1.05);
}

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

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===========================
   数据统计
   =========================== */
.stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .number .suffix {
    font-size: 24px;
    font-weight: 600;
}

.stat-item .label {
    font-size: 15px;
    opacity: 0.85;
    letter-spacing: 1px;
}

/* ===========================
   为什么选择我们
   =========================== */
.why-us {
    background: var(--bg-section);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
}

.why-card .icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.why-card:hover .icon-circle {
    background: var(--primary);
    color: #fff;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   新闻动态
   =========================== */
.news {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-card .news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

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

.news-card .news-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--text-main);
}

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

.news-card .read-more {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.news-card .read-more:hover {
    color: var(--primary-dark);
}

/* ===========================
   联系我们
   =========================== */
.contact {
    background: var(--bg-section);
}

.contact .container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 36px;
}

.contact-list {
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item .icon-box {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-item .info label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.contact-item .info span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.contact-form {
    flex: 1;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* ===========================
   页面头部（子页面）
   =========================== */
.page-header {
    margin-top: 72px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-section);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    font-size: 15px;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb a:hover {
    color: #fff;
}

.page-header .breadcrumb span {
    margin: 0 8px;
}

/* ===========================
   关于我们页面
   =========================== */
.about-page {
    padding: 80px 0;
}

.about-page .container {
    max-width: 900px;
}

.about-page .story h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-page .story p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 16px;
    text-indent: 2em;
}

.about-mission {
    background: var(--bg-light);
    padding: 60px 0;
}

.about-mission .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.mission-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

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

.mission-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.timeline {
    padding: 80px 0;
}

.timeline-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 6px;
    width: 19px;
    height: 19px;
    background: var(--primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--border);
}

.timeline-item .year {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ===========================
   产品中心页面
   =========================== */
.products-page {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.product-card .product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.product-card .product-image.bg-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-card .product-image.bg-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.product-card .product-image.bg-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.product-card .product-image.bg-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.product-card .product-image.bg-5 {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.product-card .product-image.bg-6 {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

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

.product-card .product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.product-card .product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-card .product-features span {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-secondary);
}

/* ===========================
   新闻页面
   =========================== */
.news-page {
    padding: 80px 0;
}

.news-page .container {
    max-width: 900px;
}

.news-list-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-list-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.news-list-item .date-box {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 16px 0;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.news-list-item .date-box .day {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.news-list-item .date-box .month {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.news-list-item .news-content {
    flex: 1;
}

.news-list-item .news-content .tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-light);
    color: var(--accent-dark);
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.news-list-item .news-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.news-list-item .news-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #1a2e22;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item .icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

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

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

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

/* ===========================
   返回顶部
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(45, 125, 70, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===========================
   动画
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===========================
   响应式
   =========================== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-image {
        flex: 0 0 auto;
        margin-top: 30px;
    }

    .about-brief .container {
        flex-direction: column;
    }

    .about-brief-image {
        flex: 0 0 auto;
        width: 100%;
    }

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

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

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

    .contact .container {
        flex-direction: column;
    }

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

    .about-mission .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .services-grid,
    .news-grid,
    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .news-list-item {
        flex-direction: column;
    }

    .contact-form {
        padding: 24px;
    }
}
