/* ============================================
   Solutions Page Styles
   ============================================ */

/* --- Solution Block --- */
.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-block.reverse {
    direction: rtl;
}

.solution-block.reverse > * {
    direction: ltr;
}

.solution-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.solution-badge.ai {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.solution-badge.edu {
    background: rgba(8, 145, 178, 0.08);
    color: var(--accent);
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.solution-badge.corp {
    background: rgba(217, 119, 6, 0.08);
    color: var(--amber);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.solution-badge.pro {
    background: rgba(5, 150, 105, 0.08);
    color: var(--green);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.solution-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 8px;
}

.solution-tagline {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.solution-content > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* --- Solution Features --- */
.solution-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.sf {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sf-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    color: var(--primary);
    padding: 6px;
    background: rgba(79, 70, 229, 0.06);
    border-radius: var(--radius-sm);
}

.sf strong {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.sf p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
}

/* --- Solution Metrics --- */
.solution-metrics {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 100px;
}

.metric.highlight {
    border-color: rgba(217, 119, 6, 0.25);
    background: rgba(217, 119, 6, 0.04);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.metric.highlight .metric-value {
    color: var(--amber);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* --- Solution List --- */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.solution-list li {
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.solution-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-1);
}

/* --- AI Demo Card --- */
.ai-demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.ai-demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ai-demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ai-demo-dot.green {
    background: var(--green);
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.3);
}

.ai-demo-lang {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 400;
}

.ai-demo-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-msg {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 85%;
}

.ai-msg.bot {
    background: var(--surface);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-msg.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-demo-footer {
    display: flex;
    gap: 16px;
    padding: 12px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    justify-content: center;
}

.ai-demo-footer span {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Program Card (SWISS) --- */
.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.program-card-top h4 {
    font-size: 1.1rem;
}

.cert-badge {
    padding: 4px 12px;
    background: rgba(8, 145, 178, 0.08);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-modules {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.module {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.module.active {
    color: var(--text);
}

.module-check {
    font-size: 0.75rem;
    color: var(--green);
    font-weight: 700;
}

.module-check.pending {
    color: var(--text-dim);
    font-size: 0.5rem;
}

.program-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.program-progress span {
    font-size: 0.75rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--surface);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-3);
    border-radius: 3px;
}

/* --- ROI Card --- */
.roi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.roi-card h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.roi-bar-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.roi-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.roi-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    min-width: 80px;
}

.roi-bar {
    flex: 1;
    height: 24px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
}

.roi-bar-inner {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease;
}

.roi-bar.invest .roi-bar-inner {
    background: var(--border-light);
}

.roi-bar.return .roi-bar-inner {
    background: linear-gradient(90deg, var(--amber), #f97316);
}

.roi-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 50px;
}

.roi-value.highlight {
    color: var(--amber);
    font-size: 1.1rem;
}

.roi-benefits {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.roi-benefits span {
    padding: 6px 12px;
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--amber);
}

/* --- Case Study Card --- */
.case-study-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.cs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cs-badge {
    padding: 4px 12px;
    background: rgba(5, 150, 105, 0.08);
    color: var(--green);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

.cs-difficulty {
    font-size: 0.75rem;
    color: var(--amber);
    font-weight: 500;
}

.case-study-card h4 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.case-study-card > p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cs-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cs-tags span {
    padding: 4px 10px;
    background: var(--surface);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--text-dim);
}

.cs-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.cs-action:hover {
    background: var(--bg-card-hover);
}

.cs-progress {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 500;
}

.cs-arrow {
    color: var(--green);
    font-size: 1.2rem;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .solution-block,
    .solution-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .solution-visual {
        order: -1;
    }

    .solution-metrics {
        justify-content: flex-start;
    }
}
