/* solutions.css — Enterprise Uplift (Blue Accent) */

body { background: #0B0D12; color: #fff; font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
main { position: relative; z-index: 1; }

/* ─── Hero ─── */
.hero-section {
    padding: 7rem 0 3.5rem;
    text-align: center;
}
.hero-section .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 1rem;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    background: rgba(96, 165, 250, 0.08);
}
.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.hero-section .subtitle {
    font-size: 1.15rem;
    color: #9ca3af;
    max-width: 660px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #60a5fa 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── CTAs ─── */
.cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.35), 0 0 20px rgba(59, 130, 246, 0.15);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e4e4e7;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
}

/* ─── Sections ─── */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.section-header p {
    color: #9ca3af;
    font-size: 1.125rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Solution Cards — Glass ─── */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 960px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.8), rgba(15, 20, 30, 0.5));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.solution-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-color, #3b82f6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.08);
}
.solution-card:hover::before { opacity: 1; }
.solution-card:hover h3 { color: #93c5fd; }

/* ─── Card Icons — Larger, Colored ─── */
.solution-card .card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: #60a5fa;
    transition: all 0.3s;
}
.solution-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.15));
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.solution-card p {
    color: #9ca3af;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    font-size: 0.95rem;
}
.solution-card .card-link {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}
.solution-card:hover .card-link { gap: 0.75rem; }

/* ─── Per-card color theming via inline --card-color ─── */
/* Role cards */
.solution-card[href*="cto-cio"] { --card-color: #6366f1; }
.solution-card[href*="cto-cio"] .card-icon { color: #818cf8; background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08)); }
.solution-card[href*="cto-cio"]:hover .card-icon { background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.15)); box-shadow: 0 0 20px rgba(99, 102, 241, 0.15); }

.solution-card[href*="operations"] { --card-color: #10b981; }
.solution-card[href*="operations"] .card-icon { color: #34d399; background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08)); }
.solution-card[href*="operations"]:hover .card-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.15)); box-shadow: 0 0 20px rgba(16, 185, 129, 0.15); }

.solution-card[href*="support"] { --card-color: #f59e0b; }
.solution-card[href*="support"] .card-icon { color: #fbbf24; background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08)); }
.solution-card[href*="support"]:hover .card-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.15)); box-shadow: 0 0 20px rgba(245, 158, 11, 0.15); }

.solution-card[href*="revops"] { --card-color: #3b82f6; }

.solution-card[href*="executives"] { --card-color: #8b5cf6; }
.solution-card[href*="executives"] .card-icon { color: #a78bfa; background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08)); }
.solution-card[href*="executives"]:hover .card-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.15)); box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }

/* Industry cards */
.solution-card[href*="retail"] { --card-color: #ec4899; }
.solution-card[href*="retail"] .card-icon { color: #f472b6; background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.08)); }
.solution-card[href*="retail"]:hover .card-icon { background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.15)); box-shadow: 0 0 20px rgba(236, 72, 153, 0.15); }

.solution-card[href*="healthcare"] { --card-color: #ef4444; }
.solution-card[href*="healthcare"] .card-icon { color: #f87171; background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.08)); }
.solution-card[href*="healthcare"]:hover .card-icon { background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.15)); box-shadow: 0 0 20px rgba(239, 68, 68, 0.15); }

.solution-card[href*="financial"] { --card-color: #10b981; }
.solution-card[href*="financial"] .card-icon { color: #34d399; background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08)); }
.solution-card[href*="financial"]:hover .card-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.15)); box-shadow: 0 0 20px rgba(16, 185, 129, 0.15); }

.solution-card[href*="saas"] { --card-color: #06b6d4; }
.solution-card[href*="saas"] .card-icon { color: #22d3ee; background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.08)); }
.solution-card[href*="saas"]:hover .card-icon { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(6, 182, 212, 0.15)); box-shadow: 0 0 20px rgba(6, 182, 212, 0.15); }

.solution-card[href*="manufacturing"] { --card-color: #f97316; }
.solution-card[href*="manufacturing"] .card-icon { color: #fb923c; background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.08)); }
.solution-card[href*="manufacturing"]:hover .card-icon { background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(249, 115, 22, 0.15)); box-shadow: 0 0 20px rgba(249, 115, 22, 0.15); }

/* ─── Alt section ─── */
.section-alt {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─── Stats Bar ─── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}
.stat-item {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    font-weight: 500;
}
@media (max-width: 640px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ─── Final CTA — Glass Banner ─── */
.final-cta {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%);
    pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.final-cta p {
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ─── Module callout — Glass ─── */
.module-callout {
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.8), rgba(15, 20, 30, 0.5));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}
.module-callout:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.06);
}
.module-callout .module-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #34d399;
    flex-shrink: 0;
}
.module-callout h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.module-callout p {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.module-callout a {
    color: #34d399;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.module-callout a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .module-callout {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    .solution-card, .module-callout { transition: border-color 0.2s, box-shadow 0.2s; }
    .solution-card:hover, .module-callout:hover { transform: none; }
}

/* CTA button group (from spacing system) */
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .cta-buttons { flex-direction: column; align-items: stretch; } .cta-buttons .ts-btn, .cta-buttons .btn { width: 100%; justify-content: center; text-align: center; } }
