@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #bf0000;
    --primary-dark: #8a0000;
    --secondary: #333;
    --accent: #ff6b35;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --gradient: linear-gradient(135deg, #bf0000 0%, #ff6b35 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-top a {
    color: #fff;
    font-size: 13px;
    transition: opacity 0.3s;
}

.header-top a:hover {
    opacity: 0.8;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

nav {
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(191, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3.5s; }

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(191, 0, 0, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(191, 0, 0, 0); }
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 35px;
}

.price-current {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
}

.price-currency {
    font-size: 24px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(191, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(191, 0, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(191, 0, 0, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.features {
    padding: 100px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(191, 0, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.product-details {
    padding: 100px 0;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-gallery {
    position: relative;
}

.gallery-main {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.gallery-main img {
    width: 100%;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-text {
    color: #666;
    font-size: 14px;
}

.product-price-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0eb 100%);
    padding: 25px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.product-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.product-price-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
}

.product-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-specs {
    margin-bottom: 35px;
}

.spec-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.spec-label {
    width: 120px;
    font-weight: 600;
    color: var(--dark);
}

.spec-value {
    color: #666;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(191, 0, 0, 0.5);
}

.benefit-number {
    font-size: 60px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-text {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.7;
}

.cta-section {
    padding: 120px 0;
    background: var(--light);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.cta-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.cta-price {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px 40px;
    border-radius: 60px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.cta-price-label {
    font-size: 16px;
    color: #666;
}

.cta-price-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 15px;
}

.footer-disclaimer {
    font-size: 11px;
    opacity: 0.5;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main .container {
        justify-content: space-between;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .price-current {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-info h2 {
        font-size: 28px;
    }
    
    .product-price-value {
        font-size: 32px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-price {
        flex-direction: column;
        gap: 10px;
        padding: 25px;
    }
    
    .gallery-thumbs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .benefit-card {
        padding: 30px;
    }
    
    .benefit-number {
        font-size: 48px;
    }
}
