/* ===========================
   DIGIKRAFT 360 — SHARED CSS v3.0
   Mega Menu + Service Pages
   =========================== */

/* ===== MEGA MENU ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-link-services {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-item-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 850px;
  background: rgba(8, 8, 14, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 2000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(8, 8, 14, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%) translateY(0) !important;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.nav-link-services.open .chevron-icon {
  transform: rotate(180deg);
}

.mega-col-title {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  background: transparent;
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.03);
}

.mega-link-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.6);
}

.mega-link:hover .mega-link-icon {
  background: rgba(0, 180, 255, 0.1);
  border-color: rgba(0, 180, 255, 0.2);
  color: #00c8ff;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.1);
}

.mega-link-icon svg {
  width: 30px;
  height: 30px;
  color: currentcolor;
}

.mega-link strong {
  display: block;
  color: #e2e8f0;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.mega-link:hover strong {
  color: #fff;
}

.mega-link span {
  display: block;
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  line-height: 1.4;
}

.mega-all-services-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mega-all-services-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
}

.mega-all-services-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.mega-all-services-btn svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
}

.mega-all-services-btn:hover svg {
  stroke: #fff;
  transform: translateX(3px);
}

/* Mobile mega menu */
@media (max-width: 768px) {
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    background: rgba(15, 15, 26, 0.95);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 16px;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
  }

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0) !important;
}
  .mega-menu.open {
    display: block;
    transform: none !important;
     transform: translateX(50%) translateY(0) ;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mega-menu-lead {
    order: -1;
  }
}

/* ===== SERVICE PAGE HERO ===== */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 150px;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: translateY(var(--surface-shift, 0px)) scale(calc(1.02 + var(--zoom-progress, 0) * 0.06));
  transition: transform 0.2s linear;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 8, 0.9) 0%, rgba(5, 5, 8, 0.7) 50%, rgba(5, 5, 8, 0.95) 100%);
  z-index: 1;
}

.service-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: translateY(var(--surface-tilt, 0px));
  transition: transform 0.2s linear;
}

.service-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.hero-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,180,255,0.15), rgba(139,92,246,0.14));
  border: 1px solid rgba(0,180,255,0.22);
  color: #d9f6ff;
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-banner-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 14px rgba(0,229,255,0.75);
}

.hero-banner-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-banner-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(226,232,240,0.9);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-banner-chip strong {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-right: 6px;
}

.service-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
  margin-bottom: 24px;
}

.service-hero-breadcrumb a {
  color: rgba(148, 163, 184, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.service-hero-breadcrumb a:hover {
  color: #00b4ff;
}

.service-hero-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.2);
}

.service-hero-breadcrumb .current {
  color: #8b5cf6;
}

.service-hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.service-hero-icon svg {
  width: 36px;
  height: 36px;
  color: #00b4ff;
}

.service-hero-title {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.service-hero-desc {
  color: rgba(148, 163, 184, 0.9);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero-banner {
    display: flex;
    width: 100%;
    padding: 12px;
    gap: 10px;
    border-radius: 20px;
  }

  .hero-banner-badge,
  .hero-banner-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-banner-metrics {
    width: 100%;
  }
}

/* ===== SERVICE FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.05), transparent, rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00b4ff, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s;
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.25), rgba(139, 92, 246, 0.25));
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #00b4ff;
}

.feature-card h3 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== PROCESS STEPS (service pages) ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.process-step-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  position: relative;
}

.process-step-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.step-num-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00b4ff, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 12px;
}

.step-content h3 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-content p {
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== TECH STACK / TOOLS GRID ===== */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0 28px;
  position: relative;
  z-index: 1;
}

.tool-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.8);
  transition: all 0.25s;
  cursor: default;
}

.tool-badge.tool-badge--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 196px;
  min-height: 118px;
  gap: 12px;
  padding: 18px 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 600;
  text-align: center;
  position: relative;
  transform: none;
}

.tool-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  flex-shrink: 0;
  overflow: hidden;
}

.tool-badge-icon img,
.tool-badge-icon svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tool-badge-label {
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
}

.tool-badge.tool-badge--logo:hover .tool-badge-icon {
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(0,180,255,0.16);
}

.tool-badge-icon--fallback {
  color: #00b4ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tool-badge:hover {
  background: rgba(0, 180, 255, 0.1);
  border-color: rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  transform: translateY(-2px);
}

.tool-badge.tool-badge--logo:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.26), 0 0 28px rgba(0,180,255,0.1);
}

@media (min-width: 901px) {
  .tools-grid .tool-badge.tool-badge--logo { transform: none; }
}

@media (max-width: 900px) {
  .tools-grid {
    max-width: 760px;
  }

  .tool-badge.tool-badge--logo {
    width: 31%;
    min-width: 170px;
    min-height: 108px;
  }
}

@media (max-width: 560px) {
  .tools-grid {
    gap: 14px;
  }

  .tool-badge.tool-badge--logo {
    width: calc(50% - 10px);
    min-width: 140px;
  }
}

/* ===== PRICING SECTION ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.35s;
  overflow: hidden;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.08), rgba(139, 92, 246, 0.12));
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.15);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00b4ff, #8b5cf6);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.pricing-name {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00b4ff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.pricing-period {
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.88rem;
}

.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #00b4ff, #8b5cf6);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #00b4ff;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #8b5cf6;
  transition: transform 0.3s, background 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(139, 92, 246, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== SERVICE STATS BAR ===== */
.service-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  margin: 60px 0;
  position: relative;
  z-index: 1;
}

.service-stat-item {
  background: rgba(5, 5, 8, 0.8);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s;
}

.service-stat-item:hover {
  background: rgba(139, 92, 246, 0.08);
}

.service-stat-num {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00b4ff, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}

.service-stat-label {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===== RELATED SERVICES ===== */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.related-service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.related-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b4ff, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.related-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
}

.related-service-card:hover::after {
  transform: scaleX(1);
}

.related-service-card h4 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.related-service-card p {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
  line-height: 1.6;
}

.related-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b5cf6;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 14px;
  transition: gap 0.2s;
}

/* ===== CONTACT SHORTCUTS ===== */
.contact-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.32);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.16), rgba(139, 92, 246, 0.18));
}

.contact-shortcut-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0;
}

.contact-shortcut-label {
  display: none;
}

/* ===== SERVICE EXPANSION ===== */
.service-detail-section,
.service-delivery-section {
  overflow: hidden;
}

.service-detail-grid,
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.service-detail-card,
.service-deliverable-card,
.service-roadmap-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  transform: perspective(1000px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg));
}

.service-detail-card:hover,
.service-deliverable-card:hover,
.service-roadmap-card:hover {
  transform: perspective(1000px) translateY(-4px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg));
  border-color: rgba(139, 92, 246, 0.26);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.service-detail-card::before,
.service-deliverable-card::before,
.service-roadmap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 180, 255, 0.12), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.service-detail-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.16), rgba(139, 92, 246, 0.18));
  color: #fff;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 0.82rem;
}

.service-detail-card h3,
.service-deliverable-card h3,
.service-roadmap-head h3,
.services-overview-industries h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.service-detail-card p,
.service-deliverable-list li,
.service-roadmap-copy p,
.services-overview-industries p {
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.9rem;
  line-height: 1.75;
}

.service-proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.service-proof-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.8rem;
}

.service-delivery-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.service-deliverable-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-deliverable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-deliverable-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-deliverable-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b4ff, #8b5cf6);
}

.service-roadmap-head {
  margin-bottom: 18px;
}

.service-roadmap-head span {
  display: inline-block;
  margin-bottom: 8px;
  color: #00b4ff;
  font-size: 0.74rem;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-roadmap-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.service-roadmap-phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  font-family: 'Orbitron', Arial, sans-serif;
}

.service-roadmap-copy h4 {
  color: #fff;
  font-size: 0.94rem;
  margin-bottom: 5px;
}

.services-overview-industries {
  margin-top: 26px;
  padding: 26px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 900px) {

  .service-detail-grid,
  .services-overview-grid,
  .service-delivery-layout,
  .service-deliverable-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-shortcuts {
    flex-direction: column;
  }

  .service-detail-card,
  .service-deliverable-card,
  .service-roadmap-card,
  .services-overview-industries {
    padding: 22px;
  }
}

.related-service-card:hover .related-arrow {
  gap: 10px;
}

/* ===== UI/UX PRINCIPLES ===== */
.ux-principles-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.96), rgba(8, 10, 18, 0.98)),
    radial-gradient(circle at top left, rgba(0, 180, 255, 0.08), transparent 40%);
}

.ux-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.ux-principle-card {
  position: relative;
  min-height: 260px;
  padding: 34px 32px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background:
    linear-gradient(180deg, rgba(232, 247, 255, 0.98), rgba(214, 242, 255, 0.92));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ux-principle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 36%);
  opacity: 0.9;
  pointer-events: none;
}

.ux-principle-card::after {
  content: '';
  position: absolute;
  inset: auto 24px 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8, #7dd3fc);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ux-principle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.36);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.ux-principle-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.ux-principle-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 34px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ux-principle-card h3 {
  position: relative;
  z-index: 1;
  color: #020617;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.ux-principle-card p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  color: rgba(15, 23, 42, 0.82);
  font-size: 1rem;
  line-height: 1.65;
}

/* ===== GLOWING SECTION DIVIDER ===== */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
  margin: 0;
}

/* ===== FLOATING PARTICLES BG ===== */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #00b4ff;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #8b5cf6;
  bottom: -50px;
  right: -50px;
  animation-delay: 3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #ec4899;
  top: 50%;
  left: 50%;
  animation-delay: 6s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

/* ===== ANIMATED GRADIENT LINE ===== */
.animated-line {
  height: 3px;
  background: linear-gradient(90deg, #00b4ff, #8b5cf6, #ec4899, #00b4ff);
  background-size: 200% 100%;
  animation: lineShift 3s linear infinite;
  border-radius: 2px;
  margin-bottom: 24px;
  width: 80px;
}

@keyframes lineShift {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 200% 0%;
  }
}

/* ===== GLOWING CARD HOVER ===== */
.glow-card {
  position: relative;
  transition: all 0.35s;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #00b4ff, #8b5cf6, #ec4899);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}

.glow-card:hover::before {
  opacity: 0.5;
}

/* ===== GLOBAL SMOOTH / FLUFFY POLISH ===== */
body {
  background-image:
    radial-gradient(900px 520px at 8% -6%, rgba(0, 180, 255, 0.08), transparent 60%),
    radial-gradient(760px 480px at 92% 8%, rgba(139, 92, 246, 0.08), transparent 64%),
    radial-gradient(680px 420px at 50% 108%, rgba(236, 72, 153, 0.06), transparent 70%);
  background-attachment: fixed;
}

.section,
.service-hero,
.client-logos-section,
.footer {
  position: relative;
  isolation: isolate;
}

.section::after,
.service-hero::after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.08), transparent 68%);
  filter: blur(70px);
  right: -180px;
  top: 12%;
  pointer-events: none;
  z-index: -1;
  animation: fluffyDrift 14s ease-in-out infinite;
}

.section:nth-of-type(even)::after,
.service-hero::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 68%);
  left: -180px;
  right: auto;
}

@keyframes fluffyDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.58;
  }

  50% {
    transform: translate3d(0, -26px, 0) scale(1.08);
    opacity: 0.92;
  }
}

.feature-card,
.pricing-card,
.related-service-card,
.faq-item,
.service-stat-item,
.service-detail-card,
.service-deliverable-card,
.service-roadmap-card,
.tool-badge.tool-badge--logo,
.process-step-item {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    background-color 0.3s ease;
}

.feature-card:hover,
.pricing-card:hover,
.related-service-card:hover,
.service-detail-card:hover,
.service-deliverable-card:hover,
.service-roadmap-card:hover,
.tool-badge.tool-badge--logo:hover {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32), 0 0 24px rgba(139, 92, 246, 0.1);
}

.section-tag,
.btn-primary,
.btn-outline,
.nav-link,
.nav-cta,
.service-hero-breadcrumb a {
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
  transition-duration: 0.95s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .section::after,
  .service-hero::after {
    animation: none;
  }

  .feature-card,
  .pricing-card,
  .related-service-card,
  .faq-item,
  .service-stat-item,
  .service-detail-card,
  .service-deliverable-card,
  .service-roadmap-card,
  .tool-badge.tool-badge--logo,
  .process-step-item {
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ux-principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .related-services-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

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

  .ux-principle-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .ux-principle-card p {
    max-width: none;
    font-size: 0.95rem;
  }
}

@media (max-width: 990px) {
  .services-featured, .services-hex-grid, .srs-grid, .services-grid {
    grid-template-columns: 1fr !important;
  }
}
