/* ===== CSS Reset & Variables ===== */
:root {
    --color-forest-deep: #1a3c34;
    --color-forest: #2d5a4a;
    --color-forest-light: #3d7a64;
    --color-leaf: #5a9d6e;
    --color-leaf-bright: #7ec699;
    --color-earth: #8b6f47;
    --color-earth-light: #c9a86a;
    --color-cream: #f7f5f0;
    --color-cream-dark: #ede8df;
    --color-charcoal: #2c2c2c;
    --color-text: #3a3a3a;
    --color-text-light: #6b6b6b;
    --color-white: #ffffff;
    --font-serif: 'Noto Serif SC', 'Songti SC', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --shadow-sm: 0 2px 8px rgba(26, 60, 52, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 60, 52, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 60, 52, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-forest-deep);
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 50px;
}
.section-title-line {
    width: 60px; height: 3px;
    background: var(--color-leaf);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
    width: 44px; height: 44px;
    background: var(--color-forest-deep);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-leaf-bright); font-size: 22px; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .cn {
    font-family: var(--font-serif);
    font-size: 1.15rem; font-weight: 700;
    color: var(--color-forest-deep); line-height: 1.3;
}
.nav-logo-text .en { font-size: 0.68rem; color: var(--color-text-light); letter-spacing: 0.5px; }
.nav-menu { display: flex; gap: 8px; align-items: center; }
.nav-menu a {
    padding: 8px 16px; font-size: 0.95rem; font-weight: 400;
    border-radius: var(--radius-sm); transition: var(--transition);
    color: var(--color-text);
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-leaf);
    background: rgba(90, 157, 110, 0.08);
}
.nav-cta {
    background: var(--color-leaf) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 30px; font-weight: 500; transition: var(--transition);
}
.nav-cta:hover {
    background: var(--color-forest-light) !important;
    transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-forest-deep); border-radius: 2px; transition: var(--transition); }

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--color-leaf); color: white;
    padding: 14px 36px; border-radius: 30px;
    font-size: 1rem; font-weight: 500; transition: var(--transition);
    border: 2px solid var(--color-leaf);
}
.btn-primary:hover {
    background: var(--color-leaf-bright); border-color: var(--color-leaf-bright);
    transform: translateY(-2px); box-shadow: 0 6px 24px rgba(90, 157, 110, 0.4);
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--color-forest-deep);
    padding: 14px 36px; border-radius: 30px;
    font-size: 1rem; font-weight: 500;
    border: 2px solid var(--color-leaf); transition: var(--transition);
}
.btn-outline:hover {
    background: var(--color-leaf); color: white;
    transform: translateY(-2px);
}

/* ===== Page Header (sub-page hero) ===== */
.page-hero {
    background: linear-gradient(135deg, #0d2818 0%, #1a3c34 40%, #2d5a4a 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(90, 157, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(126, 198, 153, 0.1) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem; font-weight: 900;
    margin-bottom: 12px; letter-spacing: 1px;
}
.page-hero .en {
    color: rgba(255,255,255,0.6); font-size: 0.95rem;
    letter-spacing: 2px; text-transform: uppercase;
}
.breadcrumb {
    display: flex; gap: 8px; justify-content: center;
    margin-top: 20px; font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--color-leaf-bright); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ===== Footer ===== */
.footer {
    background: #0d2818; color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand .nav-logo-text .cn { color: white; }
.footer-brand .nav-logo-text .en { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; font-weight: 500; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.85rem; transition: var(--transition); }
.footer-col a:hover { color: var(--color-leaf-bright); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--color-leaf); color: white; }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.4); }
.footer-bottom a:hover { color: var(--color-leaf-bright); }

/* ===== Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .page-hero h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
