body {
    font-family: 'Noto Sans TC', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #f5f5f7;
    line-height: 1.6;
    overflow-x: hidden; /* 防止水平滾動 */
}

/* 標題與通用區塊樣式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 英雄區塊 (Hero Section) */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #111;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: #a1a1a6;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: backwards; /* 確保動畫開始前元素不可見 */
}

.hero-image {
    max-width: 80%;
    height: auto;
    margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 1s ease-out 0.6s;
    animation-fill-mode: backwards;
}

/* 特色區塊 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #1d1d1f;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 設計區塊 */
.design-section {
    text-align: center;
    background: #151515;
    border-radius: 20px;
    padding: 80px 40px;
    margin-top: 50px;
}

/* 行動號召 (CTA) 區塊 */
.cta-section {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #0071e3;
    color: #fff;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 980px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.05);
}

/* 頁尾 */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #6e6e73;
    font-size: 0.9rem;
}

/* 動畫效果類別 */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* 提升動畫效能 */
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* 頁面載入動畫 */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-image {
        max-width: 90%;
    }
}