/* Technology page — software icon grid */
.tech-page {
  background: #F3FAFA;
}

.tech-category-block {
  margin-bottom: 2.5rem;
}

.tech-category-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #000000 !important;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin: 0 0 1.25rem;
  padding: 0;
  border-bottom: none;
  display: block;
  width: 100%;
  clear: both;
}
.tech-category-title i {
  color: #03A680;
  font-size: 1.2rem;
  vertical-align: -0.1em;
}

.tech-page .lead {
  color: #222 !important;
}

.tech-icon-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 22px 12px 16px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tech-icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(3, 166, 128, 0.12);
  border-color: #03A680;
}

.tech-icon-wrap {
  --tech-color: #03A680;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tech-color) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--tech-color) 25%, #e8eef5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.tech-icon-wrap i {
  font-size: 1.75rem;
  color: var(--tech-color);
  line-height: 1;
}

.tech-icon-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #151515;
  line-height: 1.35;
  word-break: break-word;
}

.tech-pillars-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.tech-pillars-lead {
  color: #333;
  font-size: 1rem;
  margin: 0 auto;
  max-width: 520px;
}

/* Three stack cards — horizontal layout */
.tech-stack-card {
  --stack-accent: #03A680;
  --stack-accent-light: #e8f8f4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef5;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tech-stack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(3, 166, 128, 0.14);
  border-color: var(--stack-accent);
}

.tech-stack-side {
  flex: 0 0 100px;
  background: var(--stack-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  position: relative;
}
.tech-stack-side::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.tech-stack-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  margin-bottom: 14px;
}

.tech-stack-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.tech-stack-icon i {
  font-size: 1.5rem;
  color: var(--stack-accent);
  line-height: 1;
}

.tech-stack-body {
  flex: 1;
  padding: 24px 22px 22px;
  min-width: 0;
}

.tech-stack-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0 0 12px;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tech-stack-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--stack-accent-light);
  color: var(--stack-accent);
  border: 1px solid color-mix(in srgb, var(--stack-accent) 20%, #e8eef5);
}

.tech-stack-desc {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.65;
  margin: 0;
}

/* Panel line graphics (shared pattern) */
.tech-icon-card .panel-line-tr,
.tech-icon-card .panel-line-bl,
.tech-stack-card .panel-line-tr,
.tech-stack-card .panel-line-bl {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
}
.tech-icon-card .panel-line-tr,
.tech-stack-card .panel-line-tr {
  top: 8px;
  right: 8px;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 70 70'%3E%3Cline x1='0' y1='50' x2='50' y2='0' stroke='%2303A680' stroke-width='1.2' opacity='0.22'/%3E%3Cline x1='8' y1='58' x2='58' y2='8' stroke='%2303A680' stroke-width='1' opacity='0.16'/%3E%3C/svg%3E");
}
.tech-icon-card .panel-line-bl,
.tech-stack-card .panel-line-bl {
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 56 56'%3E%3Cline x1='0' y1='40' x2='40' y2='0' stroke='%2303A680' stroke-width='1.2' opacity='0.18'/%3E%3Cline x1='10' y1='50' x2='50' y2='10' stroke='%2303A680' stroke-width='1' opacity='0.12'/%3E%3C/svg%3E");
}

.tech-icon-card .tech-icon-wrap,
.tech-icon-card .tech-icon-name,
.tech-stack-side,
.tech-stack-body {
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .tech-stack-card {
    flex-direction: column;
  }
  .tech-stack-side {
    flex: none;
    flex-direction: row;
    gap: 16px;
    padding: 18px 20px;
  }
  .tech-stack-num {
    margin-bottom: 0;
    font-size: 1.5rem;
  }
  .tech-stack-side::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .tech-icon-wrap { width: 48px; height: 48px; }
  .tech-icon-wrap i { font-size: 1.45rem; }
  .tech-icon-name { font-size: 0.75rem; }
}
