/* =========================================
   Solutions & Platform Hub - Dedicated Styles
   Prefix/Scope: .solution-
   ========================================= */

/* --- Badges --- */
.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.active-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #2ED573;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Card Utilities --- */
.solution-card-disabled {
    opacity: 0.8;
    pointer-events: none;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(58, 122, 254, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(58, 122, 254, 0.15);
    font-size: 1.5rem;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(58, 122, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--accent-blue);
}

/* --- Visual Placeholders --- */
.ui-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(58, 122, 254, 0.05);
    border: 1px dashed rgba(58, 122, 254, 0.3);
}

.hero-placeholder {
    aspect-ratio: 16/10;
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-placeholder:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.fleet-placeholder {
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.workflow-placeholder {
    aspect-ratio: 9/16;
    max-width: 320px;
    margin: 0 auto;
    background: rgba(37, 211, 102, 0.05); /* WhatsApp Green Hint */
    border-color: rgba(37, 211, 102, 0.3);
}

.dash-wide-placeholder {
    aspect-ratio: 21/9;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Layout Wrappers --- */
.solutions-hero-layout,
.fleet-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
}

.fleet-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fleet-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* --- Specific Components --- */
.pain-point-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 0, 0, 0.03);
    border-left: 3px solid rgba(255, 100, 100, 0.5);
    border-radius: 0 8px 8px 0;
    margin-bottom: 12px;
}

.pain-point-item p {
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
}

.pain-point-icon {
    color: rgba(255, 100, 100, 0.8);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .solutions-hero-layout,
    .fleet-hero-layout {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 40px;
    }
    
    .hero-placeholder {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .fleet-text-col {
        order: -1;
    }

    .reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }
}

/* --- Fleet Offers Grid --- */
.fleet-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fleet-offer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fleet-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.offer-highlighted {
    background: rgba(58, 122, 254, 0.05);
    border-color: rgba(58, 122, 254, 0.4);
    box-shadow: 0 10px 40px rgba(58, 122, 254, 0.1);
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(58, 122, 254, 0.4);
}

.offer-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
}

.offer-header h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #fff;
}

.offer-positioning {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1; /* Ensures cards align nicely if text length varies */
}

/* --- Premium Feature Lists --- */
.offer-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-feature-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Premium SaaS Checkmark (✅) */
.offer-feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: rgba(58, 122, 254, 0.15);
    border: 1px solid rgba(58, 122, 254, 0.3);
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233A7AFE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
}

/* Faded Cross (✕) */
.offer-feature-item.not-included {
    color: rgba(255, 255, 255, 0.35);
}

.offer-feature-item.not-included::before {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.3)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
}

/* Optional subtle divider between included and excluded lists */
.offer-list-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.05); /* Ghostly line */
    margin: 20px 0;
}

@media (max-width: 992px) {
    .fleet-offers-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Fleet WhatsApp Section
   ========================================= */

.fleet-whatsapp-section {
    background: var(--bg-primary);
}

/* Premium WhatsApp Badge */
.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.08); /* Extremely subtle WhatsApp green base */
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: #2ED573;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.whatsapp-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Typographic Restyles (Stripping Inline CSS) */
.whatsapp-title {
    font-size: 2.6rem;
    margin-bottom: 24px;
    margin-top: 0;
}

.whatsapp-desc {
    margin-bottom: 20px;
}

/* Feature List */
.whatsapp-benefits-list {
    margin-top: 30px;
}

.whatsapp-benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

/* Visual Mockup & Premium Light Glow */
.whatsapp-visual-col {
    justify-content: center;
    position: relative;
    display: flex;
    align-items: center;
}

.whatsapp-mockup-container {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    z-index: 1;
}

.whatsapp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 350px;
    /* Soft glowing green radial sphere */
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.fleet-whatsapp-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    /* Gentle shadow so the phone separates from the intense background glow */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* =========================================
   Fleet Business Impact Section
   ========================================= */

.fleet-impact-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Clean Desktop Baseline */
.fleet-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.fleet-impact-card {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fleet-impact-title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.fleet-impact-desc {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85); /* Premium soft white */
}

/* --- Responsive Scaling Logic --- */

@media (max-width: 992px) {
    /* Tablet Adjustments */
    .fleet-impact-grid {
        gap: 24px;
    }
    
    .fleet-impact-card {
        padding: 30px; 
    }
}

@media (max-width: 768px) {
    /* Mobile Phone Adjustments */
    .fleet-impact-header {
        margin-bottom: 40px;
    }
    
    .fleet-impact-grid {
        grid-template-columns: 1fr; /* Ensures cards smoothly stack vertically */
        gap: 20px;
    }
    
    .fleet-impact-card {
        padding: 24px 20px; /* Drastically reduces dead space on small screens */
    }
    
    .fleet-impact-title {
        font-size: 1.4rem; /* Downscaled for narrow screens to prevent bizarre wraps */
    }
    
    .fleet-impact-desc {
        font-size: 1rem; 
    }
}
