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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 防止Vue挂载前闪烁 */
[v-cloak] { display: none !important; }

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #007bff;
}

.dropdown i {
    font-size: 0.8rem;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    /* 高度按图片比例 790/1920 计算，最小320px，最大不超过视口高 */
    height: clamp(320px, calc(100vw * 790 / 1920), 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain; /* 确保整张图完整显示 */
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

.court-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.0);
    z-index: -1;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    z-index: 1;
}

.hero-cta {
    position: absolute;
    left: 50%;
    bottom: 4rem; /* moved up to avoid overlapping indicators */
    transform: translateX(-50%);
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
    opacity: 0.8;
}

/* Hero按钮样式 */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.explore-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.explore-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

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

.warranty-button {
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 13px 28px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warranty-button:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

/* 移除浮窗图片容器（不再使用）*/
.model-container, .model-image { display: none; }

.image-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 导航箭头样式 */
.hero-nav {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

.nav-arrow i {
    color: #333;
    font-size: 1.2rem;
}

/* 支持按钮样式 */
.support-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

    .support-button i {
        color: white;
        font-size: 1.5rem;
    }

    /* 特色功能区域样式 */
    .features-section {
        padding: 80px 0;
        background: #f8f9fa; /* 与产品区统一的浅灰背景 */
    }

    .features-section .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 28px; /* 与产品卡间距更协调 */
        margin-top: 40px;
    }

    .features-section .feature-card {
        background: white;
        border-radius: 16px; /* 与产品卡统一圆角 */
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); /* 柔和阴影与产品区协调 */
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 14px;
    }

    .features-section .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    }

    .features-section .feature-image {
        width: 100%;
        height: 160px; /* 统一卡片视觉高度 */
        overflow: hidden;
        background: #f5f6fa;
    }

    .features-section .feature-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        display: block;
    }

    .features-section .feature-card:hover .feature-image img {
        transform: scale(1.04);
    }

    .features-section .feature-title {
        font-size: 1.06rem;
        font-weight: 700;
        color: #333;
        margin: 16px 16px 8px;
        line-height: 1.3;
    }

    .features-section .feature-description {
        color: #6b7280; /* 与产品区文字色统一 */
        font-size: 0.92rem;
        line-height: 1.5;
        margin: 0 18px 6px;
    }

    /* 产品展示区域样式 */
    .products-section {
        padding: 80px 0;
        background: #f8f9fa;
    }

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

    .section-header {
        text-align: center;
        margin-bottom: 44px; /* 两区域标题与网格间距统一 */
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .emoji {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        color: #666;
        margin: 0 auto;
        display: inline-block;      /* 由内容决定宽度，便于单行完整显示 */
        white-space: nowrap;        /* 单行显示 */
        overflow: visible;          /* 不裁切 */
        text-overflow: clip;        /* 不显示省略号 */
        max-width: none;            /* 取消最大宽度限制 */
        width: auto;                /* 自适应内容宽度 */
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .product-card {
        background: white;
        border-radius: 16px; /* 与特色功能卡统一 */
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    }

    .product-image {
        position: relative;
        background: #f5f5f5;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        width: 100%;
        aspect-ratio: 679/684;
        padding: 28px; /* increased inner spacing */
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* keep full image visible within padding */
        transition: transform 0.3s ease;
        display: block;
    }

    .product-card:hover .product-image img {
        transform: scale(1.05);
    }

    .product-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #ff6b6b, #ff8a7a); /* 更柔和的渐变 */
        color: white;
        padding: 5px 10px;
        border-radius: 999px; /* 胶囊外观，与discount一致 */
        font-size: 0.78rem;
        font-weight: 700;
    }

    .product-info {
        padding: 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-name {
        font-size: 1rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-rating {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .stars {
        display: flex;
        gap: 2px;
    }

    .stars i {
        color: #ffc107;
        font-size: 0.9rem;
    }

    .review-count {
        color: #666;
        font-size: 0.9rem;
    }

    .product-price {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .original-price {
        color: #999;
        text-decoration: line-through;
        font-size: 0.9rem;
    }

    .current-price {
        font-size: 1.4rem;
        font-weight: bold;
        color: #000;
    }

    .discount-badge {
        background: #e8f5e9;
        color: #2e7d32;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
    }

    .buy-button {
        width: 100%;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .buy-button:hover {
        background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    }

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

    /* 底部区域样式 */
    .footer {
        background: #f8f9fa;
        padding: 60px 0 40px;
    }

    /* Why Choose Us 部分 */
    .why-choose-us {
        margin-bottom: 60px;
    }

    .why-choose-us .section-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 3rem;
    }

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

    .feature-card {
        background: white;
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

    .feature-icon i {
        color: white;
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.1rem;
        font-weight: bold;
        color: #333;
        margin: 0;
    }

    /* 联系方式部分 */
    .contact-section {
        border-top: 1px solid #dee2e6;
        padding-top: 40px;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .contact-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        background: #007bff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .contact-icon i {
        color: white;
        font-size: 1.1rem;
    }

    .contact-details {
        flex: 1;
    }

    .contact-text {
        font-size: 1rem;
        color: #333;
        margin: 0 0 0.25rem 0;
        font-weight: 500;
    }

    .contact-time {
        font-size: 0.9rem;
        color: #666;
        margin: 0;
    }

    /* 社交媒体部分 */
    .social-icons {
        display: flex;
        gap: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        background: #333;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-icon:hover {
        background: #007bff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }

    .social-icon i {
        font-size: 1.2rem;
    }

    /* 弹出表单样式 */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        animation: fadeIn 0.3s ease;
    }

    /* 防止首屏闪烁：默认隐藏未挂载前的 modal */
    /* .modal-overlay { display: none; } */

    /* 当由Vue渲染到DOM后，内联或样式会覆盖显示 */
    .modal-content {
        background: white;
        border-radius: 15px;
        padding: 1.5rem;
        max-width: 400px;
        width: 85%;
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
        animation: slideIn 0.3s ease;
    }

    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #666;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

    .modal-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .modal-title {
        font-size: 1.3rem;
        font-weight: bold;
        color: #333;
        line-height: 1.4;
        margin: 0;
    }

    .modal-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-label {
        font-weight: bold;
        color: #333;
        font-size: 1rem;
    }

    .input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-icon {
        position: absolute;
        left: 12px;
        font-size: 1.1rem;
        z-index: 1;
    }

    .form-input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        background: white;
    }

    .form-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .form-select {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        background: white;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }

    .form-select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .form-select option {
        padding: 8px;
        font-size: 1rem;
    }

    /* 自定义产品选择下拉框 */
    .custom-select-wrapper {
        position: relative;
        width: 100%;
    }

    .custom-select {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        background: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: border-color 0.3s ease;
        position: relative;
    }

    .custom-select:hover {
        border-color: #007bff;
    }

    .custom-select .input-icon {
        position: absolute;
        left: 12px;
        font-size: 1.1rem;
        z-index: 1;
    }

    .selected-text {
        flex: 1;
        margin-left: 20px;
        color: #333;
    }

    .custom-select i {
        color: #666;
        transition: transform 0.3s ease;
    }

    .custom-select i.rotated {
        transform: rotate(180deg);
    }

    .custom-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: 200px;
        overflow-y: auto;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .dropdown-item .product-image {
        width: 32px !important;
        height: 32px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        border: 1px solid #ddd !important;
        display: block !important;
        flex-shrink: 0;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        aspect-ratio: unset !important;
    }

    .product-asin {
        font-weight: bold;
        color: #333;
        font-size: 0.9rem;
    }

    .rating-stars {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .star {
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0.3;
    }

    .star.active {
        opacity: 1;
        transform: scale(1.1);
    }

    .star:hover {
        transform: scale(1.2);
    }

    .error-message {
        color: #dc3545;
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }

    .submit-button {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 1rem;
    }

    .submit-button:hover {
        background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    }

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

    /* 动画效果 */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes slideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* 完成页面样式 */
    .completion-modal {
        max-width: 600px;
        text-align: center;
    }

    .completion-header {
        margin-bottom: 2rem;
        text-align: left;
    }

    .completion-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin: 0;
    }

    .completion-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .completion-text {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
        margin: 0;
        text-align: left;
    }

    .warranty-text {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 1rem;
        font-family: 'Courier New', monospace;
        font-size: 0.9rem;
        color: #333;
        text-align: center;
        font-weight: bold;
        margin: 1rem 0;
    }

    .contact-button {
        background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 1rem;
    }

    .contact-button:hover {
        background: linear-gradient(135deg, #e67e00 0%, #e55a2b 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    }

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

    /* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .explore-button,
    .warranty-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-section .feature-image {
        height: 150px;
    }

    .features-section .feature-title {
        font-size: 1.1rem;
        margin: 15px 15px 8px;
    }

    .features-section .feature-description {
        font-size: 0.85rem;
        margin: 0 15px 15px;
    }
    
    .model-container {
        width: 90%;
        max-width: 500px;
        height: 300px;
        margin-top: 2rem;
    }
    
    .model-image {
        min-height: 300px;
    }
    
    .hero-nav {
        right: 1rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .support-button {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

    @media (max-width: 480px) {
        .nav-menu {
            display: none;
        }
        
        .hero-title {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
        }
        
        .hero-description {
            font-size: 1rem;
        }
        
        .section-title {
            font-size: 2rem;
            flex-direction: column;
            gap: 0.5rem;
        }

        .features-section .features-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .features-section .feature-image {
            height: 120px;
        }

        .features-section .feature-title {
            font-size: 1rem;
            margin: 12px 12px 6px;
        }

        .features-section .feature-description {
            font-size: 0.8rem;
            margin: 0 12px 12px;
        }
        
        .products-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .product-card {
            margin: 0 1rem;
        }

        .product-image {
            aspect-ratio: 679/684;
            padding: 16px; /* slightly smaller padding on very small screens */
        }
        
        /* 底部响应式 */
        .why-choose-us .section-title {
            font-size: 2rem;
        }
        
        .features-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        .social-icons {
            justify-content: center;
        }
        
        /* 弹出表单响应式 */
        .modal-content {
            padding: 1rem;
            max-width: 90%;
        }
        
        .modal-title {
            font-size: 1.1rem;
        }
        
        .form-input,
        .form-select {
            padding: 10px 10px 10px 35px;
            font-size: 0.9rem;
        }
        
        .custom-select {
            padding: 10px 10px 10px 35px;
            font-size: 0.9rem;
        }
        
        .dropdown-item {
            padding: 10px;
        }
        
        .dropdown-item .product-image {
            width: 28px !important;
            height: 28px !important;
            display: block !important;
            flex-shrink: 0;
            position: static !important;
            background: transparent !important;
            padding: 0 !important;
            aspect-ratio: unset !important;
        }
        
        .input-icon {
            left: 10px;
            font-size: 1rem;
        }
        
        .star {
            font-size: 1.3rem;
        }
        
        .submit-button {
            padding: 12px 20px;
            font-size: 1rem;
        }
        
        /* 完成页面响应式 */
        .completion-modal {
            max-width: 95%;
            padding: 1.5rem;
        }
        
        .completion-title {
            font-size: 1.3rem;
        }
        
        .completion-text {
            font-size: 0.9rem;
        }
        
        .warranty-text {
            font-size: 0.8rem;
            padding: 0.8rem;
        }
        
        .contact-button {
            padding: 12px 30px;
            font-size: 1rem;
        }
    } 

    /* 礼品模态框样式 */
    .gift-modal {
        max-width: 500px;
        background: linear-gradient(135deg, #fff, #f8f9fa);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        animation: slideIn 0.4s ease-out;
    }

    .gift-header {
        text-align: center;
        padding: 30px 30px 20px;
        border-bottom: 1px solid #eee;
    }

    .gift-title {
        color: #ff6b35;
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0 0 20px 0;
        text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    }

    .gift-amount {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #ff6b35, #e55a2b);
        color: white;
        padding: 15px 25px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        margin: 0 auto;
        max-width: 200px;
    }

    .gift-currency {
        font-size: 1.5rem;
        font-weight: bold;
        color: #fff;
    }

    .gift-number-large {
        font-size: 2.5rem;
        font-weight: bold;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .gift-text-large {
        font-size: 1.1rem;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .gift-content {
        padding: 30px;
    }

    .gift-info {
        margin-bottom: 30px;
    }

    .gift-item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 12px;
        border-left: 4px solid #ff6b35;
    }

    .gift-item:last-child {
        margin-bottom: 0;
    }

    .gift-number {
        background: #ff6b35;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 0.9rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .gift-text {
        color: #333;
        font-size: 1rem;
        line-height: 1.5;
        flex: 1;
    }

    .gift-button {
        width: 100%;
        background: linear-gradient(135deg, #ff6b35, #e55a2b);
        color: white;
        border: none;
        padding: 18px 30px;
        border-radius: 25px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .gift-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
        background: linear-gradient(135deg, #e55a2b, #d44a1a);
    }

    .gift-button:active {
        transform: translateY(-1px);
    }

    /* 勾选框样式 */
    .gift-checkbox-container {
        margin: 25px 0;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 12px;
        border: 1px solid #e9ecef;
    }

    .gift-checkbox-label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
        user-select: none;
    }

    .gift-checkbox {
        display: none;
    }

    .gift-checkbox-custom {
        width: 20px;
        height: 20px;
        border: 2px solid #ff6b35;
        border-radius: 4px;
        background: white;
        position: relative;
        flex-shrink: 0;
        margin-top: 2px;
        transition: all 0.3s ease;
    }

    .gift-checkbox:checked + .gift-checkbox-custom {
        background: #ff6b35;
        border-color: #ff6b35;
    }

    .gift-checkbox:checked + .gift-checkbox-custom::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

    .gift-checkbox-text {
        color: #333;
        font-size: 0.95rem;
        line-height: 1.4;
        flex: 1;
    }

    .gift-checkbox-label:hover .gift-checkbox-custom {
        border-color: #e55a2b;
        box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
    }

    /* 按钮禁用状态 */
    .gift-button.disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .gift-button.disabled:hover {
        background: #ccc;
        transform: none;
        box-shadow: none;
    }

    /* 移动端礼品模态框样式 */
    @media (max-width: 768px) {
        .gift-modal {
            max-width: 95%;
            margin: 20px;
        }

        .gift-title {
            font-size: 1.5rem;
            margin: 0 0 15px 0;
        }

        .gift-amount {
            padding: 12px 20px;
            max-width: 180px;
        }

        .gift-currency {
            font-size: 1.3rem;
        }

        .gift-number-large {
            font-size: 2.2rem;
        }

        .gift-text-large {
            font-size: 1rem;
        }

        .gift-content {
            padding: 20px;
        }

        .gift-item {
            padding: 12px;
            gap: 12px;
        }

        .gift-text {
            font-size: 0.9rem;
        }

        .gift-button {
            padding: 15px 25px;
            font-size: 1.1rem;
        }

        .gift-checkbox-container {
            margin: 20px 0;
            padding: 12px;
        }

        .gift-checkbox-custom {
            width: 18px;
            height: 18px;
        }

        .gift-checkbox-text {
            font-size: 0.9rem;
        }
    }

    /* Amazon Review Modal */
    .amazon-review-modal {
        max-width: 400px;
        text-align: center;
        padding: 2rem;
    }

    .amazon-review-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .amazon-review-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin: 0;
        line-height: 1.4;
    }

    .amazon-review-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .amazon-review-btn {
        padding: 12px 30px;
        border: none;
        border-radius: 25px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 80px;
    }

    .yes-btn {
        background: linear-gradient(135deg, #f39c12, #e67e22);
        color: white;
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    }

    .yes-btn:hover {
        background: linear-gradient(135deg, #e67e22, #d35400);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    }

    .no-btn {
        background: linear-gradient(135deg, #f39c12, #e67e22);
        color: white;
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    }

    .no-btn:hover {
        background: linear-gradient(135deg, #e67e22, #d35400);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    }

    @media (max-width: 768px) {
        .amazon-review-modal {
            padding: 1.5rem;
            max-width: 90%;
        }

        .amazon-review-title {
            font-size: 1.1rem;
        }

        .amazon-review-buttons {
            flex-direction: column;
            gap: 0.8rem;
        }

        .amazon-review-btn {
            padding: 10px 25px;
            font-size: 0.9rem;
        }
    }

.required {
    color: #dc3545;
    font-weight: 700;
}