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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff9999;
}

/* 语言切换器 */
.language-switcher {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s;
    color: #333;
}

.lang-button:hover {
    border-color: #ff9999;
    color: #ff9999;
}

.lang-button svg {
    width: 16px;
    height: 16px;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8f8f8;
}

.lang-option.active {
    background: #fff0f0;
    color: #ff9999;
    font-weight: 500;
}

/* 主视觉区域 */
.hero {
    position: relative;
    height: 750px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: #f5f5f5;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/马达加斯加积雪草.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    padding: 50px;
    margin-left: 60px;
}

.hero-title {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.hero-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.8;
}

.cta-button {
    background: transparent;
    border: 1px solid #000;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* 分隔文字 */
.divider {
    padding: 80px 20px;
    background: #fff;
}

.divider-text {
    text-align: center;
    font-size: 24px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 产品展示区域 */
.product-section {
    padding: 80px 20px;
    background: #fafafa;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 500px;
}

.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 10px;
}

.product-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-volume {
    font-size: 15px;
    color: #999;
    margin-bottom: 20px;
    font-style: italic;
}

.product-price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-availability {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin-bottom: 30px;
}

.product-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 购买表单 */
.product-purchase-form {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f8f8f8;
    color: #ff9999;
}

.qty-btn:active {
    background: #f0f0f0;
}

.qty-minus {
    border-right: 1px solid #ddd;
}

.qty-plus {
    border-left: 1px solid #ddd;
}

.quantity-controls input[type="number"] {
    width: 80px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fff;
    cursor: text;
}

.quantity-controls input[type="number"]:focus {
    outline: none;
    background: #f9f9f9;
}

/* 隐藏数字输入框的上下箭头 */
.quantity-controls input[type="number"]::-webkit-inner-spin-button,
.quantity-controls input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-controls input[type="number"] {
    -moz-appearance: textfield;
}

.buy-button {
    width: 100%;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.buy-button:hover {
    background: #ff9999;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 153, 0.3);
}

.buy-button:active {
    transform: translateY(0);
}

/* 客户评价 */
.testimonial {
    padding: 100px 20px;
    background: #fff;
}

.testimonial-quote {
    text-align: center;
    font-size: 24px;
    font-style: italic;
    color: #333;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.testimonial-author {
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* 页脚 */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 20px 40px;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.email-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    padding: 12px 25px;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #ff9999;
    color: #fff;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff9999;
}

/* 版权信息 */
.footer-copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .divider-text {
        font-size: 20px;
    }
    
    .testimonial-quote {
        font-size: 20px;
    }
}

@media (max-width: 968px) {
    .hero {
        height: 600px;
    }
    
    .hero-background::after {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    }
    
    .hero-content {
        margin-left: 30px;
        margin-right: 30px;
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 500px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px;
    }
    
    .divider-text {
        font-size: 18px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .lang-button span {
        display: none;
    }
    
    .lang-button {
        padding: 6px 8px;
    }
    
    .quantity-controls {
        width: 100%;
        max-width: 200px;
    }
    
    .buy-button {
        font-size: 14px;
        padding: 14px 24px;
    }
}

