:root {
    --primary: #FF6B4A;
    --primary-dark: #D94C2F;
    --accent: #2FB6FF;
    --bg: #FFF5F1;
    --text: #231F1C;
    --muted: #6A5F58;
    --white: #FFFFFF;
    --border: rgba(255, 107, 74, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
}

.section.white {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--muted);
    font-size: 1.1rem;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(255, 107, 74, 0.12);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn.ghost {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 107, 74, 0.35);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
}

.brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.brand span {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* Hero */
.hero {
    margin-top: 80px;
    padding: 150px 0 120px;
    background: linear-gradient(140deg, #FF6B4A 0%, #FF9B7E 55%, #2FB6FF 120%);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card img {
    border-radius: 18px;
}

/* Layout */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(217, 76, 47, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(217, 76, 47, 0.22);
}

.card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.card p {
    color: var(--muted);
}

.list {
    display: grid;
    gap: 0.8rem;
    color: var(--muted);
}

/* News */
.news-card {
    display: grid;
    gap: 1rem;
}

/* Products */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card img {
    border-radius: 18px;
    height: 180px;
    object-fit: cover;
}

/* Timeline */
.timeline {
    display: grid;
    gap: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

/* Team */
.team-card img {
    border-radius: 18px;
    height: 220px;
    object-fit: cover;
}

/* Contact */
.form {
    display: grid;
    gap: 1.2rem;
}

.form input,
.form textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
    font-family: inherit;
}

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

.info-block {
    display: grid;
    gap: 1rem;
    color: var(--muted);
}

.info-block strong {
    color: var(--text);
}

/* Footer */
.footer {
    background: #1E1A18;
    color: var(--white);
    padding: 4rem 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.footer a {
    color: var(--white);
    opacity: 0.85;
}

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

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 980px) {
    .hero-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        flex-direction: column;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}
