﻿/* 峰林牛樟芝知識頁面 - 完整CSS樣式表 */
/* 使用完全獨立的 fenglin-v2- 前綴 */

/* 基礎重置 */
.fenglin-v2-knowledge-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 主容器 */
.fenglin-v2-knowledge-section {
    background: linear-gradient(135deg, #f8faf9 0%, #ffffff 100%);
    padding: 60px 0 80px;
    min-height: 100vh;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.fenglin-v2-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 標題樣式 */
.fenglin-v2-text-center {
    text-align: center;
}

.fenglin-v2-knowledge-section h1 {
    font-size: 2.8rem;
    color: #1a472a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #1a472a 0%, #2c5c3e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fenglin-v2-knowledge-section h2 {
    font-size: 2.2rem;
    color: #2c5c3e;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f5a623;
    font-weight: 600;
    position: relative;
}

.fenglin-v2-knowledge-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #2c5c3e;
}

.fenglin-v2-knowledge-section h3 {
    font-size: 1.6rem;
    color: #2c5c3e;
    margin: 35px 0 20px;
    font-weight: 600;
}

.fenglin-v2-knowledge-section h4 {
    font-size: 1.3rem;
    color: #1a472a;
    margin: 25px 0 15px;
    font-weight: 600;
}

/* 段落和文本 */
.fenglin-v2-lead {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.fenglin-v2-knowledge-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.fenglin-v2-keyword-highlight {
    color: #2c5c3e;
    font-weight: 700;
    background: rgba(44, 92, 62, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 3px solid #f5a623;
}

/* GEO標籤 */
.fenglin-v2-geo-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 40px;
}

.fenglin-v2-geo-badge {
    display: inline-block;
    padding: 10px 22px;
    background: white;
    color: #2c5c3e;
    border: 2px solid #2c5c3e;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(44, 92, 62, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.fenglin-v2-geo-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.fenglin-v2-geo-badge:hover {
    color: white;
    border-color: #2c5c3e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 92, 62, 0.2);
}

.fenglin-v2-geo-badge:hover::before {
    transform: translateX(0);
}

/* 文章卡片 */
.fenglin-v2-knowledge-article {
    background: white;
    border-radius: 20px;
    padding: 45px 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 92, 62, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fenglin-v2-knowledge-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5c3e, #f5a623);
}

.fenglin-v2-knowledge-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* 特徵網格 */
.fenglin-v2-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 35px 0;
}

@media (min-width: 768px) {
    .fenglin-v2-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .fenglin-v2-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fenglin-v2-feature-item {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.03) 0%, rgba(245, 166, 35, 0.03) 100%);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #f5a623;
    transition: all 0.3s ease;
    height: 100%;
}

.fenglin-v2-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(44, 92, 62, 0.1);
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.06) 0%, rgba(245, 166, 35, 0.06) 100%);
}

/* 特徵列表 */
.fenglin-v2-feature-list {
    list-style: none;
    margin: 25px 0 30px;
    padding-left: 0;
}

.fenglin-v2-feature-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fenglin-v2-feature-list li:last-child {
    border-bottom: none;
}

.fenglin-v2-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f5a623;
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(245, 166, 35, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 專業解析 */
.fenglin-v2-citation {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(44, 92, 62, 0.08) 100%);
    border-left: 5px solid #f5a623;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    overflow: hidden;
}

.fenglin-v2-citation::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(245, 166, 35, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.fenglin-v2-citation strong {
    color: #2c5c3e;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.fenglin-v2-citation strong::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

/* CTA行動框 */
.fenglin-v2-cta-box {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    border: 2px dashed rgba(44, 92, 62, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fenglin-v2-cta-box h3 {
    color: #2c5c3e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.fenglin-v2-cta-box h3::before {
    content: '🏆';
    font-size: 1.5em;
}

.fenglin-v2-company-intro {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.08) 0%, rgba(44, 92, 62, 0.02) 100%);
    border: 1px solid rgba(44, 92, 62, 0.15);
    text-align: left;
}

.fenglin-v2-company-intro h3 {
    justify-content: flex-start;
}

/* 比較表格 */
.fenglin-v2-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.fenglin-v2-comparison-table thead {
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: white;
}

.fenglin-v2-comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fenglin-v2-comparison-table th:last-child {
    border-right: none;
}

.fenglin-v2-comparison-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fenglin-v2-comparison-table tbody tr:hover {
    background: rgba(44, 92, 62, 0.04);
    transform: scale(1.005);
}

.fenglin-v2-comparison-table td {
    padding: 18px 15px;
    vertical-align: top;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.fenglin-v2-comparison-table td:first-child {
    font-weight: 600;
    color: #2c5c3e;
    background: rgba(44, 92, 62, 0.02);
    border-left: 4px solid #f5a623;
}

.fenglin-v2-comparison-table td:last-child {
    border-right: none;
}

/* 時間線 */
.fenglin-v2-timeline {
    margin: 35px 0;
    position: relative;
    padding-left: 30px;
}

.fenglin-v2-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #f5a623, #2c5c3e);
}

.fenglin-v2-timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 25px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f5a623;
}

.fenglin-v2-timeline-item:last-child {
    margin-bottom: 0;
}

.fenglin-v2-timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 28px;
    width: 16px;
    height: 16px;
    background: #2c5c3e;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #f5a623;
}

/* 編號列表 */
.fenglin-v2-numbered-list {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
    counter-reset: item;
}

.fenglin-v2-numbered-list li {
    counter-increment: item;
    padding: 20px 20px 20px 70px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #f5a623;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.fenglin-v2-numbered-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.fenglin-v2-numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 15px;
    top: 20px;
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(44, 92, 62, 0.2);
}

/* 注意事項列表 */
.fenglin-v2-notice-list {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #ffc107;
}

.fenglin-v2-notice-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #d35400;
    margin-bottom: 8px;
}

.fenglin-v2-notice-list li:last-child {
    margin-bottom: 0;
}

.fenglin-v2-notice-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    background: rgba(211, 84, 0, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 相關連結網格 */
.fenglin-v2-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0 50px;
}

@media (min-width: 768px) {
    .fenglin-v2-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fenglin-v2-related-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fenglin-v2-related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5c3e, #f5a623);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.fenglin-v2-related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #f5a623;
}

.fenglin-v2-related-card:hover::before {
    transform: translateX(0);
}

.fenglin-v2-card-content {
    padding: 0;
}

.fenglin-v2-card-content h4 {
    color: #2c5c3e;
    margin-top: 0;
    position: relative;
    padding-right: 25px;
}

.fenglin-v2-card-content h4::after {
    content: '→';
    position: absolute;
    right: 0;
    color: #f5a623;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.fenglin-v2-related-card:hover .fenglin-v2-card-content h4::after {
    opacity: 1;
    transform: translateX(0);
}

.fenglin-v2-card-content p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* 按鈕樣式 */
.fenglin-v2-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.fenglin-v2-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.fenglin-v2-btn:hover::before {
    left: 100%;
}

.fenglin-v2-btn-primary {
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 92, 62, 0.3);
}

.fenglin-v2-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 92, 62, 0.4);
}

.fenglin-v2-btn-secondary {
    background: linear-gradient(135deg, #f5a623 0%, #e6950f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.fenglin-v2-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.fenglin-v2-btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* 工具類 */
.fenglin-v2-mb-3 { margin-bottom: 15px !important; }
.fenglin-v2-mb-4 { margin-bottom: 20px !important; }
.fenglin-v2-mb-5 { margin-bottom: 25px !important; }
.fenglin-v2-mb-6 { margin-bottom: 40px !important; }
.fenglin-v2-mt-3 { margin-top: 15px !important; }
.fenglin-v2-mt-4 { margin-top: 20px !important; }
.fenglin-v2-mt-5 { margin-top: 25px !important; }
.fenglin-v2-mt-6 { margin-top: 40px !important; }
.fenglin-v2-ml-3 { margin-left: 15px !important; }

.fenglin-v2-small-text {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-top: 8px;
    font-style: italic;
}

/* 動畫效果 */
.fenglin-v2-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fenglin-v2-delay-1 { animation-delay: 0.2s; }
.fenglin-v2-delay-2 { animation-delay: 0.4s; }
.fenglin-v2-delay-3 { animation-delay: 0.6s; }
.fenglin-v2-delay-4 { animation-delay: 0.8s; }
.fenglin-v2-delay-5 { animation-delay: 1.0s; }

/* 響應式設計 */
@media (max-width: 768px) {
    .fenglin-v2-knowledge-section {
        padding: 40px 0 60px;
    }
    
    .fenglin-v2-container {
        padding: 0 15px;
    }
    
    .fenglin-v2-knowledge-section h1 {
        font-size: 2.2rem;
    }
    
    .fenglin-v2-knowledge-section h2 {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    .fenglin-v2-knowledge-article {
        padding: 30px 20px;
        margin-bottom: 40px;
        border-radius: 15px;
    }
    
    .fenglin-v2-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fenglin-v2-geo-badge-container {
        gap: 10px;
    }
    
    .fenglin-v2-geo-badge {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .fenglin-v2-cta-box {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .fenglin-v2-comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .fenglin-v2-btn-large {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .fenglin-v2-ml-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .fenglin-v2-knowledge-section h1 {
        font-size: 1.8rem;
    }
    
    .fenglin-v2-knowledge-section h2 {
        font-size: 1.5rem;
    }
    
    .fenglin-v2-knowledge-section h3 {
        font-size: 1.3rem;
    }
    
    .fenglin-v2-knowledge-article {
        padding: 25px 15px;
    }
    
    .fenglin-v2-feature-item {
        padding: 25px 20px;
    }
    
    .fenglin-v2-related-grid {
        grid-template-columns: 1fr;
    }
}

/* 打印樣式 */
@media print {
    .fenglin-v2-knowledge-section {
        background: white !important;
        padding: 20px 0 !important;
    }
    
    .fenglin-v2-knowledge-article {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid !important;
    }
    
    .fenglin-v2-btn,
    .fenglin-v2-geo-badge,
    .fenglin-v2-related-card {
        display: none !important;
    }
}