:root {
    --primary-color: #1677ff;     /* 支付宝蓝 */
    --secondary-color: #4096ff;   /* 浅蓝色 */
    --accent-color: #0958d9;      /* 深蓝色 */
    --background-color: #f8fafc;  /* 更柔和的背景色 */
    --card-bg: rgba(255, 255, 255, 0.95);  /* 更高的不透明度 */
    --text-color: #1e293b;  /* 更深的文字颜色 */
    --card-shadow: 
        0 10px 30px -5px rgba(22, 119, 255, 0.1),
        0 1px 3px rgba(22, 119, 255, 0.05);
    --gradient-1: #1677ff;
    --gradient-2: #4096ff;
    --gradient-3: #0958d9;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.cyber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(22, 119, 255, 0.02) 0%, rgba(64, 150, 255, 0.02) 100%),
        radial-gradient(circle at 50% 50%, rgba(22, 119, 255, 0.03) 0%, transparent 100%);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.cyber-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.cyber-glitch {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 50%, #1677ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.cyber-glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
}

.cyber-glitch::after {
    animation: glitch-2 3s infinite;
    color: var(--accent-color);
    clip: rect(44px, 450px, 46px, 0);
}

.subtitle {
    font-size: 1.2rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 导航样式 */
.product-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.nav-btn {
    background: white;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(22, 119, 255, 0.08);
    position: relative;
}

.nav-btn::before {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.nav-btn:hover::before,
.nav-btn.active::before {
    width: 300px;
    height: 300px;
}

.nav-btn:hover,
.nav-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(22, 119, 255, 0.15),
        0 1px 2px rgba(22, 119, 255, 0.05);
}

/* 产品部分样式 */
.product-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.product-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    display: none;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: #666666;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid rgba(22, 119, 255, 0.08);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(var(--primary-color), 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 20px 40px rgba(22, 119, 255, 0.12),
        0 1px 5px rgba(22, 119, 255, 0.05);
    border-color: rgba(22, 119, 255, 0.2);
}

.product-card:hover::before {
    transform: translateX(100%);
}

.card-header {
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(22, 119, 255, 0.08);
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.country-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .country-flag {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.location-badge,
.gpu-badge,
.os-badge,
.phone-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary-color);
    box-shadow: none;
}

.location-info {
    position: relative;
}

.country-flag:hover + h3::after {
    content: attr(data-country);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1;
}

.specs ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.specs li {
    margin-bottom: 0.9rem;
    padding-left: 1.6rem;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.specs li::before {
    content: "⚡";
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.price-section .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.price-section .price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.price-section .hour-price {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.3rem;
}

.buy-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.15);
}

.buy-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 119, 255, 0.2);
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--secondary-color),
            -0.025em 0.05em 0 var(--accent-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--secondary-color),
            -0.025em 0.05em 0 var(--accent-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--secondary-color),
            -0.05em -0.05em 0 var(--accent-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--secondary-color),
            -0.05em -0.05em 0 var(--accent-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--secondary-color),
            0 -0.05em 0 var(--accent-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--secondary-color),
            0 -0.05em 0 var(--accent-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-color), -0.025em -0.025em 0 var(--secondary-color),
            -0.025em -0.05em 0 var(--accent-color);
    }
}

@keyframes glitch-1 {
    0% {
        clip: rect(132px, 350px, 101px, 30px);
    }
    100% {
        clip: rect(49px, 350px, 88px, 30px);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(15px, 350px, 145px, 30px);
    }
    100% {
        clip: rect(103px, 350px, 86px, 30px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .cyber-glitch {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-nav {
        flex-wrap: wrap;
    }

    .nav-btn {
        width: calc(50% - 0.5rem);
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(22, 119, 255, 0.3);
    border-radius: 4px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 119, 255, 0.5);
}

/* 卡片特效 */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

/* 添加霓虹灯效果 */
.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(42, 63, 255, 0.1),
        transparent
    );
    background-size: 200% 200%;
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 添加卡片光效 */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x, center) var(--mouse-y, center),
        rgba(0, 210, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 套餐选择器样式 */
.packages-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.package-btn {
    background: white;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.package-btn.active, .package-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 119, 255, 0.15);
}

/* 国家选择器样式 */
.country-selector, .gpu-selector {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(22, 119, 255, 0.08);
    box-shadow: var(--card-shadow);
}

.selector-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.country-options, .gpu-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.country-option, .gpu-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(22, 119, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-option:hover, .gpu-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 119, 255, 0.1);
}

.country-option.active, .gpu-option.active {
    background: rgba(22, 119, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1);
}

.country-option img {
    width: 24px;
    height: auto;
    margin-right: 8px;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.05);
}

.country-option span, .gpu-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

.gpu-icon {
    background: linear-gradient(135deg, #00c853, #00e676);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 宣传条幅样式 */
.promo-banner {
    background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(64, 150, 255, 0.08));
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    animation: pulse-banner 2s infinite;
}

@keyframes pulse-banner {
    0% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(22, 119, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0); }
}

.promo-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.promo-banner p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* 产品展示样式 */
.product-display {
    margin-bottom: 2.5rem;
}

.product-card {
    display: none;
}

.product-card.active {
    display: block;
}

/* 优势展示区域样式 */
.advantages-section {
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.advantages-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 1rem;
}

.advantages-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1677ff, #4096ff);
    border-radius: 3px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(22, 119, 255, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(22, 119, 255, 0.1);
    border-color: rgba(22, 119, 255, 0.2);
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.advantage-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        padding: 1.2rem;
        max-width: 550px;
        margin: 0 auto;
    }
}

/* 二维码区域样式 */
.qrcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.qrcode-wrapper {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(22, 119, 255, 0.08);
}

.qrcode-header {
    margin-bottom: 1.5rem;
}

.qrcode-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qrcode-header p {
    color: #666;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.qrcode-img:hover {
    transform: scale(1.05);
}

/* 占位二维码 */
.placeholder-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(22, 119, 255, 0.05);
    border-radius: 12px;
}

.qrcode-frame {
    width: 80%;
    height: 80%;
    border: 2px dashed var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.qrcode-frame::before, 
.qrcode-frame::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    border: 2px solid var(--primary-color);
}

.qrcode-frame::before {
    top: 10%;
    left: 10%;
    border-right: none;
    border-bottom: none;
}

.qrcode-frame::after {
    bottom: 10%;
    right: 10%;
    border-left: none;
    border-top: none;
}

.qrcode-footer p {
    color: #666;
    font-size: 0.9rem;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .cyber-glitch {
        font-size: 2rem;
    }
    
    .product-nav {
        flex-wrap: wrap;
    }
    
    .nav-btn {
        width: calc(50% - 0.5rem);
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .packages-selector {
        flex-wrap: wrap;
    }
    
    .package-btn {
        width: calc(50% - 0.5rem);
        text-align: center;
    }
    
    .country-options, .gpu-options {
        justify-content: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
    }
}

/* OS和GPU徽章样式 */
.os-badge, .gpu-badge {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 增强的卡片交互动画 */
.product-card:hover .buy-btn {
    animation: pulse-button 1.5s infinite;
}

@keyframes pulse-button {
    0% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(22, 119, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0); }
}

/* 下拉选择器样式 */
.dropdown-selector {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(22, 119, 255, 0.08);
    box-shadow: var(--card-shadow);
}

.dropdown-selector label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.country-select, .gpu-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(22, 119, 255, 0.2);
    background: white;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231677ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.country-select:hover, .gpu-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.country-select:focus, .gpu-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.2);
}

@media (max-width: 768px) {
    .dropdown-selector {
        padding: 1rem;
    }
    
    .country-select, .gpu-select {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }
}

/* 产品网格新样式 */
.overseas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
    padding: 1rem 0;
}

.product-card-wrapper {
    display: block;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.product-card-wrapper:hover {
    transform: translateY(-8px);
}

.product-card-wrapper.hidden {
    display: none;
}

.card-large {
    display: block !important;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
    box-shadow: 
        0 10px 25px -5px rgba(22, 119, 255, 0.1),
        0 5px 10px -5px rgba(22, 119, 255, 0.05),
        0 1px 3px rgba(22, 119, 255, 0.05);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 1.5rem;
}

.card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    background-size: 200% 100%;
    animation: gradientFlow 5s ease infinite;
    z-index: 1;
}

.overseas-grid .product-card-wrapper:nth-child(1) .card-large::before {
    background: linear-gradient(90deg, #2196f3, #42a5f5, #2196f3);
}

.overseas-grid .product-card-wrapper:nth-child(2) .card-large::before {
    background: linear-gradient(90deg, #4caf50, #66bb6a, #4caf50);
}

.overseas-grid .product-card-wrapper:nth-child(3) .card-large::before {
    background: linear-gradient(90deg, #ff9800, #ffb74d, #ff9800);
}

.overseas-grid .product-card-wrapper:nth-child(4) .card-large::before {
    background: linear-gradient(90deg, #9c27b0, #ba68c8, #9c27b0);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .overseas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-large {
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .card-large .price {
        font-size: 2.2rem;
    }
    
    .card-large .buy-btn {
        padding: 0.8rem 1.4rem;
        font-size: 1rem;
    }
    
    .card-large .location-info h3 {
        font-size: 1.4rem;
    }
}

/* 标签样式 */
.location-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary-color);
}

/* 国家图标调整 */
.country-flag {
    transition: all 0.3s ease;
}

.changing-country .country-flag {
    animation: pulse 1s infinite;
}

/* 卡片头部样式 */
.card-large .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(22, 119, 255, 0.08);
    margin-bottom: 1.2rem;
}

.card-large .location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-large .location-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    background: linear-gradient(135deg, var(--text-color), #525f7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overseas-grid .product-card-wrapper:nth-child(1) .location-info h3 {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overseas-grid .product-card-wrapper:nth-child(2) .location-info h3 {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overseas-grid .product-card-wrapper:nth-child(3) .location-info h3 {
    background: linear-gradient(135deg, #e65100, #ffb74d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overseas-grid .product-card-wrapper:nth-child(4) .location-info h3 {
    background: linear-gradient(135deg, #6a1b9a, #ba68c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.country-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover .country-flag {
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.location-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.overseas-grid .product-card-wrapper:nth-child(1) .location-badge {
    background: rgba(33, 150, 243, 0.1);
    color: #1565c0;
}

.overseas-grid .product-card-wrapper:nth-child(2) .location-badge {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.overseas-grid .product-card-wrapper:nth-child(3) .location-badge {
    background: rgba(255, 152, 0, 0.1);
    color: #e65100;
}

.overseas-grid .product-card-wrapper:nth-child(4) .location-badge {
    background: rgba(156, 39, 176, 0.1);
    color: #6a1b9a;
}

/* 卡片规格样式 */
.card-large .specs {
    padding: 0;
}

.card-large .specs ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 1rem;
}

.card-large .specs li {
    margin-bottom: 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.card-large .specs li:nth-child(5),
.card-large .specs li:nth-child(6) {
    grid-column: 1 / span 2;
}

.card-large .specs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.overseas-grid .product-card-wrapper:nth-child(1) .specs li::before {
    background: #2196f3;
}

.overseas-grid .product-card-wrapper:nth-child(2) .specs li::before {
    background: #4caf50;
}

.overseas-grid .product-card-wrapper:nth-child(3) .specs li::before {
    background: #ff9800;
}

.overseas-grid .product-card-wrapper:nth-child(4) .specs li::before {
    background: #9c27b0;
}

/* 价格部分样式 */
.card-large .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0;
    position: relative;
}

.card-large .price-section::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(22, 119, 255, 0.05), rgba(22, 119, 255, 0.15), rgba(22, 119, 255, 0.05));
}

.card-large .price {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
}

.overseas-grid .product-card-wrapper:nth-child(1) .price {
    color: #1565c0;
    background: none;
    -webkit-text-fill-color: initial;
}

.overseas-grid .product-card-wrapper:nth-child(2) .price {
    color: #2e7d32;
    background: none;
    -webkit-text-fill-color: initial;
}

.overseas-grid .product-card-wrapper:nth-child(3) .price {
    color: #e65100;
    background: none;
    -webkit-text-fill-color: initial;
}

.overseas-grid .product-card-wrapper:nth-child(4) .price {
    color: #6a1b9a;
    background: none;
    -webkit-text-fill-color: initial;
}

.card-large .price::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(22, 119, 255, 0.1);
    border-radius: 100px;
    z-index: -1;
}

.overseas-grid .product-card-wrapper:nth-child(1) .price::after {
    background: rgba(33, 150, 243, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(2) .price::after {
    background: rgba(76, 175, 80, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(3) .price::after {
    background: rgba(255, 152, 0, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(4) .price::after {
    background: rgba(156, 39, 176, 0.2);
}

.card-large .price span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 4px;
    vertical-align: middle;
    position: relative;
    top: -0.7rem;
    color: inherit;
}

/* 购买按钮样式 */
.card-large .buy-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-large .buy-btn:hover {
    transform: translateY(-2px);
}

.card-large .buy-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 
                0 1px 2px rgba(0, 0, 0, 0.08);
}

.card-large .buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
    z-index: -1;
}

/* 卡片内的国家选择 */
.country-select-item {
    position: relative;
    padding-left: 0 !important;
    margin-top: 0.5rem;
}

.country-select-item::before {
    display: none !important;
}

.card-country-select {
    position: relative;
    display: block;
    width: 100%;
    padding: 8px 12px 8px 35px !important;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23666"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
    z-index: 1;
}

.card-country-select:hover {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.card-country-select.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 简化option样式，移除各国家重复的背景图定义，使用JS动态添加图标 */
.card-country-select option {
    padding-left: 8px;
    background-image: none !important;
    color: #1e293b;
}

/* 移除所有单独的国家选项背景定义 */
/* 删除大约40多个单独的国家option样式定义 */

/* 标准化select-wrapper和flag-icon样式 */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.flag-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* 保留.ec-grid特定的样式覆盖 */
.ec-grid .card-country-select {
    /* 保留特定样式 */
}

/* 保留.overseas-grid特定的样式覆盖 */
.overseas-grid .product-card-wrapper:nth-child(1) .card-country-select,
.overseas-grid .product-card-wrapper:nth-child(2) .card-country-select,
.overseas-grid .product-card-wrapper:nth-child(3) .card-country-select,
.overseas-grid .product-card-wrapper:nth-child(4) .card-country-select {
    /* 保留特定样式 */
}

/* 刷新图标动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-country-select.loading::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid rgba(22, 119, 255, 0.2);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.overseas-grid .product-card-wrapper:nth-child(1) .card-country-select.loading::after {
    border: 2px solid rgba(33, 150, 243, 0.2);
    border-top: 2px solid #1565c0;
}

.overseas-grid .product-card-wrapper:nth-child(2) .card-country-select.loading::after {
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-top: 2px solid #2e7d32;
}

.overseas-grid .product-card-wrapper:nth-child(3) .card-country-select.loading::after {
    border: 2px solid rgba(255, 152, 0, 0.2);
    border-top: 2px solid #e65100;
}

.overseas-grid .product-card-wrapper:nth-child(4) .card-country-select.loading::after {
    border: 2px solid rgba(156, 39, 176, 0.2);
    border-top: 2px solid #6a1b9a;
}

/* 国家图标过渡效果 */
.changing-country .country-flag {
    transform: scale(0.8);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.changing-country .location-badge {
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* 服务器图标样式 */
.server-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    position: relative;
    top: 2px;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(1) .server-icon {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(2) .server-icon {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(3) .server-icon {
    background: linear-gradient(135deg, #e65100, #ffb74d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 152, 0, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(4) .server-icon {
    background: linear-gradient(135deg, #6a1b9a, #ba68c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(156, 39, 176, 0.2);
}

/* 热门标签样式 */
.hot-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f44336, #ff7043);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    z-index: 2;
    animation: pulse-hot 2s infinite;
    transform: rotate(5deg);
}

.hot-tag::before {
    content: '🔥';
    margin-right: 4px;
}

@keyframes pulse-hot {
    0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); }
}

/* 服务器图标动画效果 */
.pulse-icon {
    animation: pulse-server 1s ease;
}

@keyframes pulse-server {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* 卡片金属光泽效果 */
.card-large {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
    overflow: hidden;
}

.card-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.2) 35%, 
        rgba(255, 255, 255, 0) 60%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card-large:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.overseas-grid .product-card-wrapper:nth-child(1) .buy-btn {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.3), 
                0 1px 3px rgba(33, 150, 243, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(2) .buy-btn {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.3), 
                0 1px 3px rgba(76, 175, 80, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(3) .buy-btn {
    background: linear-gradient(135deg, #e65100, #ffb74d);
    box-shadow: 0 4px 6px rgba(255, 152, 0, 0.3), 
                0 1px 3px rgba(255, 152, 0, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(4) .buy-btn {
    background: linear-gradient(135deg, #6a1b9a, #ba68c8);
    box-shadow: 0 4px 6px rgba(156, 39, 176, 0.3), 
                0 1px 3px rgba(156, 39, 176, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(1) .buy-btn:hover {
    box-shadow: 0 7px 14px rgba(33, 150, 243, 0.4), 
                0 3px 6px rgba(33, 150, 243, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(2) .buy-btn:hover {
    box-shadow: 0 7px 14px rgba(76, 175, 80, 0.4), 
                0 3px 6px rgba(76, 175, 80, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(3) .buy-btn:hover {
    box-shadow: 0 7px 14px rgba(255, 152, 0, 0.4), 
                0 3px 6px rgba(255, 152, 0, 0.2);
}

.overseas-grid .product-card-wrapper:nth-child(4) .buy-btn:hover {
    box-shadow: 0 7px 14px rgba(156, 39, 176, 0.4), 
                0 3px 6px rgba(156, 39, 176, 0.2);
}

.card-large .buy-btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

/* 跨境云电脑卡片样式 */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 1400px) {
    .pc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pc-grid {
        grid-template-columns: 1fr;
    }
}

/* 云手机网格布局 */
.phone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1400px) {
    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .phone-grid {
        grid-template-columns: 1fr;
    }
}

/* 云手机卡片样式 */
.phone-grid .product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(22, 119, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(22, 119, 255, 0.1);
}

.phone-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(22, 119, 255, 0.15);
    border-color: rgba(22, 119, 255, 0.2);
}

.phone-grid .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.phone-grid .location-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.phone-grid .location-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.phone-grid .pc-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.phone-grid .product-card:hover .pc-icon {
    transform: scale(1.1);
}

.phone-grid .specs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.phone-grid .specs li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-size: 0.9rem;
}

.phone-grid .specs li:before {
    content: "✓";
    color: #1677ff;
    font-weight: bold;
}

.phone-grid .price-section {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-grid .price-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
}

.phone-grid .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.phone-grid .price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.phone-grid .buy-btn {
    width: calc(100% - 2rem);
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    display: block;
}

.phone-grid .buy-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.phone-grid .hot-tag {
    position: absolute;
    top: -0.5rem; /* 往上方移动 */
    right: 0.8rem;
    background: linear-gradient(135deg, #f44336, #ff7043);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transform: rotate(5deg);
    box-shadow: 0 2px 10px rgba(244, 67, 54, 0.3);
    z-index: 2; /* 确保标签显示在最上层 */
}

/* 跨境电商专线卡片样式 */
.ec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .ec-grid {
        grid-template-columns: 1fr;
    }
}

/* 跨境电商线路卡片样式 */
.ec-grid .product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(22, 119, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(22, 119, 255, 0.1);
}

.ec-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(22, 119, 255, 0.15);
    border-color: rgba(22, 119, 255, 0.2);
}

.ec-grid .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ec-grid .location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ec-grid .location-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ec-grid .ec-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.ec-grid .product-card:hover .ec-icon {
    transform: scale(1.1);
}

.ec-grid .ec-badge {
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ec-grid .specs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ec-grid .specs li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-size: 0.95rem;
    width: 48%;
    box-sizing: border-box;
}

/* 最后一个选择器独占一行 */
.ec-grid .specs .country-select-item {
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ec-grid .specs li {
        width: 100%;
    }
}

.ec-grid .specs li:before {
    content: "✓";
    color: #1677ff;
    font-weight: bold;
}

.ec-grid .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(22, 119, 255, 0.1);
}

.ec-grid .price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-shadow: none;
}

.ec-grid .price span {
    font-size: 1rem;
    color: #64748b;
}

.ec-grid .buy-btn {
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ec-grid .buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 119, 255, 0.3);
}

.ec-grid .hot-tag {
    position: absolute;
    top: -0.5rem; /* 往上方移动 */
    right: 1rem;
    background: linear-gradient(135deg, #f44336, #ff7043);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transform: rotate(5deg);
    box-shadow: 0 2px 10px rgba(244, 67, 54, 0.3);
    z-index: 2; /* 确保标签显示在最上层 */
}

.ec-grid .country-select-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(22, 119, 255, 0.1);
}

.ec-grid .card-country-select {
    width: 100%;
    padding: 0.8rem;
    background: white;
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ec-grid .card-country-select:hover {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.ec-grid .card-country-select option {
    padding-left: 30px;
    background-image: url('icos/hk.png');
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px;
    color: #1e293b;
}

.ec-grid .card-country-select option[value="tw"] {
    background-image: url('icos/tw.png');
}

.ec-grid .card-country-select option[value="sg"] {
    background-image: url('icos/sg.png');
}

.ec-grid .card-country-select option[value="us"] {
    background-image: url('icos/us.png');
}

.ec-grid .card-country-select option[value="ph"] {
    background-image: url('icos/ph.png');
}

.ec-grid .card-country-select option[value="my"] {
    background-image: url('icos/my.png');
}

.ec-grid .card-country-select option[value="th"] {
    background-image: url('icos/th.png');
}

.ec-grid .card-country-select option[value="vn"] {
    background-image: url('icos/vn.png');
}

.ec-grid .card-country-select option[value="mm"] {
    background-image: url('icos/mm.png');
}

.ec-grid .card-country-select option[value="id"] {
    background-image: url('icos/id.png');
}

.ec-grid .card-country-select option[value="kr"] {
    background-image: url('icos/kr.png');
}

.ec-grid .card-country-select option[value="jp"] {
    background-image: url('icos/jp.png');
}

.ec-grid .card-country-select option[value="bh"] {
    background-image: url('icos/bh.png');
}

.ec-grid .card-country-select option[value="pk"] {
    background-image: url('icos/pk.png');
}

.ec-grid .card-country-select option[value="sa"] {
    background-image: url('icos/sa.png');
}

.ec-grid .card-country-select option[value="ae"] {
    background-image: url('icos/ae.png');
}

.ec-grid .card-country-select option[value="bd"] {
    background-image: url('icos/bd.png');
}

.ec-grid .card-country-select option[value="kh"] {
    background-image: url('icos/kh.png');
}

.ec-grid .card-country-select option[value="de"] {
    background-image: url('icos/de.png');
}

.ec-grid .card-country-select option[value="fr"] {
    background-image: url('icos/fr.png');
}

.ec-grid .card-country-select option[value="tr"] {
    background-image: url('icos/tr.png');
}

.ec-grid .card-country-select option[value="gr"] {
    background-image: url('icos/gr.png');
}

.ec-grid .card-country-select option[value="uk"] {
    background-image: url('icos/uk.png');
}

.ec-grid .card-country-select option[value="ru"] {
    background-image: url('icos/ru.png');
}

.ec-grid .card-country-select option[value="eg"] {
    background-image: url('icos/eg.png');
}

.ec-grid .card-country-select option[value="br"] {
    background-image: url('icos/br.png');
}

.ec-grid .card-country-select option[value="ar"] {
    background-image: url('icos/ar.png');
}

.ec-grid .card-country-select option[value="cl"] {
    background-image: url('icos/cl.png');
}

.ec-grid .card-country-select option[value="co"] {
    background-image: url('icos/co.png');
}

.ec-grid .card-country-select option[value="om"] {
    background-image: url('icos/om.png');
}

.ec-grid .card-country-select option[value="bg"] {
    background-image: url('icos/bg.png');
}

.ec-grid .card-country-select option[value="kw"] {
    background-image: url('icos/kw.png');
}

.ec-grid .card-country-select option[value="mx"] {
    background-image: url('icos/mx.png');
}

.ec-grid .card-country-select option[value="za"] {
    background-image: url('icos/za.png');
}

.ec-grid .card-country-select option[value="np"] {
    background-image: url('icos/np.png');
}

.ec-grid .card-country-select option[value="iq"] {
    background-image: url('icos/iq.png');
}

.ec-grid .card-country-select.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 增强GPU卡片价格可读性 */
.gpu-grid .product-card-wrapper .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.product-card-wrapper:nth-child(1) .price {
    background: linear-gradient(135deg, #d32f2f, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(255, 87, 34, 0.1);
}

.product-card-wrapper:nth-child(2) .price {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(156, 39, 176, 0.1);
}

.product-card-wrapper:nth-child(3) .price {
    background: linear-gradient(135deg, #ff8f00, #ffb300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(255, 179, 0, 0.1);
}

.product-card-wrapper:nth-child(4) .price {
    background: linear-gradient(135deg, #0277bd, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(79, 195, 247, 0.1);
}

.product-card-wrapper:nth-child(5) .price {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(76, 175, 80, 0.1);
}

.product-card-wrapper:nth-child(6) .price {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(233, 30, 99, 0.1);
}

.gpu-grid .price::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    z-index: -1;
}

.gpu-grid .product-card-wrapper:nth-child(1) .price::after {
    background: rgba(244, 67, 54, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(2) .price::after {
    background: rgba(156, 39, 176, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(3) .price::after {
    background: rgba(255, 193, 7, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(4) .price::after {
    background: rgba(3, 169, 244, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(5) .price::after {
    background: rgba(76, 175, 80, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(6) .price::after {
    background: rgba(233, 30, 99, 0.2);
}

.gpu-grid .price span {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    top: -1rem;
}

/* 美化GPU卡片整体样式 */
.gpu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gpu-grid .product-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.gpu-grid .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 30px -10px rgba(0, 0, 0, 0.15),
        0 0 10px rgba(0, 0, 0, 0.05);
}

.gpu-grid .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 10px 20px;
    border-radius: 10px 10px 0 0;
}

.gpu-grid .location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gpu-grid .location-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #2c3e50, #4ca1af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gpu-grid .gpu-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    background-size: 200% auto;
    animation: pulse-gpu 2s infinite alternate;
}

.gpu-grid .gpu-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    top: -2px;
}

.gpu-grid .specs li {
    font-size: 0.9rem;
    padding: 6px 0;
    position: relative;
}

.gpu-grid .specs li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    position: relative;
}

.gpu-grid .specs li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.gpu-grid .product-card-wrapper:nth-child(1) .specs li::before {
    background-color: #f44336;
}

.gpu-grid .product-card-wrapper:nth-child(2) .specs li::before {
    background-color: #9c27b0;
}

.gpu-grid .product-card-wrapper:nth-child(3) .specs li::before {
    background-color: #ffc107;
}

.gpu-grid .product-card-wrapper:nth-child(4) .specs li::before {
    background-color: #03a9f4;
}

.gpu-grid .product-card-wrapper:nth-child(5) .specs li::before {
    background-color: #4caf50;
}

.gpu-grid .product-card-wrapper:nth-child(6) .specs li::before {
    background-color: #e91e63;
}

/* 价格部分样式 */
.gpu-grid .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0;
    position: relative;
}

.gpu-grid .price-section::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(22, 119, 255, 0.05), rgba(22, 119, 255, 0.15), rgba(22, 119, 255, 0.05));
}

.gpu-grid .price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.gpu-grid .price span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.gpu-grid .price::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    z-index: -1;
}

.gpu-grid .product-card-wrapper:nth-child(1) .price::after {
    background: rgba(244, 67, 54, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(2) .price::after {
    background: rgba(156, 39, 176, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(3) .price::after {
    background: rgba(255, 193, 7, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(4) .price::after {
    background: rgba(3, 169, 244, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(5) .price::after {
    background: rgba(76, 175, 80, 0.2);
}

.gpu-grid .product-card-wrapper:nth-child(6) .price::after {
    background: rgba(233, 30, 99, 0.2);
}

.gpu-grid .price span {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    top: -1rem;
}

/* 按钮美化 */
.gpu-grid .product-card-wrapper:nth-child(1) .buy-btn {
    background: linear-gradient(135deg, #f44336, #ff5722);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.gpu-grid .product-card-wrapper:nth-child(2) .buy-btn {
    background: linear-gradient(135deg, #9c27b0, #e040fb);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.gpu-grid .product-card-wrapper:nth-child(3) .buy-btn {
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    color: #333;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.gpu-grid .product-card-wrapper:nth-child(4) .buy-btn {
    background: linear-gradient(135deg, #03a9f4, #4fc3f7);
    box-shadow: 0 5px 15px rgba(3, 169, 244, 0.3);
}

.gpu-grid .product-card-wrapper:nth-child(5) .buy-btn {
    background: linear-gradient(135deg, #4caf50, #81c784);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.gpu-grid .product-card-wrapper:nth-child(6) .buy-btn {
    background: linear-gradient(135deg, #e91e63, #f06292);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.gpu-grid .buy-btn:hover {
    transform: translateY(-3px);
}

/* 检查标记美化 */
.gpu-grid .specs li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    position: relative;
}

.gpu-grid .specs li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.gpu-grid .product-card-wrapper:nth-child(1) .specs li::before {
    background-color: #f44336;
}

.gpu-grid .product-card-wrapper:nth-child(2) .specs li::before {
    background-color: #9c27b0;
}

.gpu-grid .product-card-wrapper:nth-child(3) .specs li::before {
    background-color: #ffc107;
}

.gpu-grid .product-card-wrapper:nth-child(4) .specs li::before {
    background-color: #03a9f4;
}

.gpu-grid .product-card-wrapper:nth-child(5) .specs li::before {
    background-color: #4caf50;
}

.gpu-grid .product-card-wrapper:nth-child(6) .specs li::before {
    background-color: #e91e63;
}

/* GPU卡片区域栅格布局 */
.gpu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 1400px) {
    .gpu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gpu-grid {
        grid-template-columns: 1fr;
    }
    .gpu-grid .product-card-wrapper .price {
        font-size: 1.8rem;
    }
}

/* 为所有国家选择器添加通用样式 */
.card-country-select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-country-select:hover {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.card-country-select option {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px;
    color: #1e293b;
}

/* 为每个国家选项指定国旗图标 */
.card-country-select option[value="hk"] {
    background-image: url('icos/hk.png');
}

.card-country-select option[value="tw"] {
    background-image: url('icos/tw.png');
}

.card-country-select option[value="sg"] {
    background-image: url('icos/sg.png');
}

.card-country-select option[value="us"] {
    background-image: url('icos/us.png');
}

.card-country-select option[value="ph"] {
    background-image: url('icos/ph.png');
}

.card-country-select option[value="my"] {
    background-image: url('icos/my.png');
}

.card-country-select option[value="th"] {
    background-image: url('icos/th.png');
}

.card-country-select option[value="vn"] {
    background-image: url('icos/vn.png');
}

.card-country-select option[value="mm"] {
    background-image: url('icos/mm.png');
}

.card-country-select option[value="id"] {
    background-image: url('icos/id.png');
}

.card-country-select option[value="kr"] {
    background-image: url('icos/kr.png');
}

.card-country-select option[value="jp"] {
    background-image: url('icos/jp.png');
}

.card-country-select option[value="bh"] {
    background-image: url('icos/bh.png');
}

.card-country-select option[value="pk"] {
    background-image: url('icos/pk.png');
}

.card-country-select option[value="sa"] {
    background-image: url('icos/sa.png');
}

.card-country-select option[value="ae"] {
    background-image: url('icos/ae.png');
}

.card-country-select option[value="bd"] {
    background-image: url('icos/bd.png');
}

.card-country-select option[value="kh"] {
    background-image: url('icos/kh.png');
}

.card-country-select option[value="de"] {
    background-image: url('icos/de.png');
}

.card-country-select option[value="fr"] {
    background-image: url('icos/fr.png');
}

.card-country-select option[value="tr"] {
    background-image: url('icos/tr.png');
}

.card-country-select option[value="gr"] {
    background-image: url('icos/gr.png');
}

.card-country-select option[value="uk"] {
    background-image: url('icos/uk.png');
}

.card-country-select option[value="ru"] {
    background-image: url('icos/ru.png');
}

.card-country-select option[value="eg"] {
    background-image: url('icos/eg.png');
}

.card-country-select option[value="br"] {
    background-image: url('icos/br.png');
}

.card-country-select option[value="ar"] {
    background-image: url('icos/ar.png');
}

.card-country-select option[value="cl"] {
    background-image: url('icos/cl.png');
}

.card-country-select option[value="co"] {
    background-image: url('icos/co.png');
}

.card-country-select option[value="om"] {
    background-image: url('icos/om.png');
}

.card-country-select option[value="bg"] {
    background-image: url('icos/bg.png');
}

.card-country-select option[value="kw"] {
    background-image: url('icos/kw.png');
}

.card-country-select option[value="mx"] {
    background-image: url('icos/mx.png');
}

.card-country-select option[value="za"] {
    background-image: url('icos/za.png');
}

.card-country-select option[value="np"] {
    background-image: url('icos/np.png');
}

.card-country-select option[value="iq"] {
    background-image: url('icos/iq.png');
}

.card-country-select.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 设置带国旗的下拉选择器 */
.flag-select {
    position: relative;
    padding-left: 30px; /* 为国旗留出空间 */
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px;
}

.flag-select option {
    position: relative;
    padding-left: 30px; /* 为国旗留出空间 */
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px;
}

/* 自定义下拉列表样式 */
select.card-country-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23666"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

/* 确保选项有足够的高度显示图标 */
.card-country-select option {
    height: 30px;
    line-height: 30px;
}

/* 修正下拉框在不同浏览器下的样式 */
@-moz-document url-prefix() {
    .card-country-select option {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

/* 为每个国家选项的数据属性增加样式 */
.card-country-select option[data-flag^="icos/"] {
    background-image: attr(data-flag url);
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px;
    padding-left: 30px;
}

/* 修复浏览器对select和option的不一致处理 */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .card-country-select option {
        padding-left: 30px !important;
    }
}

/* 特定浏览器优化 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .card-country-select option {
        padding-left: 30px !important;
    }
}

/* 下拉框包装元素样式 */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* 国旗图标样式 */
.flag-icon {
    pointer-events: none;
}

/* 自定义下拉框样式 */
.country-flag-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23666"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
    padding-left: 12px !important;
}

/* 改进下拉框样式 */
.card-country-select {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 8px 12px !important;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-country-select:hover {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.card-country-select.loading {
    opacity: 0.7;
    pointer-events: none;
}

.card-image {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 8px;
}

.card-image img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

/* 热门标签样式 */
.hot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4d4f;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    transform: rotate(15deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse-badge 1.5s infinite;
    z-index: 1;
}

@keyframes pulse-badge {
    0% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.1);
    }
    100% {
        transform: rotate(15deg) scale(1);
    }
}

/* 为data-card部分的卡片特别优化 */
#data-card .card-image {
    height: auto;
    background: linear-gradient(145deg, #f8fafc, #eef1f5);
    padding: 0.8rem;
    margin: 0.5rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

#data-card .card-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(22, 119, 255, 0.15);
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    padding: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(22, 119, 255, 0.1);
}

#data-card .product-card:hover .card-image img {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(22, 119, 255, 0.25);
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.15));
}

/* 为不同设备添加不同的样式 */
#data-card .card-image img[alt*="Dongle"] {
    background: linear-gradient(135deg, #f0f9ff, #e6f7ff);
    border-color: rgba(24, 144, 255, 0.2);
}

#data-card .card-image img[alt*="Mifi"] {
    background: linear-gradient(135deg, #f6ffed, #e8f8f3);
    border-color: rgba(82, 196, 26, 0.2);
}

/* 响应式调整 */
@media (max-width: 992px) {
    #data-card .card-image {
        padding: 0.7rem;
    }
}

@media (max-width: 768px) {
    #data-card .card-image {
        padding: 0.6rem;
    }
}

@media (max-width: 576px) {
    #data-card .card-image {
        padding: 0.5rem;
    }
}

/* 底部二维码区域样式 */
.footer-qr-section {
    background: transparent;
    padding: 4rem 0 3rem;
    margin-top: 3rem;
}

.qr-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.qr-item {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: none;
    max-width: 280px;
    width: 100%;
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px -5px rgba(22, 119, 255, 0.15),
        0 5px 15px rgba(22, 119, 255, 0.1);
}

.qr-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qr-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.qr-image {
    margin: 1.5rem 0;
}

.qr-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 2px solid rgba(22, 119, 255, 0.1);
    transition: all 0.3s ease;
}

.qr-card:hover .qr-img {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(22, 119, 255, 0.2);
}

.qr-footer p {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qr-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-qr-section {
        padding: 3rem 0 2rem;
        margin-top: 2rem;
    }
    
    .qr-card {
        padding: 1.5rem;
        max-width: 250px;
    }
    
    .qr-img {
        width: 140px;
        height: 140px;
    }
    
    .qr-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .qr-card {
        padding: 1.2rem;
        max-width: 220px;
    }
    
    .qr-img {
        width: 120px;
        height: 120px;
    }
    
    .qr-header h3 {
        font-size: 1.2rem;
    }
    
    .qr-header p,
    .qr-footer p {
        font-size: 0.85rem;
    }
}