/* 重置與基礎樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導覽列 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(80deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ff88;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero 區塊 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

/* 背景圖片層 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('Picture/Background.jpg');
    background-size: cover;        /* ← 這裡調整背景大小 */
    background-position: center;   /* ← 這裡調整背景位置 */
    background-repeat: no-repeat;
    opacity: 0.3;                 /* ← 這裡調整透明度 */
}

/* 深色遮罩層 */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 30%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* 品牌色彩遮罩層 */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 204, 255, 0.1) 100%
    );
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 10; /* 確保內容在最上層 */
    position: relative;
}

.main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

/* 增強 logo 的視覺效果 */
.hero-logo-img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    /* 添加發光效果 */
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(0, 255, 136, 0.8));
    transform: scale(1.05);
}

/* 為 logo 添加背景光暈 */
.main-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle, 
        rgba(0, 255, 136, 0.2) 0%, 
        rgba(0, 255, 136, 0.1) 30%, 
        transparent 70%
    );
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* 移除原本的浮動羽毛球，因為現在有背景圖片 */
.floating-shuttlecock {
    display: none;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.cta-button {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

/* 區塊通用樣式 */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ff88;
}

.section-header p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* 品牌介紹 */
.brand-section {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

/* Brand section 背景圖片層 */
.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Picture/Background_2.png'); /* 修正檔案副檔名 */
    background-size: 80% 220%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 視差滾動效果 */
    z-index: 1;
    opacity: 0.4; /* 提高透明度讓圖片更明顯 */
}

/* Brand section 深色遮罩層 */
.brand-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 30%, 
        rgba(0, 0, 0, 0.7) 70%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 2;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10; /* 確保內容在最上層 */
}

.brand-text {
    position: relative;
    z-index: 10;
}

.brand-text h3 {
    color: #00ff88;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 增強文字陰影 */
}

.brand-text p {
    margin-bottom: 2rem;
    color: #ffffff; /* 改為白色，提高對比度 */
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 添加文字陰影 */
    background: rgba(0, 0, 0, 0.3); /* 添加半透明背景 */
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

.secondary-button {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px); /* 按鈕毛玻璃效果 */
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.secondary-button:hover {
    background: #00ff88;
    color: #000000;
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

.brand-image {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.brand-logo-container {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 255, 136, 0.2));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 136, 0.5);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px); /* 增強毛玻璃效果 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-logo-container::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="1" fill="rgba(0,255,136,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
}

.brand-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    /* 增強 logo 效果 */
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
    transition: all 0.3s ease;
}

.brand-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(0, 255, 136, 0.8));
    transform: scale(1.1);
}

.brand-slogan {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #00ccff;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 為 section header 也添加增強效果 */
.brand-section .section-header h2 {
    color: #00ff88;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

.brand-section .section-header p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 產品介紹 */
.products-section {
    background: rgba(0, 0, 0, 0.3);
}

/* 產品比較表格 */
.comparison-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 255, 0.2));
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    position: relative;
}

.comparison-table th.feature-column {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 204, 255, 0.3));
    color: #000000;
    font-weight: 700;
    text-align: left;
    padding-left: 1.5rem;
}

.comparison-table th.product-column {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.1));
    font-size: 1.1rem;
    color: #00ff88;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.05);
    transform: scale(1.01);
}

.comparison-table tbody tr.pricing-row {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.1));
    border-top: 2px solid rgba(0, 255, 136, 0.3);
}

.comparison-table tbody tr.pricing-row:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 204, 255, 0.15));
}

.comparison-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    color: #ffffff;
    vertical-align: middle;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td.feature-name {
    background: rgba(0, 0, 0, 0.2);
    color: #00ff88;
    font-weight: 600;
    text-align: left;
    padding-left: 1.5rem;
    border-right: 2px solid rgba(0, 255, 136, 0.3);
    position: sticky;
    left: 0;
    z-index: 10;
}

.comparison-table td.product-data {
    font-weight: 500;
    line-height: 1.4;
}

.comparison-table td.price-cell {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 評分星星樣式 */
.rating {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.rating .star {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.rating .star.filled {
    color: #00ff88;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.rating .star.half {
    position: relative;
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background: linear-gradient(90deg, #00ff88 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.rating .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00ff88 50%, transparent 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 3px rgba(0, 255, 136, 0.5));
}

/* 表格響應式設計 */
@media (max-width: 1024px) {
    .comparison-table {
        min-width: 700px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .comparison-table th.product-column {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .comparison-table-container {
        margin: 1rem -20px;
        border-radius: 0;
    }
    
    .comparison-table {
        min-width: 600px;
        border-radius: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .comparison-table th.feature-column,
    .comparison-table td.feature-name {
        padding-left: 1rem;
    }
    
    .rating .star {
        font-size: 1rem;
    }
    
    .comparison-table td.price-cell {
        font-size: 1rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.product-image {
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.product-image::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="2" fill="rgba(0,255,136,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.product-photo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-photo-img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.product-photo-img:hover {
    transform: scale(1.05);
}

.product-brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.product-logo-img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(80deg);
}

.product-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.product-model {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-slogan {
    font-size: 0.9rem;
    color: #00ccff;
    font-weight: 500;
    letter-spacing: 1px;
}



.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.product-type {
    color: #00ff88;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* 經銷商 */
.dealers-section {
    background: rgba(255, 255, 255, 0.02);
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dealer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.dealer-icon {
    margin-bottom: 1.5rem;
}

.dealer-icon i {
    font-size: 2.5rem;
    color: #00ff88;
}

.dealer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.dealer-card p {
    margin-bottom: 0.5rem;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dealer-type {
    color: #00ff88;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.dealer-card.featured {
    border: 2px solid #00ff88;
    background: rgba(0, 255, 136, 0.05);
    position: relative;
}

.dealer-card.featured::before {
    content: '實體店面';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ff88;
    color: #000000;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-button {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    color: #000000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.contact-button.featured {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: #ffffff;
}

.contact-button.featured:hover {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.dealer-card i {
    color: #00ff88;
    width: 16px;
}

/* 聯絡我們 */
.contact-section {
    background: rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #00ff88;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.info-item i {
    color: #00ff88;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #cccccc;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.submit-button {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #00ff88;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffffff;
}

/* Modal 內容樣式 */
.modal-content h2 {
    color: #00ff88;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content .product-detail-type {
    color: #00ccff;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.modal-content .product-detail-image {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-content .modal-product-image {
    max-width: 100%;
    max-height: 100vh;  /* 螢幕高度的 70% */
    height: auto;
    width: auto;
    object-fit: contain;  /* 保持圖片比例 */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.modal-content .modal-product-image:hover {
    transform: scale(1.02);
}

.modal-content .product-detail-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.modal-content .product-detail-section h3 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal-content .product-detail-section ul {
    list-style: none;
    padding: 0;
}

.modal-content .product-detail-section li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.modal-content .product-detail-section li::before {
    content: '•';
    color: #00ff88;
    position: absolute;
    left: 0;
}

/* 定價資訊樣式 */
.pricing-info {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.1));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-note {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.modal-content .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content .modal-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-content .modal-button.primary {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    color: #000000;
}

.modal-content .modal-button.secondary {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}

.modal-content .modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        max-height: 85vh;
        padding: 1.5rem;
    }
    
    .modal-content .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content .modal-actions {
        flex-direction: column;
    }
    

    
    .modal-content .modal-product-image {
        max-width: 90%;
    }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(80deg);
}

.footer-section h3,
.footer-section h4 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }



    .hero-subtitle {
        font-size: 1.2rem;
    }

    .brand-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .dealers-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .brand-logo-container {
        width: 200px;
        height: 200px;
    }
    
    .brand-logo-img {
        height: 60px;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-logo-img {
        height: 80px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .product-card,
    .dealer-card {
        padding: 1.5rem;
    }
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc66;
}

/* Modal 滾動條樣式 */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #00cc66;
}

/* 載入動畫 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 

/* 成功訊息彈出視窗 */
.success-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.success-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    margin: 15% auto;
    padding: 2rem;
    border: 2px solid #00ff88;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.success-close {
    color: #00ff88;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.success-close:hover {
    color: #ffffff;
}

.success-icon {
    margin-bottom: 1rem;
}

.success-icon i {
    font-size: 4rem;
    color: #00ff88;
    animation: checkPulse 0.6s ease;
}

.success-modal-content h3 {
    color: #00ff88;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-modal-content p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .success-modal-content {
        margin: 20% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .success-modal-content h3 {
        font-size: 1.3rem;
    }
} 