/* Section Intro & Value Props */
.section-intro {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-intro .lead {
    font-size: 1.1rem;
    color: #e5e7eb;
    max-width: 800px;
    margin: 1rem auto 2rem;
    line-height: 1.6;
}

.value-props {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.prop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(100, 255, 218, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #64ffda;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.prop i {
    font-size: 1.1rem;
}

/* AI Suggestion Component */
.ai-suggestion-demo {
    background: #0f2133;
    border: 1px solid #1e3a5f;
    border-radius: 12px;
    margin: 3rem 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Header */
.suggestion-header {
    background: #1a3a5f;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #1e3a5f;
}

.suggestion-header i {
    color: #64ffda;
    font-size: 1.5rem;
}

.suggestion-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    flex-grow: 1;
}

.delivery-methods {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 58, 95, 0.3);
    padding: 0.3rem;
    border-radius: 30px;
}

.method {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8892b0;
    transition: all 0.3s ease;
}

.method i {
    font-size: 0.9rem;
}

.method.active {
    background: #1e40af;
    color: white;
}

/* Content */
.suggestion-content {
    padding: 1.5rem;
}

.suggestion-alert {
    background: rgba(30, 64, 175, 0.2);
    color: #60a5fa;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.suggestion-alert i {
    color: #60a5fa;
}

.suggestion-alert .time {
    margin-left: auto;
    color: #8892b0;
    font-size: 0.8rem;
}

.suggestion-message {
    background: #0f2844;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #3b82f6;
}

.suggestion-message p {
    margin: 0;
    line-height: 1.6;
    color: #e5e7eb;
}

/* Details Grid - Responsive Layout */
.suggestion-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Default layout for desktop */
.detail-section, .pricing, .insights {
    flex: 1;
    min-width: 300px;
}

/* Stack pricing and insights above service offer on mobile */
@media (max-width: 992px) {
    .suggestion-details {
        flex-direction: column;
    }
    
    .detail-section {
        order: 3; /* Service offer goes last */
    }
    
    .pricing, .insights {
        order: 1; /* Pricing and insights go first */
        min-width: 100%;
    }
    
    .pricing {
        margin-bottom: 0.5rem;
    }
}

.detail-section, .pricing, .insights {
    background: #0a1625;
    padding: 1.25rem;
    border-radius: 8px;
    height: 100%;
    box-sizing: border-box;
}

/* Typography */
detail-section h4, .pricing h4, .insights h4 {
    color: #64ffda;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

detail-section ul {
    margin: 0;
    padding-left: 1.2rem;
}

detail-section li {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
    line-height: 1.5;
}

/* Upsell Styling */
.upsell {
    color: #93c5fd !important;
    background: rgba(147, 197, 253, 0.1);
    margin: 0.8rem -0.8rem -0.5rem -0.8rem;
    padding: 0.8rem;
    border-radius: 0 0 6px 6px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.upsell i {
    margin-top: 0.2rem;
}

.upsell-badge {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Pricing Section */
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1e3a5f;
}

.price-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-row.total {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #1e3a5f;
}

/* Insights Section */
.insights {
    min-width: 350px;
    background: #0a1625;
    padding: 1.25rem;
    border-radius: 8px;
    height: 100%;
    box-sizing: border-box;
}

/* Adjust padding and margins for better mobile display */
@media (max-width: 768px) {
    .detail-section, .pricing, .insights {
        padding: 1rem;
    }
    
    .suggestion-details {
        gap: 1rem;
    }
    
    .suggestion-message {
        padding: 1rem;
    }
    
    .suggestion-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

.insights ul {
    margin: 0 0 1.5rem 0;
    padding-left: 1.2rem;
}

.insights li {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

/* Success Metrics */
.success-metrics {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.metric {
    background: #0f2133;
    padding: 1rem;
    border-radius: 8px;
}

.metric.timing {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.metric.timing i {
    font-size: 1.5rem;
    color: #64ffda;
}

.metric-label {
    margin-bottom: 0.5rem;
    color: #64ffda;
    font-size: 0.9rem;
}

.progress-bar {
    height: 24px;
    background: #0a1625;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.metric-note {
    color: #8892b0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Actions */
.suggestion-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1e3a5f;
}

.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn i {
    font-size: 0.9rem;
}

.btn-primary-sgt {
    background: #3b82f6;
    color: white;
}

.btn-primary-sgt:hover {
    background: #2563eb;
}

.btn-secondary-sgt {
    background: #1e3a8a;
    color: white;
}

.btn-secondary-sgt:hover {
    background: #1e40af;
}

.btn-ghost {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #334155;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

/* Footer */
.suggestion-footer {
    padding: 1rem 1.5rem;
    background: rgba(15, 32, 51, 0.8);
    border-top: 1px solid #1e3a5f;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-footer i {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .suggestion-details, .success-metrics {
        grid-template-columns: 1fr;
    }
    
    .suggestion-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}
