/* 天麻站点 - 灰紫色主题 · 产品聚焦型布局 */

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f8fc;
}

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

/* 导航 */
.main-nav {
    background: #5e4b8b;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: #d5cee8;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    border-bottom-color: #9d8ec7;
}

.nav-phone {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    background: #4a3d6e;
    padding: 8px 16px;
    border-radius: 20px;
}

/* 大图展示区 */
.hero-area {
    position: relative;
}

.hero-bg {
    background: linear-gradient(135deg, #5e4b8b 0%, #4a3d6e 100%);
    padding: 120px 0;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-main {
    background: #fff;
    color: #5e4b8b;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s;
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 38px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* 产品聚焦展示 */
.focus-products {
    padding: 80px 0;
    background: #fff;
}

.focus-header {
    text-align: center;
    margin-bottom: 50px;
}

.focus-header h2 {
    font-size: 34px;
    color: #5e4b8b;
    margin-bottom: 10px;
}

.focus-header p {
    color: #888;
    font-size: 16px;
}

.focus-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.focus-item {
    background: #f5f3fa;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.focus-large {
    grid-row: span 2;
}

.focus-img {
    height: 100%;
    background: linear-gradient(135deg, #7c6aad, #5e4b8b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.focus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.focus-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.focus-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.focus-price {
    display: inline-block;
    background: #9d8ec7;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* 功效详情 */
.effects-detail {
    padding: 80px 0;
    background: #f5f3fa;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.big-product-img {
    height: 400px;
    background: linear-gradient(135deg, #7c6aad, #5e4b8b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.detail-content h2 {
    font-size: 32px;
    color: #5e4b8b;
    margin-bottom: 30px;
}

.effect-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.effect-icon {
    width: 50px;
    height: 50px;
    background: #5e4b8b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.effect-text h3 {
    font-size: 18px;
    color: #4a3d6e;
    margin-bottom: 5px;
}

.effect-text p {
    color: #666;
    font-size: 14px;
}

/* 吃法推荐 */
.recipes-section {
    padding: 80px 0;
    background: #fff;
}

.recipes-section h2 {
    text-align: center;
    font-size: 32px;
    color: #5e4b8b;
    margin-bottom: 40px;
}

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

.recipe-card {
    background: #f5f3fa;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-img {
    height: 150px;
    background: linear-gradient(135deg, #7c6aad, #5e4b8b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.recipe-info {
    padding: 20px;
}

.recipe-info h3 {
    font-size: 18px;
    color: #5e4b8b;
    margin-bottom: 8px;
}

.recipe-info p {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.recipe-tag {
    display: inline-block;
    background: #9d8ec7;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
}

/* 底部 */
.footer {
    background: #5e4b8b;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-contact p {
    margin: 8px 0;
    opacity: 0.9;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 992px) {
    .focus-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .focus-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .focus-large {
        grid-column: span 1;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 20px;
    }
}