@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a1628;
    --secondary: #1a2d4a;
    --accent: #4a90d9;
    --gold: #d4af37;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --bg-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header-icons {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.header-icons a:hover {
    color: var(--accent);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 32px;
    font-weight: 300;
    color: var(--text);
    letter-spacing: 2px;
}

nav {
    border-top: 1px solid #eee;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

.nav-list a {
    font-size: 14px;
    color: var(--text);
    transition: color 0.3s;
    position: relative;
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74,144,217,0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212,175,55,0.6);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.5); }
    50% { box-shadow: 0 0 40px rgba(212,175,55,0.8); }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 30px;
}

.hero-price span {
    font-size: 16px;
    opacity: 0.7;
    text-decoration: line-through;
    margin-left: 10px;
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    background: #e5c04b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212,175,55,0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}


.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

.product-detail {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    transition: transform 0.5s;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-list {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.rating {
    color: var(--gold);
}

.reviews {
    color: var(--text-light);
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 25px;
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-specs {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-light);
}

.spec-value {
    font-weight: 600;
    color: var(--primary);
}

.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.benefits .section-title {
    color: var(--white);
}

.benefits .section-desc {
    color: rgba(255,255,255,0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--gold);
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 14px;
    opacity: 0.8;
}

.stats {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
}

.gallery-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
}

.cta {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    animation: rotateBg 60s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 18px;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--gold);
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-methods img {
    height: 30px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-bottom: 10px;
}

.disclaimer {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .benefits-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .hero-price {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}
