/**
 * Solutions index + show (v1.5) — replaces inline styles in solutions views
 */

/* ----------------------------------------------------------------
   INDEX
   ---------------------------------------------------------------- */

.sol-index-hero {
    padding: clamp(4rem, 8vw, 6rem) 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.sol-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.sol-feature-card {
    background: var(--color-bg-light, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
}

.sol-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sol-integrations {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.sol-cta-band {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.25rem;
    color: #f8fafc;
    text-align: center;
}

.sol-cta-band h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.sol-cta-band p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------
   SHOW — Layout
   ---------------------------------------------------------------- */

.solutions-detail-body {
    padding-bottom: 4rem;
}

.solutions-detail-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.solutions-detail-prose {
    margin-bottom: 3rem;
}

/* Benefits panel */
.sol-benefits-panel {
    margin-top: 3rem;
    background: var(--color-bg-light, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 1rem;
    padding: 2rem;
}

.sol-benefits-title {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sol-benefits-icon {
    width: 20px;
    height: 20px;
    color: var(--success, #22c55e);
    flex-shrink: 0;
}

.sol-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.sol-benefits-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.sol-benefits-check {
    color: var(--success, #22c55e);
    font-weight: bold;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.sol-benefits-item-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary, #0f172a);
}

.sol-benefits-item-desc {
    margin: 0.25rem 0 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
    line-height: 1.4;
}

/* Architecture specs sidebar card */
.sol-spec-card {
    margin-bottom: 2rem;
}

.sol-spec-heading {
    margin-top: 0;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    padding-bottom: 0.5rem;
}

.sol-spec-group {
    margin-bottom: 1.25rem;
}

.sol-spec-group--last {
    margin-bottom: 1.5rem;
}

.sol-spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.sol-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.sol-tag {
    font-size: 0.75rem;
    background: var(--color-bg-light, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    color: var(--color-text-main, #0f172a);
    font-weight: 500;
}

.sol-tag--industry {
    background: rgba(16, 104, 178, 0.05);
    border-color: rgba(16, 104, 178, 0.15);
    color: var(--primary, #1668B2);
}

.sol-cta-btn {
    border-radius: 0.75rem;
    text-align: center;
}

/* Related case study thumbnails */
.blog-related-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------------------------------
   SHOW — Mockup shell
   ---------------------------------------------------------------- */

.sol-ui-root {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    line-height: normal;
    padding: 0;
    overflow: hidden;
    height: 420px;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg, 0 10px 40px rgba(0, 0, 0, 0.12));
    border: 1px solid var(--color-border, #e2e8f0);
    margin-bottom: 2rem;
}

.sol-ui-root * {
    box-sizing: border-box;
}

/* ----------------------------------------------------------------
   MOCKUP: NEOBANK
   ---------------------------------------------------------------- */

.neobank-app {
    width: 100%;
    height: 100%;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nb-status-bar {
    height: 30px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: flex-end;
    font-size: 11px;
    font-weight: 600;
}

.nb-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nb-greeting {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.nb-avatar {
    width: 36px;
    height: 36px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid #475569;
}

.nb-balance-card {
    margin: 0 20px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.nb-balance-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.nb-balance-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.nb-card-actions {
    display: flex;
    gap: 10px;
}

.nb-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    cursor: default;
}

.nb-section-title {
    padding: 0 20px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.nb-link {
    color: #3b82f6;
    font-size: 11px;
}

.nb-tx-list {
    flex: 1;
    padding: 0 20px;
    overflow-y: hidden;
}

.nb-tx-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.nb-tx-icon {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 12px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nb-tx-details {
    flex: 1;
}

.nb-tx-name {
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.nb-tx-date {
    font-size: 11px;
    color: #94a3b8;
}

.nb-tx-amount {
    font-weight: 600;
    font-size: 13px;
}

.nb-tx-amount.neg {
    color: white;
}

.nb-tx-amount.pos {
    color: #4ade80;
}

/* ----------------------------------------------------------------
   MOCKUP: FRAUD DASHBOARD
   ---------------------------------------------------------------- */

.fraud-dash {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    color: #0f172a;
    display: flex;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.fd-sidebar {
    width: 60px;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fd-logo {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 8px;
    margin-bottom: 20px;
}

.fd-menu-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, filter 0.2s;
}

.fd-menu-item.active {
    background: #eff6ff;
    color: #2563eb;
}

.fd-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

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

.fd-title {
    font-size: 18px;
    font-weight: 700;
}

.fd-badge {
    background: white;
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
}

.fd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.fd-stat-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fd-stat-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.fd-stat-val {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fd-stat-delta {
    font-size: 10px;
    font-weight: 500;
}

.fd-stat-delta.up {
    color: #ef4444;
}

.fd-stat-delta.down {
    color: #22c55e;
}

.fd-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fd-list-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    align-items: center;
}

.fd-risk-badge {
    padding: 2px 6px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
}

.fd-risk-high {
    background: #fee2e2;
    color: #ef4444;
}

.fd-risk-med {
    background: #fef3c7;
    color: #d97706;
}

/* ----------------------------------------------------------------
   MOCKUP: TELEHEALTH
   ---------------------------------------------------------------- */

.health-app {
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    flex-direction: column;
}

.ha-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.ha-title {
    font-weight: 700;
}

.ha-status {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}

.ha-vitals-row {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ha-vital-card {
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.ha-vital-label {
    font-size: 10px;
    color: #64748b;
}

.ha-vital-val {
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
}

.ha-vital-val--blue {
    color: #3b82f6;
}

.ha-call-ui {
    flex: 1;
    background: #f1f5f9;
    margin: 0 20px 20px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ha-doc-avatar {
    width: 80px;
    height: 80px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ha-doc-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #475569;
}

.ha-doc-name {
    font-weight: 600;
    font-size: 14px;
}

.ha-doc-role {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.ha-call-btns {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 15px;
}

.ha-btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ha-btn-round--danger {
    background: #ef4444;
    color: white;
}

/* ----------------------------------------------------------------
   MOCKUP: HOSPITAL ERP
   ---------------------------------------------------------------- */

.health-erp {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
}

.he-side {
    width: 50px;
    background: #2563eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.he-side-icon {
    color: white;
    font-size: 16px;
}

.he-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.he-section-title {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 700;
}

.he-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.he-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.he-metric-label {
    font-size: 10px;
    color: #64748b;
}

.he-metric-val {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
}

.he-bar-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 10px;
}

.he-bar-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 4px;
}

.he-bar-fill--critical {
    width: 90%;
    background: #ef4444;
}

.he-bar-fill--healthy {
    width: 42%;
    background: #22c55e;
}

/* ----------------------------------------------------------------
   MOCKUP: AR SHOPPING
   ---------------------------------------------------------------- */

.retail-app {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.ra-prod-view {
    height: 60%;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ra-ar-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
}

.ra-emoji {
    font-size: 4rem;
}

.ra-details {
    padding: 20px;
    flex: 1;
}

.ra-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.ra-price {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
}

.ra-btn-cart {
    width: 100%;
    background: #0f172a;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

/* ----------------------------------------------------------------
   MOCKUP: HEADLESS STOREFRONT
   ---------------------------------------------------------------- */

.retail-web {
    width: 100%;
    height: 100%;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
}

.rw-nav {
    height: 40px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.rw-brand {
    font-weight: 700;
    font-size: 12px;
}

.rw-hero {
    height: 150px;
    background: linear-gradient(to right, #f8fafc, #eff6ff);
    margin: 20px;
    border-radius: 12px;
    padding: 25px;
}

.rw-hero-title {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 700;
}

.rw-hero-desc {
    margin: 0;
    font-size: 10px;
    color: #64748b;
}

.rw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.rw-item {
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 1100px) {
    .solutions-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sol-feature-grid {
        grid-template-columns: 1fr;
    }

    .sol-ui-root {
        height: 280px;
    }
}

/* ----------------------------------------------------------------
   SOLUTIONS INDEX CARDS
   ---------------------------------------------------------------- */
.solutions-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.solution-card {
    display: flex;
    flex-direction: column;
}

.solution-card-visual {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #0f172a;
}

.solution-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top left, #1e293b 0%, #0f172a 100%);
}

.solution-card-fallback__icon {
    font-size: 3rem;
}

.solution-card-visual .blog-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.solution-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.solution-category {
    color: var(--primary, #1668B2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.solution-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.solution-card-content > div > p {
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.solution-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.solution-tech-badge {
    font-size: 0.6875rem;
    background: var(--color-bg-light, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    color: var(--color-text-muted, #64748b);
    font-weight: 500;
}

.solution-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--color-border, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.solution-views {
    font-size: 0.75rem;
    color: var(--text-muted, #64748b);
}

.solution-views svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.solution-card-read {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--primary, #1668B2);
}
