
.live-demo-section {
  padding: 8rem 0;
  background: #FAF6F0 !important;
}

.container {
    position: relative;
    width: 1024px;
    max-width: calc(100% - 160px);
    margin: 0 auto;
}

.live-demo-header {
  margin-bottom: 60px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: #C64110;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}


.live-demo-badge {
  background: #eee;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.live-demo-heading {
  font-size: 40px;
  margin-top: 10px;
}

.live-demo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
}

.live-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
}

.live-card h3{
  color: #3A3A36;
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 36px;
  font-family: 'Iiincrementssans';
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f3efe8;
  padding: 15px;
  border-radius: 12px;
  margin: 20px 0;
}

.play-btn {
  background: #d64b1f;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
}

.waveform {
  flex: 1;
  height: 20px;
  background: linear-gradient(to right, #9cc7d8 20%, transparent 20%);
}

.time {
  font-size: 12px;
}


.agent-label svg {
  margin-right: 6px;
}

.agent-label {
  font-size: 12px;
  color: gray;
  display: flex;
  margin-bottom: 6px;
}


.live-demosection__intro{
  margin-bottom: 32px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 400
}

.agent-text {
  font-size: 16px;
  line-height: 24px;
  color: #6B6860;
}

.divider {
  display: flex;
  align-items: center;
}

.desc-heading{
  margin-bottom: 12px !important;
}

.desc {
  color: #85857A;
  font-size: 1rem;
  line-height: 24px;
  margin-bottom: 4rem;
}

.call-box  > a{
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FAF6F0;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid #D6CFC2;
}

.call-label {
  font-size: 16px;
  color: #85857A;
  font-weight: 400
}

.call-box h4 {
  color: #282825;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
}

.demo-player-m__idle-overlay {
  opacity: 0 !important;
}

.demo-player-m__dropdown-wrap{
  display:none !important
}

.audio-bar__bar--played {
  background-color: #59B7D9 !important;
}

.audio-bar__bar--unplayed{
  background-color: rgba(89, 183, 217, 0.4) !important;
}

.demo-player[data-size="m"] {
  height: 180px !important;
  max-width: 405px !important;
  border: none !important;
  padding: 0 !important;
}

.demo-player-m__header{
  height: 64px !important;
  max-width: 405px !important;
  border-radius: 1rem !important;
  padding: 12px 16px !important;
  margin-bottom: 36px;
  border: 1px solid #D6CFC2;
}

.demo-player-m__idle-preview{
  opacity: 1 !important;
  pointer-events: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

.demo-player-m__idle-buttons{
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
}

@media(max-width: 991px){
  .live-demo-grid {
    grid-template-columns: 1fr !important;
  }
  .demo-player[data-size="l"] {
    height: 260px !important;
    max-width: 1024px !important;
  }
  .demo-player-l--playing{
    grid-template-columns: 1fr !important;
  }
  .demo-player-l__playing-head{
    display: none !important;
  }
  .divider {
    display: none !important;
  }
}

@media(max-width: 767px){
  .call-icon{
    max-width: 40px;
  }
  .call-icon svg{
    max-width: 40px;
  }
  .call-box h4{
    font-size: 20px;
    line-height: 28px;
  }
}
/* ============================================================
   Shared homepage section patterns
   Import in any section component that uses the sticky badge rail.

   Provides: .hp-section shell, .hp-rail sticky rail,
   .hp-badge pill, .hp-heading, .hp-body
   ============================================================ */


/* ---- Section shell ----------------------------------------
   Background-color is intentionally omitted — each section
   sets its own via a single-rule override. */

.hp-section {
  position:       relative;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            4rem;      /* 64px */
  padding:        8rem 0;   /* 128px top + bottom */
  font-family:    var(--font-family-default);
  width:          100%;
  box-sizing:     border-box;
}

/* Tablet (≤991px) */
@media (max-width: 991px) {
  .hp-section {
    padding: 6rem 0;
    gap:     3rem;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hp-section {
    padding: 4rem 0;
    gap:     2rem;
  }
}


/* ---- Sticky badge rail ------------------------------------
   Absolutely positioned inside the first .container, pushed
   left via right: 100%.  .container has position: relative so
   the rail is bounded to the container's height — badge stops
   when the container ends.
   Width = gutter between container (1024px) and container-wide
   (1360px): (1360 − 1024) / 2 = 168px.
   Shown only at ≥1488px — when the gutter is a fixed, predictable size. */

.hp-rail {
  display:        none;
  position:       absolute;
  right:          100%;
  top:            0;
  bottom:         0;
  width:          calc((1360px - 1024px) / 2);   /* 168px */
  pointer-events: none;
}

.hp-rail__sticky {
  position:        sticky;
  top:             8rem;
  display:         flex;
  justify-content: flex-end;
  align-items:     flex-start;
  padding-right:   12px;   /* 12px gap from the container's left edge */
}

@media (min-width: 1488px) {
  .hp-rail {
    display:         flex;
    justify-content: flex-start;
    align-items:     flex-start;
  }
}


/* ---- Badge pill -------------------------------------------
   Base pill used in the sticky rail and as the inline badge.
   .hp-badge--inline controls visibility relative to breakpoint. */

.hp-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  height:          26px;
  padding:         0 var(--spacing-3);
  background:      var(--card);
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     var(--line-height-xs);
  color:           var(--foreground);
  white-space:     nowrap;
}

/* Inline variant — shown below 1488px, hidden at and above
   (matches the rail breakpoint so there is never a gap where
   neither badge is shown) */
.hp-badge--inline {
  margin-bottom: var(--spacing-6);
}

@media (min-width: 1488px) {
  .hp-badge--inline {
    display: none;
  }
}

@media (max-width: 767px) {
  .hp-badge--inline {
    margin-bottom: 1rem;
  }
}

/* Live indicator dot (DemoSection "Live demo" badge) */
.hp-badge__dot {
  display:          block;
  width:            6px;
  height:           6px;
  border-radius:    var(--radius-full);
  background-color: var(--primary);
  flex-shrink:      0;
}


/* ---- Section heading --------------------------------------
   36px regular weight; <strong> inside uses bold. */

.hp-heading {
  margin:      0;
  font-size:   2.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 2.5rem;
  color:       var(--foreground);
}

.hp-heading strong {
  font-weight: var(--font-weight-bold);
}


/* ---- Section body text ------------------------------------
   20px regular — used in header intro blocks. */

.hp-body {
  margin:      0;
  font-size:   1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.75rem;
  color:       var(--foreground);
}

.hp-body strong {
  font-weight: var(--font-weight-bold);
}

@media (max-width: 767px) {
  .hp-heading {
    font-size:   1.875rem;  /* 30px */
    line-height: 2.25rem;   /* 36px */
  }

  .hp-body {
    font-size:   1.125rem;  /* 18px */
    line-height: 1.75rem;   /* 28px */
  }
}


/* ---- Shared card shell ------------------------------------
   Secondary background + hairline border + 12px radius.
   Use alongside component class for layout-specific rules. */

.card-secondary {
  background:    var(--secondary);
  border:        0.5px solid var(--border);
  border-radius: 12px;
  box-sizing:    border-box;
}


/* ---- 26px number pill -------------------------------------
   Circular badge used for step numbers.
   Color (background) set per-component. */

.num-pill {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           26px;
  height:          26px;
  flex-shrink:     0;
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     1;
  color:           var(--foreground);
}


/* ---- Card typography --------------------------------------
   Base/bold title and base/regular muted body.
   Color overrides applied per-component as needed. */

.card-title {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
}

.card-body {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color:       var(--muted-foreground);
}

/* ============================================================
   Container — shared responsive layout constraint
   Provides 1024px max content width with responsive side padding.
   Import this in any component that uses the .container class.
   ============================================================ */

.container {
  position:  relative;
  width:     1024px;
  max-width: calc(100% - 160px); /* 80px × 2 — desktop */
  margin:    0 auto;
}

/* Tablet (≤991px): 60px × 2 = 120px */
@media (max-width: 991px) {
  .container {
    max-width: calc(100% - 120px);
  }
}

/* Landscape mobile (≤767px): 2rem × 2 = 4rem */
@media (max-width: 767px) {
  .container {
    max-width: calc(100% - 4rem);
  }
}



/* ============================================================
   Wide container — 1360px content + 48px side padding
   Used for full-bleed section content blocks (slider, big cards)
   that need to be wider than the standard 1024px text container.
   ============================================================ */

.container-wide {
  width:      100%;
  max-width:  calc(1360px + 96px);   /* 1360px content + 48px × 2 */
  padding:    0 3rem;                /* 48px sides */
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet + landscape mobile (≤991px) */
@media (max-width: 991px) {
  .container-wide {
    padding: 0 2rem;
  }

  .container-wide > * {
    margin-left:  -1rem;
    width:        calc(100% + 2rem) !important;
  }
}


