/* Solutions Page - IBM Design Style */

/* Industry Cards with Icons */
.solution-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    padding: var(--spacing-06);
    border-radius: 0;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.solution-card:hover::before {
    transform: scaleY(1);
}

.solution-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-04);
}

.solution-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-radius: 0;
    margin-bottom: var(--spacing-03);
}

.solution-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.5;
}

.solution-title {
    font-size: var(--text-heading-03);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-01);
}

.solution-roi {
    font-size: var(--text-body-small);
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    background: rgba(15, 98, 254, 0.08);
    padding: var(--spacing-01) var(--spacing-02);
    border-radius: 0;
}

.solution-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-03);
    margin: var(--spacing-04) 0;
    padding: var(--spacing-04);
    background: var(--color-background-subtle);
    border-left: 2px solid var(--color-primary);
}

.metric-item {
    text-align: left;
}

.metric-value {
    font-size: var(--text-heading-02);
    font-weight: var(--font-weight-light);
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-01);
}

.metric-label {
    font-size: var(--text-body-small);
    color: var(--color-text-secondary);
    display: block;
}

/* Animated Industry Icons */
.industry-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-04);
    margin: var(--spacing-06) 0;
}

.industry-icon-card {
    text-align: center;
    padding: 12px 16px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.industry-icon-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.industry-icon-card:hover::after {
    transform: scaleX(1);
}

.industry-icon-card:hover {
    background: var(--color-background-subtle);
    border-color: var(--color-primary);
}

.industry-icon-card:hover .icon-wrapper {
    transform: scale(1.05);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.industry-icon-card h4 {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 500;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

/* Use Case Visualization */
.use-cases-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-05);
    margin: var(--spacing-06) 0;
}

.use-case-card {
    padding: var(--spacing-05);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    position: relative;
    transition: all var(--transition-base);
}

.use-case-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.use-case-number {
    position: absolute;
    top: var(--spacing-03);
    right: var(--spacing-03);
    font-size: var(--text-display);
    font-weight: var(--font-weight-light);
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}

.use-case-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    margin-bottom: var(--spacing-03);
}

.use-case-title {
    font-size: var(--text-heading-04);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-02);
}

.use-case-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-03);
    padding-top: var(--spacing-03);
    border-top: 1px solid var(--color-border);
}

/* Success Story Cards */
.success-stories {
    display: grid;
    gap: var(--spacing-05);
}

.success-story {
    padding: var(--spacing-06);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--color-border);
    position: relative;
}

.story-quote {
    font-size: var(--text-body-large);
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-04);
    position: relative;
    padding-left: var(--spacing-04);
}

.story-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 48px;
    color: var(--color-primary);
    opacity: 0.2;
    font-weight: var(--font-weight-semibold);
}

.story-metrics {
    display: flex;
    gap: var(--spacing-04);
    margin-top: var(--spacing-03);
}

.story-metrics .metric {
    font-size: var(--text-body-small);
    color: var(--color-text-secondary);
    padding: var(--spacing-01) var(--spacing-02);
    background: var(--color-background-subtle);
    border-radius: 0;
}

/* Animated Background Pattern */
.solutions-hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
}

.pattern-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(15, 98, 254, 0.05) 25%, rgba(15, 98, 254, 0.05) 26%, transparent 27%, transparent 74%, rgba(15, 98, 254, 0.05) 75%, rgba(15, 98, 254, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(15, 98, 254, 0.05) 25%, rgba(15, 98, 254, 0.05) 26%, transparent 27%, transparent 74%, rgba(15, 98, 254, 0.05) 75%, rgba(15, 98, 254, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Interactive Hover States */
.solution-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-04) 0;
}

.solution-features li {
    padding: var(--spacing-02) 0;
    padding-left: var(--spacing-04);
    position: relative;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.solution-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-border);
    transition: all var(--transition-base);
}

.solution-features li:hover {
    color: var(--color-text-primary);
}

.solution-features li:hover::before {
    background: var(--color-primary);
    width: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .solution-metrics {
        grid-template-columns: 1fr;
    }
    
    .use-cases-visual {
        grid-template-columns: 1fr;
    }
    
    .industry-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}