/* Learn Section Integration - Homepage Featured Blog */

.learn-featured {
    background: linear-gradient(135deg, #f8fdf9 0%, #ffffff 100%);
    padding: 80px 0;
}

.learn-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.learn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.learn-cta:hover {
    gap: 12px;
}

.learn-cta i {
    transition: transform 0.3s ease;
}

.learn-cta:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .learn-featured {
        padding: 50px 0;
    }
    
    .learn-card {
        padding: 25px;
    }
    
    .learn-card h3 {
        font-size: 1.25rem !important;
    }
}

/* CTA Components for Product/Cart/Checkout Pages */

/* Decision Support Card - Product Pages */
.decision-support-card {
    background: linear-gradient(135deg, #f8fdf9 0%, #ffffff 100%);
    border: 2px solid #e8f5e9;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.decision-support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.decision-support-card > p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.support-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.support-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e8f5e9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-link:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
    transform: translateY(-2px);
}

.support-link .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.support-link strong {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: block;
}

.support-link p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.reassurance {
    text-align: center;
    color: #999;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
}

/* While You Wait - Cart Page */
.while-you-wait {
    background: #f8fdf9;
    border: 2px solid #e8f5e9;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.while-you-wait h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.while-you-wait > p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.wait-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e8f5e9;
}

.content-card .badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2d5738;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.content-card iframe {
    width: 100%;
    height: 152px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.content-card a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.content-card a:hover {
    text-decoration: underline;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-green);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: #2d5738;
    text-decoration: none !important;
}

/* Inline CTAs - Checkout Flow */
.inline-cta {
    background: #f8fdf9;
    border-left: 4px solid var(--primary-green);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.inline-cta a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inline-cta a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .decision-support-card {
        padding: 20px;
        margin: 30px 0;
    }
    
    .support-links {
        grid-template-columns: 1fr;
    }
    
    .while-you-wait {
        padding: 20px;
    }
}

/* Shop CTA in Blog Posts */
.shop-cta-banner {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5738 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
    text-align: center;
}

.shop-cta-banner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.shop-cta-banner p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.shop-cta-banner .btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: var(--primary-green);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-cta-banner .btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
