/* ═══════════════════════════════════════
   AMUX — home.css  (index.html only)
═══════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 84px;
  background: #fff;
}
.hero-glow-1 {
  position: absolute; top: -160px; left: -160px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(3,60,190,.11) 0%, transparent 68%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; top: -60px; right: -200px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,82,212,.08) 0%, transparent 68%);
  pointer-events: none;
}
.hero-glow-3 {
  position: absolute; bottom: -120px; left: 38%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(3,60,190,.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(3,60,190,.08); border: 1px solid rgba(3,60,190,.2);
  color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 18px; border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeUp .55s ease both;
}
.badge-dot {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -.03em;
  color: var(--text); max-width: 820px; margin: 0 auto 22px;
  animation: fadeUp .6s .1s ease both;
}
.hero-desc {
  font-size: clamp(.95rem, 1.8vw, 1.08rem); color: var(--text2);
  max-width: 560px; margin: 0 auto 42px; font-weight: 400; line-height: 1.78;
  animation: fadeUp .65s .2s ease both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

/* stat cards */
.hero-stats {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 64px;
  animation: fadeUp .75s .45s ease both;
}
.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 30px; text-align: center;
  box-shadow: var(--shadow); min-width: 156px;
  transition: all .26s; position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity .26s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { opacity: 1; }
.stat-card .num {
  font-size: 1.65rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; display: block; position: relative; z-index: 1;
}
.stat-card .label {
  font-size: .75rem; font-weight: 600; color: var(--text2); margin-top: 5px;
  position: relative; z-index: 1; letter-spacing: .02em;
}

/* ── VIRTUAL INDUSTRY ── */
.virtual-section { background: var(--bg2); }
  .virtual-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    text-align: left;
  }
  .virtual-text {
    text-align: left;
  }
  .vi-pills {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 0;
  }
.vi-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 99px;
  padding: 8px 18px; font-size: .8rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm); transition: all .22s;
}
.vi-pill:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.vi-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); flex-shrink: 0;
}

/* ── SERVICES PREVIEW ── */
.services-preview-section { background: var(--bg); }
.services-header { margin-bottom: 44px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow); transition: all .28s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transition: transform .28s;
  transform-origin: left;
}
.service-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-xl); border-color: rgba(3,60,190,.25); }


.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid rgba(3,60,190,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 20px; transition: all .28s;
}
.service-card:hover .service-icon {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 18px rgba(3,60,190,.35);
}
.service-title {
  font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 9px; letter-spacing: -.01em;
}
.service-desc { font-size: .87rem; color: var(--text2); line-height: 1.72; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand); font-size: .78rem; font-weight: 600; margin-top: 16px;
  opacity: 0; transition: opacity .22s; text-decoration: none;
}
.service-card:hover .service-arrow { opacity: 1; }

/* ── CAROUSEL ── */
.carousel-wrapper {
  position: relative;
}
.carousel-container {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 4px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-b);
  background: #fff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .22s;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
}
.carousel-wrapper:hover .carousel-btn {
  opacity: 1;
  pointer-events: auto;
}
.carousel-btn:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(3,60,190,.35);
  transform: scale(1.08);
}
.carousel-btn:disabled {
  opacity: 0.2 !important;
  cursor: not-allowed;
  transform: none;
  background: #fff;
  color: var(--brand);
  pointer-events: none;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-b);
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--brand);
  width: 22px;
  border-radius: 99px;
}

/* Show More button */
.show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.show-more-btn svg {
  transition: transform .2s;
}
.show-more-btn:hover svg {
  transform: translateX(3px);
}

/* Workspace tag on home cards */
.ws-tag-home {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: rgba(3,60,190,.09); border: 1px solid rgba(3,60,190,.18);
  padding: 3px 10px; border-radius: 99px; display: inline-block; margin-bottom: 10px;
}

/* ── SPLIT SECTION ── */
.split-section { background: var(--bg); padding: 52px 0; }

/* Desktop: 4 columns — Services | Image | Image | Workspaces */
.split-grid-v2 {
  display: flex;
  align-items: stretch;
  gap: 28px;
}
.split-col-services {
  flex: 1 1 0;
  order: 1;
  display: flex;
  flex-direction: column;
}
.split-col-workspaces {
  flex: 1 1 0;
  order: 4;
  display: flex;
  flex-direction: column;
}
.split-image {
  flex: 0 0 auto;
  width: 180px;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-image-2 {
  order: 3;
}
.split-image-inner {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.split-header { margin-bottom: 32px; }

/* ── responsive ── */
@media (max-width: 900px) {
  .split-grid-v2 {
    flex-direction: column;
    gap: 40px;
  }
  .split-image {
    width: 100%;
    order: unset;
  }
  .split-image-inner {
    max-width: 280px;
    margin: 0 auto;
  }
  .split-col-services { order: unset; }
  .split-col-workspaces { order: unset; }

  /* Mobile order: Image1 → Services → Image2 → Workspaces */
  .split-image-1 { order: 1; }
  .split-col-services { order: 2; }
  .split-image-2 { order: 3; }
  .split-col-workspaces { order: 4; }

  .carousel-btn {
    opacity: 1;
    pointer-events: auto;
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-stats { gap: 12px; }
  .stat-card { min-width: 130px; padding: 16px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .vi-pills { display: none; }
  .virtual-inner { grid-template-columns: 1fr; }

  .carousel-container { gap: 8px; }
  .carousel-btn { width: 32px; height: 32px; }
  .carousel-btn svg { width: 16px; height: 16px; }
}
