/* 基础样式与变量 */
:root {
    --primary-color: #d8b4b8; /* 柔雾玫瑰 */
    --secondary-color: #e8dcd8; /* 浅燕麦色 */
    --bg-color: #fdfbf7; /* 奶油白 */
    --text-color: #5c5454; /* 暖灰 */
    --light-text: #8c8484;
    --accent-color: #c4a4a4; /* 豆沙粉 */
    --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

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

/* 头部导航 */
.site-header {
    background-color: rgba(253, 251, 247, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 20px 0 0 20px;
    outline: none;
    background-color: transparent;
    color: var(--text-color);
}

.search-box button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: var(--accent-color);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(216, 180, 184, 0.3);
}

/* 首页模块通用样式 */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.section-header p {
    color: var(--light-text);
    font-size: 16px;
}

/* 首屏视觉 */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: rgba(253, 251, 247, 0.85);
    padding: 50px;
    border-radius: 15px;
    max-width: 600px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* 品牌陪伴模块 */
.companion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.companion-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.companion-item:hover {
    transform: translateY(-5px);
}

.companion-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.companion-text {
    padding: 30px;
}

.companion-text h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 视频教程模块 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

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

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--primary-color);
    margin-left: 5px;
}

.video-thumbnail:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.video-meta {
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 15px;
}

.video-tags span {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 12px;
    border-radius: 12px;
    margin-right: 8px;
}

/* 品牌关怀模块 */
.care-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.care-image {
    flex: 1;
}

.care-text {
    flex: 1;
}

.care-text h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.care-text p {
    margin-bottom: 15px;
}

/* 品牌成长模块 */
.growth-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 品牌共鸣模块 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--secondary-color);
    padding-top: 15px;
}

.author-name {
    font-weight: 500;
    color: var(--primary-color);
}

.author-tag {
    font-size: 13px;
    color: var(--light-text);
}

/* FAQ模块 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 内页通用样式 */
.inner-page {
    padding-bottom: 80px;
}

.page-header {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.page-header p {
    color: var(--light-text);
    font-size: 18px;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.content-block .text-content {
    flex: 1;
}

.content-block .image-content {
    flex: 1;
}

.content-block h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-block p {
    margin-bottom: 15px;
}

/* 品牌手记内页 */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.journal-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.journal-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.journal-info {
    padding: 25px;
}

.journal-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.journal-info p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
}

/* 品牌相见内页 */
.contact-grid {
    display: flex;
    gap: 50px;
    background-color: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.contact-info {
    flex: 2;
}

.contact-info h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    margin: 30px 0;
}

.info-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.warm-ending {
    font-style: italic;
    color: var(--primary-color);
    margin-top: 30px;
}

.contact-qrs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.qr-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border-radius: 10px;
}

/* 页脚 */
.site-footer {
    background-color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.qr-codes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.qr-item .qr-placeholder {
    width: 80px;
    height: 80px;
    font-size: 12px;
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
    color: var(--light-text);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* 移动端可考虑汉堡菜单，此处简化隐藏 */
    }
    
    .companion-grid, .video-grid, .growth-steps, .reviews-grid, .journal-grid {
        grid-template-columns: 1fr;
    }
    
    .care-content, .content-block, .contact-grid {
        flex-direction: column;
    }
    
    .content-block.reverse {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
