/* 产品选择页面样式 - 三层结构布局 */

/* 重置全局样式，避免与 style.css 冲突 */
body {
    background: #ffffff;
}

/* 强制覆盖 style.css 中的产品网格和卡片样式 */
body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .product-card {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    column-gap: unset !important;
    row-gap: unset !important;
}

body .product-card .product-specs,
body .product-card .product-price {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 确保 container 样式正确 */
.selector-section .container,
.products-hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section - 全新现代化设计 */
.products-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 80px 0 60px;
}

/* 背景层 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* 渐变光晕 */
.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.08) 0%,
        rgba(96, 165, 250, 0.05) 30%,
        transparent 70%
    );
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 粒子背景 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(147, 197, 253, 0.04) 0%, transparent 50%);
    animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* 容器 */
.products-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 内容区域 */
.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* 品牌标识 */
.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 12px 24px 12px 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-brand:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* 品牌Logo */
.brand-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.brand-icon {
    width: 32px;
    height: 32px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(5deg);
    }
}

/* 品牌文字 */
.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-vm {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 500;
    color: rgba(30, 41, 59, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

/* 主标题 */
.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.title-line {
    display: block;
    color: #1e293b;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

/* 描述文字 */
.hero-description {
    font-size: 16px;
    font-weight: 400;
    color: rgba(30, 41, 59, 0.8);
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* 特性标签 */
.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-tag:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 18px;
    height: 18px;
    color: #3b82f6;
}

/* CTA按钮 */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-icon {
    width: 20px;
    height: 20px;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 移除旧样式 */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(64, 200, 255, 0.8),
                     0 0 40px rgba(64, 200, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(64, 200, 255, 1),
                     0 0 60px rgba(64, 200, 255, 0.7);
    }
}

@keyframes subtleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
    }
}

/* 选择器区域 */
.selector-section {
    padding: 80px 0 120px;
    background: linear-gradient(to bottom, #f5f5f7 0%, #ffffff 100%);
}

/* 筛选行 */
.filter-row {
    margin-bottom: 48px;
    animation: slideDown 0.5s ease-out;
}

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

.filter-header {
    margin-bottom: 24px;
}

.filter-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.filter-header p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
}

/* 产品分类标签 */
.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
}

.category-tab:hover {
    transform: translateY(-2px);
    border-color: #0071e3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    border-color: #0071e3;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.tab-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tab-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.category-tab:hover .tab-icon svg {
    transform: scale(1.05);
}

.category-tab.active .tab-icon svg {
    stroke: currentColor;
}

.tab-text {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* 地区标签 */
.region-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.region-tab {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
}

.region-tab:hover {
    transform: translateY(-2px);
    border-color: #0071e3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.region-tab.active {
    background: rgba(0, 113, 227, 0.1);
    border-color: #0071e3;
    color: #0071e3;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.15);
}

.region-flag {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,113,227,0.04), rgba(0,113,227,0.01));
    border-radius: 8px;
    line-height: 1;
    flex-shrink: 0;
}

.region-flag svg {
    width: 28px;
    height: 28px;
    display: block;
}

.region-name {
    font-size: 15px;
    font-weight: 600;
}

.region-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

/* 产品容器 */
.products-container {
    margin-top: 48px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.products-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.02em;
}

.products-header p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
}

#countNumber {
    font-weight: 600;
    color: #0071e3;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* 产品卡片 */
.product-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 113, 227, 0.5);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.product-category {
    display: inline-block;
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}

.product-flag {
    font-size: 13px;
    font-weight: 700;
    color: #0071E3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(0,113,227,0.06), rgba(0,113,227,0.02));
    border-radius: 10px;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.product-flag svg {
    width: 28px;
    height: 28px;
    display: block;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* 云服务器：国旗和名称在同一行显示 */
.card-header-inline {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.card-header-inline .product-flag {
    font-size: 24px !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, rgba(0,113,227,0.03), rgba(0,113,227,0.01)) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.card-header-inline .product-flag svg {
    width: 28px !important;
    height: 28px !important;
}

.card-header-inline h3 {
    flex: 1 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    display: inline-block !important;
}

.card-header h3 {
    margin: 0;
}

.product-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.product-latency {
    font-size: 11px;
    color: #06c167;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.product-desc {
    font-size: 13px;
    color: #6e6e73;
    margin: 0 0 14px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 10px;
    color: #86868b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spec-value {
    font-size: 13px;
    color: #1d1d1f;
    font-weight: 600;
}

.product-price {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-size: 11px;
    color: #86868b;
    font-weight: 500;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.price-unit {
    font-size: 13px;
    color: #6e6e73;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    min-height: 24px;
}

.feature-item {
    font-size: 11px;
    color: #1d1d1f;
    background: rgba(0, 113, 227, 0.06);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.feature-item::before {
    content: '✓';
    color: #0071e3;
    font-weight: 700;
    font-size: 11px;
    margin-right: 4px;
}

.product-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-btn:hover {
    background: linear-gradient(135deg, #005bb5 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
    color: #ffffff;
}

.product-btn:hover::before {
    opacity: 1;
}

.product-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* 页脚 - 覆盖 style.css 的样式 */
body footer {
    background: linear-gradient(to bottom, #1d1d1f 0%, #161617 100%);
    color: #f5f5f7;
    padding: 60px 0 32px;
}

body .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

body .footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    color: #f5f5f7;
    margin: 0 0 12px 0;
}

body .footer-brand p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

body .footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body .footer-col a {
    display: block;
    color: #86868b;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s;
}

body .footer-col a:hover {
    color: #2997ff;
}

body .footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body .footer-bottom p {
    font-size: 12px;
    color: #86868b;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* Hero Section 移动端适配 */
    .products-hero {
        min-height: auto;
        padding: 80px 0 28px;
    }

    .hero-brand {
        gap: 10px;
        padding: 8px 16px 8px 8px;
        margin-bottom: 20px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-icon {
        width: 24px;
        height: 24px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-tagline {
        font-size: 9px;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 0 8px;
    }

    .hero-features {
        gap: 8px;
        margin-bottom: 20px;
    }

    .feature-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    .feature-icon {
        width: 14px;
        height: 14px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 24px;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    /* 选择器区域 */
    .selector-section {
        padding: 0 0 24px;
    }

    .selector-section .container {
        padding: 0;
    }

    /* 筛选行：常规流，无 sticky 无 backdrop-filter */
    .filter-row {
        margin: 0;
        padding: 8px 0 4px;
        background: #ffffff;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        animation: none;
        position: static;
    }

    #regionRow {
        background: #f8f8fa;
        position: static;
    }

    /* 隐藏标题区域 */
    .filter-header {
        display: none;
    }

    /* chips 滚动容器 */
    .category-tabs,
    .region-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 20px 8px;
        margin: 0;
        scroll-snap-type: x proximity;
        scroll-behavior: smooth;
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
    }

    .category-tabs::after,
    .region-tabs::after {
        content: '';
        flex: 0 0 8px;
    }

    .category-tabs::-webkit-scrollbar,
    .region-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab,
    .region-tab {
        flex: 0 0 auto;
        min-width: 0;
        height: 36px;
        padding: 0 16px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: #ffffff;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        scroll-snap-align: start;
        transition:
            background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        color: #1d1d1f;
        white-space: nowrap;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .category-tab:active,
    .region-tab:active {
        transform: scale(0.94);
    }

    .category-tab.active {
        background: #1d1d1f;
        border: 1.5px solid #1d1d1f;
        color: #ffffff;
        box-shadow:
            0 4px 12px rgba(29, 29, 31, 0.22),
            0 1px 2px rgba(29, 29, 31, 0.18);
        transform: none;
    }

    .region-tab.active {
        background: #ffffff;
        border: 1.5px solid #0071e3;
        color: #0071e3;
        box-shadow:
            0 4px 12px rgba(0, 113, 227, 0.18),
            0 0 0 3px rgba(0, 113, 227, 0.08);
        transform: none;
    }

    .tab-icon {
        font-size: 20px;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .tab-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .category-tab.active .tab-icon,
    .region-tab.active .region-flag {
        transform: scale(1.1);
    }

    .tab-text {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: -0.01em;
        line-height: 1;
    }

    .category-tab.active .tab-text,
    .region-tab.active .region-name {
        font-weight: 600;
        letter-spacing: 0;
    }

    .region-flag {
        font-size: 14px;
        line-height: 1;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0,113,227,0.08), rgba(0,113,227,0.02));
        border-radius: 6px;
        flex-shrink: 0;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .region-flag svg {
        width: 14px;
        height: 14px;
        display: block;
    }

    .region-name {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: -0.01em;
        line-height: 1;
    }

    .region-badge {
        font-size: 9px;
        padding: 1px 6px;
        margin-left: 2px;
        border-radius: 8px;
        line-height: 1.4;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: #ffffff;
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(255, 107, 53, 0.3);
    }

    /* 产品列表 */
    .products-container {
        margin-top: 0;
        padding: 8px 16px 0;
        position: static;
    }

    .products-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
        padding: 8px 0;
        margin-bottom: 8px;
        border-bottom: none;
    }

    .products-header h2 {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .products-header p {
        font-size: 12px;
        color: #86868b;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 16px;
    }

    .product-flag {
        font-size: 14px;
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .product-flag svg {
        width: 16px;
        height: 16px;
        display: block;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .product-specs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column: 1 / -1;
        gap: 0;
        padding: 0;
        margin-bottom: 12px;
        background: transparent;
        border-radius: 0;
        overflow: hidden;
    }

    .spec-item {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.025);
    }

    .spec-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.8);
    }

    .spec-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    }

    .spec-label {
        font-size: 10px;
        color: #86868b;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .spec-value {
        font-size: 14px;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: -0.01em;
    }

    .product-price {
        grid-column: 1 / -1;
    }

    .price-amount {
        font-size: 24px;
    }

    .product-features {
        gap: 4px;
        margin-bottom: 12px;
    }

    .feature-item {
        font-size: 10px;
        padding: 3px 6px;
    }

    .product-btn {
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 600;
        margin: 16px auto 0;
        width: calc(100% - 32px);
        max-width: 280px;
        display: block;
        border-radius: 10px;
    }

    body .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 16px;
    }

    body footer {
        padding: 24px 0 16px;
    }

    body .footer-brand {
        text-align: left;
        padding: 0 0 16px 0;
        border-bottom: none;
        order: 5;
    }

    body .footer-brand .logo {
        font-size: 19px;
        margin-bottom: 6px;
        display: block;
        color: #f5f5f7;
    }

    body .footer-brand p {
        max-width: 100%;
        margin: 0;
        font-size: 11px;
        line-height: 1.36364;
        color: #86868b;
    }

    body .footer-col {
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0;
    }

    body .footer-col h5 {
        font-size: 12px;
        margin: 0;
        padding: 10px 0;
        color: #f5f5f7;
        font-weight: 600;
        letter-spacing: -0.01em;
        cursor: pointer;
        position: relative;
        text-transform: none;
    }

    body .footer-col h5::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        font-weight: 300;
        color: #86868b;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body .footer-col.expanded h5::after {
        content: '−';
        transform: translateY(-50%) rotate(0deg);
    }

    body .footer-col a {
        display: block;
        margin: 0;
        font-size: 12px;
        padding: 0;
        color: #a1a1a6;
        line-height: 1.33337;
        letter-spacing: -0.01em;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body .footer-col.expanded a {
        max-height: 50px;
        opacity: 1;
        padding: 8px 0;
    }

    body .footer-col a:first-of-type {
        padding-top: 0;
    }

    body .footer-col.expanded a:first-of-type {
        padding-top: 4px;
    }

    body .footer-col a:last-of-type {
        padding-bottom: 0;
    }

    body .footer-col.expanded a:last-of-type {
        padding-bottom: 10px;
    }

    body .footer-bottom {
        flex-direction: column;
        text-align: left;
        gap: 4px;
        padding-top: 16px;
    }

    body .footer-bottom p {
        font-size: 11px;
        line-height: 1.27273;
    }
}

@media (max-width: 480px) {
    .product-specs .spec-item {
        padding: 6px 10px;
    }

    .spec-value {
        font-size: 13px;
    }

    .spec-value {
        font-size: 11px;
    }

    .products-hero {
        min-height: auto;
        padding: 20px 0 18px;
    }

    .hero-brand {
        gap: 8px;
        padding: 6px 14px 6px 6px;
        margin-bottom: 12px;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .brand-icon {
        width: 18px;
        height: 18px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-tagline {
        font-size: 8px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.15;
    }

    .hero-title .title-line,
    .hero-title .title-highlight {
        display: inline;
    }

    .hero-description {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.5;
        padding: 0 4px;
    }

    .hero-description br {
        display: none;
    }

    .hero-features {
        gap: 6px;
        margin-bottom: 14px;
    }

    .feature-tag {
        padding: 4px 10px;
        font-size: 11px;
        flex: 0 0 auto;
        justify-content: center;
    }

    .feature-icon {
        width: 12px;
        height: 12px;
    }

    .hero-cta {
        padding: 0 16px;
    }

    .cta-primary,
    .cta-secondary {
        padding: 10px 18px;
        font-size: 13px;
    }

    .cta-arrow,
    .cta-icon {
        width: 16px;
        height: 16px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   配置选择模态框样式
   ======================================== */

.config-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.config-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 配置头部 */
.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.config-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.config-flag {
    font-size: 48px;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.config-flag svg {
    width: 48px;
    height: 48px;
    display: block;
}

.config-product-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.config-latency {
    font-size: 13px;
    color: #06c167;
    font-weight: 600;
    margin: 0;
}

.config-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.config-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.config-close svg {
    width: 20px;
    height: 20px;
    color: #1d1d1f;
}

/* 配置主体 - 桌面左右分栏布局 */
.config-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
    background: #f5f7fa;
    display: flex;
    flex-direction: row;
    gap: 0;
}

/* 左侧配置区域 */
.config-left {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    min-width: 0;
}

/* 右侧配置清单区域 - 固定 */
.config-right {
    width: 340px;
    flex-shrink: 0;
    background: white;
    border-left: 1px solid #e5e7eb;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

/* 配置区块 */
.config-section {
    background: white;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.config-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.config-fixed-info {
    display: inline-block;
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-top: 4px;
}

.config-section:last-child {
    margin-bottom: 0;
}

.config-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-left: 12px;
}

.config-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #0071e3 0%, #00a8e8 100%);
    border-radius: 2px;
}

.config-section-required {
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
}

/* 套餐卡片 - 紧凑横向布局 */
.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.package-card {
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: auto;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #00a8e8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    border-color: #0071e3;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.15);
    transform: translateY(-4px);
}

.package-card:hover::before {
    opacity: 1;
}

.package-card.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.2);
}

.package-card.active::before {
    opacity: 1;
}

.package-card.active::after {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.package-card.recommended::before {
    content: '推荐';
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    z-index: 1;
}

.package-card.recommended.active::before {
    top: 4px;
}

.package-card input[type="radio"] {
    display: none;
}

.package-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.package-card.active .package-name {
    color: #0071e3;
}

.package-specs-inline {
    font-size: 12px;
    color: #6b7280;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-price {
    font-size: 20px;
    font-weight: 700;
    color: #0071e3;
    display: flex;
    align-items: baseline;
    gap: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.package-price-unit {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

/* 系统镜像选择 */
.image-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.image-card:hover {
    border-color: #0071e3;
    background: #f0f7ff;
}

.image-card.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #0071e3, #0056b3);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.image-card input[type="radio"] {
    display: none;
}

.image-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    flex-shrink: 0;
}

.image-name {
    font-size: 13px;
    font-weight: 600;
}

/* 系统镜像两级下拉 */
.image-select-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.image-select-item {
    flex: 1;
    min-width: 180px;
}

.image-select-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6e6e73;
    margin-bottom: 6px;
    font-weight: 500;
}

.image-select-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.image-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid #d2d2d7;
    border-radius: 10px;
    font-size: 14px;
    color: #1d1d1f;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}

.image-select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* 节点选择 */
.node-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.node-button {
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    position: relative;
    overflow: hidden;
}

.node-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.node-button:hover {
    border-color: #0071e3;
    color: #0071e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.node-button:hover::before {
    opacity: 1;
}

.node-button.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.node-button.active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.node-button input[type="radio"] {
    display: none;
}

/* CPU/内存芯片选择器 */
.cpu-mem-selector {
    width: 100%;
}

.cpu-mem-chips-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cpu-mem-chips-row:last-of-type {
    margin-bottom: 14px;
}

.chips-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    width: 44px;
    flex-shrink: 0;
}

.chips-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.config-chip {
    padding: 7px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.config-chip:hover {
    border-color: #0071e3;
    color: #0071e3;
    background: #f0f7ff;
}

.config-chip.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.config-chip.chip-dimmed {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* 物理/GPU服务器 硬件配置卡片选择 */
.hw-package-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
}

.hw-package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 52px;
}

.hw-package-card:hover {
    border-color: #0071e3;
    background: #f0f7ff;
}

.hw-package-card.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.15);
}

.hw-package-card input[type="radio"] {
    display: none;
}

.hw-pkg-cpu {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.hw-package-card.active .hw-pkg-cpu {
    color: #0071e3;
}

.hw-pkg-mem {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.3;
    margin-top: 2px;
}

/* 滑块配置卡片 */
.config-section-slider {
    padding: 14px 16px;
}

.slider-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-top-row h3 {
    margin: 0;
}

.slider-inline-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 20px;
    font-weight: 800;
    color: #0071e3;
}

.slider-inline-value small {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.re-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin: 4px 0;
    background: #e5e7eb;
}

.re-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #0071e3;
    border: 3px solid white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 113, 227, 0.4);
    transition: transform 0.15s ease;
}

.re-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.re-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #0071e3;
    border: 3px solid white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 113, 227, 0.4);
}

.slider-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.slider-price-note {
    font-size: 11px;
    color: #9ca3af;
}

/* 快速选择按钮 */
.quick-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-btn:hover {
    border-color: #0071e3;
    color: #0071e3;
    background: #f0f7ff;
}

.quick-btn:active {
    transform: scale(0.97);
}

/* 购买时长 - 紧凑 */
.duration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.duration-card {
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: white;
}

.duration-card:hover {
    border-color: #0071e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.duration-card.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
}

.duration-card.active::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.duration-card.recommended::before {
    content: '💰 优惠';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.duration-card input[type="radio"] {
    display: none;
}

.duration-name {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.duration-card.active .duration-name {
    color: #0071e3;
}

.duration-discount {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
}

/* 右侧配置清单面板 */
.config-summary-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f7f8fa;
    border-left: 1px solid #e5e7eb;
    padding: 20px 28px;
}

/* 移动端底部摘要栏 */
.summary-mobile-bar {
    display: none;
}

.mobile-collapse-btn {
    display: none;
}

.config-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0071e3;
}

.config-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    gap: 8px;
}

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

.summary-label {
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.summary-value {
    color: #1f2937;
    font-weight: 600;
    text-align: right;
    font-size: 13px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 优惠码 */
.promo-code-section {
    padding: 10px 0;
    border-top: 1px dashed #e5e7eb;
    margin-bottom: 12px;
}

.promo-code-link {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #0071e3;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.promo-code-link:hover {
    opacity: 0.8;
}

.promo-code-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-code-input {
    flex: 1;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.promo-code-input:focus {
    border-color: #0071e3;
}

.promo-code-apply-btn {
    height: 34px;
    padding: 0 14px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.promo-code-apply-btn:hover {
    background: #005bb5;
}

.promo-code-apply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-code-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 149, 0, 0.08);
    border: 1px solid rgba(249, 149, 0, 0.25);
    border-radius: 6px;
    padding: 6px 10px;
}

.promo-code-tag {
    color: #f99600;
    font-weight: 700;
    font-size: 13px;
}

.promo-code-discount {
    color: #f99600;
    font-size: 12px;
    margin-left: auto;
}

.promo-code-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.2s;
}

.promo-code-remove:hover {
    color: #ef4444;
}

.price-total-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    border: 2px solid #0071e3;
}

.price-total-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.price-total-value {
    font-size: 28px;
    font-weight: 800;
    color: #0071e3;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-actions .btn-primary-solid {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    transition: all 0.3s ease;
}

.price-actions .btn-primary-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.4);
}

.price-actions .btn-secondary {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
}

/* 配置提示 */
.config-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #f0f7ff;
    border-left: 3px solid #0071e3;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.config-tip-icon {
    width: 16px;
    height: 16px;
    color: #0071e3;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .config-body {
        flex-direction: column;
    }

    .config-right {
        width: 100%;
        position: static;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        max-height: 50vh;
    }

    .package-cards {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .config-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .config-left {
        padding: 16px;
    }

    .config-right {
        padding: 0;
        border-top: none;
    }

    .config-summary-panel {
        display: none;
    }

    .config-summary-panel.mobile-expanded {
        display: flex;
        padding: 16px;
        margin: 8px 16px 0;
        background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
        border: 1.5px solid #c7d7f5;
        border-radius: 14px;
        box-shadow: 0 -4px 16px rgba(0, 80, 180, 0.08);
    }

    .mobile-collapse-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        padding: 8px 0;
        margin-bottom: 10px;
        background: rgba(0, 113, 227, 0.06);
        border: none;
        border-radius: 8px;
        color: #0071e3;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .summary-mobile-bar {
        display: flex;
        flex-wrap: wrap;
        padding: 12px 16px 8px;
        background: #fafbfc;
        border-top: 1px solid #e5e7eb;
        gap: 0;
    }

    .mobile-bar-specs {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        margin-bottom: 10px;
    }

    .mobile-spec-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        min-width: 0;
        padding: 6px 4px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

    .mobile-spec-label {
        font-size: 10px;
        color: #9ca3af;
        line-height: 1.2;
    }

    .mobile-spec-value {
        font-size: 13px;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.4;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bar-bottom {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .mobile-bar-price-wrap {
        flex-shrink: 0;
    }

    .mobile-bar-price {
        font-size: 20px;
        font-weight: 800;
        color: #0071e3;
    }

    .mobile-bar-actions {
        display: flex;
        gap: 8px;
        flex: 1;
        margin-left: auto;
    }

    .mobile-btn-buy {
        flex: 1;
        padding: 10px 0;
        background: linear-gradient(135deg, #0071e3, #005bb5);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .mobile-btn-cart {
        flex: 1;
        padding: 10px 0;
        background: white;
        color: #374151;
        border: 1.5px solid #d2d2d7;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .mobile-bar-expand {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 0;
        background: none;
        border: none;
        color: #0071e3;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

    .summary-mobile-bar.hidden {
        display: none;
    }

    .config-summary-title {
        display: none;
    }

    .package-cards {
        grid-template-columns: 1fr;
    }

    .cpu-mem-chips-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .chips-label {
        width: auto;
    }

    .chips-list {
        width: 100%;
    }

    .config-chip {
        padding: 6px 14px;
        font-size: 12px;
    }

    .hw-package-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 5px;
    }

    .hw-package-card {
        padding: 6px 4px;
        min-height: 44px;
    }

    .hw-pkg-cpu {
        font-size: 11px;
    }

    .hw-pkg-mem {
        font-size: 10px;
    }

    .node-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .config-section {
        padding: 14px;
        margin-bottom: 10px;
    }

    .config-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .duration-cards {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .duration-card {
        padding: 10px 8px;
    }
}

/* 滑块容器优化 */
.slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.slider-container:hover {
    background: #f0f2f5;
}

.slider-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-track {
    position: relative;
    height: 8px;
    background: #e1e4e8;
    border-radius: 4px;
    overflow: hidden;
}

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #0071e3 0%, #005bb5 100%);
    border-radius: 4px;
    transition: width 0.2s ease;
}

/* 优化滑块样式 */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: transparent;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #e1e4e8 0%, #e1e4e8 100%);
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #0071e3;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.5);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #e1e4e8;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #0071e3;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.5);
}

/* 滑块数值显示 */
.slider-value-display {
    min-width: 140px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slider-value-main {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
}

.slider-value-number {
    font-size: 24px;
    font-weight: 700;
    color: #0071e3;
    line-height: 1;
}

.slider-value-unit {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
}

.slider-value-price {
    font-size: 12px;
    color: #86868b;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.slider-value-price.has-extra {
    color: #0071e3;
    font-weight: 600;
}

/* 滑块标签 */
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #86868b;
    margin-top: 4px;
}

/* 配置选项网格优化 */
.config-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

/* 配置选项卡片优化 */
.config-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid #e1e4e8;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 80px;
}

.config-option:hover {
    border-color: #0071e3;
    background: rgba(0, 113, 227, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.config-option.active {
    border-color: #0071e3;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08) 0%, rgba(0, 91, 181, 0.05) 100%);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
}

.config-option.active::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.config-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 4px;
}

.option-price {
    font-size: 12px;
    color: #6e6e73;
    font-weight: 500;
}

.config-option.active .option-price {
    color: #0071e3;
    font-weight: 600;
}

/* 配置提示信息 */
.config-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 113, 227, 0.05);
    border-left: 3px solid #0071e3;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 13px;
    color: #1d1d1f;
}

.config-hint svg {
    width: 16px;
    height: 16px;
    color: #0071e3;
    flex-shrink: 0;
}

/* 配置对比标签 */
.config-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    z-index: 1;
}

/* 快速选择按钮 */
.quick-select-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.quick-select-btn {
    padding: 6px 12px;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-select-btn:hover {
    background: #e8e8ed;
    border-color: #0071e3;
    color: #0071e3;
}

/* 配置摘要卡片 */
.config-summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.config-summary-card .config-summary-title {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-summary-card .config-summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.config-summary-item-label {
    color: #6e6e73;
}

.config-summary-item-value {
    color: #1d1d1f;
    font-weight: 600;
}

.config-summary-item-value.highlight {
    color: #0071e3;
}

/* 购买周期选项 */
.billing-cycle-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.cycle-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cycle-option:hover {
    border-color: #0071e3;
    background: rgba(0, 113, 227, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.cycle-option.active {
    border-color: #0071e3;
    background: rgba(0, 113, 227, 0.08);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
}

.cycle-option.recommended {
    border-color: #ff6b35;
}

.cycle-option.recommended.active {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.08);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.cycle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cycle-label {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.cycle-discount {
    font-size: 12px;
    color: #06c167;
    font-weight: 600;
}

.cycle-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

/* 附加选项 */
.addon-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.addon-option:hover {
    border-color: #0071e3;
    background: rgba(0, 113, 227, 0.02);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.addon-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #0071e3;
}

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

.addon-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.addon-desc {
    font-size: 12px;
    color: #6e6e73;
}

.addon-price {
    font-size: 14px;
    font-weight: 600;
    color: #0071e3;
}

/* 配置底部 */
.config-footer {
    padding: 24px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

.config-summary {
    margin-bottom: 20px;
}

.config-footer .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.config-footer .summary-label {
    font-size: 14px;
    color: #6e6e73;
}

.config-footer .summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.total-price {
    font-size: 32px;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: -0.02em;
}

.total-unit {
    font-size: 16px;
    color: #6e6e73;
    font-weight: 500;
}

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

.btn-secondary,
.btn-primary,
.btn-primary-solid {
    flex: 1;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

header .btn-secondary,
header .btn-primary,
header .btn-primary-solid,
.mobile-menu-actions .btn-secondary,
.mobile-menu-actions .btn-primary,
.mobile-menu-actions .btn-primary-solid {
    flex: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}

header .btn-primary,
.mobile-menu-actions .btn-primary {
    background: #0071e3;
    color: #fff;
}

header .btn-primary:hover,
.mobile-menu-actions .btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

.btn-primary:hover {
    background: rgba(0, 113, 227, 0.15);
}

.btn-primary-solid {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.btn-primary-solid:hover {
    background: linear-gradient(135deg, #005bb5 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

/* 响应式设计 - 配置模态框 */
@media (max-width: 768px) {
    .config-modal {
        padding: 0;
        align-items: flex-end;
    }

    .config-modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        animation: slideUpMobile 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .config-header {
        padding: 20px;
    }

    .config-flag {
        font-size: 36px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .config-flag svg {
        width: 36px;
        height: 36px;
        display: block;
    }

    .config-product-info h2 {
        font-size: 18px;
    }

    .config-body {
        padding: 20px;
    }

    .config-section {
        margin-bottom: 24px;
    }

    .config-options,
    .billing-cycle-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .config-option,
    .cycle-option {
        padding: 12px 8px;
    }

    .option-label,
    .cycle-label {
        font-size: 14px;
    }

    .addon-option {
        padding: 12px;
    }

    .addon-name {
        font-size: 14px;
    }

    .addon-desc {
        font-size: 11px;
    }

    .config-footer {
        padding: 20px;
    }

    .config-actions {
        flex-direction: column;
    }

    .btn-secondary {
        order: 3;
    }

    .total-price {
        font-size: 28px;
    }
}

/* 加载状态 */
.config-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    min-height: 400px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 113, 227, 0.1);
    border-top-color: #0071e3;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.config-loading p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
}

/* 错误状态 */
.config-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    min-height: 400px;
    text-align: center;
}

.config-error svg {
    width: 64px;
    height: 64px;
    color: #ff3b30;
    margin-bottom: 20px;
}

.config-error h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.config-error p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0 0 24px 0;
    max-width: 400px;
}

/* 配置表单 */
.config-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-option label {
    display: block;
    padding: 10px 20px;
    background: #f5f5f7;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #1d1d1f;
}

.radio-option input[type="radio"]:checked + label {
    background: #e8f0fe;
    border-color: #0071e3;
    color: #0071e3;
    font-weight: 500;
}

.radio-option label:hover {
    background: #e8e8ed;
}

/* 套餐卡片 */
.package-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.package-card {
    padding: 20px;
    background: #f5f5f7;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-card:hover {
    background: #e8e8ed;
    transform: translateY(-2px);
}

.package-card.active {
    background: #e8f0fe;
    border-color: #0071e3;
}

.package-name {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.package-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.package-specs span {
    font-size: 13px;
    color: #6e6e73;
}

.package-price {
    font-size: 20px;
    font-weight: 600;
    color: #0071e3;
}

/* 下拉选择框 */
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.form-select:hover {
    background: #e8e8ed;
}

.form-select:focus {
    background: #ffffff;
    border-color: #0071e3;
}

/* 购买时长选项 */
.duration-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.duration-option {
    padding: 16px;
    background: #f5f5f7;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.duration-option:hover {
    background: #e8e8ed;
}

.duration-option.active {
    background: #e8f0fe;
    border-color: #0071e3;
}

.duration-text {
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.duration-price {
    font-size: 13px;
    color: #0071e3;
    font-weight: 500;
}

.duration-option.active .duration-price {
    color: #0071e3;
}

/* 复选框组 */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0071e3;
}

.checkbox-option label {
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
}

/* 价格摘要 */
.config-summary {
    flex: 1;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d2d2d7;
}

.summary-details .summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6e6e73;
}

.summary-details .summary-item span:last-child {
    font-weight: 500;
    color: #1d1d1f;
}

/* 响应式 */
@media (max-width: 768px) {
    .package-list {
        grid-template-columns: 1fr;
    }

    .duration-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .radio-group {
        flex-direction: column;
    }
}

/* 后端配置内容容器 */
.backend-config-content {
    width: 100%;
}

/* Vue配置应用容器 */
#vueConfigApp {
    width: 100%;
    padding: 20px;
}

/* Element UI 样式覆盖 */
#vueConfigApp .el-input,
#vueConfigApp .el-select,
#vueConfigApp .el-radio-group {
    width: 100%;
}

#vueConfigApp .el-form-item {
    margin-bottom: 20px;
}

#vueConfigApp .el-form-item__label {
    font-weight: 500;
    color: #1d1d1f;
}

/* 简化配置界面 */
.simplified-config {
    padding: 60px 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.config-notice {
    max-width: 480px;
    margin: 0 auto;
}

.config-notice h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.config-notice p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.simplified-config .config-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.simplified-config .btn-secondary,
.simplified-config .btn-primary-solid {
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.simplified-config .btn-secondary {
    background: #f5f5f7;
    color: #1d1d1f;
}

.simplified-config .btn-secondary:hover {
    background: #e8e8ed;
}

.simplified-config .btn-primary-solid {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: white;
}

.simplified-config .btn-primary-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    color: #06c167;
}

.notification-error .notification-icon {
    color: #ff3b30;
}

.notification-content span {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* 强制云服务器卡片标题为单行布局 - 最高优先级 */
.product-card .card-header-inline {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 6px !important;
}

.product-card .card-header-inline .product-flag {
    font-size: 24px !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, rgba(0,113,227,0.03), rgba(0,113,227,0.01)) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-card .card-header-inline .product-flag svg {
    width: 28px !important;
    height: 28px !important;
}

.product-card .card-header-inline h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    display: inline-block !important;
}
