/* =================================================================
   SOLUTIONS: 3-Pillar Layout (Professional Redesign)
   ================================================================= */

/* Pillars Grid */
.solutions-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Pillar Card - Premium & Deep */
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px; /* Modern Softness */
    padding: 2.5rem; /* Generous breathing room */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(0, 0, 0, 0.02); /* Ultra-soft base shadow */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

/* Hover State: "Lift & Focus" */
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -4px rgba(0, 0, 0, 0.08),
        0 8px 16px -4px rgba(0, 0, 0, 0.04);
    border-color: color-mix(in srgb, var(--brand-accent) 40%, var(--border));
}

/* Top Accent Line (Subtle Gradient) */

/* Top Accent Line REMOVED per user request */
.pillar-card::before {
    content: none;
}

/* Icon - The "Jewel" */
.pillar-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-card__icon {
    background: var(--brand-accent);
    color: white;
    transform: scale(1.05); /* Slight lift only, no rotation */
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.25); /* Orange glow */
}

/* Typography */
.pillar-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-ink);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.pillar-card__desc {
    font-size: 1.1rem;
    color: var(--brand-ink); /* Darker for primary statement */
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2rem;
    margin-bottom: 2rem;
    flex-grow: 0; /* Changed from 1 to 0 to align list separator */
}

/* The New Tagline (Kicker) */
.pillar-card__tagline {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-left: 2px solid var(--brand-accent);
    padding-left: 0.75rem; /* Visual indentation */
}

/* List - Operations Checklist */
.pillar-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-grow: 1; /* List now fills the space, keeping the separator higher up */
}

.pillar-card__list li {
    font-size: 0.95rem;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.pillar-card:hover .pillar-card__list li {
    color: var(--brand-ink); /* Darken text on card hover */
}

/* Custom Checkmark */
.pillar-card__list li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #10b981; /* Success Green for "Done/Solved" feeling */
    font-size: 0.85em;
    margin-top: 0.2em; /* Optical alignment */
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1); /* Soft Green Bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Micro CTA */
.solutions-cta {
    margin-top: var(--space-8);
}

/* Ghost Button Override for Dark Backgrounds */
.solutions-btn {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    
    /* Layout Fixes */
    display: inline-flex !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 3rem;
    white-space: normal !important; /* Allow text to wrap if needed */
    text-align: center;
    line-height: 1.3;
    padding: 0.8em 1.5em !important;
}

.solutions-btn:hover {
    background: white !important;
    color: var(--brand-primary) !important;
    border-color: white !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .solutions-pillars {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    .solutions-pillars {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        margin-top: var(--space-6);
    }
    
    .pillar-card {
        padding: 2rem;
    }
}