/* 答鲜品牌网站样式 - 完整版 */

/* CSS变量 */
:root {
    --forest-green: #2D5F2D;
    --songrong-brown: #8B4513;
    --warm-gold: #D4A574;
    --pure-white: #FFFFFF;
    --ink-black: #1A1A1A;
    --soft-milky: #F5E6D3;
    --cream: #FFF8F0;
    --transition: all 0.3s ease;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '思源黑体', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--ink-black);
    background-color: var(--pure-white);
}

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

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

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

/* Header */
.header {
    background: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
}

.logo-brand {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--forest-green);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--songrong-brown);
}

.logo-slogan {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--forest-green);
    line-height: 1.4;
    border-left: 2px solid var(--warm-gold);
    padding-left: 1rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--ink-black);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--forest-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--forest-green);
    color: var(--pure-white);
}

.btn-primary:hover {
    background: #1e4a1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 45, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--forest-green);
    border-color: var(--forest-green);
}

.btn-outline:hover {
    background: var(--forest-green);
    color: var(--pure-white);
}

.btn-gold {
    background: var(--warm-gold);
    color: var(--pure-white);
}

.btn-gold:hover {
    background: #c4956a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--soft-milky) 0%, var(--cream) 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--warm-gold);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--songrong-brown);
}

.hero-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.product-showcase {
    position: relative;
    padding: 2rem;
}

.product-badge {
    position: absolute;
    background: var(--pure-white);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: pulse 2s infinite;
}

.badge-sodium {
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--warm-gold);
    color: var(--pure-white);
}

.badge-songrong {
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--forest-green);
    color: var(--pure-white);
}

.badge-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.badge-number {
    font-size: 1.25rem;
    font-weight: bold;
}

.badge-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.product-image-wrapper {
    position: relative;
    z-index: 5;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.product-image:hover {
    transform: scale(1.05);
}

.product-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    background: var(--warm-gold);
    top: -50px;
    right: -50px;
}

.decoration-2 {
    width: 250px;
    height: 250px;
    background: var(--forest-green);
    bottom: -50px;
    left: -50px;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--soft-milky) 0%, var(--cream) 100%);
}

.bg-cream {
    background: var(--cream);
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--forest-green) 0%, #1e4a1e 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
}

.text-white {
    color: var(--pure-white);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.95);
}

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

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

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

/* Cards */
.card {
    background: var(--pure-white);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 2rem;
}

.card-badge {
    display: inline-block;
    background: var(--forest-green);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.card-title.text-white {
    color: var(--pure-white);
}

.card-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.card-highlight {
    background: var(--soft-milky);
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--songrong-brown);
    text-align: center;
}

.card-cream {
    background: var(--cream);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.text-green {
    color: var(--forest-green);
    font-weight: bold;
}

.text-gold {
    color: var(--warm-gold);
    font-weight: bold;
}

/* Products Page */
.products-hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--mushroom-brown) 100%);
    color: var(--pure-white);
    padding: 4rem 0;
    text-align: center;
}

.products-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--forest-green);
}

.products-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--forest-green);
}

.products-list {
    padding: 4rem 0;
    background: var(--cream-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Product Cards */
.product-card {
    background: var(--pure-white);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card-core {
    border-color: var(--warm-gold);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--forest-green);
}

.product-core-badge {
    background: var(--warm-gold);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.product-info {
    margin-bottom: 1rem;
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.product-info-label {
    color: #666;
    font-size: 0.875rem;
}

.product-info-value {
    font-weight: 500;
}

.product-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 60px;
}

/* Product Card Enhanced Styles */
.product-card {
    background: var(--pure-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card.core-product {
    border-color: var(--warm-gold);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.core-badge {
    background: var(--warm-gold);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--forest-green);
    margin-bottom: 0.75rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
}

.badge-songrong {
    background: var(--forest-green);
    color: var(--pure-white);
}

.badge-sodium {
    background: var(--warm-gold);
    color: var(--pure-white);
}

.product-body {
    flex: 1;
    margin-bottom: 1.5rem;
}

.product-desc {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--cream-bg);
    color: var(--forest-green);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
}

.product-footer {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.product-target {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Scene Icon */
.scene-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.scene-highlight {
    background: var(--soft-milky);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--songrong-brown);
    text-align: center;
    margin-top: 1rem;
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--forest-green) 0%, #1e4a1e 100%);
    padding: 4rem;
    border-radius: 1rem;
    text-align: center;
    color: var(--pure-white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--ink-black);
    color: var(--pure-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--warm-gold);
}

.footer-links p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .grid-3, .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--forest-green);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--forest-green);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--mushroom-brown) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.about-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.about-slogan {
    font-size: 1.2rem;
    opacity: 0.8;
}

.brand-story {
    padding: 4rem 0;
    background: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.brand-philosophy,
.brand-vision {
    padding: 4rem 0;
    background: var(--cream);
}

.philosophy-grid,
.vision-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card,
.vision-card,
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.philosophy-card:hover,
.vision-card:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.philosophy-icon,
.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.core-values {
    padding: 4rem 0;
    background: var(--white);
}

/* Footer */
.footer-section {
    background: var(--forest-green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
