/* =====================================================
   YUGANTIX — Technology pages (Angular, React, TypeScript, Vue,
   JavaScript, Next.js, Express.js, HTML5 & CSS3, Bootstrap)

   Same brand system as the rest of the site (mint + white,
   solid header) — the per-page distinctiveness comes from a
   signature animated hero badge built around each technology's
   own accent color, plus a unique headline/content angle per page.
   ===================================================== */

:root {
  --paper: #F8FCF9;
  --paper-deep: #EFF8F1;
  --paper-warm: #FAFDFB;
}

.site-header {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(13, 18, 32, .06);
}
.site-header.is-scrolled {
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(13, 18, 32, .06);
}
body::before, body::after { content: none; }
.bg-deep { background: #FFFFFF; }
.section--final { background: #FFFFFF; }

/* =========== Tech hero =========== */
.tech-hero {
  background: #FFFFFF;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-badge {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--tech-accent, var(--brand));
  opacity: .35;
  animation: tech-spin 14s linear infinite;
}
.tech-badge::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--tech-accent, var(--brand));
  opacity: .15;
  animation: tech-spin-reverse 22s linear infinite;
}
.tech-badge-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tech-accent, var(--brand)) 12%, white);
  border: 1px solid color-mix(in srgb, var(--tech-accent, var(--brand)) 35%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech-accent, var(--brand));
  animation: tech-pulse 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.tech-badge-core svg { width: 30px; height: 30px; }

@keyframes tech-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes tech-spin-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes tech-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tech-accent, var(--brand)) 25%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--tech-accent, var(--brand)) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .tech-badge::before, .tech-badge::after, .tech-badge-core { animation: none; }
}

.tech-hero .crumb { justify-content: center; display: flex; gap: .5rem; }
.tech-hero h1 { max-width: 760px; margin: 1rem auto 0; }
.tech-hero .lede { max-width: 620px; margin: 1rem auto 0; }
.tech-hero .cta-actions { justify-content: center; margin-top: 1.75rem; }

/* =========== Why grid =========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  border-left: 3px solid var(--tech-accent, var(--brand));
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
}
.why-card p {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* capability-card / compliance-row / faq-* reused from industry-page.css patterns */
.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
.capability-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.capability-card:hover {
  border-color: var(--tech-accent, var(--brand));
  box-shadow: 0 14px 32px -16px color-mix(in srgb, var(--tech-accent, var(--brand)) 30%, transparent);
  transform: translateY(-2px);
}
.capability-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
}
.capability-card p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.6; }

.compliance-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.compliance-chip {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  background: var(--surface);
}

.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: var(--tech-accent, var(--brand)); }
.faq-item.is-open {
  border-color: var(--tech-accent, var(--brand));
  box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--tech-accent, var(--brand)) 30%, transparent);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
  font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq-question span { flex: 1; }
.faq-question svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--ink-muted); transition: transform .25s ease, color .2s ease; }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); color: var(--tech-accent, var(--brand)); }
.faq-question:focus-visible { outline: 2px solid var(--tech-accent, var(--brand)); outline-offset: -2px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-answer { max-height: 320px; }
.faq-answer p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.6; }
