/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100vh;
}

/* ============================================================
   SHELL
   ============================================================ */
.use_cases-shell {
  position: relative;
  z-index: 4;
  width: min(980px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 112px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   INNER PANEL
   ============================================================ */
#innerPanel4.use_cases-panel {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 0;
  transform: translateX(-50%);
  padding: 56px 0;
  border-radius: 0;
  border: none;
  /*background: none;*/
  box-shadow: none;
  backdrop-filter: none;
  color: rgb(255, 255, 255);
  text-align: center;
}

/* ============================================================
   KICKER
   ============================================================ */
.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   HEADLINE
   ============================================================ */
#innerPanel4 h1 {
  margin: 0 0 18px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 10.5vw, 36px);
  margin-bottom: 22px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: rgb(255, 255, 255);
}

#innerPanel4 h1 span {
  display: block;
}

#innerPanel4 h1 .accent-word {
  color: rgb(140, 200, 140);
}

/* ============================================================
   INTRO PARAGRAPH
   ============================================================ */
#bodyPanel1 .use_cases-intro {
  max-width: 620px;
  margin: 0 auto 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================================
   GRID
   ============================================================ */
.use_cases-grid {
  list-style: none;
  width: calc(100vw - 40px);
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}

/* ============================================================
   CARDS — BASE
   ============================================================ */
.use_cases-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(14px);
  animation: useCaseFadeIn 0.4s ease forwards;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.use_cases-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

/* staggered entrance */
.use_cases-card:nth-child(1) { animation-delay: 0.04s; }
.use_cases-card:nth-child(2) { animation-delay: 0.10s; }
.use_cases-card:nth-child(3) { animation-delay: 0.16s; }
.use_cases-card:nth-child(4) { animation-delay: 0.22s; }
.use_cases-card:nth-child(5) { animation-delay: 0.28s; }

@keyframes useCaseFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   WIDE FEATURED CARD
   ============================================================ */
.use_cases-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 26px;
  border-color: rgba(140, 200, 140, 0.15);
  background: rgba(140, 200, 140, 0.04);
}

.use_cases-card--wide:hover {
  background: rgba(140, 200, 140, 0.07);
  border-color: rgba(140, 200, 140, 0.25);
}

.card-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.card-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.use_cases-card--wide .use_cases-title {
  font-size: 20px;
}

/* ============================================================
   CARD HEADER ROW (icon + title inline)
   ============================================================ */
.use_cases-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 2px;
}

/* ============================================================
   ICON (MATCH BENEFITS STYLE)
   ============================================================ */
.use_cases-card-icon {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   BADGE (wide card only)
   ============================================================ */
.use_cases-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(140, 200, 140, 0.12);
  color: rgb(140, 200, 140);
  border: 1px solid rgba(140, 200, 140, 0.22);
  border-radius: 20px;
  padding: 3px 10px;
  margin-top: 2px;
  white-space: nowrap;
}

/* ============================================================
   TITLE
   ============================================================ */
.use_cases-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.35;
}

/* ============================================================
   SUMMARY (accent blockquote line)
   ============================================================ */
.use_cases-summary {
  display: block;
  padding: 0 0 0 11px;
  border-left: 2px solid;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  width: 100%;
}

/* per-card summary accent colors */
.use_cases-card:nth-child(1) .use_cases-summary { border-color: rgba(140, 200, 140, 0.55); color: rgba(140, 200, 140, 0.85); }
.use_cases-card:nth-child(2) .use_cases-summary { border-color: rgba(96, 165, 250, 0.55);  color: rgba(96, 165, 250, 0.85);  }
.use_cases-card:nth-child(3) .use_cases-summary { border-color: rgba(251, 191, 36, 0.55);  color: rgba(251, 191, 36, 0.85);  }
.use_cases-card:nth-child(4) .use_cases-summary { border-color: rgba(167, 139, 250, 0.55); color: rgba(167, 139, 250, 0.85); }
.use_cases-card:nth-child(5) .use_cases-summary { border-color: rgba(45, 212, 191, 0.55);  color: rgba(45, 212, 191, 0.85);  }

/* ============================================================
   DESCRIPTION
   ============================================================ */
#bodyPanel1 .use_cases-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.46) !important; 
}

/* ============================================================
   CTA
   ============================================================ */
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.button,
#requestDemoButton {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 20, 26, 0.78);
  color: rgb(255, 255, 255);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 150ms ease,
    border-color 200ms ease;
}

.button:hover,
#requestDemoButton:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .use_cases-shell {
    width: min(100%, calc(100% - 40px));
    padding: 80px 0;
  }

  .use_cases-grid {
    grid-template-columns: 1fr;
    width: calc(100vw - 40px);
  }

  .use_cases-card--wide {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .use_cases-shell {
    width: calc(100% - 32px);
  }

  #innerPanel4 h1 {
    font-size: clamp(32px, 10.5vw, 44px);
    margin-bottom: 20px;
  }

  .use_cases-card--wide {
    grid-column: auto;
  }

  .hero-actions {
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  #requestDemoButton {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  #requestDemoButton {
    transition: none;
  }

  .use_cases-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}