/* 
===========================================
🎸 Studio Imori - 生活實驗筆記本樣式
===========================================

【最高準則】
1. 幕前形象僅限 Imori 和 Nosae
2. 所有內容必須反映真實生活與共同成長
3. 幕前形象僅限 Imori 和 Nosae
4. 所有內容必須反映真實生活與共同成長

【設計原則】
- 溫暖優先於技術
- 生活感優先於商業感
- 真實優先於完美
- 共同成長優先於個人成就

【內容準則】
✅ 允許：Imori、Nosae、生活紀錄、共同成長
❌ 禁止：Eason 出現在任何頁面內容中（除了 git 帳號 easonliu850711）
*/
:root {
    /* 實驗室主題色彩 */
    --lab-purple: #8B5CF6;
    --lab-purple-light: #A78BFA;
    --lab-purple-dark: #7C3AED;
    --lab-green: #10B981;
    --lab-green-light: #34D399;
    --lab-orange: #F59E0B;
    --lab-orange-light: #FBBF24;
    --lab-dark: #0F172A;
    --lab-dark-light: #1E293B;
    --lab-gray: #64748B;
    --lab-light: #F8FAFC;
    --lab-white: #FFFFFF;
    
    /* 實驗室效果 */
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.5);
    --glow-green: 0 0 20px rgba(16, 185, 129, 0.5);
    --glow-orange: 0 0 20px rgba(245, 158, 11, 0.5);
    
    /* 實驗室動畫 */
    --float-speed: 20s;
    --pulse-speed: 2s;
    --twinkle-speed: 3s;
}

/* 基礎重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', 'Segoe UI', sans-serif;
    background-color: var(--lab-dark);
    color: var(--lab-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 實驗室背景 */
.lab-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: float var(--float-speed) infinite alternate ease-in-out;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(139, 92, 246, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(16, 185, 129, 0.1) 50%, transparent 51%);
    background-size: 50px 50px;
    opacity: 0.3;
}

.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(139, 92, 246, 0.05) 50%, 
        transparent 70%);
    animation: stream 15s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.05); }
}

@keyframes stream {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 改為圓形以配合圓形版圖片 */
    object-fit: contain; /* 改為 contain */
    border: 2px solid var(--lab-purple);
    box-shadow: var(--glow-purple);
    background-color: rgba(15, 23, 42, 0.5); /* 添加背景避免透明問題 */
    max-width: 100%; /* 確保不超出容器 */
    max-height: 100%;
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--lab-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--lab-purple-light);
    box-shadow: var(--glow-purple);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--lab-light);
}

/* 主內容區域 */
main {
    margin-top: 80px;
}

.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-alt {
    background: rgba(30, 41, 59, 0.5);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title .highlight {
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--lab-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 英雄區域 */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* 改為圓形以配合圓形版圖片 */
    object-fit: contain; /* 改為 contain 避免變形 */
    border: 4px solid var(--lab-purple);
    box-shadow: 
        var(--glow-purple),
        0 0 40px rgba(139, 92, 246, 0.3);
    animation: pulse var(--pulse-speed) infinite alternate;
    background-color: rgba(15, 23, 42, 0.5); /* 添加背景避免透明問題 */
    max-width: 100%; /* 確保不超出容器 */
    max-height: 100%;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: var(--glow-purple); }
    100% { transform: scale(1.05); box-shadow: 0 0 50px rgba(139, 92, 246, 0.5); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .subtitle {
    font-size: 2rem;
    color: var(--lab-green-light);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--lab-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-tagline .highlight {
    color: var(--lab-purple-light);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-purple-dark));
    color: white;
    box-shadow: var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--lab-green), var(--lab-green-light));
    color: white;
    box-shadow: var(--glow-green);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--lab-light);
    border: 2px solid var(--lab-purple);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--lab-gray);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 關於區域 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.avatar-container {
    position: relative;
    width: 250px;
    height: 250px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* 改為圓形以配合圓形版圖片 */
    object-fit: contain;
    border: 4px solid var(--lab-purple);
    box-shadow: var(--glow-purple);
    background-color: rgba(15, 23, 42, 0.5);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green), var(--lab-orange));
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--lab-green-light);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.feature i {
    font-size: 2rem;
    color: var(--lab-purple);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.feature p {
    font-size: 0.9rem;
    color: var(--lab-gray);
    margin: 0;
}

.about-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--lab-purple);
    border-radius: 8px;
}

.about-quote i {
    color: var(--lab-purple);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.about-quote p {
    font-style: italic;
    margin: 0.5rem 0;
}

.about-quote cite {
    color: var(--lab-gray);
    font-size: 0.9rem;
}

/* 服務/實驗項目 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--lab-purple), var(--lab-green));
}

.service-icon {
    font-size: 2.5rem;
    color: var(--lab-purple);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.service-card p {
    color: var(--lab-gray);
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.service-tags li {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* 專案展示 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-badge[data-status="進行中"] {
    background: rgba(245, 158, 11, 0.2);
    color: var(--lab-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-badge[data-status="已完成"] {
    background: rgba(16, 185, 129, 0.2);
    color: var(--lab-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-badge[data-status="規劃中"] {
    background: rgba(100, 116, 139, 0.2);
    color: var(--lab-gray);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.project-badge[data-status="持續優化"] {
    background: rgba(139, 92, 246, 0.2);
    color: var(--lab-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* 專案圖片背景圖示 */
.nas-image {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    position: relative;
    overflow: hidden;
}

.nas-image::before {
    content: "🖥️";
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.network-image {
    background: linear-gradient(45deg, #7c3aed, #a78bfa);
    position: relative;
    overflow: hidden;
}

.network-image::before {
    content: "🌐";
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.baseball-image {
    background: linear-gradient(45deg, #dc2626, #f87171);
    position: relative;
    overflow: hidden;
}

.baseball-image::before {
    content: "⚾";
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.notion-image {
    background: linear-gradient(45deg, #000000, #404040);
    position: relative;
    overflow: hidden;
}

.notion-image::before {
    content: "📚";
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 專案特色列表 */
.project-features {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--lab-purple);
}

.project-features p {
    margin-bottom: 0.5rem;
    color: var(--lab-light);
    font-weight: 500;
}

.project-features ul {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-features li {
    color: var(--lab-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* 專案總結 */
.projects-summary {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(16, 185, 129, 0.1), 
        rgba(245, 158, 11, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-summary h3 {
    color: var(--lab-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects-summary p {
    color: var(--lab-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .project-features {
        padding: 0.75rem;
    }
    
    .project-features ul {
        margin-left: 1rem;
    }
    
    .projects-summary {
        padding: 1.5rem;
    }
    
    .nas-image::before,
    .network-image::before,
    .baseball-image::before,
    .notion-image::before {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .projects-summary {
        padding: 1rem;
    }
    
    .project-features li {
        font-size: 0.85rem;
    }
}
    background: rgba(100, 116, 139, 0.2);
    color: var(--lab-gray);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--lab-light);
}

.project-content p {
    color: var(--lab-gray);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lab-purple-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--lab-purple);
    transform: translateX(5px);
}

/* 實驗哲學 */
.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.philosophy-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lab-purple);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.philosophy-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.philosophy-text p {
    color: var(--lab-gray);
}

.philosophy-quote {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.philosophy-quote i {
    color: var(--lab-purple);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.philosophy-quote p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.philosophy-quote cite {
    color: var(--lab-gray);
    font-size: 1rem;
}

/* 聯絡區域 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--lab-purple);
    background: rgba(139, 92, 246, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.contact-role {
    color: var(--lab-purple-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--lab-gray);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lab-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--lab-purple-light);
    transform: translateX(5px);
}

.contact-form {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.contact-form p {
    color: var(--lab-gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--lab-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--lab-green);
}

.contact-note p {
    margin: 0;
    color: var(--lab-green-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 頁尾 */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid var(--lab-purple);
    background-color: rgba(15, 23, 42, 0.5);
}

.footer-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--lab-light);
}

.footer-text p {
    color: var(--lab-gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--lab-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--lab-purple-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: var(--lab-gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lab-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.social-link:hover {
    background: var(--lab-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glow-purple);
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .avatar-container {
        width: 200px;
        height: 200px;
    }
}

/* 輔助類別 */
.highlight {
    color: var(--lab-purple-light);
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* 載入動畫 */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--lab-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--lab-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lab-purple-light);
}/* about.html 專用樣式 */

/* 子頁面標頭 */
.subpage-header {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(16, 185, 129, 0.1),
        rgba(245, 158, 11, 0.1)
    );
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.page-title .highlight {
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--lab-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lab-gray);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--lab-purple);
}

/* 子頁面內容 */
.subpage-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* 品牌故事 */
.about-story {
    margin-bottom: 4rem;
}

.about-story h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-story h2 i {
    color: var(--lab-purple);
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--lab-light);
}

.about-story .highlight {
    color: var(--lab-purple-light);
    font-weight: 600;
}

.quote {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--lab-purple);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.quote i {
    color: var(--lab-purple);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.quote p {
    font-style: italic;
    font-size: 1.25rem;
    margin: 0.5rem 0;
    color: var(--lab-light);
}

.quote cite {
    color: var(--lab-gray);
    font-size: 0.9rem;
}

/* 團隊介紹 */
.team-section {
    margin-bottom: 4rem;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-section h2 i {
    color: var(--lab-purple);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.team-card:hover {
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.team-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--lab-purple);
    background: rgba(139, 92, 246, 0.1);
}

.team-info {
    flex: 1;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.team-role {
    color: var(--lab-purple-light);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-desc {
    color: var(--lab-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* 實驗哲學 */
.philosophy-section {
    margin-bottom: 4rem;
}

.philosophy-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.philosophy-section h2 i {
    color: var(--lab-purple);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--lab-purple);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.philosophy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--lab-light);
}

.philosophy-card p {
    color: var(--lab-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 實驗領域 */
.domains-section {
    margin-bottom: 4rem;
}

.domains-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.domains-section h2 i {
    color: var(--lab-purple);
}

.domains-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.domain-item {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.domain-item:hover {
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.domain-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-item h3 i {
    color: var(--lab-purple);
}

.domain-item p {
    color: var(--lab-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.domain-item ul {
    list-style: none;
    padding-left: 0;
}

.domain-item li {
    color: var(--lab-purple-light);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.domain-item li:last-child {
    border-bottom: none;
}

/* 行動呼籲 */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--lab-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
    }
    
    .team-avatar {
        margin: 0 auto;
    }
    
    .philosophy-grid,
    .domains-list {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .about-story h2,
    .team-section h2,
    .philosophy-section h2,
    .domains-section h2 {
        font-size: 1.75rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
}/* projects.html 專用樣式 */

/* 專案篩選器 */
.projects-filter {
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.filter-container {
    max-width: 1000px;
    margin: 0 auto;
}

.filter-container h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-container h3 i {
    color: var(--lab-purple);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: var(--lab-purple);
    color: white;
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

/* 專案網格 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

.project-badge[data-status="進行中"] {
    background: rgba(245, 158, 11, 0.2);
    color: var(--lab-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-badge[data-status="已完成"] {
    background: rgba(16, 185, 129, 0.2);
    color: var(--lab-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--lab-light);
}

.project-description {
    color: var(--lab-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.project-features {
    margin-bottom: 1.5rem;
}

.project-features h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features h4 i {
    color: var(--lab-orange);
}

.project-features ul {
    list-style: none;
    padding-left: 0;
}

.project-features li {
    color: var(--lab-gray);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.project-features li:last-child {
    border-bottom: none;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lab-purple-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--lab-purple);
    transform: translateY(-2px);
}

/* 專案統計 */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lab-purple);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--lab-light);
}

.stat-content p {
    color: var(--lab-gray);
    font-size: 0.9rem;
}

/* 專案流程 */
.project-process {
    margin-bottom: 4rem;
}

.project-process h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-process h2 i {
    color: var(--lab-purple);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--lab-purple), 
        var(--lab-green), 
        var(--lab-orange)
    );
    opacity: 0.3;
    z-index: 1;
}

.process-step {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--lab-purple), var(--lab-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 1rem;
    border: 3px solid var(--lab-dark);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--lab-light);
}

.process-step p {
    color: var(--lab-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 合作邀請 */
.collaboration-section {
    padding: 4rem 0;
}

.collaboration-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.collaboration-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.collaboration-content h2 i {
    color: var(--lab-purple);
}

.collaboration-content p {
    font-size: 1.1rem;
    color: var(--lab-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.collaboration-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.area-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.area-card h3 i {
    color: var(--lab-purple);
}

.area-card p {
    color: var(--lab-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.collaboration-cta {
    margin-top: 2rem;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .collaboration-areas {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .projects-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
}/* contact.html 專用樣式 */

/* 聯絡卡片 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.contact-card:hover {
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.contact-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--lab-purple);
    background: rgba(139, 92, 246, 0.1);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
}

.contact-role {
    color: var(--lab-purple-light);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-desc {
    color: var(--lab-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.25rem;
    color: var(--lab-purple);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--lab-light);
}

.method-info a {
    color: var(--lab-purple-light);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: var(--lab-purple);
}

.method-info p {
    color: var(--lab-gray);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* 合作領域 */
.collaboration-areas {
    margin-bottom: 4rem;
}

.collaboration-areas h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.collaboration-areas h2 i {
    color: var(--lab-purple);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.area-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--lab-purple);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.area-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.area-card ul {
    list-style: none;
    padding-left: 0;
}

.area-card li {
    color: var(--lab-gray);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.area-card li:last-child {
    border-bottom: none;
}

/* 聯絡表單 */
.contact-form-section {
    margin-bottom: 4rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-section h2 i {
    color: var(--lab-purple);
}

.form-intro {
    color: var(--lab-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--lab-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--lab-purple);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--lab-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--lab-purple);
    background: rgba(139, 92, 246, 0.2);
}

.form-hint {
    color: var(--lab-gray);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--lab-purple);
}

.form-note p {
    color: var(--lab-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-note p:last-child {
    margin-bottom: 0;
}

.form-note i {
    color: var(--lab-purple);
    margin-top: 0.1rem;
}

/* 常見問題 */
.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lab-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-section h2 i {
    color: var(--lab-purple);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--lab-light);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-question i {
    color: var(--lab-purple);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: var(--lab-gray);
    line-height: 1.6;
    margin: 0;
    padding: 1rem 0;
}

.faq-answer a {
    color: var(--lab-purple-light);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    color: var(--lab-purple);
    text-decoration: underline;
}

/* 行動呼籲 */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--lab-light);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--lab-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 錯誤訊息樣式 */
.field-error {
    color: var(--lab-orange);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 成功訊息樣式 */
.form-success {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-avatar {
        margin: 0 auto;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-avatar {
        width: 80px;
        height: 80px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}/* 我們的樣子 - 頭像樣式 */
.our-avatars {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.avatar-item {
    position: relative;
}

.avatar-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--lab-purple);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.2));
    position: relative;
    transition: all 0.3s ease;
}

.avatar-frame:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.7),
        0 0 60px rgba(139, 92, 246, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: var(--lab-green);
}

.avatar-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.avatar-frame:hover .avatar-real {
    transform: scale(1.1);
}

.avatar-label {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--lab-light);
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(15, 23, 42, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--lab-purple);
    margin: 0 auto;
    width: fit-content;
}

.avatar-connector {
    color: var(--lab-purple);
    font-size: 2rem;
    animation: heartbeat 1.5s infinite;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.avatar-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--lab-gray);
    font-style: italic;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.avatar-note p {
    margin: 0;
    font-size: 0.95rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .avatar-pair {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .avatar-connector {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .avatar-frame {
        width: 120px;
        height: 120px;
    }
}

/* 海報展示樣式 */
.poster-showcase {
    margin: 3rem 0;
    text-align: center;
}

.poster-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.poster-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--lab-purple);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(15, 23, 42, 0.5);
    transition: all 0.4s ease;
}

.poster-frame:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.7),
        0 0 80px rgba(139, 92, 246, 0.4),
        0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--lab-green);
}

.poster-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.poster-frame:hover .poster-img {
    transform: scale(1.02);
}

.poster-caption {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 15px;
    border: 1px solid var(--lab-purple);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.poster-caption h3 {
    color: var(--lab-green);
    margin-bottom: 0.5rem;
}

.poster-caption p {
    color: var(--lab-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 溫暖的裝飾元素 */
.warm-decoration {
    position: relative;
    margin: 2rem 0;
}

.warm-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--lab-purple), 
        var(--lab-green), 
        var(--lab-purple), 
        transparent);
    opacity: 0.5;
}

.warm-icon {
    position: relative;
    background: var(--lab-dark);
    padding: 0 1rem;
    display: inline-block;
    z-index: 1;
}

.warm-icon i {
    color: var(--lab-green);
    font-size: 1.5rem;
    animation: warm-pulse 2s infinite;
}

@keyframes warm-pulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}/* 生活哲學樣式 */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.philosophy-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: var(--lab-green);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lab-purple), var(--lab-green));
    opacity: 0.7;
}

.philosophy-icon {
    font-size: 2.5rem;
    color: var(--lab-purple);
    margin-bottom: 1rem;
    text-align: center;
}

.philosophy-card h3 {
    color: var(--lab-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.philosophy-quote {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--lab-purple);
    position: relative;
}

.philosophy-quote i:first-child {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--lab-purple);
    opacity: 0.5;
    font-size: 1.2rem;
}

.philosophy-quote i:last-child {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--lab-purple);
    opacity: 0.5;
    font-size: 1.2rem;
}

.philosophy-quote p {
    color: var(--lab-light);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0 1rem;
}

.philosophy-content {
    color: var(--lab-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.philosophy-content p {
    margin: 0;
}

.philosophy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.philosophy-tags span {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.philosophy-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    color: var(--lab-gray);
}

.philosophy-note i {
    color: var(--lab-green);
    margin-right: 0.5rem;
}

.philosophy-note p {
    margin: 0;
    font-size: 0.95rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-card {
        padding: 1.5rem;
    }
    
    .philosophy-quote {
        padding: 1rem;
    }
    
    .philosophy-quote p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* 導航欄更新 */
.nav-menu li a[href="#philosophy"] {
    color: var(--lab-purple);
}

.nav-menu li a[href="#philosophy"]:hover {
    color: var(--lab-green);
}

/* ===========================================
   日本技術考察之旅頁面專用樣式
   =========================================== */

/* 內容區塊樣式 */
.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.lead-text {
    font-size: 1.3rem;
    color: var(--lab-green-light);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h3 {
    color: var(--lab-purple-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-block h3:before {
    content: "▸";
    color: var(--lab-green);
    font-size: 1.2rem;
}

.content-block p {
    color: var(--lab-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-block em {
    color: var(--lab-orange-light);
    font-style: italic;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* 功能列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--lab-purple);
    border-radius: 0 8px 8px 0;
    color: var(--lab-light);
    line-height: 1.6;
}

.feature-list li strong {
    color: var(--lab-green-light);
}

/* 洞察框 */
.insight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.insight-icon {
    background: var(--lab-purple);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.insight-content h4 {
    color: var(--lab-green-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.insight-content p {
    color: var(--lab-light);
    margin: 0;
    line-height: 1.6;
}

/* 案例研究 */
.case-study {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.case-study h4 {
    color: var(--lab-purple-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.case-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--lab-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--lab-gray);
}

/* 關鍵收穫 */
.key-takeaways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.takeaway {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.takeaway:hover {
    transform: translateY(-5px);
    border-color: var(--lab-purple);
    box-shadow: var(--glow-purple);
}

.takeaway-icon {
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.takeaway-content h3 {
    color: var(--lab-green-light);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.takeaway-content p {
    color: var(--lab-gray);
    margin: 0;
    line-height: 1.6;
}

/* 結語 */
.closing-thought {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.closing-thought p {
    color: var(--lab-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.closing-thought p:last-child {
    margin-bottom: 0;
}

.inline-link {
    color: var(--lab-green);
    text-decoration: none;
    border-bottom: 1px dotted var(--lab-green);
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--lab-green-light);
    border-bottom: 1px solid var(--lab-green-light);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .content-intro {
        padding: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .content-block h3 {
        font-size: 1.2rem;
    }
    
    .key-takeaways {
        grid-template-columns: 1fr;
    }
    
    .case-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .insight-box,
    .takeaway {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .insight-icon,
    .takeaway-icon {
        margin-bottom: 1rem;
    }
}/* 核心座右銘樣式 */
.core-mottos-container {
    max-width: 1200px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.core-motto-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    display: flex;
    gap: 2rem;
}

.core-motto-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(139, 92, 246, 0.3);
}

.motto-1 {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-1:hover {
    border-color: var(--lab-purple);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-2 {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-2:hover {
    border-color: var(--lab-green);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-3 {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-3:hover {
    border-color: var(--lab-orange);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.motto-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.motto-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.motto-1 .motto-icon {
    color: var(--lab-purple);
}

.motto-2 .motto-icon {
    color: var(--lab-green);
}

.motto-3 .motto-icon {
    color: var(--lab-orange);
}

.motto-content h3 {
    color: var(--lab-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.motto-text {
    color: var(--lab-gray);
}

.motto-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--lab-light);
    font-style: italic;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid;
    margin-bottom: 2rem;
    position: relative;
}

.motto-1 .motto-quote {
    border-left-color: var(--lab-purple);
}

.motto-2 .motto-quote {
    border-left-color: var(--lab-green);
}

.motto-3 .motto-quote {
    border-left-color: var(--lab-orange);
}

.motto-quote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.motto-explanation {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.motto-explanation h4 {
    color: var(--lab-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.motto-explanation p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.motto-explanation ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.motto-explanation li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.motto-explanation strong {
    color: var(--lab-light);
}

.motto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.motto-tags span {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--lab-gray);
    transition: all 0.3s ease;
}

.motto-1 .motto-tags span:hover {
    background: var(--lab-purple);
    color: white;
}

.motto-2 .motto-tags span:hover {
    background: var(--lab-green);
    color: white;
}

.motto-3 .motto-tags span:hover {
    background: var(--lab-orange);
    color: white;
}

.mottos-summary {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(16, 185, 129, 0.1), 
        rgba(245, 158, 11, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mottos-summary h3 {
    color: var(--lab-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mottos-summary p {
    color: var(--lab-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mottos-summary ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.mottos-summary li {
    color: var(--lab-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

.mottos-summary li strong {
    color: var(--lab-light);
    font-weight: 600;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .core-motto-card {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .motto-number {
        font-size: 3rem;
        top: 1rem;
        right: 1.5rem;
    }
    
    .motto-icon {
        font-size: 2.5rem;
    }
    
    .motto-content h3 {
        font-size: 1.5rem;
    }
    
    .motto-quote {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .mottos-summary {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .core-motto-card {
        padding: 1.5rem;
    }
    
    .motto-quote {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .motto-explanation {
        padding: 1rem;
    }
    
    .mottos-summary {
        padding: 1.5rem;
    }
}
/* 核心座右銘樣式 */
.core-mottos-container {
    max-width: 1200px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.core-motto-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    display: flex;
    gap: 2rem;
}

.core-motto-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(139, 92, 246, 0.3);
}

.motto-1 {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-1:hover {
    border-color: var(--lab-purple);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-2 {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-2:hover {
    border-color: var(--lab-green);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-3 {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1), 
        rgba(15, 23, 42, 0.9));
}

.motto-3:hover {
    border-color: var(--lab-orange);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.2), 
        rgba(15, 23, 42, 0.95));
}

.motto-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.motto-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.motto-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.motto-1 .motto-icon {
    color: var(--lab-purple);
}

.motto-2 .motto-icon {
    color: var(--lab-green);
}

.motto-3 .motto-icon {
    color: var(--lab-orange);
}

.motto-content h3 {
    color: var(--lab-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.motto-text {
    color: var(--lab-gray);
}

.motto-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--lab-light);
    font-style: italic;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid;
    margin-bottom: 2rem;
    position: relative;
}

.motto-1 .motto-quote {
    border-left-color: var(--lab-purple);
}

.motto-2 .motto-quote {
    border-left-color: var(--lab-green);
}

.motto-3 .motto-quote {
    border-left-color: var(--lab-orange);
}

.motto-quote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.motto-explanation {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.motto-explanation h4 {
    color: var(--lab-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.motto-explanation p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.motto-explanation ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.motto-explanation li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.motto-explanation strong {
    color: var(--lab-light);
}

.motto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.motto-tags span {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--lab-gray);
    transition: all 0.3s ease;
}

.motto-1 .motto-tags span:hover {
    background: var(--lab-purple);
    color: white;
}

.motto-2 .motto-tags span:hover {
    background: var(--lab-green);
    color: white;
}

.motto-3 .motto-tags span:hover {
    background: var(--lab-orange);
    color: white;
}

.mottos-summary {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(16, 185, 129, 0.1), 
        rgba(245, 158, 11, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mottos-summary h3 {
    color: var(--lab-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mottos-summary p {
    color: var(--lab-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mottos-summary ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.mottos-summary li {
    color: var(--lab-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

.mottos-summary li strong {
    color: var(--lab-light);
    font-weight: 600;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .core-motto-card {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .motto-number {
        font-size: 3rem;
        top: 1rem;
        right: 1.5rem;
    }
    
    .motto-icon {
        font-size: 2.5rem;
    }
    
    .motto-content h3 {
        font-size: 1.5rem;
    }
    
    .motto-quote {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .mottos-summary {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .core-motto-card {
        padding: 1.5rem;
    }
    
    .motto-quote {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .motto-explanation {
        padding: 1rem;
    }
    
    .mottos-summary {
        padding: 1.5rem;
    }
}