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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo容器样式 */
.logo-container {
    text-align: center;
    padding: 1rem;
}

.logo {
    height: 60px;
    width: auto;
}

/* 导航栏样式 */
.main-nav {
    background: #1a2b3c;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ff9800;
    background: rgba(255, 255, 255, 0.1);
}

/* 主要内容区样式 */
main {
    margin-top: 120px; /* 保持头部空间 */
}

.hero-section {
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
    /* 确保与下方内容无缝衔接 */
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 添加浮动杯子相关样式 */
.floating-cup {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 1520px;
    height: auto;
    animation: gentleRotate 6s ease-in-out infinite;
}

/* 添加杯子背后的阴影图层 */
.cup-wrapper {
    position: relative;
}

.cup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/shadow.png'); /* 你需要准备一个杯子的阴影图片 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 0.4;
    filter: blur(10px) brightness(0.1);
    animation: gentleRotateShadow 6s ease-in-out infinite;
}

.cup-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* 底部阴影效果 */
.cup-shadow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1140px;
    height: 60px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    filter: blur(30px);
    animation: shadowPulse 6s ease-in-out infinite;
}

/* 杯子轻微旋转动画 */
@keyframes gentleRotate {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(3deg);
    }
}

/* 阴影层的反向旋转动画 */
@keyframes gentleRotateShadow {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
    }
}

/* 底部阴影的脉动动画 */
@keyframes shadowPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.2;
    }
}

.hero-section{
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
}
/* 确保背景图片正确显示 */
.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    /* 移除可能的边距 */
    margin: 0;
    padding: 0;
} 
/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: #1a2b3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 14px;
    padding-top: 8px;
}

/* 添加悬停时的背景圆形效果 */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #1a2b3c;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.back-to-top:hover::before {
    opacity: 0.3;
}

.back-to-top i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.back-to-top span {
    display: block;
    font-size: 14px;
}

.back-to-top:hover {
    background: #1a2b3c;
    color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .back-to-top {
        width: 60px;
        height: 60px;
        font-size: 12px;
        border-width: 2px;
    }

    .back-to-top i {
        font-size: 20px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    .back-to-top i {
        font-size: 16px;
    }

    .floating-cup {
        width: 760px;
    }
    
    .cup-shadow {
        width: 570px;
        height: 40px;
        bottom: -60px;
    }
}

/* 品牌介绍区域样式 */
.brand-intro {
    margin-top: 0;
    background-color: #f3ecda;
    padding: 80px 40px;
    display: flex;
    position: relative;
}

/* 社交媒体图标样式 */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    margin-left: 12px;
    position: absolute;
    left: 0;
}

.social-icon {
    color: #1a2b3c;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 32px;
    height: 32px;
    border: 1px solid #1a2b3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #ff0000;
    border-color: #ff0000;
}

/* 小红书文字大小调整 */
.social-icon span {
    font-size: 8px !important;
    letter-spacing: -0.5px;
    transform: scale(0.9);
    display: inline-block;
}

/* 品牌描述文字样式 */
.brand-description {
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    font-family: 'SimSun', serif;
}

.intro-title {
    font-size: 36px;
    color: #1a2b3c;
    margin-bottom: 30px;
    font-weight: 800;
    font-family: 'SimSun', serif;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
    white-space: nowrap;
    font-family: 'SimSun', serif;
}

.intro-text:not(:first-child) {
    white-space: normal;
}

.intro-highlight {
    font-size: 18px;
    color: #1a2b3c;
    font-weight: 500;
    margin: 25px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: flex-start;
        margin-left: 12px;
        margin-bottom: 30px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .brand-intro {
        flex-direction: column;
        padding: 40px 20px;
    }
}

/* 产品特点区域样式 */
.product-features {
    padding: 80px 40px;
    background-color: #f3ecda;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 设置每个产品特点之间的间距 */
    width: 100%;
    max-width: 1200px;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .features-wrapper {
        gap: 60px; /* 在移动端增加间距 */
    }
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 30px; /* 从60px减少到30px，缩小50%间距 */
    width: fit-content; /* 让容器宽度适应内容 */
}

/* 圆形图片容器 */
.circular-frame {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 
        -8px -8px 15px rgba(255, 255, 255, 0.7),
        8px 8px 15px rgba(0, 0, 0, 0.1),
        inset 2px 2px 5px rgba(255, 255, 255, 0.7),
        inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 金属质感效果 */
.circular-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.2),
        rgba(192, 192, 192, 0.2),
        rgba(255, 215, 0, 0.2));
    z-index: 1;
    transition: all 0.3s ease;
}

/* 图片样式 */
.circular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 0;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.circular-frame:hover {
    transform: scale(1.05);
}

.circular-frame:hover::before {
    transform: scale(1.05);
}

.circular-frame:hover .circular-img {
    transform: scale(1.05);
}

/* 右侧特点描述 */
.feature-description {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 让内容左对齐 */
    gap: 35px; /* 设置SVG和下方文字之间的间距 */
}

.features-text {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(0.2);
}

/* 添加的副标题文字 */
.feature-subtext {
    font-size: 19px;
    color: #333;
    text-align: left;
    margin-top: 0; /* 移除之前的 margin-top */
    font-family: 'SimSun', serif;
}

/* 响应式设计调整 */
@media (max-width: 1024px) {
    .feature-text-container {
        width: 564px;
    }
    
    .feature-subtext {
        font-size: 15px; /* 从50px缩小到15px */
    }
}

@media (max-width: 768px) {
    .feature-text-container {
        width: 423px;
    }
    
    .feature-subtext {
        font-size: 11px; /* 从38px缩小到11px */
    }
}

/* 响应式设计调整 */
@media (max-width: 1024px) {
    .feature-container {
        gap: 20px; /* 在平板尺寸下也保持较小的间距 */
    }
}

@media (max-width: 768px) {
    .feature-container {
        gap: 15px; /* 在移动端进一步减小间距 */
        flex-direction: column; /* 在移动端改为垂直排列 */
    }
}

/* 第二个产品特点的特殊样式 */
.feature-container:nth-child(2) {
    flex-direction: row;
    justify-content: flex-start;
    gap: 270px; /* 将间距改为180px */
    padding: 0 40px;
    box-sizing: border-box;
}

/* 第二个产品特点的文字容器样式 */
.feature-container:nth-child(2) .feature-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
}

/* 第二个产品特点的图片容器样式 */
.feature-container:nth-child(2) .feature-image {
    flex-shrink: 0;
}

/* 第二个产品特点的文字和副标题对齐 */
.feature-container:nth-child(2) .features-text,
.feature-container:nth-child(2) .feature-subtext {
    margin-left: 0;
    padding-left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-container:nth-child(2) {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* 统一所有产品特点描述的大小 */
.feature-text-container {
    position: relative;
    width: 705px; /* 统一宽度 */
}

/* 响应式设计调整 */
@media (max-width: 1024px) {
    .feature-text-container {
        width: 564px; /* 统一平板尺寸 */
    }
}

@media (max-width: 768px) {
    .feature-text-container {
        width: 423px; /* 统一移动端尺寸 */
    }
}

/* 找到第二个产品特点的 SVG */
.feature:nth-child(2) svg {
    transform: scale(0.6);
}

/* 找到第三个产品特点的 SVG */
.feature:nth-child(3) svg {
    transform: scale(0.5);
}

/* 修改第二个产品特点的 SVG */
.feature-container:nth-child(2) .features-text {
    transform: scale(1.8);
    transform-origin: left center;
    margin-bottom: 0;
}

/* 修改第三个产品特点的 SVG */
.feature-container:nth-child(3) .features-text {
    transform: scale(0.65);
    transform-origin: left center; /* 从左侧开始变换 */
    margin-bottom: 0; /* 移除之前的 margin，使用 gap 控制间距 */
}

/* 确保文字容器和图片容器之间有正确的间距 */
.feature-container:nth-child(2) .feature-description,
.feature-container:nth-child(3) .feature-description {
    margin-bottom: 0;
}

/* 成就展示区域样式 */
.achievements {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f3ecda;
    padding: 80px 0;
}

/* 内容容器样式 */
.achievements-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 0 20px;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* 改为居中对齐 */
    gap: 15px;
    width: 100%;
    max-width: 800px;
    text-align: center; /* 文本居中 */
}

/* 数字样式 */
.number {
    font-size: 72px;
    font-weight: bold;
    color: #14213D;
    line-height: 1;
    display: flex;
    align-items: flex-start; /* 改为顶部对齐 */
    justify-content: center;
    position: relative; /* 为了定位加号 */
}

/* 加号样式 */
.plus {
    font-size: 41px; /* 从36px增加到41px，约增加15% */
    position: relative;
    top: -12px; /* 稍微调整上移距离 */
    margin-left: 5px;
}

/* 单位（杯）样式 */
.unit {
    font-size: 41px; /* 与加号保持一致 */
    position: relative;
    top: -12px; /* 与加号保持一致的上移距离 */
    margin-left: 5px;
}

/* 分隔线 */
.divider {
    width: 40px;
    height: 2px;
    background-color: #14213D;
    margin: 5px auto; /* 使用 auto 让分割线居中 */
}

/* 标题样式 */
.title {
    font-family: 'SimSun', serif;
    font-size: 24px;
    color: #14213D;
    text-align: center; /* 标题居中 */
}

/* 描述文字样式 */
.description {
    font-family: 'SimSun', serif;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    line-height: 1.6;
    text-align: center; /* 描述文字居中 */
}

/* 数据来源说明样式 */
.data-source {
    font-family: 'SimSun', serif;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    text-align: center; /* 数据来源文字居中 */
}

/* 确保内容居中对齐 */
.achievements-content {
    align-items: center;
}

/* 全球门店区域样式 */
.global-stores {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f3ecda;
    padding: 80px 0;
}

/* 内容容器样式 */
.global-stores-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
}

/* 标题样式 - 与4000+相同的样式 */
.global-title {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 58px; /* 从72px缩小20%到58px */
    font-weight: bold;
    color: #14213D;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

/* 图片容器样式 */
.store-image-container {
    width: 100vw; /* 从50vw增加到75vw，增加50% */
    display: flex;
    justify-content: center;
}

/* 图片样式 */
.store-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 底部信息栏样式 */
.footer-info {
    background-color: #1a2b3c;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 14px;
    gap: 10px;
}

.footer-info a {
    color: #666;
    text-decoration: none;
}

.footer-info a:hover {
    color: #999;
}

.footer-divider {
    margin: 0 5px;
}