/* ============================================
   携成食品官网 - 小米汽车风格完美复刻
   1:1还原小米汽车官网设计
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- 导航栏（复刻小米汽车顶部导航） --- */
.main-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.3s;
}
.main-nav.scrolled { background: rgba(10,30,61,0.95); }
.main-nav.scrolled .nav-link { color: #fff; }
.main-nav.scrolled .logo-text { color: #fff; }
.main-nav.scrolled .btn-nav { border-color: #fff; color: #fff; }

.nav-inner {
    max-width: 1440px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px; height: 60px;
}
.nav-logo { text-decoration: none; }
.logo-text {
    font-size: 20px; font-weight: 700; color: #333;
    letter-spacing: 2px;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; color: #333;
    border-radius: 20px; transition: all 0.2s; position: relative;
    white-space: nowrap;
}
.nav-link:hover { background: rgba(0,0,0,0.05); }
.nav-link.active { color: #C9A96E; }
.nav-link.highlight { color: #C9A96E; font-weight: 600; }
.arrow { font-size: 10px; margin-left: 2px; }

.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; border-radius: 12px; padding: 8px 0;
    min-width: 160px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    opacity: 0; visibility: hidden; transition: all 0.2s;
    margin-top: 8px; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; margin-top: 4px;
}
.dropdown-menu a {
    display: block; padding: 10px 20px; font-size: 14px;
    color: #333; transition: all 0.15s;
}
.dropdown-menu a:hover { background: #F5F5F5; color: #C9A96E; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav {
    padding: 6px 20px; border-radius: 20px; font-size: 14px;
    border: 1px solid #333; color: #333; transition: all 0.2s;
}
.btn-nav:hover { background: #333; color: #fff; }
.btn-primary-nav {
    background: linear-gradient(135deg, #C9A96E, #B8944F) !important;
    color: #fff !important; border: none !important;
    padding: 8px 22px !important; border-radius: 20px !important;
    font-size: 14px; font-weight: 600;
}
.btn-primary-nav:hover { opacity: 0.9; }

/* --- Hero区（复刻小米汽车Hero） --- */
.hero-xiaomi {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #0A1E3D;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.hero-bg img.hero-bottle-img {
    height: 85vh; width: auto; max-width: none;
    object-fit: contain; opacity: 0.95;
    filter: drop-shadow(0 0 80px rgba(201,169,110,0.15));
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    color: #fff; padding: 0 40px; margin-top: 60px;
}
.hero-title {
    font-size: 72px; font-weight: 900; letter-spacing: 4px;
    margin-bottom: 16px; line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 22px; font-weight: 300; margin-bottom: 24px;
    opacity: 0.9; letter-spacing: 2px;
}
.hero-price {
    font-size: 32px; font-weight: 700; color: #C9A96E;
    margin-bottom: 40px; letter-spacing: 2px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    padding: 14px 40px; border-radius: 30px; font-size: 16px;
    font-weight: 600; transition: all 0.25s; cursor: pointer;
    letter-spacing: 1px;
}
.btn-white { background: #fff; color: #333; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,255,255,0.2); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-orange { background: linear-gradient(135deg, #C9A96E, #B8944F); color: #fff; }
.btn-orange:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,169,110,0.3); }

.hero-scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    color: #fff; text-align: center; z-index: 2;
}
.hero-scroll-hint span { font-size: 13px; opacity: 0.6; letter-spacing: 2px; }
.scroll-arrow {
    width: 20px; height: 20px; margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg); animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(5px,5px); opacity: 1; }
}

/* --- 品牌理念区 --- */
.brand-concept {
    padding: 120px 40px; text-align: center; background: #fff;
}
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 40px; font-weight: 700; color: #0F2440;
    margin-bottom: 20px; letter-spacing: 2px;
}
.section-desc {
    font-size: 17px; color: #666; line-height: 1.8; margin-bottom: 40px;
}
.btn-video {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 30px; border-radius: 30px;
    background: #f5f5f5; color: #333; font-size: 15px;
    transition: all 0.2s;
}
.btn-video:hover { background: #eee; }
.play-icon { font-size: 18px; }

/* --- 外观设计区（复刻小米汽车设计区） --- */
.design-section {
    padding: 120px 40px; background: #f7f7f7;
}
.design-carousel {
    position: relative; max-width: 900px; margin: 60px auto;
    aspect-ratio: 3/2; border-radius: 20px; overflow: hidden;
    background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.carousel-item {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.5s;
}
.carousel-item.active { opacity: 1; }
.carousel-item img { max-height: 80%; max-width: 80%; object-fit: contain; }
.carousel-caption {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    font-size: 14px; color: #999; white-space: nowrap;
}

.design-features {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; max-width: 1000px; margin: 60px auto 0;
}
.design-feature {
    text-align: center; padding: 30px 20px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}
.design-feature:hover { transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.design-feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #0F2440; }
.design-feature p { font-size: 13px; color: #888; line-height: 1.6; }

/* --- 瓶型选择器 --- */
.bottle-selector, .capacity-selector {
    max-width: 800px; margin: 60px auto 0; text-align: center;
}
.bottle-selector h3, .capacity-selector h3 {
    font-size: 20px; font-weight: 600; margin-bottom: 24px; color: #0F2440;
}
.bottle-options, .capacity-options {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.bottle-option, .capacity-option {
    cursor: pointer; border-radius: 12px; border: 3px solid transparent;
    transition: all 0.2s; text-align: center;
    padding: 12px; background: #fff;
}
.bottle-option.active, .capacity-option.active {
    border-color: #C9A96E;
}
.bottle-option img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 8px; border-radius: 8px; }
.bottle-option span, .capacity-option span { font-size: 13px; color: #666; }
.capacity-option {
    padding: 20px 30px; min-width: 120px;
}
.capacity-name { display: block; font-size: 20px; font-weight: 700; color: #0F2440; margin-bottom: 4px; }
.capacity-desc { font-size: 12px; color: #999; }
.capacity-option.active .capacity-name { color: #C9A96E; }

/* --- 定制服务区 --- */
.customize-section {
    padding: 120px 40px; background: #fff;
}
.customize-features {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; max-width: 1000px; margin: 60px auto 0;
}
.customize-feature {
    text-align: center; padding: 40px 20px;
    border-radius: 16px; background: #f7f7f7;
    transition: all 0.2s;
}
.customize-feature:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.customize-icon { font-size: 48px; margin-bottom: 20px; }
.customize-feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.customize-feature p { font-size: 13px; color: #888; line-height: 1.8; }
.customize-cta { text-align: center; margin-top: 50px; }
.btn-large { padding: 18px 60px; font-size: 18px; }

/* --- 品质保障区 --- */
.quality-section {
    padding: 120px 40px; background: #0A1E3D; color: #fff;
}
.quality-section .section-title { color: #fff; }
.quality-section .section-desc { color: rgba(255,255,255,0.6); }
.quality-features {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; max-width: 1000px; margin: 60px auto 0;
}
.quality-feature { text-align: center; }
.quality-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 16px; margin-bottom: 20px;
}
.quality-feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.quality-feature p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* --- 生产基地区 --- */
.factory-section {
    padding: 200px 40px; text-align: center;
    background: linear-gradient(135deg, #0A1E3D 0%, #122B52 100%);
    color: #fff; position: relative; overflow: hidden;
}
.factory-section::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 50%);
    animation: factoryGlow 8s ease-in-out infinite;
}
@keyframes factoryGlow {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(5%,5%); }
}
.factory-section .section-title { color: #fff; position: relative; }
.factory-section .section-desc { color: rgba(255,255,255,0.6); position: relative; }
.btn-outline-dark {
    display: inline-block; padding: 14px 40px; border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.5); color: #fff;
    font-size: 15px; font-weight: 600; margin-top: 40px;
    position: relative; transition: all 0.2s;
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ===========================================
   配置器页面样式（复刻小米汽车配置器）
   =========================================== */

/* --- 配置器主体 --- */
.configurator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 60px;
}

/* 左侧：产品预览区 */
.config-preview {
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    background: #0A1E3D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image img#previewBottle {
    max-height: 85vh;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 80px rgba(201,169,110,0.12));
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 标签实时预览层 */
.label-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    pointer-events: none;
}

.label-bg {
    background: #C9A96E;
    border-radius: 4px;
    padding: 20px 16px;
    text-align: center;
    transition: background 0.4s;
}

.label-brand {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.label-slogan {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
}

/* 缩略图导航 */
.preview-thumbnails {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.thumb {
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.thumb:hover, .thumb.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

/* 右侧：配置面板 */
.config-panel {
    background: #fff;
    padding: 40px 48px 160px;
    overflow-y: auto;
    position: relative;
}

/* 步骤指示器（复刻小米汽车） */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0.35;
    transition: opacity 0.25s;
}

.step.completed {
    opacity: 0.6;
}

.step.active {
    opacity: 1;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.25s;
}

.step.active .step-dot {
    background: #C9A96E;
    box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
}

.step.completed .step-dot {
    background: #C9A96E;
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.step-connector {
    width: 24px;
    height: 1px;
    background: #e0e0e0;
    margin: 0 8px;
    flex-shrink: 0;
}

/* 配置步骤内容 */
.config-step {
    display: none;
    animation: stepFadeIn 0.4s ease;
}

.config-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.config-step.slide-in-left {
    animation: slideInLeft 0.4s ease;
}

.config-step.slide-in-right {
    animation: slideInRight 0.4s ease;
}

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

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

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #0F2440;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 36px;
}

/* 瓶型选择器 */
.bottle-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bottle-option {
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.bottle-option:hover {
    border-color: #ddd;
    background: #fafafa;
}

.bottle-option.active {
    border-color: #C9A96E;
    background: rgba(201,169,110,0.02);
}

.bottle-option img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 8px;
}

.bottle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bottle-name {
    font-size: 15px;
    font-weight: 600;
    color: #0F2440;
}

.bottle-badge {
    display: inline-block;
    background: linear-gradient(135deg, #C9A96E, #B8944F);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.bottle-desc {
    font-size: 12px;
    color: #999;
}

/* 容量选择器 */
.capacity-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.capacity-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.capacity-option:hover {
    border-color: #ddd;
}

.capacity-option.active {
    border-color: #C9A96E;
    background: rgba(201,169,110,0.02);
}

.capacity-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0F2440;
    margin-bottom: 4px;
}

.capacity-option.active .capacity-value {
    color: #C9A96E;
}

.capacity-desc {
    font-size: 12px;
    color: #999;
}

/* 颜色选择器 */
.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.color-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-option:hover {
    border-color: #ddd;
}

.color-option.active {
    border-color: #C9A96E;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: #0F2440;
    display: block;
}

.color-desc {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 2px;
}

/* 风格选择器 */
.style-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.style-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.style-option:hover {
    border-color: #ddd;
}

.style-option.active {
    border-color: #C9A96E;
}

.style-preview {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.style-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F2440;
}

.style-desc {
    font-size: 11px;
    color: #999;
}

/* 文字输入 */
.text-input-group {
    max-width: 480px;
}

.input-row {
    margin-bottom: 20px;
}

.input-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-row input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.input-row input:focus {
    border-color: #C9A96E;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #bbb;
    margin-top: 4px;
}

.input-preview {
    margin-top: 24px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
}

.input-preview p {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.text-preview, .slogan-preview {
    padding: 16px 24px;
    background: #C9A96E;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-preview small, .slogan-preview small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.8;
}

/* Logo上传区 */
.upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.upload-area:hover {
    border-color: #C9A96E;
    background: rgba(201,169,110,0.02);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
}

.upload-icon {
    font-size: 40px;
}

.upload-placeholder small {
    font-size: 12px;
    color: #bbb;
}

.upload-preview {
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
}

.btn-remove-logo {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff4444;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-tips {
    margin-top: 16px;
}

.upload-tips p {
    font-size: 13px;
    color: #999;
    margin: 4px 0;
}

/* 瓶盖颜色选择器 */
.cap-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cap-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.cap-option:hover {
    border-color: #ddd;
}

.cap-option.active {
    border-color: #C9A96E;
}

.cap-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cap-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F2440;
}

.cap-desc {
    font-size: 11px;
    color: #999;
}

/* 数量选择器 */
.qty-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.qty-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-option:hover {
    border-color: #ddd;
}

.qty-option.active {
    border-color: #C9A96E;
}

.qty-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0F2440;
    margin-bottom: 4px;
}

.qty-option.active .qty-value {
    color: #C9A96E;
}

.qty-desc {
    font-size: 11px;
    color: #999;
    display: block;
}

.qty-price {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #C9A96E;
    margin-top: 4px;
}

.qty-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.qty-custom label {
    font-size: 13px;
    color: #666;
}

.qty-custom input {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.qty-custom input:focus {
    border-color: #C9A96E;
}

.qty-custom span {
    font-size: 13px;
    color: #666;
}

/* 底部操作栏（复刻小米汽车底部） */
.config-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50%;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 16px 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.config-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-left {
    font-size: 13px;
    color: #999;
}

.summary-text {
    color: #333;
    font-weight: 600;
}

.summary-right {
    text-align: right;
}

.summary-price {
    font-size: 28px;
    font-weight: 700;
    color: #C9A96E;
}

.summary-unit {
    font-size: 13px;
    color: #999;
}

.config-actions {
    display: flex;
    gap: 12px;
}

.btn-config {
    flex: 1;
    padding: 14px 24px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-prev {
    background: #f5f5f5;
    color: #666;
}

.btn-prev:hover:not(:disabled) {
    background: #eee;
}

.btn-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next {
    background: linear-gradient(135deg, #C9A96E, #B8944F);
    color: #fff;
}

.btn-next:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-submit {
    background: linear-gradient(135deg, #C9A96E, #B8944F);
    color: #fff;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* --- 页脚（复刻小米汽车页脚） --- */
.main-footer { background: #0F2440; color: #999; }
.footer-app-download {
    padding: 60px 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-app-download .container {
    display: flex; align-items: center; justify-content: center; gap: 80px;
}
.app-qr { display: flex; align-items: center; gap: 16px; }
.app-qr img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 8px; }
.app-qr h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.app-qr p { font-size: 13px; line-height: 1.6; }
.app-badges { display: flex; gap: 8px; margin-top: 8px; }
.app-badges span {
    padding: 4px 12px; background: rgba(255,255,255,0.1);
    border-radius: 4px; font-size: 12px; color: #ccc;
}

.footer-links { padding: 60px 40px; }
.footer-links .container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col a {
    display: block; font-size: 14px; color: #888; padding: 6px 0;
    transition: color 0.15s;
}
.footer-col a:hover { color: #C9A96E; }
.footer-col p { font-size: 14px; color: #888; line-height: 1.8; }
.social-icons { display: flex; gap: 12px; margin-top: 12px; }
.social-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    font-size: 12px; color: #ccc; transition: all 0.2s;
}
.social-icon:hover { background: #C9A96E; color: #fff; }

.footer-bottom {
    padding: 20px 40px; border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; font-size: 13px; color: #666;
}
.footer-bottom p { margin: 4px 0; }

/* --- 响应式 --- */
@media (max-width: 1024px) {
    .nav-inner { padding: 0 20px; }
    .nav-menu { display: none; }
    .hero-title { font-size: 48px; }
    .hero-subtitle { font-size: 18px; }
    .design-features, .customize-features, .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-links .container { grid-template-columns: repeat(2, 1fr); }
    
    /* 配置器响应式 */
    .configurator {
        grid-template-columns: 1fr;
    }
    .config-preview {
        position: relative;
        top: 0;
        height: 50vh;
    }
    .config-panel {
        padding: 24px 20px 140px;
    }
    .config-footer {
        width: 100%;
        padding: 12px 20px;
    }
    .bottle-options {
        grid-template-columns: 1fr;
    }
    .capacity-options, .color-options, .style-options, 
    .cap-options, .qty-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .hero-bottle-img { height: 50vh !important; }
    .section-title { font-size: 28px; }
    .design-features, .customize-features, .quality-features {
        grid-template-columns: 1fr;
    }
}

/* ===== 联系表单 ===== */
.input-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
    min-height: 80px;
}
.input-row textarea:focus {
    border-color: #C9A96E;
}

.submit-summary {
    margin-top: 28px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}
.submit-summary h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}
.submit-summary h4 small {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-left: 6px;
}
.summary-detail {
    font-size: 14px;
    color: #555;
    line-height: 2;
}
.summary-detail strong {
    color: #333;
    display: inline-block;
    min-width: 80px;
}

/* ===== 提交成功弹窗 ===== */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 61, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.success-modal.active {
    opacity: 1;
    pointer-events: all;
}
.success-content {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
}
.success-modal.active .success-content {
    transform: translateY(0);
}
.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}
.success-content h3 {
    font-size: 24px;
    color: #0A1E3D;
    margin-bottom: 8px;
}
.success-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.success-id {
    display: inline-block;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    color: #333;
    margin-bottom: 24px;
}
.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.success-actions a, .success-actions button {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, #C9A96E, #B8944F);
    color: #0A1E3D;
}
.btn-secondary {
    background: #f0f0f0;
    color: #333;
}
.success-actions a:hover, .success-actions button:hover {
    opacity: 0.85;
}
