/* ==========================
   FEATURES – premium cards
========================== */
.feature-image-shell {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: radial-gradient(circle at top left,
              rgba(56, 189, 248, 0.22),
              rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(56, 189, 248, 0.55);
}

.feature-image-shell::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.55), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(129, 140, 248, 0.45), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.feature-image-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.8rem 1.8rem 2rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.15), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.18), transparent 60%);
  opacity: 0.9;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(15, 23, 42, 1);
}

.feature-card-full {
  margin-top: 0.5rem;
}

.feature-inner-card {
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.99));
  border: 1px solid rgba(30, 64, 175, 0.75);
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.9),
    inset 0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 1.25rem 1.5rem;
}

/* Process steps */
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
}

.process-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0f2fe;
  background: radial-gradient(circle at 30% 0%, #22d3ee, #0f172a);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.8),
    0 0 20px rgba(56, 189, 248, 0.55);
}

.process-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e5e7eb;
}

.process-copy {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Audio waves */
.audio-wave {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4), transparent 70%);
  overflow: hidden;
}

.audio-wave span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0));
  opacity: 0.7;
  transform-origin: center;
  animation: waveSine 4s ease-in-out infinite;
}

.audio-wave span:nth-child(1) {
  top: 25%;
}
.audio-wave span:nth-child(2) {
  top: 50%;
  animation-delay: -1.1s;
}
.audio-wave span:nth-child(3) {
  top: 75%;
  animation-delay: -2.2s;
}

@keyframes waveSine {
  0%,
  100% {
    transform: translateX(-5%) scaleX(1);
  }
  50% {
    transform: translateX(5%) scaleX(1.12);
  }
}

.audio-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.audio-center-ring {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.audio-mic-dot {
  position: absolute;
  inset: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #22d3ee, #0ea5e9);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.9);
}

/* Avatar pills */
.avatar-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Kanban mini-board */
.kanban-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.kanban-chip {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.95);
}

.chip-red {
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.8);
}
.chip-amber {
  color: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.8);
}
.chip-green {
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.8);
}

.kanban-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .kanban-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kanban-card {
  border-radius: 0.9rem;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.kanban-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
}

.kanban-meta {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: #9ca3af;
}

/* Chart card */
.chart-wrapper {
  position: relative;
  padding: 0.75rem 0.4rem 0.4rem;
}

.chart-label {
  position: absolute;
  left: 10%;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chart-label-top {
  top: 0.1rem;
}

.chart-label-bottom {
  bottom: 1.2rem;
}

.chart-pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  color: #bbf7d0;
  border: 1px solid rgba(22, 163, 74, 0.9);
  font-size: 0.68rem;
}

.chart-pill-negative {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.9);
}

.chart-lines {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 0.6rem;
  padding-bottom: 1.5rem;
}

.chart-col {
  position: relative;
  width: 100%;
  height: 90px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(15, 23, 42, 1), rgba(30, 64, 175, 0.6));
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.75);
}

.chart-dot {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.dot-low {
  bottom: 18%;
}
.dot-mid {
  bottom: 38%;
}
.dot-high {
  bottom: 56%;
}
.dot-higher {
  bottom: 70%;
}
.dot-peak {
  bottom: 82%;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #64748b;
  padding-inline: 0.4rem;
}

.chatbot-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.chatbot-text {
  font-size: 0.8rem;
  color: #e5e7eb;
  font-weight: 500;
}
/* Chatbot Card – Neon Glow (matching contact card) */
article[data-chatbot-card] {
  position: relative;
  z-index: 0;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

article[data-chatbot-card]:hover {
  box-shadow:
    0 0 50px rgba(56, 189, 248, 0.45),
    0 0 110px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.75) !important;
  transform: translateY(-8px) scale(1.01);
  background: radial-gradient(circle at top left,
              rgba(15, 23, 42, 0.96),
              rgba(15, 23, 42, 1)) !important;
}

/* Glow layer behind the card */
article[data-chatbot-card]::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.32), transparent 65%);
  opacity: 0.55;
  pointer-events: none;
  animation: contactGlow 18s ease-in-out infinite alternate;
}

/* ============================
   Neon glow for service cards
   (Process Automation + Voice AI)
============================ */

/* Base state: outer cards */
.feature-card[data-process-card] {
  position: relative;
  z-index: 0;
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    background 0.4s ease;
}

/* Glow layer behind cards */
.feature-card[data-process-card]::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.32), transparent 65%);
  opacity: 0.55;
  pointer-events: none;
  animation: contactGlow 18s ease-in-out infinite alternate;
}

/* Hover state – same feel as contact/chatbot */
.feature-card[data-process-card]:hover {
  box-shadow:
    0 0 50px rgba(56, 189, 248, 0.45),
    0 0 110px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.75);
  transform: translateY(-8px) scale(1.01);
}


/* ============= PROCESS AUTOMATION STEPS ============= */
.feature-steps {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.feature-step-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0.25rem 0.9rem 0;
}

.step-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #a5f3fc 0%, #06b6d4 35%, #0f172a 100%);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 22px rgba(34, 211, 238, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.step-icon-inner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(240, 249, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0f2fe;
}

.step-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.32), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-step-card:hover .step-icon {
  transform: translateY(-1px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.9),
    0 0 30px rgba(56, 189, 248, 0.8);
}

.feature-step-card:hover .step-icon::before {
  opacity: 1;
}

.step-text {
  flex: 1;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.15rem;
}

.step-copy {
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (max-width: 640px) {
  .feature-steps {
    padding-inline: 1.4rem;
  }
}

/* Staggered fade-up just for process steps */
[data-animate="process"] .fade-up:nth-of-type(1) {
  transition-delay: 0.05s;
}
[data-animate="process"] .fade-up:nth-of-type(2) {
  transition-delay: 0.15s;
}
[data-animate="process"] .fade-up:nth-of-type(3) {
  transition-delay: 0.25s;
}
[data-animate="process"] .fade-up:nth-of-type(4) {
  transition-delay: 0.35s;
}

/* ================================
   Voice AI Agents – enhanced card
================================ */
.feature-card[data-voice-card] {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  z-index: 0;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

/* glow layer behind the voice card */
.feature-card[data-voice-card]::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.32), transparent 65%);
  opacity: 0.55;
  pointer-events: none;
  animation: contactGlow 18s ease-in-out infinite alternate;
}

/* hover – same feel as contact + chatbot + process */
.feature-card[data-voice-card]:hover {
  box-shadow:
    0 0 50px rgba(56, 189, 248, 0.45),
    0 0 110px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.75);
  transform: translateY(-8px) scale(1.01);
  background: radial-gradient(circle at top left,
              rgba(15, 23, 42, 0.96),
              rgba(15, 23, 42, 1));
}

.voice-bullet {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.voice-bullet.visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-bullet:nth-child(1) {
  transition-delay: 0.05s;
}
.voice-bullet:nth-child(2) {
  transition-delay: 0.15s;
}
.voice-bullet:nth-child(3) {
  transition-delay: 0.25s;
}
.voice-bullet:nth-child(4) {
  transition-delay: 0.35s;
}

.process-bullet {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

.process-bullet.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-bullet:nth-child(1) {
  transition-delay: 0.05s;
}
.process-bullet:nth-child(2) {
  transition-delay: 0.15s;
}
.process-bullet:nth-child(3) {
  transition-delay: 0.25s;
}
.process-bullet:nth-child(4) {
  transition-delay: 0.35s;
}

.neon-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #22d3ee, #0f172a 70%);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.9),
    0 0 28px rgba(56, 189, 248, 0.9);
  color: #e0f2fe;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.neon-icon::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.voice-bullet:hover .neon-icon {
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 1),
    0 0 40px rgba(56, 189, 248, 1);
  transform: translateY(-1px) scale(1.05);
}

.voice-bullet:hover .neon-icon::before {
  opacity: 0.85;
}

.neon-icon svg {
  transition: transform 0.25s ease;
}

.voice-bullet:hover .neon-icon svg {
  transform: translateY(-1px) scale(1.07);
}

/* Image: hologram + sound waves */
.voice-image-wrap {
  position: relative;
  border-radius: 1.75rem;
  padding: 1.1rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(8, 47, 73, 0.9);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.4s ease-out,
    box-shadow 0.4s ease-out;
}

.voice-image-wrap::before {
  content: "";
  position: absolute;
  inset: 35% -40% -40%;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.55), transparent 60%);
  filter: blur(25px);
  opacity: 0.75;
  animation: voiceGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.voice-holo-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow:
    0 0 26px rgba(56, 189, 248, 0.6),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  inset: 10% auto auto 50%;
  transform: translateX(-50%);
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: hologramPulse 9s ease-in-out infinite;
}

.voice-image-inner {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  z-index: 2;
}

.voice-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: inherit;
  transform: scale(1.03);
  transition: transform 0.6s ease-out;
}

.voice-soundwave {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 18%;
  height: 80px;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
  z-index: 1;
}

.voice-soundwave span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0),
    rgba(56, 189, 248, 0.95),
    rgba(56, 189, 248, 0)
  );
  opacity: 0.95;
  transform-origin: center;
  animation: voiceWaveDrift 3.6s ease-in-out infinite;
}

.voice-soundwave span:nth-child(1) {
  top: 20%;
}
.voice-soundwave span:nth-child(2) {
  top: 50%;
  animation-delay: -1.3s;
}
.voice-soundwave span:nth-child(3) {
  top: 80%;
  animation-delay: -2.6s;
}

@keyframes voiceWaveDrift {
  0%,
  100% {
    transform: translateX(-4%) scaleX(1);
  }
  50% {
    transform: translateX(4%) scaleX(1.12);
  }
}

.feature-card[data-voice-card]:hover .voice-image-wrap {
  box-shadow:
    0 32px 90px rgba(15, 23, 42, 1),
    0 0 50px rgba(56, 189, 248, 0.5);
}

.feature-card[data-voice-card]:hover .voice-image {
  transform: scale(1.08);
}

@keyframes voiceGlowPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-8px);
  }
}

@keyframes hologramPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(0.96);
    opacity: 0.26;
  }
  50% {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.38;
  }
}

@media (max-width: 768px) {
  .voice-image {
    max-height: 220px;
  }
}
