
.tech-hero {
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(4rem, 10vw, 6rem);
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.tech-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0rem;
  align-items: center;
}

.tech-hero-text .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 580px;
  margin-bottom: 3.5rem;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
}

.hero-actions .btn-primary-lg {
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  border-radius: 100px;
}

.hero-actions .btn-primary-lg:hover {
  transform: translateY(-4px);
  box-shadow: var(--pri-sh);
}

.stat-card {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--pri-sh);
  transform: translateY(-4px);
}

.stat-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

/* THE GLASS ENGINE VISUAL */
.tech-hero-visual {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-engine-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.glass-device {
  position: relative;
  width: 400px;
  margin: 0 auto;
  z-index: 2;
}

.device-screen {
  width: 100%;
  height: 240px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px 20px 2px 2px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.screen-content {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  filter: blur(15px);
  border-radius: 50%;
  animation: corePulse 3s infinite alternate;
}

@keyframes corePulse {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }

  to {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.8;
  }
}

.device-base {
  width: 440px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  margin-left: -20px;
  border-radius: 2px 2px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.tech-stream {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.stream-item {
  position: absolute;
  animation: streamFloat 12s infinite linear;
  animation-delay: calc(var(--i) * -1.5s);
}

.item-inner {
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  pointer-events: all;
  transition: all 0.3s ease;
}

.item-inner i {
  font-size: 1.1rem;
  color: var(--primary);
}

.item-inner span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

@keyframes streamFloat {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1.1);
  }

  100% {
    transform: translate(calc(-200px + (var(--i) * 50px)), -400px) rotate(calc(var(--i) * 20deg)) scale(0.8);
    opacity: 0;
  }
}

/* TECHNOLOGY CATEGORIES SECTION */
.tech-categories-sec {
  background: var(--bg-light);
}

.tech-tabs-nav {
  position: sticky;
  top: 90px;
  z-index: 500;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 1rem;
  background: var(--white);
  padding: 0.75rem;
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shrink State */
.tech-tabs-nav.is-shrunk {
  gap: 0.5rem;
  transform: scale(1.06);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(244, 121, 89, 0.2);
}

.tech-tabs-nav::-webkit-scrollbar {
  display: none;
}

/* Sliding Background Indicator */
.nav-indicator {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  height: calc(100% - 1.5rem);
  background: var(--primary);
  border-radius: 100px;
  box-shadow: 0 10px 20px rgba(244, 121, 89, 0.2);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 0;
}

.tech-tab-btn {
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.is-shrunk .tech-tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.tech-tab-btn i {
  font-size: 1.1rem;
  color: var(--muted);
  transition: all 0.3s ease;
}

.tech-tab-btn:hover,
.tech-tab-btn:hover i {
  color: var(--primary);
}

.tech-tab-btn.active,
.tech-tab-btn.active i {
  color: var(--white);
}

/* Tab Panels & Grid */
.tech-tabs-content {
  margin-top: 3rem;
  position: relative;
  min-height: 400px;
}

.tech-panel {
  display: none;
  opacity: 0;
}

.tech-panel.active {
  display: block;
  animation: tabFadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

/* Load More System */
.hidden-tech-card {
  display: none !important;
}

.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.btn-load-more {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.btn-load-more i {
  font-size: 0.9rem;
  transition: transform 0.4s ease;
}

.btn-load-more:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--pri-sh);
}

.btn-load-more:hover i {
  transform: rotate(90deg);
}

.tech-node-card.reveal-anim {
  animation: cardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}