/* Solutions page — tabbed AI + blueprint showcase */

.sol-page {
  background: #fff;
}

/* —— Compact hero —— */
.sol-hero {
  padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.sol-hero--compact .container {
  max-width: 720px;
  text-align: center;
}

.sol-hero--compact .sol-eyebrow {
  justify-content: center;
}

.sol-hero--compact .sol-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.sol-hero--compact .sol-hero-actions {
  justify-content: center;
}

.sol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 12% 18%, rgba(199, 44, 145, 0.06), transparent 55%),
    radial-gradient(ellipse 65% 50% at 88% 25%, rgba(5, 101, 255, 0.08), transparent 52%);
  pointer-events: none;
}

.sol-hero .container {
  position: relative;
  z-index: 1;
}

.sol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0565ff;
  margin: 0 0 0.9rem;
}

.sol-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.sol-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1.35rem;
}

.sol-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

/* —— Logo strip —— */
.sol-trust {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-primary);
  background: #fff;
}

/* —— Showcase: blue headline + tab bar + mockup —— */
.sol-showcase {
  background: #fff;
}

.sol-show-head {
  background: #0565ff;
  padding: 2rem 1rem 2.25rem;
  text-align: center;
}

.sol-show-headline {
  margin: 0 auto;
  max-width: 920px;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.02em;
}

.sol-show-body {
  background: #fff;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sol-show-container {
  max-width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 var(--space-4, 1rem);
}

.sol-tabbar {
  display: flex;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  background: #fff;
}

.sol-tab {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  border: none;
  border-right: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sol-tab:last-child {
  border-right: none;
}

.sol-tab:hover:not(.is-active) {
  background: #f8fafc;
}

.sol-tab:focus-visible {
  outline: 2px solid #0565ff;
  outline-offset: -2px;
  z-index: 1;
}

.sol-tab.is-active {
  background: #0a0a0a;
  color: #fff;
}

.sol-tab.is-active .sol-tab-ic {
  color: #fff;
}

.sol-tab-ic {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #374151;
}

.sol-tab.is-active .sol-tab-ic {
  color: #fff;
}

/* Mockup shell */
.sol-mock {
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.sol-mock-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
}

.sol-mock-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.sol-mock-chrome span:nth-child(1) {
  background: #ff5f57;
}

.sol-mock-chrome span:nth-child(2) {
  background: #febc2e;
}

.sol-mock-chrome span:nth-child(3) {
  background: #28c840;
}

.sol-mock-frame {
  display: flex;
  min-height: 380px;
  max-height: min(70vh, 520px);
}

.sol-mock-rail {
  width: 52px;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0;
  gap: 0.35rem;
}

.sol-rail-i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #94a3b8;
}

.sol-rail-i--on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sol-mock-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sol-mock-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.sol-mock-search {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.85rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #64748b;
}

.sol-mock-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sol-tool-dot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.sol-tool-bell::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
}

.sol-tool-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0565ff, #c72c91);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-mock-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.sol-mock-chat {
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
}

.sol-bubble {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.sol-bubble-user {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.sol-bubble-ai {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1e1b4b;
}

.sol-bubble-ai p {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.sol-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4338ca;
}

.sol-mock-doc {
  padding: 1rem 1.15rem;
  overflow-y: auto;
  background: #fff;
}

.sol-doc-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.sol-doc-emoji {
  font-size: 2rem;
  line-height: 1;
}

.sol-doc-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.sol-doc-dek {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.sol-doc-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 0.4rem;
}

.sol-doc-roles {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sol-doc-roles li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: #f1f5f9;
  border-radius: 6px;
  color: #475569;
}

.sol-doc-stories {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #334155;
}

.sol-doc-stories li {
  margin-bottom: 0.45rem;
}

/* —— Stats strip —— */
.sol-stats {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 45%, #ffffff 100%);
  border-bottom: 1px solid var(--border-primary);
}

.sol-stats-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.sol-stats-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.sol-stats-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sol-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sol-stat-card {
  text-align: center;
  padding: 1.35rem 1rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(5, 101, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sol-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.sol-stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sol-stat-icon--blue {
  background: linear-gradient(135deg, #0565ff, #3b82f6);
}

.sol-stat-icon--violet {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
}

.sol-stat-icon--pink {
  background: linear-gradient(135deg, #db2777, #c72c91);
}

.sol-stat-icon--cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.sol-stat-val {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #0565ff 0%, #7c3aed 55%, #c72c91 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sol-stat-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* —— Bento cards —— */
.sol-bento {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #fff;
}

.sol-bento-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.sol-bento-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.sol-bento-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sol-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.sol-bento-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sol-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.sol-bento-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.sol-bento-media::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.sol-bento-card--p2p .sol-bento-media::after {
  background: linear-gradient(135deg, #0565ff, #22d3ee);
}

.sol-bento-card--invoice .sol-bento-media::after {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.sol-bento-card--hr .sol-bento-media::after {
  background: linear-gradient(135deg, #059669, #3b82f6);
}

.sol-bento-card--itsm .sol-bento-media::after {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.sol-bento-card--finance .sol-bento-media::after {
  background: linear-gradient(135deg, #1d4ed8, #6366f1);
}

.sol-bento-card--vendors .sol-bento-media::after {
  background: linear-gradient(135deg, #be185d, #f97316);
}

.sol-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-bento-body {
  padding: 1.2rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sol-bento-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0565ff;
  margin-bottom: 0.45rem;
}

.sol-bento-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.sol-bento-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.sol-bento-link {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0565ff;
  cursor: pointer;
  text-decoration: none;
}

.sol-bento-link:hover {
  text-decoration: underline;
}

.sol-bento-link:focus-visible {
  outline: 2px solid #0565ff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* —— Colorful capability strip —— */
.sol-strip {
  padding: 2rem 1rem;
  background: linear-gradient(110deg, #0565ff 0%, #4338ca 42%, #7c3aed 78%, #c72c91 100%);
  color: #fff;
}

.sol-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: start;
}

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

.sol-strip-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.sol-strip-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sol-strip-item span {
  display: block;
  font-size: 0.8125rem;
  opacity: 0.92;
  line-height: 1.4;
}

/* —— Split image sections —— */
.sol-split-wrap {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
  border-top: 1px solid var(--border-primary);
}

.sol-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.sol-split--margin {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px dashed #e2e8f0;
}

.sol-split--img-left .sol-split-figure {
  order: -1;
}

.sol-split-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0565ff;
  margin: 0 0 0.5rem;
}

.sol-split-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sol-split-lead {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.sol-split-list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.sol-split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.sol-split-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.sol-split-dot--blue {
  background: linear-gradient(135deg, #0565ff, #3b82f6);
}

.sol-split-dot--violet {
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.sol-split-dot--pink {
  background: linear-gradient(135deg, #ec4899, #c72c91);
}

.sol-split-figure {
  margin: 0;
}

.sol-split-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  background: linear-gradient(145deg, #e0e7ff 0%, #fae8ff 100%);
  padding: 3px;
}

.sol-split-frame--alt {
  background: linear-gradient(145deg, #cffafe 0%, #e0e7ff 100%);
}

.sol-split-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.sol-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.sol-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5, 101, 255, 0.12), rgba(124, 58, 237, 0.12));
  color: #4338ca;
  border: 1px solid rgba(5, 101, 255, 0.2);
}

/* —— CTA —— */
.sol-cta {
  padding: 3.5rem 0;
  background: linear-gradient(90deg, #1a0a2e 0%, #16213e 45%, #0f3460 100%);
  text-align: center;
}

.sol-cta h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.sol-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.4rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.sol-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sol-cta .btn-primary {
  background: #fff;
  color: #0565ff;
  border: none;
}

.sol-cta .btn-primary:hover {
  background: #f0f4ff;
}

.sol-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.sol-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 1024px) {
  .sol-tabbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .sol-tab {
    flex: 0 0 auto;
    min-width: 104px;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .sol-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sol-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sol-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sol-mock-frame {
    flex-direction: column;
    max-height: none;
  }

  .sol-mock-rail {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .sol-mock-split {
    grid-template-columns: 1fr;
  }

  .sol-mock-chat {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .sol-stats-grid {
    grid-template-columns: 1fr;
  }

  .sol-bento-grid {
    grid-template-columns: 1fr;
  }

  .sol-strip-inner {
    grid-template-columns: 1fr;
  }

  .sol-split {
    grid-template-columns: 1fr;
  }

  .sol-split--img-left .sol-split-figure {
    order: 0;
  }
}

@media (max-width: 900px) {
  .sol-hero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }
}
