/* =====================================================
   YUGANTIX — Cloud / DevOps technology pages
   (AWS, Azure, Google Cloud, Docker, Jenkins, Terraform)

   Fifth distinct hero design: a horizontal CI/CD pipeline with
   four stages (Build → Test → Deploy → Live) and a glowing dot
   that travels the connecting line on load — different from the
   badge, terminal, browser-skeleton, and KPI-dashboard designs.
   ===================================================== */

: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; }

.cloud-hero {
  background: #FFFFFF;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cloud-hero .crumb { justify-content: center; display: flex; gap: .5rem; }
.cloud-kicker {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--tech-accent, var(--brand)); margin: .75rem 0;
}
.cloud-hero h1 { max-width: 760px; margin: 0 auto; }
.cloud-hero .lede { max-width: 620px; margin: 1rem auto 0; }
.cloud-hero .cta-actions { justify-content: center; margin-top: 1.5rem; }

/* Pipeline */
.cloud-pipeline {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cloud-pipeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--line);
}
.cloud-pipeline-progress {
  position: absolute;
  top: 22px;
  left: 6%;
  height: 2px;
  background: var(--tech-accent, var(--brand));
  width: 0;
  animation: cloud-fill 2.4s ease-in-out .3s forwards;
}
@keyframes cloud-fill { to { width: 88%; } }

.cloud-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.cloud-stage .node {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  position: relative;
  z-index: 1;
  animation: cloud-node-on .5s ease forwards;
  animation-delay: var(--node-delay, 0s);
}
.cloud-stage .node svg { width: 18px; height: 18px; }
@keyframes cloud-node-on {
  to { border-color: var(--tech-accent, var(--brand)); color: var(--tech-accent, var(--brand)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tech-accent, var(--brand)) 15%, transparent); }
}
.cloud-stage .stage-label {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted);
}
@media (prefers-reduced-motion: reduce) {
  .cloud-pipeline-progress { animation: none; width: 88%; }
  .cloud-stage .node { animation: none; border-color: var(--tech-accent, var(--brand)); color: var(--tech-accent, var(--brand)); }
}

/* =========== Why / capability / FAQ =========== */
.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-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; margin: 0 auto; text-align: left; }
.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; }
