/* ============================================= */
/* == Insights Landing Page Styles (Final) == */
/* ============================================= */

/* General Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Hero Section */
.hero-section {
    padding-top: 12rem;
    padding-bottom: 10rem;
    background: linear-gradient(to bottom, rgba(234, 193, 0, 0.8), rgba(255, 240, 199, 0.9)), url('https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=2070') no-repeat center center;
    background-size: cover;
    color: #492b09;
}

.hero-section .display-4 {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-section .btn-warning {
    border: none;
    transition: all 0.3s ease;
}

.hero-section .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Why Section */
.why-section {
    background-color: #ffffff;
}
.responsive-icon {
    font-size: 8rem;
}

/* Features (Highlights) Section */
.features-section {
    background-color: #FFFBEB;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2rem;
    color: #fff;
    background-image: linear-gradient(135deg, #f7c53b, #eac000);
    margin-bottom: 1rem;
}

/* Mockup/Example Section */
.mockup-section {
    background-color: #0d253f;
    color: #fff;
    padding: 5rem 0;
}

.mockup-section h2, .mockup-section p {
    color: #f0f0f0;
}

.insight-card-mockup {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-left: 5px solid #17a2b8;
    transform: rotate(-1.5deg);
    transition: transform 0.3s ease;
}

.insight-card-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* 【最終修正】提高指定性並使用 !important 強制覆蓋 */
.insight-card-mockup .mockup-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #212529 !important; 
}

/* 【最終修正】提高指定性並使用 !important 強制覆蓋 */
.insight-card-mockup .mockup-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #495057 !important;
}

.mockup-numbers strong {
    color: #dc3545;
}

.mockup-author strong {
    color: #007bff;
}

.mockup-datetime {
    color: #6c757d;
}

/* Final CTA Section */
#final-cta {
    background: #fff;
}

#final-cta .btn {
    padding: 0.75rem 1.5rem;
}

/* ============================================= */
/* == Responsive Adjustments for Mobile == */
/* ============================================= */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .hero-section h1.display-4 {
        font-size: 2.5rem; /* Make title smaller on mobile */
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    /* Why Section Icon */
    .responsive-icon {
        font-size: 6rem; /* Make icon smaller */
        margin-top: 2rem;
    }

    /* Mockup Card */
    .insight-card-mockup {
        transform: rotate(0deg); /* Straighten the card on mobile */
    }
    
    /* CTA Button */
    .cta-btn {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}