/* product-pages.css - Unified styling for Enterprise, Zido, and Persona pages */

.product-detail-hero {
  padding: 130px 0 70px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #df9aff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.product-hero-title .gradient-text {
  background: linear-gradient(135deg, #df9aff 0%, #ffffff 45%, #c084fc 75%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.product-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 780px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.product-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-glow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-secondary-glow:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.25);
}

/* Video Showcase Section */
.video-showcase-section {
  padding: 40px 0 80px;
}

.video-frame-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(105, 44, 146, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.2);
}

.video-frame-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
}

.video-frame-inner iframe,
.video-frame-inner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Section Common Titles */
.detail-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.detail-section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.detail-section-title p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto;
}

/* Feature Cards Grid */
.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.detail-feature-card {
  background: linear-gradient(180deg, rgba(28, 13, 50, 0.65) 0%, rgba(16, 8, 30, 0.8) 100%);
  border: 1px solid rgba(160, 36, 182, 0.2);
  border-radius: 16px;
  padding: 30px 26px;
  transition: all 0.28s ease;
  backdrop-filter: blur(12px);
  position: relative;
  display: flex;
  flex-direction: column;
}

.detail-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(168, 85, 247, 0.18);
}

.detail-feature-card .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #df9aff;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.detail-feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #9333ea, #692c92);
  color: #ffffff;
  transform: scale(1.08);
}

.detail-feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.detail-feature-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
  flex-grow: 1;
}

/* Process Steps Section */
.process-steps-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 950px;
  margin: 0 auto 70px;
}

.process-step-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  background: linear-gradient(180deg, rgba(28, 13, 50, 0.5) 0%, rgba(16, 8, 30, 0.6) 100%);
  border: 1px solid rgba(160, 36, 182, 0.2);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.process-step-item:hover {
  border-color: rgba(192, 132, 252, 0.38);
}

.process-step-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.process-step-item.reverse .step-media {
  order: -1;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #692c92);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.35);
}

.step-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.step-info p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.7;
}

.step-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.process-step-item:hover .step-media img {
  transform: scale(1.03);
}

/* Pricing Grid */
.detail-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 70px;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(28, 13, 50, 0.6) 0%, rgba(16, 8, 30, 0.75) 100%);
  border: 1px solid rgba(160, 36, 182, 0.2);
  border-radius: 20px;
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: rgba(192, 132, 252, 0.6);
  background: linear-gradient(180deg, rgba(38, 16, 70, 0.75) 0%, rgba(20, 10, 40, 0.85) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.25);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.5);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-tag {
  position: absolute;
  top: -12px;
  right: 25px;
  background: linear-gradient(135deg, #c084fc, #9333ea);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.pricing-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  margin-bottom: 25px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 14px;
}

.pricing-features li i {
  color: #df9aff;
  font-size: 13px;
  flex-shrink: 0;
}

/* Breadcrumb Bar */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  margin-bottom: 25px;
}

.detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-breadcrumb a:hover {
  color: #df9aff;
}

.detail-breadcrumb i {
  font-size: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-step-item,
  .process-step-item.reverse {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .process-step-item.reverse .step-media {
    order: 0;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* RTL Support for product detail pages */
[dir="rtl"] .product-card-link .btn-details i,
[dir="rtl"] .detail-breadcrumb i.fa-chevron-right {
  transform: rotate(180deg);
}

[dir="rtl"] .pricing-tag {
  right: auto;
  left: 25px;
}

/* ══════════════════════════════════════════════════════════
   VOICE AGENTS / MYCALLS TEAM & AUDIO MODAL STYLES
   ══════════════════════════════════════════════════════════ */
.voice-agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0 70px;
}

.voice-agent-card {
  background: linear-gradient(180deg, rgba(28, 13, 50, 0.7) 0%, rgba(16, 8, 30, 0.85) 100%);
  border: 1px solid rgba(160, 36, 182, 0.22);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.voice-agent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.voice-agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(168, 85, 247, 0.2);
}

.voice-agent-card:hover::before {
  opacity: 1;
}

.voice-agent-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  position: relative;
  border: 2px solid rgba(168, 85, 247, 0.4);
  padding: 4px;
  background: rgba(105, 44, 146, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.voice-agent-card:hover .voice-agent-avatar {
  transform: scale(1.05);
  border-color: #df9aff;
}

.voice-agent-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.voice-agent-avatar .audio-pulse-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 2px solid #000;
  border-radius: 50%;
}

.voice-agent-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.voice-agent-role {
  font-size: 13px;
  color: #df9aff;
  font-weight: 600;
  margin-bottom: 12px;
}

.voice-agent-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-play-voice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(105, 44, 146, 0.35));
  border: 1px solid rgba(168, 85, 247, 0.38);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-play-voice:hover {
  background: linear-gradient(135deg, #9333ea, #692c92);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.35);
  transform: translateY(-2px);
}

.btn-play-voice.playing {
  background: #10b981;
  border-color: #34d399;
}

/* Audio Modal */
.audio-modal-card {
  background: linear-gradient(180deg, #1b0c33 0%, #100620 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  margin: 10% auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(168, 85, 247, 0.25);
  text-align: center;
  color: #ffffff;
}

.audio-modal-avatar-large {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid rgba(168, 85, 247, 0.5);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
}

.audio-modal-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 25px 0 15px;
}

.audio-play-big-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #692c92);
  border: none;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
  transition: all 0.25s ease;
}

.audio-play-big-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6);
}

.audio-waveform-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  margin: 15px 0 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.audio-waveform-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c084fc, #9333ea);
  border-radius: 3px;
  transition: width 0.1s linear;
}

