/* ==========================================================================
   TECH STACK MODULE
   Light / Premium Version
   ========================================================================== */

.tech-stack {
  position: relative;
  padding: 120px 24px;
  background: #f8fafc;
  color: #0f172a;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.tech-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);

  width: 750px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(99, 102, 241, 0.10) 0%,
      rgba(168, 85, 247, 0.06) 35%,
      transparent 70%
    );

  filter: blur(90px);
  pointer-events: none;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.tech-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.tech-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #eef2ff;
  border: 1px solid #c7d2fe;

  color: #4f46e5;

  padding: 7px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #6366f1;
  border-radius: 50%;

  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.10);
}


.tech-header h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;

  margin: 0 0 18px;

  letter-spacing: -0.03em;

  color: #0f172a;
}


.gradient-text {
  background: linear-gradient(
    135deg,
    #4f46e5 0%,
    #7c3aed 50%,
    #9333ea 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.tech-sub {
  font-size: 17px;
  line-height: 1.7;

  color: #64748b;

  margin: 0 auto;
}


/* ==========================================================================
   GRID
   ========================================================================== */

.tech-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;
}


/* ==========================================================================
   TECH CARDS
   ========================================================================== */

.tech-card {
  position: relative;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid #e2e8f0;

  border-radius: 20px;

  padding: 32px;

  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.04);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.tech-card:hover {
  transform: translateY(-5px);

  border-color: #c7d2fe;

  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.08),
    0 0 30px rgba(99, 102, 241, 0.06);
}


/* ==========================================================================
   CATEGORY HEADER
   ========================================================================== */

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 24px;
  padding-bottom: 18px;

  border-bottom: 1px solid #e2e8f0;
}


.category-icon {
  width: 44px;
  height: 44px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: #eef2ff;

  border: 1px solid #c7d2fe;

  color: #4f46e5;
}


.category-header h3 {
  margin: 0;

  font-size: 20px;
  font-weight: 750;

  color: #0f172a;

  letter-spacing: -0.01em;
}


/* ==========================================================================
   STACK LIST
   ========================================================================== */

.stack-list {
  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 20px;

  margin: 0;
  padding: 0;
}


.stack-item {
  display: flex;
  align-items: flex-start;

  gap: 14px;
}


/* ==========================================================================
   ITEM ICON
   ========================================================================== */

.item-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #4f46e5;

  font-size: 17px;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}


.stack-item:hover .item-icon {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}


/* WordPress icon */

.item-icon.wordpress-icon {
  color: #2563eb;
}

.stack-item:hover .wordpress-icon {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}


/* ==========================================================================
   ITEM TEXT
   ========================================================================== */

.item-text {
  display: flex;
  flex-direction: column;

  gap: 4px;

  min-width: 0;
}


.item-text strong {
  font-size: 15px;
  font-weight: 700;

  line-height: 1.4;

  color: #1e293b;
}


.item-text span {
  font-size: 13px;

  line-height: 1.5;

  color: #64748b;
}


/* ==========================================================================
   BOTTOM NOTE
   ========================================================================== */

.tech-bottom-note {
  margin-top: 32px;

  display: flex;
  align-items: flex-start;

  gap: 14px;

  padding: 22px 24px;

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 16px;

  box-shadow:
    0 8px 25px rgba(15, 23, 42, 0.035);
}


.tech-note-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #eef2ff;

  border: 1px solid #c7d2fe;

  color: #4f46e5;
}


.tech-bottom-note div:last-child {
  display: flex;
  flex-direction: column;

  gap: 3px;
}


.tech-bottom-note strong {
  font-size: 14px;
  font-weight: 700;

  color: #1e293b;
}


.tech-bottom-note span {
  font-size: 13px;
  line-height: 1.6;

  color: #64748b;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1000px) {

  .tech-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 700px) {

  .tech-stack {
    padding: 90px 20px;
  }


  .tech-header {
    margin-bottom: 45px;
  }


  .tech-header h2 {
    font-size: 34px;
  }


  .tech-sub {
    font-size: 16px;
  }


  .tech-card {
    padding: 25px 22px;
  }


  .category-header {
    margin-bottom: 22px;
  }


  .category-header h3 {
    font-size: 18px;
  }


  .stack-list {
    gap: 18px;
  }


  .item-text strong {
    font-size: 14px;
  }


  .item-text span {
    font-size: 12.5px;
  }


  .tech-bottom-note {
    padding: 20px;
  }

}


@media (max-width: 480px) {

  .tech-stack {
    padding: 75px 16px;
  }


  .tech-header h2 {
    font-size: 30px;
  }


  .tech-badge {
    font-size: 12px;
  }


  .tech-card {
    padding: 22px 18px;
    border-radius: 16px;
  }


  .category-icon {
    width: 40px;
    height: 40px;
  }


  .category-header h3 {
    font-size: 17px;
  }


  .item-icon {
    width: 35px;
    height: 35px;
    font-size: 15px;
  }


  .tech-bottom-note {
    gap: 11px;
  }


  .tech-note-icon {
    width: 34px;
    height: 34px;
  }

}