.service-demo {
  background: #f4f5fb;
  min-height: calc(100vh - 120px);
  padding: 3rem 0 4rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.service-demo .container-xxl {
  max-width: 1100px;
}

.service-demo__hero {
  text-align: center;
  margin-bottom: 2.75rem;
}

.service-demo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(55, 97, 206, 0.12);
  color: #3652d9;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.service-demo__hero h1 {
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  font-weight: 700;
  color: #1c2136;
  margin-bottom: 0.85rem;
}

.service-demo__hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #535977;
}

.service-demo__module {
  background: #ffffff;
  border-radius: 28px;
  padding: 2rem 2.25rem 2.25rem;
  box-shadow: 0 20px 50px rgba(61, 72, 125, 0.12);
  border: 1px solid rgba(81, 92, 153, 0.08);
  margin-bottom: 2.75rem;
}

.service-demo__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-demo__nav-btn {
  border: none;
  border-radius: 16px;
  padding: 0.75rem 1.2rem;
  background: #eef1ff;
  color: #2e3c7b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(54, 82, 217, 0.12);
  transition: all 0.18s ease-in-out;
  cursor: pointer;
}

.service-demo__nav-btn:hover {
  background: #e3e8ff;
}

.service-demo__nav-btn.is-active {
  background: linear-gradient(135deg, #3652d9, #4f77ff);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(66, 92, 221, 0.35);
}

.service-demo__panels {
  position: relative;
}

.service-demo__panel {
  display: none;
  animation: service-demo-fade 0.25s ease-out;
}

.service-demo__panel.is-active {
  display: block;
}

@keyframes service-demo-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-demo__panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.service-demo__panel-header h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1d2240;
  margin: 0;
}

.service-demo__panel-tagline {
  font-size: 0.98rem;
  color: #586084;
  margin: 0;
}

.service-demo__panel-summary {
  color: #4d5372;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.service-demo__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.service-demo__metric {
  background: linear-gradient(145deg, rgba(70, 96, 230, 0.08), rgba(87, 120, 255, 0.12));
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  color: #1f254b;
}

.service-demo__metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2a60;
  margin-bottom: 0.35rem;
}

.service-demo__metric-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.service-demo__metric p {
  margin: 0;
  color: #4b5273;
  font-size: 0.85rem;
}

.service-demo__list {
  margin-bottom: 1.75rem;
}

.service-demo__list h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e2444;
  margin-bottom: 0.9rem;
}

.service-demo__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.service-demo__list-item {
  border-radius: 18px;
  padding: 0.85rem 1rem;
  background: #f6f7ff;
  border: 1px solid rgba(72, 92, 185, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-demo__list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(67, 86, 182, 0.18);
}

.service-demo__list-item.is-ready {
  border-color: rgba(56, 176, 0, 0.32);
  background: rgba(68, 207, 110, 0.12);
}

.service-demo__list-item.is-attention {
  border-color: rgba(255, 152, 0, 0.32);
  background: rgba(255, 193, 7, 0.15);
}

.service-demo__list-item.is-due {
  border-color: rgba(218, 86, 86, 0.45);
  background: rgba(229, 98, 98, 0.16);
}

.service-demo__list-item.is-progress {
  border-color: rgba(66, 133, 244, 0.32);
  background: rgba(66, 133, 244, 0.16);
}

.service-demo__list-item.is-steady {
  border-color: rgba(55, 97, 206, 0.24);
  background: rgba(84, 110, 255, 0.12);
}

.service-demo__list-main {
  font-weight: 600;
  color: #1f2345;
  font-size: 0.98rem;
}

.service-demo__list-meta {
  font-size: 0.85rem;
  color: #555b7b;
  margin-top: 0.3rem;
}

.service-demo__timeline {
  margin-bottom: 1.75rem;
}

.service-demo__timeline h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e2444;
  margin-bottom: 0.9rem;
}

.service-demo__timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-demo__timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: #f7f8ff;
  border: 1px solid rgba(77, 92, 175, 0.13);
}

.service-demo__timeline-item.is-due {
  border-color: rgba(220, 53, 69, 0.4);
  background: rgba(248, 215, 218, 0.45);
}

.service-demo__timeline-item.is-scheduled {
  border-color: rgba(255, 193, 7, 0.4);
  background: rgba(255, 243, 205, 0.6);
}

.service-demo__timeline-item.is-completed {
  border-color: rgba(40, 167, 69, 0.35);
  background: rgba(212, 237, 218, 0.65);
}

.service-demo__timeline-time {
  font-weight: 700;
  color: #28305c;
  font-size: 0.95rem;
}

.service-demo__timeline-body {
  display: grid;
  gap: 0.35rem;
}

.service-demo__timeline-title {
  font-weight: 600;
  color: #1f2444;
  font-size: 1rem;
}

.service-demo__timeline-body p {
  margin: 0;
  color: #4e5475;
  font-size: 0.9rem;
}

.service-demo__timeline-owner {
  font-size: 0.82rem;
  color: #4e63c6;
  font-weight: 600;
}

.service-demo__upcoming {
  margin-bottom: 1.75rem;
}

.service-demo__upcoming h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e2444;
  margin-bottom: 0.9rem;
}

.service-demo__upcoming ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-demo__upcoming li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: #f5f7ff;
  border: 1px solid rgba(83, 102, 205, 0.14);
}

.service-demo__upcoming-date {
  font-weight: 600;
  color: #2f3670;
}

.service-demo__upcoming-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2444;
}

.service-demo__upcoming-meta {
  font-size: 0.85rem;
  color: #5b6182;
  margin-top: 0.15rem;
}

.service-demo__upcoming-status {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #3652d9;
  background: rgba(54, 82, 217, 0.1);
  margin-top: 0.5rem;
}

.service-demo__actions h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e2444;
  margin-bottom: 0.8rem;
}

.service-demo__actions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.service-demo__actions li {
  position: relative;
  padding-left: 1.3rem;
  color: #485071;
  font-size: 0.92rem;
}

.service-demo__actions li::before {
  content: "›";
  position: absolute;
  left: 0.2rem;
  top: 0;
  color: #3652d9;
  font-weight: 700;
}

.service-demo__flows {
  margin-bottom: 2.75rem;
}

.service-demo__section-heading {
  margin-bottom: 1.5rem;
}

.service-demo__section-heading h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d2240;
  margin-bottom: 0.4rem;
}

.service-demo__section-heading p {
  margin: 0;
  color: #596082;
  font-size: 0.95rem;
}

.service-demo__flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.service-demo__flow-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 16px 40px rgba(61, 72, 125, 0.14);
  border: 1px solid rgba(82, 96, 172, 0.12);
  display: grid;
  gap: 0.6rem;
}

.service-demo__flow-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(54, 82, 217, 0.14), rgba(69, 109, 255, 0.32));
  color: #2740c9;
  font-size: 1.2rem;
}

.service-demo__flow-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e2444;
  margin: 0;
}

.service-demo__flow-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4c5ad1;
}

.service-demo__flow-card p {
  margin: 0;
  color: #4e5475;
  font-size: 0.9rem;
}

.service-demo__calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.6rem;
}

.service-demo__calendar-board {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 20px 48px rgba(64, 78, 150, 0.16);
  border: 1px solid rgba(81, 93, 170, 0.12);
  display: grid;
  gap: 1rem;
}

.service-demo__calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-demo__calendar-month {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2444;
}

.service-demo__calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  color: #5c6380;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-demo__calendar-weeks {
  display: grid;
  gap: 0.5rem;
}

.service-demo__calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.service-demo__calendar-day {
  min-height: 110px;
  border-radius: 18px;
  background: #f7f8ff;
  border: 1px solid rgba(86, 98, 178, 0.12);
  padding: 0.65rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.4rem;
}

.service-demo__calendar-day.is-empty {
  background: transparent;
  border: 1px dashed rgba(120, 132, 194, 0.2);
}

.service-demo__calendar-daynum {
  font-size: 0.85rem;
  font-weight: 700;
  color: #33407c;
}

.service-demo__calendar-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.service-demo__calendar-day li {
  font-size: 0.8rem;
  line-height: 1.3;
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
  font-weight: 600;
  color: #1f2a54;
}

.service-demo__calendar-day li.type-service {
  background: rgba(55, 97, 206, 0.18);
  color: #1f2a6b;
}

.service-demo__calendar-day li.type-interactions {
  background: rgba(46, 125, 50, 0.18);
  color: #165321;
}

.service-demo__calendar-day li.type-planning {
  background: rgba(255, 193, 7, 0.22);
  color: #7a5606;
}

.service-demo__calendar-day li.type-training {
  background: rgba(244, 81, 30, 0.22);
  color: #6b2d18;
}

.service-demo__calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #4d5372;
}

.service-demo__calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(90, 105, 184, 0.12);
  font-weight: 600;
}

.service-demo__calendar-legend .type-service {
  background: rgba(55, 97, 206, 0.18);
  color: #1f2a6b;
}

.service-demo__calendar-legend .type-interactions {
  background: rgba(46, 125, 50, 0.18);
  color: #14521f;
}

.service-demo__calendar-legend .type-planning {
  background: rgba(255, 193, 7, 0.22);
  color: #7a5606;
}

.service-demo__calendar-legend .type-training {
  background: rgba(244, 81, 30, 0.22);
  color: #6b2d18;
}

.service-demo__calendar-side {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 18px 46px rgba(64, 78, 150, 0.16);
  border: 1px solid rgba(86, 98, 178, 0.12);
  display: grid;
  gap: 1.1rem;
}

.service-demo__calendar-side h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e2444;
  margin: 0;
}

.service-demo__focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.service-demo__focus-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: #495070;
}

.service-demo__focus-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #3652d9;
  font-size: 1rem;
}

.service-demo__callouts {
  display: grid;
  gap: 0.65rem;
}

.service-demo__callouts p {
  margin: 0;
  background: rgba(55, 97, 206, 0.08);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  color: #2c3566;
  font-size: 0.9rem;
  border: 1px solid rgba(54, 82, 217, 0.15);
}

@media (max-width: 992px) {
  .service-demo__module {
    padding: 1.75rem 1.5rem;
  }

  .service-demo__calendar-layout {
    grid-template-columns: 1fr;
  }

  .service-demo__calendar-side {
    order: -1;
  }
}

@media (max-width: 768px) {
  .service-demo__timeline-item,
  .service-demo__upcoming li {
    grid-template-columns: 1fr;
  }

  .service-demo__nav {
    gap: 0.6rem;
  }

  .service-demo__nav-btn {
    flex: 1 1 47%;
    justify-content: center;
  }

  .service-demo__metric-value {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .service-demo {
    padding: 2.5rem 0 3rem;
  }

  .service-demo__module {
    padding: 1.5rem;
  }

  .service-demo__nav-btn {
    flex: 1 1 100%;
  }
}
