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

/* 基础样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #462e03;
    min-height: 100vh;
}

/* 主容器 */
.container {
    max-width: 768px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    font-size: 17px;
    overflow: hidden;
}

/* 顶部横幅 */
.top-banner {
    width: 100%;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品介绍区域 */
.product-intro {
    padding: 10px;
}

.intro-text {
    text-align: left;
    font-size: 16px;
    line-height: 27px;
    padding: 10px;
    color: #555;
}

.intro-text p {
    margin-bottom: 8px;
}

.intro-text strong {
    color: #ff6b6b;
}

.highlight {
    color: #ff6b6b;
    font-weight: bold;
}

.wechat-highlight {
    color: #ff6b6b;
    font-weight: bold;
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 4px;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.feature-badge {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.inline-button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.inline-button:hover {
    background: #c82333;
}

/* 微信联系区域 */
.wechat-section, .final-contact, .mid-wechat-section {
    text-align: center;
    margin: 8px;
    font-size: 18px;
    color: red;
}

.wechat-card {
    background: transparent;
    padding: 0;
    text-align: center;
}

.wechat-title {
    margin-bottom: 5px;
}

.wechat-id-display {
    margin-bottom: 10px;
}

.wechat-button {
    margin-top: 10px;
    background-color: rgb(192, 80, 77);
    color: #fff;
    font-size: 18px;
    padding: 5px;
    width: 70%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wechat-button:hover {
    background-color: rgb(172, 60, 57);
    transform: translateY(-1px);
}

/* 产品图片展示 */
.product-images {
    width: 100%;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
}

/* 固定底部按钮 */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 0;
    z-index: 1000;
}

.cta-button {
    width: 78%;
    border-radius: 20px;
    padding: 8px 0;
    color: #d70606;
    margin-top: 0;
    margin-bottom: 4px;
    background-color: #ffb61f;
    height: auto;
    min-height: 50px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: scaleDraw 2.1s ease-in-out infinite;
    transform-origin: center;
}

.cta-button:hover {
    background-color: #e6a01a;
}

.cta-button:active {
    transform: scale(0.98);
    animation-play-state: paused;
}

.button-text {
    display: block;
    margin-bottom: 0.2rem;
}

.wechat-id {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 缩放动画 - 更稳定的版本 */
@keyframes scaleDraw {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* 底部间距 */
.bottom-spacer {
    height: 100px;
}

/* 响应式设计 - 平板和PC */
@media (min-width: 768px) {
    .container {
        max-width: 640px;
        border-left: 2px solid #e97601;
        border-right: 2px solid #e97601;
        padding: 0 10px;
        margin: 0 auto;
    }

    .fixed-footer {
        left: 50%;
        transform: translateX(-50%);
        max-width: 640px;
    }
}

@media (min-width: 1325px) {
    .container {
        max-width: 640px !important;
        border-left: 2px solid #e97601;
        border-right: 2px solid #e97601;
        padding: 0 10px;
        margin: 0 auto;
    }

    .fixed-footer {
        max-width: 640px !important;
    }
}
