/* assets/css/pages/sap-solutions.css */

/* === Page Header - Match Services === */
.page-header--solutions {
  background: linear-gradient(180deg, #0E2247 0%, #1A3A6B 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-header__bg > div:nth-child(1) {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,174,239,0.2) 0%, transparent 70%);
  border-radius: 8px;
}

.page-header__bg > div:nth-child(2) {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,58,107,0.6) 0%, transparent 70%);
  border-radius: 8px;
}

.page-header--solutions .page-header__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-header__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.page-header__label .dot {
  color: var(--cyan);
  font-size: 8px;
}

.page-header--solutions .page-header__title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-header--solutions .page-header__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #C0C0C0;
  margin-bottom: 32px;
}

.page-header__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-header__buttons .btn--lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* Light outline button for dark backgrounds */
.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .page-header--solutions {
    padding: 60px 0 80px;
  }
  .page-header--solutions .page-header__title {
    font-size: 36px;
  }
  .page-header--solutions .page-header__subtitle {
    font-size: 16px;
  }
  .page-header__buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-header__buttons .btn--lg {
    width: 100%;
    max-width: 280px;
  }
}

/* === Footer - Light === */
.footer {
  padding: 48px 0 24px;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

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

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__wordmark {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 15px;
  color: #1E293B;
}

.footer__tagline {
  font-size: 14px;
  color: #64748B;
  margin-top: 12px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--cyan);
}

.footer__copyright {
  font-size: 14px;
  color: #94A3B8;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* === Solutions Layout === */
.solutions-section {
  padding: 60px 0;
  background: #F8FAFC;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

/* Sticky Agent Navigation */
.agent-nav {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
}

.agent-nav__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748B;
  margin-bottom: 16px;
}

.agent-nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #475569;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.agent-nav__link:hover {
  background: #F1F5F9;
  color: #0E2247;
}

.agent-nav__link.active {
  background: #E0F2FE;
  color: var(--cyan);
  font-weight: 500;
}

/* Agent Detail */
.agent-detail {
  margin-bottom: 48px;
}

.agent-detail__card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.agent-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.agent-detail__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.agent-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: #0E2247;
  margin-bottom: 8px;
}

.agent-detail__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 24px;
}

.agent-detail__features h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0E2247;
  margin-bottom: 12px;
}

.agent-detail__features ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.agent-detail__features li {
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 15px;
  color: #475569;
}

@media (max-width: 900px) {
  .solutions-layout {
    grid-template-columns: 1fr;
  }
  .agent-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
  }
  .agent-nav__title {
    width: 100%;
    margin-bottom: 8px;
  }
  .agent-nav__link {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .agent-detail__features ul {
    grid-template-columns: 1fr;
  }
}

/* === Agent Detail Cards === */
.agent-detail {
  margin-bottom: 48px;
}

.agent-detail__card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.agent-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.icon-container--lg {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container--cyan {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: #0284C7;
}

.agent-detail__header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0E2247;
  margin-bottom: 8px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}

.text-muted {
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
}

/* Comparison Panel */
.comparison-panel {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 32px 0;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.comparison-panel__side {
  flex: 1;
  padding: 28px;
}

.comparison-panel__before {
  background: linear-gradient(180deg, #FEF2F2 0%, #FEE2E2 100%);
  border-right: 2px solid #E5E7EB;
}

.comparison-panel__after {
  background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
}

.comparison-panel__label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-panel__before .comparison-panel__label {
  color: #DC2626;
}

.comparison-panel__before .comparison-panel__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DC2626;
}

.comparison-panel__after .comparison-panel__label {
  color: #16A34A;
}

.comparison-panel__after .comparison-panel__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
}

.comparison-panel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: #FFFFFF;
}

.comparison-panel__arrow svg {
  width: 32px;
  height: 32px;
  color: #94A3B8;
  background: #F1F5F9;
  border-radius: 50%;
  padding: 6px;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  font-size: 15px;
  color: #475569;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.comparison-list li::before {
  content: '•';
  color: #94A3B8;
  font-weight: bold;
  flex-shrink: 0;
}

.comparison-list li:last-child {
  border-bottom: none;
}

/* Capabilities */
.agent-detail__capabilities {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}

.agent-detail__capabilities h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0E2247;
  margin-bottom: 16px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.capability-list li {
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 15px;
  color: #475569;
}

/* Integration Touchpoints */
.agent-detail__integration {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}

.agent-detail__integration h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0E2247;
  margin-bottom: 16px;
}

.integration-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.integration-flow .badge {
  padding: 8px 14px;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #0369A1;
}

.integration-flow .connector {
  color: #94A3B8;
  font-size: 16px;
}

/* Business Outcomes */
.agent-detail__outcomes {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}

.agent-detail__outcomes h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0E2247;
  margin-bottom: 16px;
}

.outcome-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.outcome-metric {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
  border-radius: 12px;
}

.outcome-metric__number {
  font-family: 'Ubuntu', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 8px;
}

.outcome-metric__label {
  font-size: 15px;
  color: #475569;
}

@media (max-width: 768px) {
  .comparison-panel {
    flex-direction: column;
  }
  .comparison-panel__before {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }
  .comparison-panel__arrow {
    padding: 16px;
  }
  .comparison-panel__arrow svg {
    transform: rotate(90deg);
  }
  .capability-list {
    grid-template-columns: 1fr;
  }
  .outcome-metrics {
    grid-template-columns: 1fr;
  }
}

/* === Comparison Cards - New Design === */
.table-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.table-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.table-section__header h2 {
  font-size: 36px;
  color: #0E2247;
  margin-top: 12px;
}

.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #E5E7EB;
}

.comparison-card--manual {
  border-top: 4px solid #94A3B8;
}

.comparison-card--ai {
  border-top: 4px solid var(--cyan);
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.15);
}

.comparison-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--cyan) 0%, #0EA5E9 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
}

.comparison-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #0E2247;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.comparison-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-card--manual .comparison-card__icon {
  background: #F1F5F9;
  color: #64748B;
}

.comparison-card--ai .comparison-card__icon {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: #0284C7;
}

.comparison-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
}

.comparison-card__list li:last-child {
  border-bottom: none;
}

.comparison-card__list .label {
  font-size: 15px;
  color: #64748B;
}

.comparison-card__list .value {
  font-size: 15px;
  font-weight: 600;
  color: #0E2247;
}

.comparison-card__list .value--highlight {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .comparison-cards {
    grid-template-columns: 1fr;
  }
  .table-section {
    padding: 60px 0;
  }
}
