body {
  margin: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.12;
  pointer-events: none;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.2;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.arc-core {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -120px;
  top: -80px;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.65), rgba(14, 116, 144, 0.2) 55%, transparent 70%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.6), transparent 55%);
  box-shadow:
    0 0 60px rgba(56, 189, 248, 0.6),
    0 0 120px rgba(14, 116, 144, 0.4);
  opacity: 0.7;
  pointer-events: none;
  animation: pulse-core 6s ease-in-out infinite;
}

.spark-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.95), rgba(251, 146, 60, 0));
  opacity: 0.8;
  animation: drift 9s ease-in-out infinite;
}

.spark:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.spark:nth-child(2) {
  top: 40%;
  left: 80%;
  animation-delay: 1.5s;
}

.spark:nth-child(3) {
  top: 70%;
  left: 25%;
  animation-delay: 3s;
}

.spark:nth-child(4) {
  top: 15%;
  left: 60%;
  animation-delay: 4.5s;
}

.spark:nth-child(5) {
  top: 85%;
  left: 70%;
  animation-delay: 6s;
}

.spark:nth-child(6) {
  top: 55%;
  left: 45%;
  animation-delay: 7.5s;
}

.glow-band {
  position: absolute;
  width: 120%;
  height: 260px;
  left: -10%;
  top: 20%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.25), transparent 70%);
  filter: blur(30px);
  opacity: 0.45;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.8), rgba(245, 158, 11, 0));
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8), rgba(14, 116, 144, 0));
  top: 120px;
  right: -120px;
  animation-delay: 2s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.7), rgba(220, 38, 38, 0));
  bottom: -120px;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.glass-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 28, 0.72);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.bubble {
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: rgba(236, 254, 255, 0.9);
}

.float-1 {
  animation: bob 4s ease-in-out infinite;
}

.float-2 {
  animation: bob 4.4s ease-in-out infinite;
}

.float-3 {
  animation: bob 4.8s ease-in-out infinite;
}

.float-4 {
  animation: bob 5.2s ease-in-out infinite;
}

.step {
  border-left: 2px solid rgba(251, 146, 60, 0.6);
  padding-left: 12px;
}

.price-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  padding: 16px;
}

.chat-sim {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(160deg, rgba(20, 30, 46, 0.92), rgba(12, 16, 28, 0.96));
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.8);
}

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

.status-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  color: rgba(15, 23, 42, 0.9);
  background: linear-gradient(120deg, rgba(251, 146, 60, 0.95), rgba(56, 189, 248, 0.95));
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.msg .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 6px;
}

.msg.user {
  align-self: flex-end;
  border-color: rgba(251, 146, 60, 0.4);
  background: linear-gradient(120deg, rgba(251, 146, 60, 0.15), rgba(56, 189, 248, 0.15));
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.8);
}

.chat-input button {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.95);
  background: linear-gradient(120deg, rgba(251, 146, 60, 0.95), rgba(56, 189, 248, 0.95));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-30px) translateX(12px) scale(1.4);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(12deg);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  45% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

@keyframes pulse-core {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@media (max-width: 768px) {
  .orb {
    opacity: 0.25;
  }
  .glass-card {
    padding: 18px;
    border-radius: 16px;
  }
  .bubble {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .grid-overlay {
    opacity: 0.08;
  }
  .spark {
    opacity: 0.35;
  }
  .shimmer::after {
    opacity: 0.4;
  }
  .chat-sim {
    padding: 14px;
  }
  .chat-input {
    flex-direction: column;
    align-items: flex-start;
  }
  .arc-core {
    width: 240px;
    height: 240px;
    right: -120px;
    top: -80px;
  }
}
