/* 糖心vlog - 品牌官网全局样式
 * 设计理念：高级极简，视觉化，强调品牌调性
 * 色系：温暖中性色 + 品牌金色点缀
 * 字体：优雅衬线体 + 现代无衬线体
 */

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafaf8;
    overflow-x: hidden;
}

/* ==================== 排版系统 ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c89560;
}

/* ==================== 容器与布局 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.section {
    padding: 6rem 0;
}

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

.section-title h2 {
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
}

/* ==================== 头部导航 ==================== */
header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: #d4a574;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    font-size: 1rem;
    color: #2c2c2c;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a574;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 搜索框 */
.search-bar {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    margin-top: 1rem;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    width: 300px;
    font-size: 0.95rem;
    color: #2c2c2c;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: #d4a574;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.search-bar button:hover {
    color: #c89560;
}

@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .search-bar input {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar input {
        width: 100%;
    }
}

/* ==================== Hero 区域 ==================== */
.hero {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f1ed 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.cta-button {
    display: inline-block;
    background: #d4a574;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #d4a574;
    cursor: pointer;
}

.cta-button:hover {
    background: #c89560;
    border-color: #c89560;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #d4a574;
}

.cta-button.secondary:hover {
    background: #f5f1ed;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* ==================== 模块间距 ==================== */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: #fff;
}

.section:nth-child(odd) {
    background: #fafaf8;
}

/* ==================== 品牌理念区 ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.2rem;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-card h4 {
    color: #d4a574;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* ==================== 业务模块 ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid #d4a574;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 作品展示 ==================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.portfolio-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* 视频播放按钮 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover .play-button {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #999;
}

.portfolio-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        height: 200px;
    }
}

/* ==================== 数据成果展示 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d4a574;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 团队展示 ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.team-avatar {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #d4a574 0%, #e8c5a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    margin-bottom: 0.3rem;
}

.team-title {
    color: #d4a574;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.team-bio {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: #f5f1ed;
    color: #d4a574;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

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

.advisor-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.advisor-card h4 {
    margin-bottom: 0.3rem;
}

.advisor-company {
    color: #d4a574;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.advisor-bio {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 媒体报道 ==================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.media-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d4a574;
    transition: all 0.3s ease;
}

.media-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

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

.media-source {
    color: #d4a574;
    font-weight: 600;
    font-size: 0.9rem;
}

.media-date {
    color: #999;
    font-size: 0.85rem;
}

.media-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.media-item p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== FAQ 区域 ==================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    background: #f5f1ed;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #ede5d8;
}

.faq-toggle {
    font-size: 1.2rem;
    color: #d4a574;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #666;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* ==================== 用户评论 ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #d4a574;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    color: #666;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.testimonial-role {
    color: #d4a574;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.testimonial-rating {
    color: #d4a574;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 合作入口 ==================== */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.partnership-card {
    background: linear-gradient(135deg, #fff 0%, #f5f1ed 100%);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partnership-card:hover {
    border-color: #d4a574;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
    transform: translateY(-5px);
}

.partnership-card h3 {
    margin-bottom: 1rem;
    color: #d4a574;
}

.partnership-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .partnership-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 联系我们 ==================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: #d4a574;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #f5f1ed;
    border-radius: 25px;
    color: #d4a574;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d4a574;
    color: #fff;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ==================== 页脚 ==================== */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4a574;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: #d4a574;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: #d4a574;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* ==================== 打印样式 ==================== */
@media print {
    header, footer {
        display: none;
    }

    body {
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}
