/* 基础样式重置和字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    opacity: 1;
}

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

/* 顶部横幅样式 */
.top-banner {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #FF3B30, #FF9F0A);
    z-index: 1001;
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(255, 59, 48, 0.3);
    animation: bannerSlideDown 1s ease-out;
}

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

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 1.5rem;
    animation: bannerIconBounce 2s ease-in-out infinite;
}

@keyframes bannerIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-highlight {
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-divider {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.banner-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

/* 导航栏样式（调整位置） */
.navbar {
    position: fixed;
    top: 60px; /* 为顶部横幅留出空间 */
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apple-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(0, 122, 255, 0.5));
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(45deg, #007AFF, #34C759);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #007AFF, #34C759);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Hero 区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 122, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23007AFF" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%2334C759" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="%23007AFF" opacity="0.3"/></svg>');
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 120px; /* 为顶部横幅和导航栏留出空间 */
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #007AFF 0%, #34C759 50%, #FF9F0A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #888;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 500px;
}

/* Hero区域内的货到付款信息 */
.hero-shipping-info {
    margin: 20px 0;
}

.shipping-badge {
    background: rgba(255, 59, 48, 0.1);
    border: 2px solid rgba(255, 59, 48, 0.3);
    border-radius: 15px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
    max-width: 400px;
}

@keyframes badgePulse {
    0%, 100% { 
        border-color: rgba(255, 59, 48, 0.3);
        box-shadow: 0 5px 20px rgba(255, 59, 48, 0.1);
    }
    50% { 
        border-color: rgba(255, 59, 48, 0.6);
        box-shadow: 0 8px 30px rgba(255, 59, 48, 0.2);
    }
}

.badge-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 159, 10, 0.5));
    animation: badgeIconRotate 4s ease-in-out infinite;
}

@keyframes badgeIconRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.badge-content {
    flex: 1;
}

.badge-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.badge-desc {
    font-size: 1.1rem;
    color: #FF9F0A;
    font-weight: 700;
}

.badge-desc strong {
    color: #FF3B30;
    font-size: 1.2rem;
}

/* 按钮组样式 */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #007AFF, #34C759);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.5);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #FF3B30, #FF9F0A);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 59, 48, 0.5);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.hero-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    width: 436px;
    height: 572px;
    position: relative;
}

/* Hero设备图片样式 */
.hero-device-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 30px rgba(0, 122, 255, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: deviceFloat 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-device:hover .hero-device-img {
    transform: translateY(-15px) rotate(1deg) scale(1.02);
    box-shadow: 
        0 0 40px rgba(0, 122, 255, 0.5),
        0 30px 80px rgba(0, 0, 0, 0.5);
}

/* 保留原有的设备框架样式作为备用 */
.device-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 40px;
    border: 3px solid #333;
    box-shadow: 
        0 0 30px rgba(0, 122, 255, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: deviceFloat 6s ease-in-out infinite;
}

.screen-glow {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #007AFF, #34C759);
    border-radius: 30px;
    opacity: 0.8;
    animation: screenPulse 4s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes screenPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* 产品展示区域 */
.products-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #007AFF, #34C759);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.8s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card.featured {
    border: 2px solid #007AFF;
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #FF3B30, #FF9F0A);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(0, 122, 255, 0.2);
}

.product-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

/* 产品图片样式 */
.product-img {
    width: 180px;
    height: 240px;
    object-fit: contain;
    border-radius: 25px;
    position: relative;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

/* 保留原有的mockup样式作为备用 */
.product-mockup {
    width: 150px;
    height: 200px;
    border-radius: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

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

.iphone17 {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #333;
}

.iphone17pro {
    background: linear-gradient(135deg, #2c1810, #3d2912);
    border: 2px solid #8B4513;
}

.iphone17promax {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid #4A4A4A;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: productGlow 4s ease-in-out infinite;
}

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

.product-info {
    text-align: center;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.product-desc {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(0, 122, 255, 0.2);
    color: #007AFF;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 255, 0.3);
}

.shop-button {
    background: linear-gradient(135deg, #007AFF, #34C759);
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

/* 其他产品区域 */
.other-products {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.8s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.product-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* 其他产品图片容器 */
.product-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.product-item:hover .product-icon-container {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.2);
}

.product-item:hover .other-product-img {
    transform: scale(1.1);
}

.macbook { background: linear-gradient(135deg, #8E8E93, #C7C7CC); }
.ipad { background: linear-gradient(135deg, #007AFF, #5AC8FA); }
.airpods { background: linear-gradient(135deg, #FFFFFF, #F2F2F7); }
.watch { background: linear-gradient(135deg, #1D1D1F, #48484A); }

.product-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.product-item p {
    color: #ccc;
    margin-bottom: 20px;
}

.mini-button {
    background: transparent;
    border: 1px solid #007AFF;
    color: #007AFF;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mini-button:hover {
    background: #007AFF;
    color: white;
}

/* 购买说明区域 */
.shipping-info {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.shipping-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    border: 2px solid rgba(0, 122, 255, 0.3);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.8s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.shipping-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.5));
}

.shipping-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.shipping-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FF3B30, #FF9F0A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    color: #666;
    font-size: 1.5rem;
}

.shipping-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.shipping-features li {
    font-size: 1.1rem;
    color: #ccc;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #34C759;
}

/* 底部区域 */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-text {
    color: #888;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #007AFF;
}

.footer-copyright {
    color: #666;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Footer语言选择器 */
.footer-language-selector {
    margin: 20px 0 10px 0;
    text-align: left;
    user-select: none;
    position: relative;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ccc;
    font-size: 0.9rem;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.3);
    color: #fff;
}

.current-lang-flag {
    font-size: 1rem;
    margin-right: 6px;
}

.language-toggle-icon {
    font-size: 0.8rem;
    margin-right: 6px;
    opacity: 0.8;
}

.language-label {
    font-size: 0.85rem;
}

.language-menu {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 100;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    color: #ccc;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-option.active {
    background: rgba(0, 122, 255, 0.2);
    color: #fff;
}

.lang-option .lang-flag {
    margin-right: 10px;
    font-size: 1rem;
}

.lang-option .lang-name {
    font-weight: 400;
}

/* 浮动按钮 */
.floating-shop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-button {
    background: linear-gradient(135deg, #007AFF, #34C759);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatingPulse 3s ease-in-out infinite;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.6);
}

@keyframes floatingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.shop-icon {
    font-size: 1.2rem;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 122, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0, 122, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

/* 通知提示 */
.notification {
    position: fixed;
    top: 80px; /* 调整位置，避开top-banner */
    right: 30px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(52, 199, 89, 0.5);
    border-radius: 10px;
    padding: 20px;
    z-index: 1001;
    transform: translateX(450px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

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

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

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-text {
    color: #fff;
    font-size: 1rem;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .banner-features {
        justify-content: center;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 768px) {
    /* 顶部横幅手机适配 */
    .top-banner {
        padding: 8px 0;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .banner-text {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .banner-highlight {
        font-size: 1rem;
    }
    
    .banner-features {
        justify-content: center;
        gap: 8px;
    }
    
    .banner-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    /* 导航栏手机适配 */
    .navbar {
        top: 80px; /* 调整手机端横幅高度 */
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-title {
        font-size: 16px;
    }
    
    /* Hero区域手机适配 */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 140px; /* 为手机端横幅和导航栏留出更多空间 */
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* Hero区域货到付款信息手机适配 */
    .shipping-badge {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px 16px;
    }
    
    .badge-icon {
        font-size: 1.5rem;
    }
    
    .badge-title {
        font-size: 0.9rem;
    }
    
    .badge-desc {
        font-size: 1rem;
    }
    
    .badge-desc strong {
        font-size: 1.1rem;
    }
    
    /* 按钮组手机适配 - 垂直排列 */
    .hero-buttons {
        flex-direction: column; /* 垂直排列 */
        align-items: center;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* 设备模型手机适配 */
    .hero-device {
        order: -1; /* 在手机上，设备图片显示在文字上方 */
        margin-bottom: 20px;
    }
    
    /* 让文字内容在图片下方 */
    .hero-text {
        order: 0;
        margin-bottom: 0;
    }
    
    .device-mockup {
        width: 220px;
        height: 289px;
    }
    
    .hero-device-img {
        width: 220px;
        height: 289px;
        object-fit: contain;
        border-radius: 0;
        border: none;
        box-shadow: 
            0 0 30px rgba(0, 122, 255, 0.3),
            0 20px 60px rgba(0, 0, 0, 0.4);
    }
    
    /* 产品展示手机适配 */
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-image {
        height: 230px;
        margin-bottom: 20px;
    }
    
    .product-mockup {
        width: 135px;
        height: 180px;
    }
    
    .product-img {
        width: 135px;
        height: 180px;
        object-fit: contain;
    }
    
    /* 其他产品手机适配 */
    .products-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-item {
        padding: 20px 15px;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .product-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    /* 购买说明手机适配 */
    .shipping-card {
        padding: 30px 20px;
    }
    
    .shipping-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .shipping-highlight {
        flex-direction: column;
        gap: 10px;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
    
    .shipping-features {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .shipping-features li {
        padding: 12px;
        font-size: 1rem;
    }
    
    /* 浮动按钮手机适配 */
    .floating-shop {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* 通知手机适配 */
    .notification {
        top: 120px; /* 调整位置，确保不遮挡top-banner和navbar */
        right: 15px;
        left: 15px;
        max-width: none;
        transform: translateY(-150px);
        opacity: 0;
        visibility: hidden;
        padding: 15px;
    }
    
    .notification.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .notification-close {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    /* 底部信息手机适配 */
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

/* 超小屏幕设备适配 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* 顶部横幅超小屏适配 */
    .banner-highlight {
        font-size: 0.9rem;
    }
    
    .banner-features {
        gap: 5px;
    }
    
    .banner-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    /* Hero区域超小屏适配 */
    .hero-title {
        font-size: 2rem;
    }
    
    .gradient-text {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    /* 设备模型超小屏适配 */
    .device-mockup {
        width: 180px;
        height: 236px;
    }
    
    .hero-device-img {
        width: 180px;
        height: 236px;
        object-fit: contain;
        border-radius: 0;
        border: none;
        box-shadow: 
            0 0 20px rgba(0, 122, 255, 0.3),
            0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    /* 产品卡片超小屏适配 */
    .product-card {
        padding: 15px;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    .product-desc {
        font-size: 1rem;
    }
    
    /* 其他产品超小屏适配 */
    .products-carousel {
        grid-template-columns: 1fr;
    }
    
    /* 购买说明超小屏适配 */
    .shipping-card {
        padding: 20px 15px;
    }
    
    .shipping-title {
        font-size: 1.6rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    /* 按钮超小屏适配 */
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .shop-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .shipping-card {
        padding: 30px 20px;
    }
    
    .floating-shop {
        bottom: 20px;
        right: 20px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007AFF, #34C759);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #34C759, #007AFF);
}

/* 防止滚动时的闪烁 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* 修复所有区域初始状态，防止闪烁 */
.products-grid .product-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.products-grid:not([data-animated]) .product-card {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
}

.products-grid[data-animated] .product-card {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* 其他产品区域初始状态 */
.products-carousel:not([data-animated]) {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
}

.products-carousel:not([data-animated]) .product-item {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
}

/* 购买说明区域初始状态 */
.shipping-card:not([data-animated]) {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
}

/* 标题初始状态 */
.section-title:not([data-animated]) {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
}
