/* ===============================
   REALTIME PAGE – SCOPED CSS
   NO HEADER / FOOTER CONFLICT
================================ */

/* ⚠️ NO body, NO *, NO :root HERE */

/* ---------- HERO SECTION ---------- */

.realtime-page .realtime-hero {
  width: 100%;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    #2d3e38 0%,
    #4a7c6a 50%,
    #9be6b4 100%
  );
  text-align: center;
  padding: 60px 20px;
}

.realtime-page .realtime-container {
  max-width: 900px;
}

.realtime-page .brand-logo img {
  width: 60px;
  margin-bottom: 5px;
}

.realtime-page .brand-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.realtime-page .tagline {
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.realtime-page .realtime-title {
  font-size: 56px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.realtime-page .icon-glow {
  font-size: 40px;
  color: var(--brand-green);
  filter: drop-shadow(0 0 10px rgba(110, 231, 183, 0.6));
}

.realtime-page .hero-subtext {
  font-size: 42px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.2;
}

/* ---------- HERO BUTTONS ---------- */

.realtime-page .hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.realtime-page .btn-hero {
  min-width: 180px;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid #fff;
  color: #fff;
}

.realtime-page .btn-hero.primary {
  background-color: rgba(255, 255, 255, 0.2);
}

.realtime-page .btn-hero.secondary {
  background-color: rgba(0, 0, 0, 0.1);
}

.realtime-page .btn-hero:hover {
  transform: translateY(-3px);
  background-color: white;
  color: #3e4d44;
}

/* =========================
   DEMO SLIDER SECTION (SCOPED)
========================= */

.realtime-page .demo-slider-section{
  padding: 70px 20px;
  background: #12171c; /* adjust if needed */
}

.realtime-page .demo-slider-wrap{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 22px;
  align-items: start;
}

/* Slider card */
.realtime-page .demo-slider{
  position: relative;
    min-height: 420px; 
  border-radius: 16px;
  background: #1a1f25;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  min-height: 360px;
}

/* Side green bars like screenshot */
.realtime-page .demo-slider::before,
.realtime-page .demo-slider::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 18px;
  background: rgba(120, 211, 154, .35);
  z-index: 1;
}
.realtime-page .demo-slider::before{ left: 0; }
.realtime-page .demo-slider::after{ right: 0; }

/* viewport */
.realtime-page .demo-viewport{
   height: 100%;
  position: relative;
  height: 100%;
  padding: 26px;
  z-index: 2;
}

.realtime-page .demo-track{
  position: relative;
  height: 100%;
  min-height: 360px; 
  border-radius: 14px;
  overflow: hidden;
}

.realtime-page .demo-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .35s ease;
}

.realtime-page .demo-slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.realtime-page .demo-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* arrows */
.realtime-page .demo-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background .15s ease, transform .15s ease;
}
.realtime-page .demo-arrow:hover{ background: rgba(0,0,0,.55); }
.realtime-page .demo-arrow:active{ transform: translateY(-50%) scale(.97); }
.realtime-page .demo-arrow.left{ left: 10px; }
.realtime-page .demo-arrow.right{ right: 10px; }

/* dots */
.realtime-page .demo-dots{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.realtime-page .demo-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.realtime-page .demo-dot.is-active{
  background: #fff;
  transform: scale(1.25);
}


.Interest-btn{
 font-weight: 600;
padding: 10px;
color: white;
  background: linear-gradient(
    135deg,
    #2d3e38 0%,
    #4a7c6a 50%,
    #9be6b4 100%
  );
   border: 1px solid white;
   border-radius: 10px;
}

/* Book a demo card */
.realtime-page .book-demo{
  position: sticky;
  top: 18px;
  border-radius: 14px;
  padding: 14px;
}

.realtime-page .book-demo-inner{
  border-radius: 12px;
  background: #fff;
  color: #111;
  padding: 14px;
  text-align: center;
}

.realtime-page .book-demo-title{
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #666;
  line-height: 1.2;
  margin-bottom: 10px;
}

.realtime-page .book-demo-text{
  font-size: 12px;
  line-height: 1.35;
  color: #444;
  margin-bottom: 12px;
}


/* responsive */
@media (max-width: 900px){
  .realtime-page .demo-slider-wrap{
    grid-template-columns: 1fr;
  }
  .realtime-page .book-demo{
    margin: 0 auto;
    position: relative;
    width: 50%;
    top: 0;
  }
  .realtime-page .demo-slider{
    min-height: 320px;
  }
}




/* ---------- YOUTUBE ---------- */

.realtime-page .yt-video {
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.realtime-page .yt-video iframe {
  max-width: 100%;
  border-radius: 16px;
}



/* ===========================
   ORCHESTRATION SECTION
=========================== */

.orch-sec{
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.orch-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.orch-title{
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.orch-sub{
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
}

/* White box area */
.orch-box{
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 34px 40px 22px;
  overflow: hidden;
}

/* Purple band behind cards */
.orch-band{
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 84px;
  background: linear-gradient(90deg, #d7d2ff 0%, #6f5bff 50%, #d7d2ff 100%);
  opacity: .85;
}

/* grid for 3 items */
.orch-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  justify-items: center;
}

/* card */
.orch-card{
  width: 150px;
  height: 140px;
  border-radius: 14px;
  background:#f7f7fb;
  border: 10px solid #e7e7ee;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;

}


.orch-card img{
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
    transition: transform 0.35s ease, filter 0.35s ease;

}
.orch-item:hover .orch-card {
  transform: translateY(-6px);
    background: linear-gradient(180deg, #ffffff 0%, #f3f1ff 100%);
  box-shadow: 0 18px 40px rgba(111, 91, 255, 0.35);
}

.orch-item:hover .orch-card img {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 16px rgba(111, 91, 255, 0.45));
}


/* small gray text under cards inside white box */
.orch-small{
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
}

/* bottom bold white labels */
.orch-bottom{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  
}

/* responsive */
@media (max-width: 900px){
  .orch-box{ padding: 26px 26px 26px; }

  .orch-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .orch-band{
    top: 0;
    transform: none;
    height: 100%;
    width: 90px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .orch-bottom{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ---------- IMPACT SECTION ---------- */

.realtime-page .impact-section {
  padding: 80px 20px;
}

.realtime-page .impact-card {
  background: linear-gradient(135deg, #78a88e 0%, #a7d1b8 100%);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.realtime-page .impact-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.realtime-page .impact-title {
  font-size: 36px;
  font-weight: 900;
}

.realtime-page .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}

.realtime-page .stat-number {
  font-size: 56px;
  font-weight: 900;
}

/* ---------- ACTION BAR ---------- */

.realtime-page .action-bar {
  margin-top: 30px;
  background: linear-gradient(135deg, #406053 0%, #688a7a 100%);
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.realtime-page .btn-talk {
  background: linear-gradient(180deg, #d1f3e0 0%, #a7d1b8 100%);
  color: #2d3e38;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- EXPLORE SECTION ---------- */
/* ===========================
   FLOW TABS SECTION
=========================== */
/* =========================
   FLOW HORIZONTAL ACCORDION
========================= */

.explore-h1{
    margin-left: 30px ;
}
.flow-acc{
  max-width: 1400px;
  margin: 90px auto;
  padding: 0 20px;
  display: flex;
  gap: 18px;
  align-items: stretch;   /* important: same height */
}

/* each item */
.flow-item{
cursor: pointer; 
  flex: 1;                /* minimized */
  min-width: 92px;
  height: 560px;          /* fixed equal height */
  border-radius: 44px;
  overflow: hidden;
  display: flex;
 background: linear-gradient(
    135deg,
    #2d3e38 0%,
    #4a7c6a 50%,
    #9be6b4 100%
  );  transition: flex .35s ease;
}

.flow-item.active{
  flex: 7;                /* expanded */
}

/* left vertical tab */
.flow-tab{
flex: 0 0 92px;         /* ✅ fixed width */
  width: 92px; 

  min-width: 50px;
  border: 0;
  background: linear-gradient(135deg, #406053 0%, #688a7a 100%);
  color: #fff;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;
  user-select: none;
}

.flow-no{
  font-size: 22px;
  font-weight: 900;
}

.flow-vert{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  opacity: .95;
}

/* content area (only visible when active) */
.flow-body{
  flex: 1;
  padding: 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;

  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.flow-item.active .flow-body{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* text */
.flow-text h2{
  font-size: clamp(34px,4vw,60px);
  font-weight: 900;
  color:#fff;
  line-height: 1.1;
  margin-bottom: 18px;
}

.flow-text p{
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 26px;
}

.flow-btn{
  display:inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid #fff;
  color:#fff;
  font-weight: 800;
  text-decoration: none;
}
.flow-btn:hover{ background:#fff; color:#10b981; }

/* media */
.flow-media{
  background:#fff;
  padding: 16px;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  min-width: 0;
}

.flow-media img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 20px;
}

/* responsive */
@media (max-width: 1100px){

  /* container column */
  .flow-acc{
    flex-direction: column;
    align-items: stretch;
  }

  /* each item becomes "tab row" until opened */
  .flow-item{
    height: auto;
    border-radius: 22px;
    flex: none;
    overflow: hidden;
  }

  /* tab becomes horizontal bar */
  .flow-tab{
   
    display: flex;

    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;

    padding:0 18px;
  }

  .flow-vert{
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 14px;
  }

  /* ✅ default: content hidden on mobile */
  .flow-body{
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 24px 18px 26px;
    grid-template-columns: 1fr;
  }

  /* ✅ only active shows content */
  .flow-item.active .flow-body{
    display: grid;
  }

  /* optional: make active tab look stronger */
  .flow-item.active .flow-tab{
    filter: brightness(1.05);
  }
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .realtime-page .impact-card {
    grid-template-columns: 1fr;
  }

  .realtime-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .realtime-page .faq-grid {
    grid-template-columns: 1fr;
  }

  .realtime-page .explore-card {
    min-width: 100%;
  }
}
