﻿/* =============================================
 * Home Page Styles
 * 首頁樣式 - 公開頁面 + 儀表板
 * ============================================= */

/* === CSS Grid 變數系統（8px 基準間距） === */
:root {
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
}

/* === 全寬區塊突破容器限制 === */
.hero-section,
.features-section,
.bottom-cta-section,
.platform-intro-section,
.milestone-section,
.three-steps-section,
.platform-modules-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* === 自訂 90% 寬度容器 === */
.container-90 {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* =============================================
 * 公開頁面 - Hero Section
 * ============================================= */
.hero-section {
    background: linear-gradient(135deg, #f1f8f4 0%, #e8f5e9 50%, #c8e6c9 100%);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-description {
    margin: 1.5rem 0 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 28px 36px;
    border-left: 4px solid #2e7d32;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-description p {
    font-size: 1.02rem;
    color: #4a5568;
    line-height: 1.85;
    margin-bottom: 0.8rem;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

@@media (max-width: 768px) {
    .hero-description {
        padding: 18px 22px;
        margin: 1.2rem auto 1.5rem;
    }
    .hero-description p {
        font-size: 0.95rem;
        line-height: 1.75;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-buttons .btn {
    padding: 12px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-cta-buttons .btn-success {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border: none;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.hero-cta-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.hero-cta-buttons .btn-outline-secondary {
    border-width: 2px;
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* =============================================
 * 公開頁面 - 核心功能展示
 * ============================================= */
.features-section {
    background: #ffffff;
    padding: 80px 0;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.features-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 3rem;
    text-align: center;
}

.feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #c8e6c9;
}

.feature-icon {
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

.feature-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =============================================
 * 公開頁面 - 底部 CTA
 * ============================================= */
.bottom-cta-section {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    padding: 70px 0;
    text-align: center;
}

.bottom-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.bottom-cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.bottom-cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.bottom-cta-section .btn {
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: #ffffff;
    color: #2e7d32;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.bottom-cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #1b5e20;
}

/* =============================================
 * 公開頁面 - Platform Intro Section
 * ============================================= */
.platform-intro-section {
    background: #f1f8f4;
    padding: 80px 0;
    margin-top: 0;
}

.platform-intro-section .container {
    position: relative;
}

.platform-intro-section .platform-intro-title {
    color: #495057;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem; /* NOSONAR - specificity increased to avoid !important */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.platform-intro-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.platform-intro-content {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-intro-icon {
    color: #495057;
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.platform-intro-card:hover .platform-intro-icon {
    color: #495057;
    transform: scale(1.1);
}

.platform-intro-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.2;
}

.platform-intro-card .description-text {
    text-align: left;
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
    max-width: 100%;
}

.platform-intro-card .lead {
    font-weight: 600;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.platform-intro-card p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

.platform-intro-card p:last-child {
    margin-bottom: 0;
}

.steps-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px 0;
}

.steps-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.steps-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* =============================================
 * 公開頁面 - Milestone Section
 * ============================================= */
.milestone-section {
    background: #e8f5e9;
    padding: 80px 0;
    margin-top: 20px;
}

.milestone-section .container,
.milestone-inner {
    position: relative;
}

.milestone-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.milestone-section .milestone-title {
    color: #2e7d32;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem; /* NOSONAR - specificity increased to avoid !important */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.milestone-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 28px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.milestone-icon {
    color: #495057;
    font-size: 2.4rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.milestone-card:hover .milestone-icon {
    color: #495057;
    transform: scale(1.1);
}

.milestone-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    line-height: 1;
}

.milestone-unit {
    font-size: 1rem;
    color: #495057;
    font-weight: 600;
    margin-bottom: 12px;
}

.milestone-description {
    font-size: 0.98rem;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

/* =============================================
 * 儀表板 - 歡迎區塊
 * ============================================= */
.welcome-section {
    padding: 30px 0 10px 0;
}

.welcome-card {
    background: linear-gradient(135deg, #f1f8f4 0%, #e8f5e9 100%);
    border-radius: 15px;
    padding: 30px 35px;
    border: 1px solid #c8e6c9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.welcome-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.3rem;
}

.welcome-text p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0;
}

.welcome-text .welcome-last-login {
    font-size: 0.85rem;
    color: #6b7280;
}

.welcome-actions .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
}

/* =============================================
 * 儀表板 - 關鍵指標卡片
 * ============================================= */
.metrics-section {
    padding: 20px 0;
}

.metric-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.metric-icon.bg-success-soft {
    background: rgba(46, 125, 50, 0.12);
    color: #1b5e20;
}

.metric-icon.bg-primary-soft {
    background: rgba(0, 123, 255, 0.12);
    color: #0056b3;
}

.metric-icon.bg-warning-soft {
    background: rgba(255, 193, 7, 0.15);
    color: #bf360c;
}

.metric-icon.bg-info-soft {
    background: rgba(23, 162, 184, 0.12);
    color: #0e7490;
}

.metric-info {
    flex-grow: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.85rem;
    color: #495057;
    margin-top: 2px;
}

/* =============================================
 * 儀表板 - 圖表卡片
 * ============================================= */
.chart-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.chart-card .card-header {
    background-color: #f8f9fa;
    color: #212529;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 20px 25px;
    border-radius: 0;
}

.chart-card .card-header h5 {
    font-weight: 600;
    margin: 0;
}

.chart-card .card-body {
    padding: 25px;
}

/* 圖表容器樣式 */
.chart-container {
    position: relative;
    width: 100%;
    min-height: 250px;
    max-height: 400px;
    margin-bottom: var(--space-md);
}

.chart-container canvas {
    width: 100% !important; /* NOSONAR - required to override Chart.js inline styles */
    height: 100% !important; /* NOSONAR - required to override Chart.js inline styles */
}

/* 圖表載入狀態 */
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    flex-direction: column;
    color: #495057;
}

.chart-loading .spinner-border {
    margin-bottom: 15px;
}

/* 圖表無資料狀態 */
.chart-no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    flex-direction: column;
    color: #495057;
}

.chart-no-data i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* =============================================
 * Empty State Component
 * ============================================= */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    min-height: 150px;
}

.empty-state-icon {
    font-size: 2.5rem;
    color: #adb5bd;
    margin-bottom: 0.75rem;
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.empty-state-description {
    font-size: 0.875rem;
    color: #595959;
    max-width: 300px;
}

/* =============================================
 * Todo Section
 * ============================================= */
.todo-section .card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.todo-section .card-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: var(--space-md) var(--space-lg);
}

.todo-section .card-header h5 {
    font-weight: 600;
    color: #2d3748;
}

.todo-section .list-group-item {
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.todo-section .list-group-item:hover {
    background-color: #f8f9fa;
}

.todo-section .list-group-item .badge.bg-danger {
    font-size: 0.7rem;
}

/* =============================================
 * 響應式設計
 * ============================================= */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .platform-intro-section {
        padding: 60px 0;
    }

    .platform-intro-section .platform-intro-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .platform-intro-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }

    .platform-intro-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .platform-intro-subtitle {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .platform-intro-card .description-text {
        font-size: 0.95rem;
    }

    .platform-intro-card .lead {
        font-size: 1rem;
    }

    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 30px;
    }

    .container-90 {
        width: 95%;
    }

    .chart-container {
        min-height: 200px;
        max-height: 350px;
    }

    .chart-card .card-header {
        padding: 15px 20px;
    }

    .chart-card .card-body {
        padding: 20px;
    }

    .features-section {
        padding: 50px 0;
    }

    .bottom-cta-section {
        padding: 50px 0;
    }

    .bottom-cta-section h3 {
        font-size: 1.5rem;
    }

    .platform-intro-section {
        padding: 50px 0;
    }

    .platform-intro-title {
        font-size: 1.7rem;
    }

    .platform-intro-card {
        padding: 25px 20px;
    }

    .platform-intro-icon {
        font-size: 2rem;
    }

    .platform-intro-subtitle {
        font-size: 1.2rem;
    }

    .platform-intro-card .description-text {
        font-size: 0.9rem;
    }

    .platform-intro-card .lead {
        font-size: 0.95rem;
    }

    .milestone-section {
        padding: 60px 0;
        margin-top: 15px;
    }

    .milestone-section .milestone-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .milestone-card {
        padding: 30px 22px 24px;
        margin-bottom: 20px;
    }

    .milestone-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .milestone-number {
        font-size: 2.8rem;
    }

    .milestone-unit {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .milestone-description {
        font-size: 1rem;
    }

    .metric-card {
        padding: 15px;
    }

    .metric-value {
        font-size: 1.3rem;
    }

    .welcome-card {
        padding: 20px;
    }

    .welcome-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .milestone-section {
        padding: 50px 0;
        margin-top: 10px;
    }

    .milestone-title {
        font-size: 1.7rem;
    }

    .milestone-card {
        padding: 25px 15px;
    }

    .milestone-icon {
        font-size: 2rem;
    }

    .milestone-number {
        font-size: 2.5rem;
    }

    .milestone-description {
        font-size: 0.95rem;
    }
}

/* =============================================
 * 公開頁面 - 淨零三步驟
 * ============================================= */
.three-steps-section {
    background: #f8faf9;
    padding: 80px 0;
}

.three-steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.three-steps-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 0.5rem;
}

.three-steps-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
}

.three-step-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 28px 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.three-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #c8e6c9;
}

.step-number-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.three-step-icon {
    font-size: 2.4rem;
    color: #2e7d32;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.three-step-card:hover .three-step-icon {
    transform: scale(1.12);
}

.three-step-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.8rem;
}

.three-step-card p {
    font-size: 0.98rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.three-step-modules {
    border-top: 1px dashed #dee2e6;
    padding-top: 0.8rem;
    margin-top: auto;
}

.three-step-modules small {
    font-size: 0.85rem;
    line-height: 1.6;
    display: block;
}

/* =============================================
 * 公開頁面 - 平台模組概要 (Scope 1/2/3 + PCF)
 * ============================================= */
.platform-modules-section {
    background: #ffffff;
    padding: 80px 0;
}

.platform-modules-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.platform-modules-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 0.5rem;
}

.platform-modules-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
}

.module-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 22px;
    height: 100%;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 4px solid #2e7d32;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.module-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.module-card-header i {
    font-size: 2rem;
    color: #2e7d32;
    transition: transform 0.3s ease;
}

.module-card:hover .module-card-header i {
    transform: scale(1.12);
}

.module-tag {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.module-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.7rem;
}

.module-card p {
    font-size: 0.92rem;
    color: #495057;
    line-height: 1.65;
    margin-bottom: 0;
}

/* 各 Scope 主色微調 */
.module-card--scope1 { border-top-color: #d84315; }
.module-card--scope1 .module-card-header i,
.module-card--scope1 .module-tag { color: #d84315; }
.module-card--scope1 .module-tag { background: rgba(216, 67, 21, 0.1); }
.module-card--scope1 h5 { color: #d84315; }

.module-card--scope2 { border-top-color: #f9a825; }
.module-card--scope2 .module-card-header i,
.module-card--scope2 .module-tag { color: #f9a825; }
.module-card--scope2 .module-tag { background: rgba(249, 168, 37, 0.12); }
.module-card--scope2 h5 { color: #b78318; }

.module-card--scope3 { border-top-color: #0277bd; }
.module-card--scope3 .module-card-header i,
.module-card--scope3 .module-tag { color: #0277bd; }
.module-card--scope3 .module-tag { background: rgba(2, 119, 189, 0.1); }
.module-card--scope3 h5 { color: #0277bd; }

.module-card--pcf { border-top-color: #6a1b9a; }
.module-card--pcf .module-card-header i,
.module-card--pcf .module-tag { color: #6a1b9a; }
.module-card--pcf .module-tag { background: rgba(106, 27, 154, 0.1); }
.module-card--pcf h5 { color: #6a1b9a; }

@@media (max-width: 768px) {
    .three-steps-section,
    .platform-modules-section {
        padding: 50px 0;
    }

    .three-steps-title,
    .platform-modules-title {
        font-size: 1.7rem;
    }

    .three-step-card {
        padding: 30px 22px 24px;
    }

    .step-number-badge {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}
