/* Bazoble — Enhanced graphics layer */

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex-shrink: 0;
  color: var(--primary);
}

.icon--check {
  color: var(--primary);
}

.icon--bale {
  color: var(--bale);
}

.icon--tg {
  color: var(--tg);
}

/* Global ambient background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbDrift 18s ease-in-out infinite;
}

.page-bg__orb--1 {
  width: 420px;
  height: 420px;
  top: -10%;
  right: -5%;
  background: rgba(20, 184, 166, 0.22);
}

.page-bg__orb--2 {
  width: 360px;
  height: 360px;
  bottom: 20%;
  left: -8%;
  background: rgba(99, 102, 241, 0.18);
  animation-delay: -6s;
}

.page-bg__orb--3 {
  width: 280px;
  height: 280px;
  top: 45%;
  right: 25%;
  background: rgba(41, 182, 246, 0.12);
  animation-delay: -12s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 25px) scale(1.08); }
}

.glass {
  background: rgba(26, 35, 50, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge glow */
.badge--glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.25);
}

.badge__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 12px #5eead4;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 200, 83, 0.08), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(41, 182, 246, 0.1), transparent 45%);
}

/* Hero visual hub */
.hero__visual {
  min-height: 420px;
}

.hero__hub {
  position: absolute;
  width: min(340px, 90vw);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  opacity: 0.85;
  animation: hubSpin 60s linear infinite;
  z-index: 0;
}

@keyframes hubSpin {
  from { transform: translate(-50%, -52%) rotate(0deg); }
  to { transform: translate(-50%, -52%) rotate(360deg); }
}

.phone-mock {
  position: relative;
  z-index: 2;
}

.phone-mock--glow {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(20, 184, 166, 0.2);
}

.phone-mock__notch {
  width: 80px;
  height: 6px;
  margin: 0 auto 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 8px 8px;
}

.chat__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat__avatar {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.chat__online {
  margin-right: auto;
  width: 8px;
  height: 8px;
  background: #86efac;
  border-radius: 50%;
  box-shadow: 0 0 8px #86efac;
}

.chat__body {
  padding: 0.75rem;
  min-height: 240px;
}

.chat {
  padding: 0;
  min-height: auto;
}

.chat__time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.65;
  margin-bottom: 0.2rem;
}

.chat__typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  width: fit-content;
  background: var(--surface-2);
  border-radius: 14px;
  margin-top: 0.5rem;
}

.chat__typing span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s ease infinite;
}

.chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat__typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.float-card--sync {
  top: 55%;
  left: -8%;
  color: var(--accent);
  animation-delay: -2s;
}

.trust-item.glass {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  min-width: 100px;
}

.trust-item__icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0;
}

.hero__checks li::before {
  display: none;
}

/* Platform bridge */
.platforms {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, var(--bg-alt), transparent);
}

.platforms__bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.platform-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem;
}

.platform-node__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ringPulse 3s ease infinite;
}

.platform-node--bale .platform-node__ring {
  border-color: rgba(0, 200, 83, 0.4);
  box-shadow: 0 0 30px rgba(0, 200, 83, 0.2);
}

.platform-node--tg .platform-node__ring {
  border-color: rgba(41, 182, 246, 0.4);
  box-shadow: 0 0 30px rgba(41, 182, 246, 0.2);
  animation-delay: -1.5s;
}

.platform-node svg {
  position: relative;
  z-index: 1;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.platform-node span {
  font-weight: 700;
  font-size: 0.95rem;
}

.platform-bridge__line {
  position: relative;
  flex: 0 1 140px;
  height: 3px;
  margin: 0 0.5rem;
  background: linear-gradient(90deg, var(--bale), var(--primary), var(--tg));
  border-radius: 999px;
  overflow: visible;
}

.platform-bridge__pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 16px #fff;
  animation: bridgeMove 2.5s ease-in-out infinite;
}

@keyframes bridgeMove {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 12px); opacity: 0; }
}

.platform-bridge__label {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

/* Marquee showcase */
.showcase {
  padding: 1rem 0 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.showcase__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.showcase__item {
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* Service cards */
.card--glow {
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 40%), var(--surface);
}

.card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.4), transparent 50%, rgba(99, 102, 241, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.05));
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card__icon-wrap--bale {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.25), rgba(0, 200, 83, 0.05));
  color: var(--bale);
}

.card__icon-wrap--tg {
  background: linear-gradient(135deg, rgba(41, 182, 246, 0.25), rgba(41, 182, 246, 0.05));
  color: var(--tg);
}

.card__icon-wrap--dual {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(99, 102, 241, 0.2));
  color: #a78bfa;
}

.card__shine {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: rotate(25deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card--glow:hover .card__shine {
  transform: rotate(25deg) translateX(80%);
}

.card--featured {
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.15);
}

.card.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.card.reveal.is-visible {
  animation: cardReveal 0.55s ease forwards;
}

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

/* Why visual */
.why__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.orbit-card {
  padding: 1.75rem;
  border-radius: var(--radius);
}

.orbit-card__chart {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.donut {
  width: 140px;
  height: 140px;
}

.orbit-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.orbit-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--green { background: var(--bale); box-shadow: 0 0 8px var(--bale); }
.dot--blue { background: var(--tg); box-shadow: 0 0 8px var(--tg); }
.dot--purple { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.stat-box--glass {
  position: relative;
  overflow: hidden;
}

.stat-box--glass::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.stat-box__icon {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  opacity: 0.8;
}

/* Process timeline */
.steps--timeline {
  position: relative;
}

.steps--timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--tg));
  opacity: 0.35;
  border-radius: 2px;
}

@media (min-width: 769px) {
  .steps--timeline::before {
    top: auto;
    right: auto;
    bottom: auto;
    left: 0;
    right: 0;
    height: 2px;
    width: auto;
    top: 3.5rem;
    margin: 0 10%;
  }
}

.step--glass {
  position: relative;
  padding-top: 4.5rem;
  overflow: hidden;
}

.step__num span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.step__art {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  opacity: 0.9;
}

.step__art--1 {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.6 10.8c1.4 2.8 3.4 4.8 6.2 6.2l2.1-2.1c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E") center/28px no-repeat;
}

.step__art--2 {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") center/26px no-repeat;
}

.step__art--3 {
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E") center/26px no-repeat;
}

.step__art--4 {
  background: linear-gradient(135deg, #00c853, #14b8a6);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z'/%3E%3C/svg%3E") center/26px no-repeat;
}

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.15), transparent 35%),
    radial-gradient(circle at 90% 30%, rgba(167, 139, 250, 0.2), transparent 40%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.btn--shine {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn--shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-20deg);
  animation: btnShine 3s ease infinite;
}

@keyframes btnShine {
  0% { left: -40%; }
  60%, 100% { left: 120%; }
}

/* Contact icon rings */
.contact-card__icon-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover .contact-card__icon-ring {
  transform: scale(1.08);
}

.contact-card__icon-ring--phone {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(20, 184, 166, 0.1));
  color: var(--primary);
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.25);
}

.contact-card__icon-ring--wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(37, 211, 102, 0.1));
  color: #25d366;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.2);
}

.contact-card__icon-ring--tg {
  background: linear-gradient(135deg, rgba(41, 182, 246, 0.3), rgba(41, 182, 246, 0.1));
  color: var(--tg);
  box-shadow: 0 0 24px rgba(41, 182, 246, 0.2);
}

.contact-card__icon-ring--bale {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.3), rgba(0, 200, 83, 0.1));
  color: var(--bale);
  box-shadow: 0 0 24px rgba(0, 200, 83, 0.2);
}

.contact-card__icon {
  display: none;
}

/* Responsive graphics */
@media (max-width: 900px) {
  .hero__hub {
    opacity: 0.5;
    width: min(280px, 95vw);
  }

  .float-card--sync {
    display: none;
  }

  .platform-bridge__line {
    flex: 1 1 80px;
  }

  .steps--timeline::before {
    display: none;
  }

  .step--glass {
    padding-top: 1.5rem;
  }

  .step__art {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__checks {
    display: inline-block;
    text-align: right;
  }

  .trust-item.glass {
    flex: 1;
    min-width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hub,
  .showcase__track,
  .page-bg__orb,
  .platform-bridge__pulse,
  .badge__pulse {
    animation: none !important;
  }
}
