/**
 * NextGen TechEdge Solutions - Modern Technology Expertise Section Stylesheet
 * High-End Creative Agency Aesthetic: Glassmorphism, Gradient Accents, Accessible Tabs,
 * Responsive Grids (4-5 desktop, 3 tablet, 2 mobile) & Micro-Interactions.
 */

/* ==========================================================================
   1. SECTION CONTAINER & BASE
   ========================================================================== */
.tech-showcase-section {
  position: relative;
  padding: clamp(64px, 6vw, 92px) 0 clamp(36px, 4vw, 46px);
  background: linear-gradient(180deg, #ffffff 0%, #faf8fd 45%, #ffffff 100%);
  border-top: 1px solid rgba(132, 38, 176, 0.08);
  border-bottom: none;
  overflow: hidden;
}

/* Subtle background geometric glow nodes */
.tech-showcase-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 28, 140, 0.04) 0%, rgba(132, 38, 176, 0) 70%);
  pointer-events: none;
}

.tech-showcase-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 65, 76, 0.04) 0%, rgba(132, 38, 176, 0) 70%);
  pointer-events: none;
}

/* ==========================================================================
   2. SECTION HEADING & INTRO (RIGHT-TO-LEFT ENTRANCE)
   ========================================================================== */
.tech-section-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 55px;
  position: relative;
  z-index: 2;
}

.tech-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8426b0;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.08) 0%, rgba(223, 65, 76, 0.08) 100%);
  border: 1px solid rgba(132, 38, 176, 0.16);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.tech-section-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b81c8c;
  box-shadow: 0 0 8px #b81c8c;
}

.tech-section-title {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: #171126;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  opacity: 0;
  transform: translateX(40px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.tech-section-title.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.tech-section-subtitle {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #635b73;
  margin: 0 auto;
  max-width: 760px;
  opacity: 0;
  transform: translateX(30px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s ease 0.15s;
}

.tech-section-subtitle.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   3. FEATURED TECHNOLOGY PILLARS (4 EDITORIAL CARDS)
   ========================================================================== */
.tech-featured-wrapper {
  margin-bottom: 75px;
  position: relative;
  z-index: 2;
}

.tech-featured-header-note {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8426b0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-featured-header-note::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(132, 38, 176, 0.2), transparent);
}

.tech-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tech-featured-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(132, 38, 176, 0.12);
  border-radius: 20px;
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(23, 17, 38, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
}

.tech-featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8426b0, #b81c8c, #df414c);
  opacity: 0.8;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.tech-featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 28, 140, 0.4);
  box-shadow: 0 20px 38px -12px rgba(132, 38, 176, 0.14);
}

.tech-featured-card:hover::before {
  opacity: 1;
  height: 5px;
}

.tech-featured-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tech-featured-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.08) 0%, rgba(223, 65, 76, 0.08) 100%);
  border: 1px solid rgba(132, 38, 176, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8426b0;
  transition: transform 0.3s ease;
}

.tech-featured-card:hover .tech-featured-icon {
  transform: scale(1.08) rotate(-2deg);
  background: linear-gradient(135deg, #8426b0, #b81c8c);
  color: #ffffff;
}

.tech-featured-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(132, 38, 176, 0.06);
  color: #8426b0;
  border: 1px solid rgba(132, 38, 176, 0.15);
}

.tech-featured-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #171126;
  margin: 0 0 6px;
  line-height: 1.25;
}

.tech-featured-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b81c8c;
  margin-bottom: 12px;
}

.tech-featured-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #635b73;
  margin-bottom: 18px;
}

.tech-featured-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.tech-featured-bullets li {
  font-size: 0.85rem;
  color: #433d52;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.tech-featured-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8426b0, #df414c);
}

.tech-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8426b0;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 38, 176, 0.1);
  transition: color 0.2s ease, transform 0.2s ease;
}

.tech-featured-link:hover {
  color: #df414c;
  transform: translateX(3px);
}

.tech-featured-link svg {
  transition: transform 0.2s ease;
}

.tech-featured-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   4. CATEGORY SELECTOR & FILTER TABS
   ========================================================================== */
.tech-explorer-block {
  position: relative;
  z-index: 2;
}

.tech-explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.tech-explorer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #171126;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-explorer-count {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(132, 38, 176, 0.08);
  color: #8426b0;
}

.tech-explorer-instructions {
  font-size: 0.85rem;
  color: #7a7288;
}

/* Category Tab Bar Wrapper with Desktop Scroll Controls */
.tech-tabs-nav-wrapper {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.tech-tabs-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.tech-tabs-list::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tech-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(130, 110, 160, 0.18);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #484158;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  flex-shrink: 0;
}

.tech-tab-btn:hover {
  border-color: rgba(132, 38, 176, 0.4);
  color: #8426b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(132, 38, 176, 0.08);
}

.tech-tab-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(132, 38, 176, 0.3);
  border-color: #8426b0;
}

.tech-tab-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(132, 38, 176, 0.08);
  color: #8426b0;
  transition: all 0.2s ease;
}

/* Active Tab */
.tech-tab-btn.is-active {
  background: linear-gradient(135deg, #8426b0 0%, #b81c8c 50%, #df414c 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px -4px rgba(184, 28, 140, 0.4);
  transform: translateY(-1px);
}

.tech-tab-btn.is-active .tech-tab-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Arrow controls for desktop scroll */
.tech-tab-arrow {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(132, 38, 176, 0.2);
  color: #8426b0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 3;
}

.tech-tab-arrow:hover {
  background: #8426b0;
  color: #ffffff;
}

/* Category Intro Banner */
.tech-category-meta-banner {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(132, 38, 176, 0.12);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-category-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8426b0;
  margin-bottom: 4px;
}

.tech-category-desc {
  font-size: 0.95rem;
  color: #484158;
  margin: 0;
  max-width: 820px;
  line-height: 1.5;
}

.tech-category-tally {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #171126;
  white-space: nowrap;
}

/* ==========================================================================
   5. TECHNOLOGY CARDS GRID (4-5 DESKTOP, 3 TABLET, 2 MOBILE)
   ========================================================================== */
.tech-cards-stage {
  position: relative;
  min-height: 420px;
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 18px;
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}

.tech-cards-grid.is-transitioning {
  opacity: 0;
  transform: translateY(8px);
}

.tech-card-item {
  background: #ffffff;
  border: 1px solid rgba(130, 110, 160, 0.14);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(23, 17, 38, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: techCardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes techCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-card-item:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 28, 140, 0.35);
  box-shadow: 0 16px 32px -10px rgba(132, 38, 176, 0.12);
}

/* Card Header: Icon + Badge */
.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tech-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(132, 38, 176, 0.04);
  border: 1px solid rgba(132, 38, 176, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.tech-card-item:hover .tech-card-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
  background: rgba(132, 38, 176, 0.08);
}

.tech-icon-svg {
  display: block;
}

/* Status Badges */
.tech-status-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

.tech-status-badge.proven {
  background: rgba(0, 150, 57, 0.08);
  color: #007a2e;
  border: 1px solid rgba(0, 150, 57, 0.22);
}

.tech-status-badge.core {
  background: rgba(132, 38, 176, 0.08);
  color: #8426b0;
  border: 1px solid rgba(132, 38, 176, 0.2);
}

.tech-status-badge.creative {
  background: rgba(184, 28, 140, 0.08);
  color: #b81c8c;
  border: 1px solid rgba(184, 28, 140, 0.2);
}

.tech-status-badge.emerging {
  background: rgba(223, 65, 76, 0.08);
  color: #c92f3b;
  border: 1px solid rgba(223, 65, 76, 0.22);
}

/* Card Body */
.tech-card-body {
  margin-bottom: 12px;
}

.tech-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #171126;
  margin: 0 0 6px;
  line-height: 1.3;
}

.tech-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  color: #635b73;
  line-height: 1.5;
  margin: 0;
}

/* Card Footer / Case Study Link */
.tech-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(132, 38, 176, 0.14);
}

.tech-card-case-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #8426b0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tech-card-case-link:hover {
  color: #df414c;
  transform: translateX(3px);
}

.tech-card-case-link svg {
  transition: transform 0.2s ease;
}

.tech-card-case-link:hover svg {
  transform: translateX(3px);
}

.tech-card-no-case {
  font-size: 0.72rem;
  color: #9c94aa;
}

/* ==========================================================================
   6. CATEGORY CASE STUDY PROOF BANNER
   ========================================================================== */
.tech-proof-banner {
  margin-top: 35px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.05) 0%, rgba(184, 28, 140, 0.05) 100%);
  border: 1px solid rgba(132, 38, 176, 0.16);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.tech-proof-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-proof-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #8426b0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-proof-text {
  font-size: 0.9rem;
  color: #241c33;
  margin: 0;
}

.tech-proof-text strong {
  color: #171126;
  font-family: 'Space Grotesk', sans-serif;
}

.tech-proof-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-proof-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(132, 38, 176, 0.25);
  color: #8426b0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tech-proof-btn:hover {
  background: #8426b0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(132, 38, 176, 0.2);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS (1440, 1024, 768, 390, 320)
   ========================================================================== */
@media (min-width: 1200px) {
  .tech-tab-arrow {
    display: inline-flex;
  }
  .tech-tabs-list {
    padding: 6px 12px 14px;
  }
}

@media (max-width: 1200px) {
  .tech-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .tech-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-showcase-section {
    padding: 70px 0 85px;
  }
  .tech-featured-grid {
    grid-template-columns: 1fr;
  }
  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .tech-card-item {
    padding: 18px 16px;
  }
  .tech-tab-btn {
    padding: 8px 16px;
    font-size: 0.84rem;
  }
  .tech-category-meta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tech-proof-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .tech-cards-grid {
    grid-template-columns: 1fr;
  }
  .tech-section-title {
    font-size: 2rem;
  }
  .tech-section-subtitle {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   8. BEYOND THE TECHNOLOGY STACK — RIGOROUS ENGINEERING QUALITY SECTION
   ========================================================================== */
.engineering-quality-section {
  position: relative;
  padding: clamp(36px, 4vw, 46px) 0 clamp(54px, 5.5vw, 76px);
  background: linear-gradient(180deg, #ffffff 0%, #faf8fd 45%, #ffffff 100%);
  border-top: 1px solid rgba(132, 38, 176, 0.08);
  overflow: hidden;
}

/* Subtle corporate ambient glows */
.engineering-quality-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 38, 176, 0.04) 0%, rgba(132, 38, 176, 0) 70%);
  pointer-events: none;
}

.engineering-quality-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 69, 162, 0.04) 0%, rgba(244, 69, 162, 0) 70%);
  pointer-events: none;
}

.eq-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(36px, 4.5vw, 54px);
  position: relative;
  z-index: 2;
}

.eq-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8426b0;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.08) 0%, rgba(244, 69, 162, 0.08) 100%);
  border: 1px solid rgba(132, 38, 176, 0.16);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eq-section-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b81c8c;
  box-shadow: 0 0 8px #b81c8c;
}

.eq-section-heading {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  color: #171126;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.eq-section-lead {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.72;
  color: #554e63;
  margin: 0 auto;
  max-width: 780px;
}

/* 2-Column Desktop/Tablet Grid */
.eq-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.eq-card {
  background: #ffffff;
  border: 1px solid rgba(132, 38, 176, 0.14);
  border-radius: 20px;
  padding: clamp(24px, 2.8vw, 34px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(23, 17, 38, 0.035);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

/* Refined top accent gradient stripe */
.eq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8426b0 0%, #f445a2 52%, #df414c 100%);
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.eq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(132, 38, 176, 0.10);
  border-color: rgba(132, 38, 176, 0.34);
}

.eq-card:hover::before {
  height: 4px;
  opacity: 1;
}

.eq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eq-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.09) 0%, rgba(244, 69, 162, 0.07) 100%);
  border: 1px solid rgba(132, 38, 176, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8426b0;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.eq-card:hover .eq-icon-wrapper {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.14) 0%, rgba(244, 69, 162, 0.12) 100%);
  color: #b81c8c;
}

.eq-icon {
  width: 25px;
  height: 25px;
}

.eq-card-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8426b0;
  background: rgba(132, 38, 176, 0.06);
  border: 1px solid rgba(132, 38, 176, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.eq-card-title {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.38rem);
  font-weight: 700;
  color: #171126;
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eq-card-subtitle {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b81c8c;
  margin: 0 0 14px;
}

.eq-card-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 0.93rem;
  color: #534c62;
  line-height: 1.68;
  margin: 0 0 20px;
  flex-grow: 1;
}

.eq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 38, 176, 0.08);
}

.eq-pill {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: #635b73;
  background: #faf7fd;
  border: 1px solid rgba(132, 38, 176, 0.10);
  border-radius: 6px;
  padding: 4px 10px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.eq-card:hover .eq-pill {
  background: #ffffff;
  border-color: rgba(132, 38, 176, 0.24);
  color: #8426b0;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .eq-cards-grid {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .eq-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .eq-card {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .eq-icon-wrapper {
    width: 46px;
    height: 46px;
  }
  .eq-icon {
    width: 22px;
    height: 22px;
  }
  .eq-card-title {
    font-size: 1.16rem;
  }
  .eq-card-desc {
    font-size: 0.9rem;
    line-height: 1.62;
  }
}

/* ==========================================================================
   9. PREFERS-REDUCED-MOTION COMPLIANCE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .tech-section-title,
  .tech-section-subtitle,
  .tech-featured-card,
  .tech-tab-btn,
  .tech-cards-grid,
  .tech-card-item,
  .eq-card,
  .eq-icon-wrapper,
  .eq-pill,
  .qa-runner-card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Hero section neural network canvas visibility */
.page-hero canvas#vortex-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85 !important;
}
