/*
============================
TechXen Utility CSS - AvyaWorld Integration
Applied to all pages for premium animations, buttons, and heading styles
============================
*/

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes animate1 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}
@keyframes animate2 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(8px); }
}
@keyframes animate3 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(15px); }
}
@keyframes animate4 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse-border {
  0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; }
}
@keyframes shimmer-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}
@keyframes counter-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate1 {
  animation: animate1 2s ease-in-out infinite alternate;
}
.animate2 {
  animation: animate2 2s ease-in-out infinite alternate;
}
.animate3 {
  animation: animate3 4s ease-in-out infinite alternate;
}

.image-anime {
  position: relative;
  overflow: hidden;
}
.image-anime::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
  transition: all 0ms;
}
.image-anime:hover::after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

/* ==========================================
   THEME BUTTONS
   ========================================== */

/* Primary CTA Button - Blue Gradient */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 80px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  padding: 14px 20px 14px 22px;
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 2;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.theme-btn::after {
  content: "";
  position: absolute;
  left: auto; right: 0; top: 0;
  height: 100%; width: 0%;
  border-radius: 80px;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
  z-index: -1;
  transition: all 0.4s;
}
.theme-btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  background-color: #fff;
  border-radius: 50%;
  font-size: 14px;
  color: #2563eb;
  transform: rotate(-45deg);
  transition: all 0.4s;
  flex-shrink: 0;
}
.theme-btn:hover { color: #fff; }
.theme-btn:hover::after { width: 100%; left: 0; right: auto; }
.theme-btn:hover .btn-icon { transform: rotate(0deg); color: #1d4ed8; }

/* Dark Button */
.theme-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 80px;
  background: #0f172a;
  padding: 14px 20px 14px 22px;
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 2;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.theme-btn-dark::after {
  content: "";
  position: absolute;
  left: auto; right: 0; top: 0;
  height: 100%; width: 0%;
  border-radius: 80px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  z-index: -1;
  transition: all 0.4s;
}
.theme-btn-dark .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  transition: all 0.4s;
  flex-shrink: 0;
}
.theme-btn-dark:hover { color: #fff; }
.theme-btn-dark:hover::after { width: 100%; left: 0; right: auto; }
.theme-btn-dark:hover .btn-icon { background: #fff; color: #2563eb; }

/* Outline Button */
.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 80px;
  background: transparent;
  border: 2px solid #e2e8f0;
  padding: 13px 20px 13px 22px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}
.theme-btn-outline::after {
  content: "";
  position: absolute;
  left: auto; right: 0; top: 0;
  height: 100%; width: 0%;
  border-radius: 80px;
  background: #0f172a;
  z-index: -1;
  transition: all 0.4s;
}
.theme-btn-outline:hover { color: #fff; border-color: #0f172a; }
.theme-btn-outline:hover::after { width: 100%; left: 0; right: auto; }

/* ==========================================
   HEADING SYSTEM
   ========================================== */

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 42px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.section-badge span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
}

.section-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 42px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.section-badge-dark span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

/* Section Headings */
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 16px;
}
.section-heading h2 span {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-heading p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.section-heading.text-start p { margin: 0; }

/* ==========================================
   STAT / COUNTER CARDS
   ========================================== */
.stat-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.15);
}
.stat-card .stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================
   SERVICE / FEATURE CARDS (Enhanced)
   ========================================== */
.feature-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 28px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.15);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: all 0.4s;
}
.feature-card:hover .feature-icon {
  background: #2563eb;
  color: #fff !important;
}
.feature-card .feature-icon i { color: #2563eb; }
.feature-card:hover .feature-icon i { color: #fff; }
.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  font-weight: 500;
}
.feature-card .feature-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.06);
  line-height: 1;
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.05em;
}

/* ==========================================
   PROCESS / STEP CARDS
   ========================================== */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
}
.process-step:hover {
  box-shadow: 0 16px 40px rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.15);
  transform: translateX(6px);
}
.process-step .step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.process-step h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  font-weight: 500;
}

/* ==========================================
   CHECK LIST ITEMS
   ========================================== */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  margin-bottom: 10px;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9375rem;
  transition: all 0.3s;
}
.check-list li:hover {
  background: rgba(37,99,235,0.04);
  border-color: rgba(37,99,235,0.15);
}
.check-list li .check-icon {
  width: 24px;
  height: 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ==========================================
   VIDEO PLAY BUTTON
   ========================================== */
.video-play-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  cursor: pointer;
  flex-shrink: 0;
}
.video-play-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%; top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 88px; height: 88px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}
.video-play-btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 72px; height: 72px;
  background: #2563eb;
  border-radius: 50%;
  transition: all 0.3s;
}
.video-play-btn i {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.25rem;
  margin-left: 3px;
}
.video-play-btn:hover::after { background: #1d4ed8; transform: translateX(-50%) translateY(-50%) scale(1.1); }

/* ==========================================
   TESTIMONIAL CARDS
   ========================================== */
.testimonial-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 28px;
  padding: 36px;
  transition: all 0.3s;
  height: 100%;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(37,99,235,0.1);
}
.testimonial-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; }
.testimonial-card .review-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.testimonial-card .reviewer-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.testimonial-card .reviewer-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 4px;
}
.testimonial-card .reviewer-role {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-item {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(37,99,235,0.2); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}
.faq-question .faq-toggle {
  width: 32px; height: 32px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.active .faq-toggle { background: #2563eb; color: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 28px 22px;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.75;
  font-weight: 500;
}
.faq-item.active .faq-answer { display: block; }

/* ==========================================
   SECTION DIVIDER
   ========================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0 30%, #e2e8f0 70%, transparent);
  margin: 0;
}

/* ==========================================
   TRUST BADGES / LOGOS STRIP
   ========================================== */
.trust-strip {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 28px 0;
}
.trust-strip .trust-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================
   RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 768px) {
  .feature-card { padding: 28px 24px; }
  .process-step { flex-direction: column; }
  .stat-card .stat-number { font-size: 2.25rem; }
  .section-heading h2 { font-size: 2rem; }
  .theme-btn, .theme-btn-dark, .theme-btn-outline { font-size: 15px; padding: 12px 16px 12px 18px; }
}
