/* 松真堂全新設計系統 - 專業重建 */
/* 2026-04-17 全新版本 */

/* =============== 設計系統 =============== */
:root {
    /* 奢華金色調 */
    --gold-primary: #C09B53;
    --gold-secondary: #DAA520;
    --gold-light: #F5DEB3;
    --gold-dark: #8B4513;
    
    /* 質感背景色 */
    --bg-ivory: #FFFDF7;
    --bg-cream: #F9F5F0;
    --bg-white: #FFFFFF;
    
    /* 專業文字色 */
    --text-charcoal: #2C2C2C;
    --text-slate: #4A4A4A;
    --text-light: #666666;
    
    /* 高級陰影 */
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.16);
    
    /* 金色陰影 */
    --shadow-gold: 0 4px 20px rgba(192, 155, 83, 0.2);
    --shadow-gold-hover: 0 8px 30px rgba(192, 155, 83, 0.3);
    
    /* 圓角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* 間距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
}

/* =============== 全局重置 =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-slate);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============== 導航條 - 專業設計 =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo設計 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 導航菜單 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-charcoal);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

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

/* 聯繫按鈕 */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-secondary));
    color: var(--gold-dark);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
}

/* 漢堡菜單 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-charcoal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 移動端菜單 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: rgba(139, 69, 19, 0.98);
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--gold-light);
    padding-left: 10px;
}

.mobile-contact {
    margin-top: 30px;
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-primary);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-phone-btn:hover {
    background: var(--gold-secondary);
    transform: translateY(-2px);
}

/* =============== 首屏英雄區 =============== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(192, 155, 83, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(165, 126, 43, 0.08) 100%
    );
    z-index: 1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-md);
}

/* 品牌裝飾 */
.brand-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(192, 155, 83, 0.1);
    border: 1px solid rgba(192, 155, 83, 0.3);
    border-radius: 50px;
    color: var(--gold-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* 主標題 */
.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--text-charcoal);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 2px;
}

/* 副標題 */
.hero-subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--gold-primary);
    line-height: 1.4;
    margin: var(--space-xl) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 描述 */
.hero-description {
    font-size: 1.125rem;
    color: var(--text-slate);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* 特色展示 */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: rgba(192, 155, 83, 0.08);
    border: 1px solid rgba(192, 155, 83, 0.15);
    border-radius: var(--radius-lg);
    color: var(--gold-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(192, 155, 83, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.feature-item i {
    font-size: 1.25rem;
}

/* 行動按鈕 */
.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-dark));
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(192, 155, 83, 0.1);
    transform: translateY(-2px);
}

/* 滾動提示 */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gold-primary);
    text-decoration: none;
    opacity: 0.6;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

.scroll-indicator span {
    font-size: 0.875rem;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =============== 產品展示區 =============== */
.products-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-ivory);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.section-divider .divider-line {
    width: 100px;
}

.section-divider i {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

/* 產品網格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.product-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(192, 155, 83, 0.4);
}

.product-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    height: calc(100% - 240px);
}

.product-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-description {
    color: var(--text-slate);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.product-specs {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item i {
    color: var(--gold-primary);
    width: 20px;
    text-align: center;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.product-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(192, 155, 83, 0.1);
    color: var(--gold-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-features i {
    font-size: 0.875rem;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.price-label {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.price-amount {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.btn-product {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
}

/* =============== 微信公眾號區 =============== */
.wechat-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #5C4033 0%, #8B4513 100%);
    color: white;
}

.wechat-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.wechat-qr {
    flex-shrink: 0;
}

.qr-container {
    position: relative;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(192, 155, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-md);
}

.qr-container:hover .qr-overlay {
    opacity: 1;
}

.qr-overlay i {
    font-size: 3rem;
    color: var(--gold-primary);
}

.wechat-info {
    flex: 1;
    min-width: 300px;
}

.wechat-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.wechat-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.wechat-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.stat-item i {
    color: var(--gold-light);
    font-size: 1.25rem;
}

.wechat-tips p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    opacity: 0.8;
}

.wechat-tips i {
    color: var(--gold-light);
    font-size: 0.875rem;
}

/* =============== 聯繫我們區 =============== */
.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-item i {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-top: 2px;
}

.contact-details h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: var(--space-xs);
}

.contact-details p {
    font-size: 1.125rem;
    color: var(--text-slate);
    margin-bottom: var(--space-xs);
}

.contact-details small {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-medium);
}

.form-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    color: var(--text-slate);
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(192, 155, 83, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =============== 頁腳 =============== */
.footer {
    background: linear-gradient(135deg, #5C4033 0%, #8B4513 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-section {
    padding: 0 var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.footer-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.footer-subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-light);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-links a::before {
    content: '›';
    font-size: 1.2rem;
    color: var(--gold-light);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.footer-social {
    margin-top: var(--space-xl);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wechat-btn {
    background: #09BB07;
}

.weibo-btn {
    background: #E6162D;
}

.douyin-btn {
    background: #000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
}

.copyright {
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.copyright p {
    margin-bottom: var(--space-xs);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
}

/* =============== 聯繫方式彈出層 =============== */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: white;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: var(--space-2xl);
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    flex-wrap: wrap;
}

.modal-phone,
.modal-wechat {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.modal-phone i,
.modal-wechat i {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: var(--space-md);
}

.modal-phone h4,
.modal-wechat h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    color: var(--text-charcoal);
    margin-bottom: var(--space-sm);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: var(--space-md);
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(192, 155, 83, 0.1);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--gold-primary);
    color: white;
}

.modal-wechat p {
    margin-bottom: var(--space-sm);
    color: var(--text-slate);
}

/* =============== 響應式設計 =============== */
@media (max-width: 992px) {
    .nav-menu {
        gap: 24px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* 導航條適配 */
    .nav-menu {
        display: none;
    }
    
    .contact-btn {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* 英雄區適配 */
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-features {
        gap: var(--space-md);
    }
    
    .feature-item {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        text-align: center;
    }
    
    /* 產品區適配 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    /* 聯繫區適配 */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* 微信區適配 */
    .wechat-content {
        flex-direction: column;
        text-align: center;
    }
    
    .wechat-stats {
        justify-content: center;
    }
    
    /* 頁腳適配 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* 小屏幕優化 */
    .navbar {
        height: 60px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-container {
        width: 150px;
        height: 150px;
    }
    
    .modal-body {
        flex-direction: column;
        text-align: center;
    }
}

/* =============== 工具類 =============== */
/* 用於特定佈局 */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: var(--space-sm); }
.mb-4 { margin-bottom: var(--space-md); }
.mt-6 { margin-top: var(--space-xl); }
.w-full { width: 100%; }