﻿/* ==================== */
/* Glows.ai 頁面專用樣式 */
/* ==================== */

/* === 1. 基礎組件樣式 === */

/* 標題組件 */
.es-glows-title {
    text-align: center;
    margin-bottom: 3rem;
}

.es-glows-title h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

/* 標題底線樣式 */
.es-glows-title-hr {
    height: 5px !important;
    margin: auto !important;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%) !important;
    border: none;
}

.es-glows-title-hr-short {
    max-width: 250px !important;
}

.es-glows-title-hr-medium {
    max-width: 350px !important;
}

.es-glows-title-hr-long {
    max-width: 500px !important;
}

/* 段落描述組件 */
.es-glows-section-desc {
    margin-bottom: 2rem;
}

/* 文字強調樣式 */
.es-glows-section-desc strong,
.es-glows-case-list strong {
    color: var(--bs-primary);
    font-weight: 600;
}

/* === 2. 圖片樣式組件 === */

/* Section 1 介紹圖片 */
.es-glows-intro-img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

/* Section 2 問題圖片 */
.es-glows-issues-img {
    max-height: 450px;
    width: auto;
    object-fit: contain;
}

/* === 3. 優勢特點卡片樣式 === */

/* 優勢特點卡片 */
.es-glows-advantage-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0d6efd, #6610f2) border-box;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.es-glows-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(102, 16, 242, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.es-glows-advantage-card:hover::before {
    opacity: 1;
}

.es-glows-advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

.es-glows-advantage-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.es-glows-advantage-card:hover img {
    transform: scale(1.05);
}

/* 系統操作介面獨立卡片 */
.es-glows-interface-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(102, 16, 242, 0.15);
    height: 100%;
    border: 3px solid #6610f2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.es-glows-interface-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 16, 242, 0.1), rgba(13, 110, 253, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.es-glows-interface-card:hover::before {
    opacity: 1;
}

.es-glows-interface-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 16, 242, 0.25);
}

.es-glows-interface-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.es-glows-interface-card:hover img {
    transform: scale(1.03);
}

/* === 4. 案例分享卡片樣式 === */

/* 案例卡片容器 */
.es-glows-case-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0d6efd, #28a745) border-box;
}

.es-glows-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 案例卡片標題區 */
.es-glows-case-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-bottom: 2px solid #dee2e6;
}

.es-glows-case-header h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* 案例卡片內容區 */
.es-glows-case-body {
    padding: 1.5rem;
}

.es-glows-case-body h5.text-secondary {
    font-weight: 600;
    border-bottom: 2px solid #6c757d;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.es-glows-case-body h5.text-success {
    font-weight: 600;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* 案例清單樣式 */
.es-glows-case-list {
    list-style: none;
    padding-left: 0;
}

.es-glows-case-list li {
    padding: 0.5rem 0;
    border-left: 4px solid #28a745;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.02));
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.es-glows-case-list li:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    transform: translateX(5px);
}

/* === 5. 響應式設計 === */

@media (max-width: 768px) {
    .es-glows-title h2 {
        font-size: 1.75rem;
    }
    
    .es-glows-intro-img,
    .es-glows-issues-img {
        max-height: 300px;
    }
    
    .es-image-feature-card {
        margin-bottom: 2rem;
    }
    
    .es-cta-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .es-glows-title h2 {
        font-size: 1.5rem;
    }
    
    .es-glows-intro-img,
    .es-glows-issues-img {
        max-height: 250px;
    }
    
    .es-glows-case-header,
    .es-image-feature-header {
        padding: 1rem;
    }
    
    .es-glows-case-body,
    .es-image-feature-body {
        padding: 1rem;
    }
}
