/* =========================================================
   WHY AI SECTION
   File: whyai.css
========================================================= */

.sga-ai24-section,
.sga-ai24-section * {
  box-sizing: border-box;
}

.sga-ai24-section {
  width: 100%;
  padding: 72px 24px;
  overflow: hidden;
  color: #171a18;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sga-ai24-layout {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sga-ai24-content-box,
.sga-ai24-scene {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(28, 43, 36, 0.09);
  border-radius: 29px;
  box-shadow:
    0 28px 80px rgba(28, 40, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.sga-ai24-content-box {
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(70, 184, 125, 0.11),
      transparent 28%
    ),
    linear-gradient(145deg, #ffffff, #fafcfb);
}

.sga-ai24-content-box::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(71, 184, 126, 0.08);
  filter: blur(40px);
}

.sga-ai24-content-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 54px);
}

.sga-ai24-eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 8px 11px;
  border: 1px solid rgba(44, 145, 100, 0.13);
  border-radius: 999px;
  background: rgba(244, 251, 247, 0.9);
  color: #48725d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sga-ai24-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43b77b;
  box-shadow: 0 0 0 5px rgba(67, 183, 123, 0.1);
  animation: sga-ai24-live-dot 2s ease-in-out infinite;
}

.sga-ai24-heading {
  margin: 0;
  color: #171a18;
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.057em;
}

.sga-ai24-heading span {
  display: block;
  color: #2d9869;
  font-weight: 760;
}

.sga-ai24-introduction {
  max-width: 500px;
  margin: 21px 0 0;
  color: #737b77;
  font-size: 13px;
  line-height: 1.75;
}

.sga-ai24-benefit-list {
  display: grid;
  gap: 9px;
  margin-top: 27px;
}

.sga-ai24-benefit {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(25, 44, 34, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.sga-ai24-benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.9) 47%,
    transparent 75%
  );
  transform: translateX(-140%);
  transition: transform 700ms ease;
}

.sga-ai24-benefit:hover {
  transform: translateX(4px);
  border-color: rgba(47, 155, 105, 0.19);
  box-shadow: 0 14px 32px rgba(28, 54, 40, 0.07);
}

.sga-ai24-benefit:hover::before {
  transform: translateX(140%);
}

.sga-ai24-benefit-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 145, 98, 0.11);
  border-radius: 12px;
  background: #ecf8f2;
}

.sga-ai24-benefit-icon svg {
  width: 18px;
  height: 18px;
  fill: #2e9566;
}

.sga-ai24-benefit-copy {
  position: relative;
  z-index: 2;
}

.sga-ai24-benefit-copy h3 {
  margin: 0 0 3px;
  color: #272d29;
  font-size: 12px;
  font-weight: 780;
}

.sga-ai24-benefit-copy p {
  margin: 0;
  color: #818985;
  font-size: 9px;
  line-height: 1.5;
}

.sga-ai24-benefit-label {
  position: relative;
  z-index: 2;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e8f7ef;
  color: #38805b;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sga-ai24-content-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  color: #606963;
  font-size: 9px;
  font-weight: 680;
}

.sga-ai24-content-footer span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #3baa73, transparent);
}

/* =========================================================
   RIGHT ROBOT SCENE
========================================================= */

.sga-ai24-scene {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(188, 216, 255, 0.64),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(218, 199, 255, 0.44),
      transparent 29%
    ),
    linear-gradient(145deg, #ffffff, #f4f7fc);
  isolation: isolate;
  perspective: 1200px;
}

.sga-ai24-scene-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.29;
  background-image:
    linear-gradient(rgba(64, 88, 132, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 88, 132, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 48%, #000, transparent 77%);
}

.sga-ai24-scene-glow,
.sga-ai24-scene-glow-secondary {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.sga-ai24-scene-glow {
  top: 48%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: rgba(106, 150, 255, 0.2);
}

.sga-ai24-scene-glow-secondary {
  top: 30%;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(159, 117, 255, 0.16);
}

/* =========================================================
   LIVE STATUS
========================================================= */

.sga-ai24-live-status {
  position: absolute;
  z-index: 50;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(65, 84, 124, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #55627a;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(40, 54, 84, 0.07);
  backdrop-filter: blur(15px);
}

.sga-ai24-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6586ff;
  box-shadow: 0 0 0 5px rgba(101, 134, 255, 0.11);
  animation: sga-ai24-live-dot 2s ease-in-out infinite;
}

/* =========================================================
   PANELS
========================================================= */

.sga-ai24-call-panel,
.sga-ai24-message-panel {
  position: absolute;
  z-index: 45;
  width: 196px;
  padding: 13px;
  border: 1px solid rgba(60, 80, 120, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.81);
  box-shadow:
    0 22px 50px rgba(34, 47, 75, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
}

.sga-ai24-call-panel {
  top: 91px;
  left: 17px;
  animation:
    sga-ai24-call-panel-sequence 12s ease-in-out infinite,
    sga-ai24-float-left 5.5s ease-in-out infinite;
}

.sga-ai24-message-panel {
  top: 111px;
  right: 17px;
  animation: sga-ai24-float-right 6s ease-in-out infinite;
}

.sga-ai24-panel-heading {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.sga-ai24-panel-icon,
.sga-ai24-message-avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e7edff;
}

.sga-ai24-panel-icon svg {
  width: 15px;
  height: 15px;
  fill: #607ded;
}

.sga-ai24-message-avatar {
  color: #63709a;
  font-size: 12px;
  font-weight: 850;
}

.sga-ai24-panel-heading-copy span {
  display: block;
  margin-bottom: 2px;
  color: #8c96a9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sga-ai24-panel-heading-copy strong {
  display: block;
  color: #354052;
  font-size: 11px;
  line-height: 1.25;
}

.sga-ai24-call-timer {
  color: #6c768b;
  font-size: 8px;
  font-weight: 800;
}

.sga-ai24-message-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54bc8a;
  box-shadow: 0 0 0 5px rgba(84, 188, 138, 0.11);
}

.sga-ai24-call-question {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f0f3f9;
  color: #596477;
  font-size: 9px;
  line-height: 1.5;
}

.sga-ai24-waveform {
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 7px;
}

.sga-ai24-waveform i {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(#70a5ff, #9f78ff);
  animation: sga-ai24-wave 0.9s ease-in-out infinite;
}

.sga-ai24-waveform i:nth-child(2) {
  animation-delay: 0.08s;
}

.sga-ai24-waveform i:nth-child(3) {
  animation-delay: 0.16s;
}

.sga-ai24-waveform i:nth-child(4) {
  animation-delay: 0.24s;
}

.sga-ai24-waveform i:nth-child(5) {
  animation-delay: 0.32s;
}

.sga-ai24-waveform i:nth-child(6) {
  animation-delay: 0.4s;
}

.sga-ai24-waveform i:nth-child(7) {
  animation-delay: 0.48s;
}

.sga-ai24-waveform i:nth-child(8) {
  animation-delay: 0.56s;
}

.sga-ai24-waveform i:nth-child(9) {
  animation-delay: 0.64s;
}

.sga-ai24-call-button {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #6282ff, #8f66f6);
  color: #ffffff;
  box-shadow: 0 11px 23px rgba(99, 104, 255, 0.22);
  animation: sga-ai24-call-button-state 12s ease-in-out infinite;
}

.sga-ai24-call-button svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.sga-ai24-call-text-cycle {
  position: relative;
  width: 90px;
  height: 14px;
  overflow: hidden;
}

.sga-ai24-call-text-cycle span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
}

.sga-ai24-call-text-cycle span:nth-child(1) {
  animation: sga-ai24-call-text-one 12s ease-in-out infinite;
}

.sga-ai24-call-text-cycle span:nth-child(2) {
  animation: sga-ai24-call-text-two 12s ease-in-out infinite;
}

.sga-ai24-call-text-cycle span:nth-child(3) {
  animation: sga-ai24-call-text-three 12s ease-in-out infinite;
}

/* =========================================================
   MESSAGE CONTENT
========================================================= */

.sga-ai24-customer-message,
.sga-ai24-ai-message {
  max-width: 96%;
  padding: 9px 10px;
  font-size: 9px;
  line-height: 1.5;
}

.sga-ai24-customer-message {
  margin-top: 11px;
  margin-left: auto;
  border-radius: 10px 10px 3px 10px;
  background: #f0f2f7;
  color: #596274;
}

.sga-ai24-typing-indicator {
  width: fit-content;
  display: flex;
  gap: 3px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 10px 10px 10px 3px;
  background: #e6ecff;
  animation: sga-ai24-typing-visibility 12s ease-in-out infinite;
}

.sga-ai24-typing-indicator i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7187dd;
  animation: sga-ai24-typing-dot 1s ease-in-out infinite;
}

.sga-ai24-typing-indicator i:nth-child(2) {
  animation-delay: 0.14s;
}

.sga-ai24-typing-indicator i:nth-child(3) {
  animation-delay: 0.28s;
}

.sga-ai24-ai-message {
  margin-top: 7px;
  border-radius: 10px 10px 10px 3px;
  background: linear-gradient(145deg, #e1e9ff, #eee6ff);
  color: #52618a;
  animation: sga-ai24-ai-reply 12s ease-in-out infinite;
}

.sga-ai24-message-delivered {
  margin-top: 6px;
  color: #7b86a0;
  font-size: 7.5px;
  font-weight: 750;
  text-align: right;
  animation: sga-ai24-ai-reply 12s ease-in-out infinite;
}

.sga-ai24-message-delivered span {
  color: #6682e7;
}

/* =========================================================
   ROBOT POSITION
========================================================= */

.sga-ai24-robot-holder {
  position: absolute;
  z-index: 20;
  top: 53%;
  left: 50%;
  width: 49%;
  max-width: 320px;
  min-width: 235px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sga-ai24-robot {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 25px 25px rgba(33, 45, 70, 0.16));
}

.sga-ai24-robot-halo {
  position: absolute;
  z-index: -1;
  top: 47%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sga-ai24-robot-halo-one {
  width: 118%;
  border: 1px solid rgba(106, 136, 255, 0.17);
  animation: sga-ai24-halo-one 4s ease-in-out infinite;
}

.sga-ai24-robot-halo-two {
  width: 138%;
  border: 1px dashed rgba(148, 111, 255, 0.13);
  animation: sga-ai24-halo-two 15s linear infinite;
}

/* =========================================================
   ROBOT SVG ANIMATION
========================================================= */

.sga-ai24-svg-head {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: sga-ai24-head-task-movement 12s ease-in-out infinite;
}

.sga-ai24-svg-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: sga-ai24-robot-eye-blink 5s ease-in-out infinite;
}

.sga-ai24-svg-mouth rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: sga-ai24-mouth-speak 0.75s ease-in-out infinite;
}

.sga-ai24-svg-mouth rect:nth-child(2) {
  animation-delay: 0.08s;
}

.sga-ai24-svg-mouth rect:nth-child(3) {
  animation-delay: 0.16s;
}

.sga-ai24-svg-mouth rect:nth-child(4) {
  animation-delay: 0.24s;
}

.sga-ai24-svg-mouth rect:nth-child(5) {
  animation-delay: 0.32s;
}

.sga-ai24-svg-mouth rect:nth-child(6) {
  animation-delay: 0.4s;
}

.sga-ai24-svg-mouth rect:nth-child(7) {
  animation-delay: 0.48s;
}

.sga-ai24-svg-left-arm {
  transform-box: fill-box;
  transform-origin: top center;
  animation: sga-ai24-left-arm-call 12s ease-in-out infinite;
}

.sga-ai24-svg-right-arm {
  transform-box: fill-box;
  transform-origin: top center;
  animation: sga-ai24-right-arm-message 12s ease-in-out infinite;
}

.sga-ai24-svg-left-fingers rect,
.sga-ai24-svg-right-fingers rect {
  transform-box: fill-box;
  transform-origin: top center;
}

.sga-ai24-svg-left-fingers rect {
  animation: sga-ai24-call-tap 12s ease-in-out infinite;
}

.sga-ai24-svg-right-fingers rect {
  animation: sga-ai24-finger-type 0.55s ease-in-out infinite;
}

.sga-ai24-svg-right-fingers rect:nth-child(2) {
  animation-delay: 0.14s;
}

.sga-ai24-svg-right-fingers rect:nth-child(3) {
  animation-delay: 0.28s;
}

.sga-ai24-svg-chest-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: sga-ai24-chest-pulse 2.5s ease-in-out infinite;
}

/* =========================================================
   KEYBOARD
========================================================= */

.sga-ai24-keyboard {
  position: absolute;
  z-index: 30;
  right: 62px;
  bottom: 61px;
  width: 145px;
  padding: 12px;
  border: 1px solid rgba(108, 134, 255, 0.21);
  border-radius: 13px;
  background: rgba(205, 221, 255, 0.22);
  box-shadow:
    0 0 30px rgba(112, 134, 255, 0.16),
    inset 0 0 20px rgba(145, 115, 255, 0.08);
  transform:
    perspective(350px)
    rotateX(58deg)
    rotateZ(-7deg);
  animation: sga-ai24-keyboard-sequence 12s ease-in-out infinite;
}

.sga-ai24-keyboard-light {
  position: absolute;
  left: 50%;
  top: -56px;
  width: 105px;
  height: 62px;
  transform: translateX(-50%);
  background: linear-gradient(
    to top,
    rgba(112, 139, 255, 0.16),
    transparent
  );
  clip-path: polygon(20% 100%, 80% 100%, 100% 0, 0 0);
}

.sga-ai24-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 4px 0;
}

.sga-ai24-keyboard-row i {
  width: 13px;
  height: 7px;
  border: 1px solid rgba(116, 140, 255, 0.34);
  border-radius: 2px;
  background: rgba(137, 160, 255, 0.24);
  animation: sga-ai24-key-light 1.1s ease-in-out infinite;
}

.sga-ai24-keyboard-row i:nth-child(2n) {
  animation-delay: 0.14s;
}

.sga-ai24-keyboard-row i:nth-child(3n) {
  animation-delay: 0.28s;
}

/* =========================================================
   FLOW LINES
========================================================= */

.sga-ai24-task-flow {
  position: absolute;
  z-index: 12;
  height: 1px;
  background: rgba(107, 135, 255, 0.23);
}

.sga-ai24-task-flow span {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 2px solid #7292ff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(114, 146, 255, 0.6);
}

.sga-ai24-task-flow-call {
  top: 247px;
  left: 180px;
  width: 80px;
  transform: rotate(23deg);
}

.sga-ai24-task-flow-message {
  top: 257px;
  right: 180px;
  width: 80px;
  transform: rotate(-23deg);
}

.sga-ai24-task-flow-call span {
  animation: sga-ai24-flow-left 2.3s linear infinite;
}

.sga-ai24-task-flow-message span {
  animation: sga-ai24-flow-right 2.7s linear infinite;
}

/* =========================================================
   BOOKING RESULT
========================================================= */

.sga-ai24-booking-result {
  position: absolute;
  z-index: 55;
  left: 50%;
  bottom: 18px;
  min-width: 205px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(52, 156, 110, 0.15);
  border-radius: 15px;
  background: rgba(248, 255, 251, 0.94);
  box-shadow:
    0 16px 38px rgba(45, 123, 88, 0.14),
    0 0 32px rgba(73, 187, 134, 0.14);
  backdrop-filter: blur(16px);
  animation: sga-ai24-booking-sequence 12s ease-in-out infinite;
}

.sga-ai24-booking-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #dff7ea;
}

.sga-ai24-booking-check svg {
  width: 18px;
  height: 18px;
  fill: #379968;
}

.sga-ai24-booking-copy span {
  display: block;
  margin-bottom: 2px;
  color: #75a089;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sga-ai24-booking-copy strong {
  display: block;
  color: #385247;
  font-size: 10px;
}

.sga-ai24-zero-leads {
  position: absolute;
  z-index: 55;
  bottom: 18px;
  left: 18px;
  padding: 9px 11px;
  border: 1px solid rgba(65, 84, 124, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #5b667c;
  font-size: 7px;
  font-weight: 830;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.sga-ai24-zero-leads strong {
  margin-right: 4px;
  color: #637fff;
  font-size: 11px;
}

/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes sga-ai24-live-dot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(101, 134, 255, 0.11);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(101, 134, 255, 0.03);
  }
}

@keyframes sga-ai24-halo-one {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.45;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.07);
    opacity: 1;
  }
}

@keyframes sga-ai24-halo-two {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sga-ai24-head-task-movement {
  0%,
  8%,
  100% {
    transform: rotate(0deg);
  }

  14%,
  36% {
    transform: rotate(-7deg) translateX(-4px);
  }

  43%,
  51% {
    transform: rotate(0deg);
  }

  58%,
  83% {
    transform: rotate(7deg) translateX(4px);
  }

  91% {
    transform: rotate(0deg);
  }
}

@keyframes sga-ai24-robot-eye-blink {
  0%,
  43%,
  48%,
  100% {
    transform: scaleY(1);
  }

  46% {
    transform: scaleY(0.08);
  }
}

@keyframes sga-ai24-mouth-speak {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.58;
  }

  50% {
    transform: scaleY(1.4);
    opacity: 1;
  }
}

@keyframes sga-ai24-left-arm-call {
  0%,
  10%,
  41%,
  100% {
    transform: rotate(0deg);
  }

  17%,
  32% {
    transform: rotate(21deg) translate(-12px, -9px);
  }
}

@keyframes sga-ai24-right-arm-message {
  0%,
  49%,
  88%,
  100% {
    transform: rotate(0deg);
  }

  58%,
  80% {
    transform: rotate(-18deg) translate(12px, 9px);
  }
}

@keyframes sga-ai24-call-tap {
  0%,
  15%,
  23%,
  100% {
    transform: translateY(0);
  }

  19% {
    transform: translateY(8px);
  }
}

@keyframes sga-ai24-finger-type {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes sga-ai24-chest-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.88;
  }

  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

@keyframes sga-ai24-wave {
  0%,
  100% {
    height: 6px;
    opacity: 0.4;
  }

  50% {
    height: 23px;
    opacity: 1;
  }
}

@keyframes sga-ai24-typing-dot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes sga-ai24-float-left {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -6px;
  }
}

@keyframes sga-ai24-float-right {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes sga-ai24-call-panel-sequence {
  0%,
  8% {
    box-shadow:
      0 22px 50px rgba(34, 47, 75, 0.11),
      0 0 0 0 rgba(99, 129, 255, 0);
  }

  12%,
  20% {
    box-shadow:
      0 22px 50px rgba(34, 47, 75, 0.11),
      0 0 0 9px rgba(99, 129, 255, 0.08);
  }

  29%,
  100% {
    box-shadow:
      0 22px 50px rgba(34, 47, 75, 0.11),
      0 0 0 0 rgba(99, 129, 255, 0);
  }
}

@keyframes sga-ai24-call-button-state {
  0%,
  12% {
    background: linear-gradient(135deg, #6282ff, #8f66f6);
  }

  18%,
  39% {
    background: linear-gradient(135deg, #5d7df4, #765ef1);
  }

  42%,
  100% {
    background: linear-gradient(135deg, #42a979, #398e72);
  }
}

@keyframes sga-ai24-call-text-one {
  0%,
  12% {
    opacity: 1;
    transform: translateY(0);
  }

  16%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes sga-ai24-call-text-two {
  0%,
  14% {
    opacity: 0;
    transform: translateY(10px);
  }

  18%,
  37% {
    opacity: 1;
    transform: translateY(0);
  }

  42%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes sga-ai24-call-text-three {
  0%,
  39% {
    opacity: 0;
    transform: translateY(10px);
  }

  44%,
  93% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}

@keyframes sga-ai24-typing-visibility {
  0%,
  49% {
    opacity: 0;
    transform: translateY(6px);
  }

  56%,
  70% {
    opacity: 1;
    transform: translateY(0);
  }

  75%,
  100% {
    opacity: 0;
  }
}

@keyframes sga-ai24-ai-reply {
  0%,
  69% {
    opacity: 0;
    transform: translateY(7px) scale(0.97);
  }

  76%,
  94% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
  }
}

@keyframes sga-ai24-keyboard-sequence {
  0%,
  48% {
    opacity: 0.18;
    filter: saturate(0.7);
  }

  56%,
  81% {
    opacity: 1;
    filter: saturate(1.2);
  }

  89%,
  100% {
    opacity: 0.18;
  }
}

@keyframes sga-ai24-key-light {
  0%,
  100% {
    background: rgba(137, 160, 255, 0.22);
    box-shadow: none;
  }

  50% {
    background: rgba(157, 126, 255, 0.67);
    box-shadow: 0 0 8px rgba(131, 111, 255, 0.47);
  }
}

@keyframes sga-ai24-flow-left {
  from {
    left: 0;
  }

  to {
    left: calc(100% - 7px);
  }
}

@keyframes sga-ai24-flow-right {
  from {
    right: 0;
  }

  to {
    right: calc(100% - 7px);
  }
}

@keyframes sga-ai24-booking-sequence {
  0%,
  79% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.96);
  }

  86%,
  95% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -4px) scale(0.98);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .sga-ai24-layout {
    width: min(680px, 100%);
    grid-template-columns: 1fr;
  }

  .sga-ai24-content-box,
  .sga-ai24-scene {
    aspect-ratio: 1 / 1;
  }
}

/* =========================================================
   MOBILE
   Panels remain at top and robot moves lower
========================================================= */

@media (max-width: 640px) {
  .sga-ai24-section {
    padding: 52px 13px;
  }

  .sga-ai24-layout {
    gap: 13px;
  }

  .sga-ai24-content-box,
  .sga-ai24-scene {
    border-radius: 22px;
  }

  .sga-ai24-content-box {
    aspect-ratio: auto;
  }

  .sga-ai24-content-inner {
    min-height: 620px;
    padding: 32px 20px;
  }

  .sga-ai24-heading {
    font-size: clamp(39px, 11vw, 50px);
  }

  .sga-ai24-introduction {
    font-size: 13px;
  }

  .sga-ai24-benefit {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .sga-ai24-benefit-label {
    grid-column: 2;
    width: fit-content;
  }

  .sga-ai24-scene {
    min-height: 720px;
    aspect-ratio: auto;
  }

  /* Both panels remain at top */
  .sga-ai24-call-panel {
    top: 76px;
    left: 9px;
    width: calc(50% - 13px);
    padding: 10px;
  }

  .sga-ai24-message-panel {
    top: 76px;
    right: 9px;
    width: calc(50% - 13px);
    padding: 10px;
  }

  /* Robot moves lower */
  .sga-ai24-robot-holder {
    top: 63%;
    width: 270px;
    min-width: 0;
  }

  .sga-ai24-live-status {
    top: 13px;
    left: 13px;
  }

  .sga-ai24-panel-heading {
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .sga-ai24-panel-icon,
  .sga-ai24-message-avatar {
    width: 31px;
    height: 31px;
  }

  .sga-ai24-panel-heading-copy span {
    font-size: 7px;
  }

  .sga-ai24-panel-heading-copy strong {
    font-size: 9px;
  }

  .sga-ai24-call-question,
  .sga-ai24-customer-message,
  .sga-ai24-ai-message {
    font-size: 8px;
  }

  .sga-ai24-message-delivered {
    font-size: 6.5px;
  }

  .sga-ai24-keyboard {
    right: 5px;
    bottom: 83px;
    transform:
      perspective(350px)
      rotateX(58deg)
      rotateZ(-7deg)
      scale(0.76);
  }

  .sga-ai24-booking-result {
    bottom: 48px;
  }

  .sga-ai24-zero-leads {
    bottom: 12px;
    left: 10px;
  }

  .sga-ai24-task-flow {
    display: none;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {
  .sga-ai24-content-inner {
    min-height: 665px;
  }

  .sga-ai24-scene {
    min-height: 750px;
  }

  .sga-ai24-call-panel,
  .sga-ai24-message-panel {
    top: 72px;
    width: calc(50% - 11px);
    padding: 9px;
  }

  .sga-ai24-call-panel {
    left: 7px;
  }

  .sga-ai24-message-panel {
    right: 7px;
  }

  .sga-ai24-call-question {
    padding: 7px;
    font-size: 7.5px;
  }

  .sga-ai24-customer-message,
  .sga-ai24-ai-message {
    padding: 7px;
    font-size: 7.5px;
  }

  .sga-ai24-waveform {
    height: 24px;
  }

  .sga-ai24-call-button {
    height: 30px;
  }

  .sga-ai24-call-text-cycle {
    width: 72px;
  }

  .sga-ai24-call-text-cycle span {
    font-size: 6px;
  }

  .sga-ai24-robot-holder {
    top: 65%;
    width: 245px;
  }

  .sga-ai24-keyboard {
    right: -5px;
    bottom: 94px;
    transform:
      perspective(350px)
      rotateX(58deg)
      rotateZ(-7deg)
      scale(0.66);
  }

  .sga-ai24-booking-result {
    bottom: 52px;
    min-width: 190px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .sga-ai24-section *,
  .sga-ai24-section *::before,
  .sga-ai24-section *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   MOBILE HEIGHT FIX
   Keeps the AI box compact instead of extremely tall
========================================================= */

@media (max-width: 640px) {
  .sga-ai24-scene {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1.22 !important;
    border-radius: 22px;
  }

  /* Panels stay at the top */
  .sga-ai24-call-panel {
    top: 68px;
    left: 8px;
    width: calc(50% - 12px);
    padding: 9px;
  }

  .sga-ai24-message-panel {
    top: 68px;
    right: 8px;
    width: calc(50% - 12px);
    padding: 9px;
  }

  /* Robot stays lower but still inside compact box */
  .sga-ai24-robot-holder {
    top: 66%;
    width: 235px;
    min-width: 0;
  }

  /* Smaller top status */
  .sga-ai24-live-status {
    top: 11px;
    left: 11px;
    padding: 7px 9px;
    font-size: 7px;
  }

  /* Compact panel typography */
  .sga-ai24-panel-heading {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 5px;
  }

  .sga-ai24-panel-icon,
  .sga-ai24-message-avatar {
    width: 28px;
    height: 28px;
  }

  .sga-ai24-panel-heading-copy span {
    font-size: 6.2px;
  }

  .sga-ai24-panel-heading-copy strong {
    font-size: 8px;
  }

  .sga-ai24-call-question,
  .sga-ai24-customer-message,
  .sga-ai24-ai-message {
    font-size: 7px;
    padding: 6px 7px;
  }

  .sga-ai24-waveform {
    height: 21px;
    margin-top: 4px;
  }

  .sga-ai24-call-button {
    height: 28px;
  }

  .sga-ai24-call-text-cycle {
    width: 68px;
  }

  .sga-ai24-call-text-cycle span {
    font-size: 5.8px;
  }

  .sga-ai24-typing-indicator {
    margin-top: 5px;
    padding: 5px 7px;
  }

  .sga-ai24-message-delivered {
    font-size: 6px;
  }

  /* Move keyboard closer to robot */
  .sga-ai24-keyboard {
    right: -8px;
    bottom: 45px;
    transform:
      perspective(350px)
      rotateX(58deg)
      rotateZ(-7deg)
      scale(0.58);
  }

  /* Smaller result box */
  .sga-ai24-booking-result {
    bottom: 10px;
    min-width: 165px;
    padding: 7px 9px;
  }

  .sga-ai24-booking-check {
    width: 28px;
    height: 28px;
  }

  .sga-ai24-booking-copy span {
    font-size: 6px;
  }

  .sga-ai24-booking-copy strong {
    font-size: 8px;
  }

  .sga-ai24-zero-leads {
    display: none;
  }

  .sga-ai24-task-flow {
    display: none;
  }
}

/* Smaller phones */
@media (max-width: 430px) {
  .sga-ai24-scene {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1.28 !important;
  }

  .sga-ai24-call-panel,
  .sga-ai24-message-panel {
    top: 62px;
    width: calc(50% - 10px);
    padding: 8px;
  }

  .sga-ai24-call-panel {
    left: 6px;
  }

  .sga-ai24-message-panel {
    right: 6px;
  }

  .sga-ai24-robot-holder {
    top: 67%;
    width: 215px;
  }

  .sga-ai24-call-question,
  .sga-ai24-customer-message,
  .sga-ai24-ai-message {
    font-size: 6.7px;
  }

  .sga-ai24-keyboard {
    right: -18px;
    bottom: 38px;
    transform:
      perspective(350px)
      rotateX(58deg)
      rotateZ(-7deg)
      scale(0.5);
  }

  .sga-ai24-booking-result {
    bottom: 8px;
    min-width: 155px;
  }
}

/* Smooth call-panel movement */

.sga-ai24-call-panel {
  top: 91px;
  left: 17px;

  animation:
    sga-ai24-call-panel-sequence 12s ease-in-out infinite,
    sga-ai24-call-panel-float-smooth 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;

  will-change: transform, box-shadow;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Remove the old margin-based animation */
@keyframes sga-ai24-call-panel-float-smooth {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -4px, 0);
  }
}

/* =========================================================
   TRANSPARENT BOXES + REMOVE ROBOT BLUE GLOW
   Added override
========================================================= */

/* Remove border, fill and shadow from the two main boxes */
.sga-ai24-content-box,
.sga-ai24-scene {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Remove decorative glow from the content box */
.sga-ai24-content-box::after {
  display: none !important;
}

/* Remove blue/purple background glow and grid behind robot */
.sga-ai24-scene-grid,
.sga-ai24-scene-glow,
.sga-ai24-scene-glow-secondary {
  display: none !important;
}

/* Remove circular blue/purple rings behind robot */
.sga-ai24-robot-halo {
  display: none !important;
}

/* Remove the large blue shadow around the full robot */
.sga-ai24-robot {
  filter: none !important;
}



.sga-ai24-call-panel,
.sga-ai24-message-panel {
  border: 1px solid rgba(46, 58, 82, 0.07) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow:
    0 5px 14px rgba(35, 44, 64, 0.045),
    0 1px 3px rgba(35, 44, 64, 0.03) !important;
}

.sga-ai24-call-panel {
  animation:
    sga-ai24-call-panel-float-smooth 7s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
}