:root {
    --color-primary: #E74C3C; /* 番茄红 */
    --color-secondary: #F39C12; /* 阳光橙 */
    --color-accent: #27AE60; /* 叶绿 */
    --color-cream: #FFFEF7; /* 暖阳米 */
    --color-warm: #FDE9D9;
    --color-deep: #8C4A2F;
    --color-dark: #4A2C2A;
    --color-muted: #A66C48;
    --color-white: #FFFFFF;
    --color-shadow: rgba(231, 76, 60, 0.12);

    --font-main: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Source Han Sans', 'Microsoft YaHei', sans-serif;

    --radius-sm: 12px;
    --radius-lg: 24px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;

    --shadow-soft: 0 20px 60px rgba(231, 76, 60, 0.15);
    --shadow-card: 0 10px 30px rgba(244, 140, 69, 0.25);
    --shadow-line: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

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

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255, 218, 185, 0.45), transparent 70%),
        var(--color-cream);
    color: var(--color-dark);
    line-height: 1.7;
    min-height: 100vh;
    padding-top: 90px;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('/images/tomato_slice_texture_1.png');
    background-size: 600px;
    opacity: 0.04;
    pointer-events: none;
    z-index: -2;
}

.sun-glow {
    position: fixed;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 230, 179, 0.7), rgba(243, 156, 18, 0));
    border-radius: 50%;
    mix-blend-mode: screen;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 20;
    transition: opacity 0.4s ease;
}

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

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

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 247, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.08);
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 20px;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    flex-shrink: 0;
}

.nav-menu > ul {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-end;
}

.nav-menu > ul > li {
    position: relative;
}

.nav-menu {
    flex: 1;
    margin-left: auto;
    overflow-x: auto;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu > ul > li > a {
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--color-dark);
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-menu > ul > li > a:hover,
.nav-menu > ul > li.active > a {
    background: rgba(231, 76, 60, 0.12);
    color: var(--color-primary);
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.nav-menu li:hover > .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--color-muted);
}

.dropdown-menu a:hover {
    background: rgba(243, 156, 18, 0.12);
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 12px;
    padding: 6px 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--color-primary), #FF6B3D);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.btn:hover {
    transform: translateY(-2px);
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--color-dark);
    margin: 12px 0;
}

.section-title p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-muted);
}

.hero {
    position: relative;
    min-height: 600px;
    padding: var(--space-xl) 0 var(--space-lg);
}

.hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(243, 156, 18, 0.1));
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}

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

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    color: var(--color-dark);
    line-height: 1.2;
}

.hero-content p {
    margin: 18px 0;
    font-size: 1.1rem;
    color: var(--color-muted);
}

.hero-metrics {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.metric-card {
    flex: 1;
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
}

.brand-story {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.growth-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.growth-stage {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.growth-stage.visible {
    opacity: 1;
    transform: translateY(0);
}

.growth-stage::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    top: 16px;
    left: 16px;
    animation: pulse 3s infinite;
}

.growth-stage h4 {
    margin-bottom: 8px;
    color: var(--color-dark);
}

.growth-stage p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

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

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.product-card img {
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 18px;
}

.product-trace {
    position: absolute;
    inset: 0;
    background: rgba(231, 76, 60, 0.92);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-trace {
    opacity: 1;
}

.trace-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}

.trace-step {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.trace-step span {
    width: 60px;
    height: 60px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.18);
    color: var(--color-secondary);
    font-weight: 700;
}

.export-map {
    background: linear-gradient(135deg, #FFEEDB, #FFF6EB);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.map-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.recipe-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.recipe-card img {
    height: 200px;
    object-fit: cover;
}

.recipe-card div {
    padding: 18px;
}

.article-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-soft);
}

.article-content p {
    margin-bottom: var(--space-sm);
    text-indent: 2em;
}

.subpage-hero {
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(231, 76, 60, 0.15), rgba(39, 174, 96, 0.15));
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    align-items: center;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.info-card,
.organic-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
}

.highlight-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.highlight-metrics li {
    flex: 1 1 180px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

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

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
    align-items: center;
}

.partner-logos img {
    filter: grayscale(0.2);
    opacity: 0.9;
}

.product-specs,
.quality-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.product-specs th,
.product-specs td,
.quality-table th,
.quality-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-specs th,
.quality-table th {
    background: rgba(231, 76, 60, 0.08);
    text-align: left;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.case-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.case-card img {
    height: 200px;
    object-fit: cover;
}

.career-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.career-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.contact-map iframe {
    width: 100%;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    min-height: 300px;
}

.footer {
    margin-top: var(--space-xl);
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    padding: var(--space-lg) 0;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: space-between;
    color: var(--color-dark);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    width: 100%;
    margin-top: var(--space-md);
}

.footer-columns h4 {
    margin-bottom: 12px;
}

.footer-columns ul li + li {
    margin-top: 6px;
}

.copyright {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--color-muted);
}

@media (max-width: 992px) {
    body {
        padding-top: 78px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 420px;
    }

    .nav-menu > ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        background: rgba(255, 255, 255, 0.7);
        box-shadow: none;
        width: 100%;
        border-radius: var(--radius-sm);
        display: none !important;
    }

    .dropdown-menu a {
        padding-left: 28px;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-metrics {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .section-title h2 {
        font-size: 2.1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .trace-flow,
    .growth-stages {
        grid-template-columns: 1fr;
    }
}
