/* ============================================================
   INTERFALA — css/pages/desenvolvedores.css
   Página /desenvolvedores/ — vitrine técnica da API.
   ============================================================ */

/* ── Tipografia mono (carregada do Google Fonts via HTML head) ── */
:root {
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
}

/* ════════════════════════════════════════════════════════════
   SHARED — Code block (used in many sections)
   ════════════════════════════════════════════════════════════ */
.code-block {
  background: var(--color-ink);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: #e6e1f5;
  border: 1px solid rgba(174, 98, 255, 0.18);
  box-shadow:
    0 30px 60px -20px rgba(16, 10, 60, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px -20px rgba(113, 48, 240, 0.45);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.code-dots { display: flex; gap: 6px; }
.code-dots .dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: block;
}
.code-dots .red    { background: #ff5f57; }
.code-dots .yellow { background: #febc2e; }
.code-dots .green  { background: #28c840; }

.code-filename {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.code-method {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(113, 48, 240, 0.18);
  color: var(--color-cyan);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.code-status-ok {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #28c840;
  font-size: 11.5px;
  font-weight: 600;
}
.code-status-ok::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 8px rgba(40, 200, 64, 0.7);
}
.code-copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 11px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.code-copy:hover {
  background: rgba(113, 48, 240, 0.22);
  color: #fff;
  border-color: rgba(174, 98, 255, 0.4);
}
.code-copy.copied {
  background: rgba(0, 255, 210, 0.15);
  color: var(--color-cyan);
  border-color: rgba(0, 255, 210, 0.3);
}

.code-content {
  margin: 0;
  padding: 20px 22px 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #d4d0e0;
  tab-size: 2;
  white-space: pre;
}
.code-content::-webkit-scrollbar { height: 8px; }
.code-content::-webkit-scrollbar-thumb {
  background: rgba(174, 98, 255, 0.3);
  border-radius: 4px;
}

/* ── Syntax tokens ── */
.tok-c   { color: #6b7280; font-style: italic; }       /* comment */
.tok-k   { color: var(--color-cyan); }                  /* keyword */
.tok-s   { color: #fbbf24; }                            /* string */
.tok-n   { color: #ae62ff; }                            /* number */
.tok-p   { color: #dd8cf5; }                            /* property */
.tok-f   { color: #7dd3fc; }                            /* function */
.tok-o   { color: #d4d4d8; }                            /* operator */
.tok-v   { color: #ffffff; }                            /* variable */
.tok-t   { color: var(--color-cyan); }                  /* type */
.tok-pun { color: #a8a4bc; }                            /* punctuation */
.tok-tag { color: #ae62ff; }                            /* curl method etc */

/* Blinking cursor */
.code-content .cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--color-cyan);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: dev-blink 1s steps(2) infinite;
}
@keyframes dev-blink {
  50% { opacity: 0; }
}

/* ════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════ */
.dev-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--color-lavender) 0%, #fff 100%);
}
.dev-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 48, 240, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 48, 240, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}
.dev-hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 60%; height: 80%;
  background:
    radial-gradient(circle at 30% 40%, rgba(174, 98, 255, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0, 255, 210, 0.18) 0%, transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}
.dev-hero-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dev-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 14px 0 18px;
  color: var(--color-gray-900);
}
.dev-hero-copy h1 .grad {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.dev-hero-copy h1 .grad::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: var(--color-cyan);
  border-radius: 99px;
  transform-origin: left;
  animation: dev-grow .9s var(--ease-out) .4s both;
}
@keyframes dev-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.dev-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin: 0 0 28px;
  max-width: 520px;
}
.dev-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dev-hero-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-gray-700);
}
.dev-hero-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dev-hero-stats > span + span::before {
  content: '·';
  margin-right: 6px;
  color: var(--color-gray-300);
}
.dev-hero-stats .dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-cyan-dark);
  box-shadow: 0 0 0 4px rgba(0, 204, 170, 0.15);
  animation: dev-pulse 2s ease-in-out infinite;
}

.dev-hero-code {
  position: relative;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s var(--ease-out);
}
.dev-hero-code:hover {
  transform: perspective(1400px) rotateY(-1deg) rotateX(0deg);
}
.dev-hero-code::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(113, 48, 240, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

@media (max-width: 920px) {
  .dev-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dev-hero-code { transform: none; }
  .dev-hero { padding: 56px 0 72px; }
}

/* ════════════════════════════════════════════════════════════
   2. QUICK START
   ════════════════════════════════════════════════════════════ */
.dev-quickstart {
  padding: 100px 0;
  background: #fff;
}
.dev-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.dev-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 12px 0 14px;
  line-height: 1.1;
}
.dev-section-header p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-gray-500);
}

.qs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.qs-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(113, 48, 240, 0.3) 15%,
    rgba(0, 255, 210, 0.4) 50%,
    rgba(113, 48, 240, 0.3) 85%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.qs-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  z-index: 1;
}
.qs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(113, 48, 240, 0.25);
  box-shadow: var(--shadow-lg);
}
.qs-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(113, 48, 240, 0.35);
  position: relative;
}
.qs-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(113, 48, 240, 0.18);
}
.qs-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.qs-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-gray-700);
  margin: 0 0 16px;
}
.qs-mini {
  background: var(--color-gray-100);
  border: 1px solid rgba(113, 48, 240, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-gray-900);
  margin-bottom: 16px;
  overflow-x: auto;
  white-space: nowrap;
}
.qs-mini .tok-mono-k { color: var(--color-purple); font-weight: 600; }
.qs-mini .tok-mono-s { color: #b06c1f; }

.qs-channels {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.qs-chan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gray-100);
  border: 1px solid rgba(113, 48, 240, 0.1);
  border-radius: 999px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-gray-700);
}
.qs-chan svg { width: 13px; height: 13px; }

.qs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-purple);
  transition: gap .2s;
}
.qs-link:hover { gap: 10px; }

@media (max-width: 900px) {
  .qs-grid { grid-template-columns: 1fr; }
  .qs-grid::before { display: none; }
}

/* ════════════════════════════════════════════════════════════
   3. CODE PLAYGROUND (DARK)
   ════════════════════════════════════════════════════════════ */
.dev-playground {
  padding: 100px 0;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
}
.dev-playground::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(113, 48, 240, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(0, 255, 210, 0.12), transparent 70%);
  pointer-events: none;
}
.dev-playground .dev-section-header h2 { color: #fff; }
.dev-playground .dev-section-header p  { color: rgba(255, 255, 255, 0.65); }
.dev-playground .section-badge {
  background: rgba(0, 255, 210, 0.1);
  border-color: rgba(0, 255, 210, 0.25);
  color: var(--color-cyan);
}

.pg-wrap {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pg-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.pg-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.pg-tab:hover { color: #fff; }
.pg-tab.active {
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: 0 6px 20px rgba(113, 48, 240, 0.45);
}
.pg-tab .lang-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.pg-tab[data-lang="node"]   .lang-dot { background: #8bc34a; }
.pg-tab[data-lang="php"]    .lang-dot { background: #777bb3; }
.pg-tab[data-lang="python"] .lang-dot { background: #ffd43b; }
.pg-tab[data-lang="curl"]   .lang-dot { background: #00ccaa; }
.pg-tab[data-lang="ruby"]   .lang-dot { background: #cc342d; }

.pg-panel { display: none; }
.pg-panel.active {
  display: block;
  animation: pg-fade .3s var(--ease-out);
}
@keyframes pg-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pg-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
}
.pg-note strong { color: var(--color-cyan); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   4. RESOURCES (API endpoints cards)
   ════════════════════════════════════════════════════════════ */
.dev-resources {
  padding: 100px 0;
  background: #fff;
}
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.res-card {
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.res-card:hover {
  transform: translateY(-3px);
  border-color: rgba(113, 48, 240, 0.3);
  box-shadow: var(--shadow-md);
}
.res-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-icon);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(174, 98, 255, 0.35);
}
.res-icon svg { width: 22px; height: 22px; }
.res-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.res-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray-700);
  margin: 0 0 16px;
}
.res-endpoints {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.res-ep {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.res-ep .verb {
  display: inline-block;
  font-weight: 700;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.verb-get    { background: rgba(0, 204, 170, 0.18);  color: #00866d; }
.verb-post   { background: rgba(113, 48, 240, 0.15); color: var(--color-purple); }
.verb-patch  { background: rgba(245, 158, 11, 0.18); color: #b45309; }
.verb-event  { background: rgba(174, 98, 255, 0.15); color: var(--color-purple-light); color: #7c2fe6; }
.res-card .qs-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .res-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   5. WEBHOOKS
   ════════════════════════════════════════════════════════════ */
.dev-webhooks {
  padding: 100px 0;
  background: var(--color-lavender);
  position: relative;
  overflow: hidden;
}
.dev-webhooks::before {
  content: '';
  position: absolute;
  top: 10%; left: -10%;
  width: 40%; height: 60%;
  background: radial-gradient(circle, rgba(0, 255, 210, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.wh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.wh-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 12px 0 16px;
}
.wh-copy > p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin: 0 0 22px;
}
.wh-events {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 22px;
}
.wh-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(113, 48, 240, 0.1);
  border-radius: var(--radius-lg);
  font-size: 14.5px;
  color: var(--color-gray-900);
}
.wh-event .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-cyan);
  display: grid;
  place-items: center;
  color: var(--color-ink);
  flex-shrink: 0;
}
.wh-event .check svg { width: 12px; height: 12px; stroke-width: 3; }
.wh-event code {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-purple);
  background: rgba(113, 48, 240, 0.08);
  padding: 3px 8px;
  border-radius: 5px;
}
.wh-footer {
  font-size: 14px;
  color: var(--color-gray-700);
  margin-bottom: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .wh-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ════════════════════════════════════════════════════════════
   6. USE CASES
   ════════════════════════════════════════════════════════════ */
.dev-usecases {
  padding: 100px 0;
  background: #fff;
}
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.uc-card {
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.uc-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 98, 255, 0.08), transparent 70%);
  pointer-events: none;
  transition: transform .4s var(--ease-out);
}
.uc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(113, 48, 240, 0.3);
  box-shadow: var(--shadow-md);
}
.uc-card:hover::after {
  transform: scale(1.4);
}
.uc-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(113, 48, 240, 0.12), rgba(0, 255, 210, 0.18));
  border: 1px solid rgba(113, 48, 240, 0.18);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.uc-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.uc-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin: 0 0 18px;
}
.uc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.uc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-gray-700);
  background: var(--color-gray-100);
  padding: 4px 10px;
  border-radius: 99px;
}

@media (max-width: 720px) {
  .uc-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   7. STATUS WIDGET
   ════════════════════════════════════════════════════════════ */
.dev-status {
  padding: 100px 0;
  background: var(--color-gray-100);
}
.status-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-3xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-gray-100);
  margin-bottom: 8px;
}
.status-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-success);
  position: relative;
  flex-shrink: 0;
}
.status-pulse::before,
.status-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-success);
  animation: dev-pulse-ring 2s ease-out infinite;
}
.status-pulse::after { animation-delay: 1s; }
@keyframes dev-pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes dev-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 204, 170, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(0, 204, 170, 0); }
}
.status-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}
.status-updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-gray-500);
}
.status-list {
  display: flex;
  flex-direction: column;
}
.status-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: background .2s;
}
.status-row:last-child { border-bottom: none; }
.status-row:hover {
  background: rgba(113, 48, 240, 0.025);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius-md);
}
.status-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.status-row-text { min-width: 0; }
.status-row-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-gray-900);
  line-height: 1.3;
}
.status-row-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 2px;
}
.status-badge,
.uptime-badge {
  height: 22px;
  border-radius: 5px;
  display: inline-block;
}
/* fallback uptime pill (when Kuma badge SVG isn't loaded yet) */
.uptime-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.12);
  color: #047a3a;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.status-pill-mini {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.12);
  color: #047a3a;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.status-cta {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 540px) {
  .status-card { padding: 22px; }
  .status-head { flex-direction: column; align-items: flex-start; }
  .status-row { grid-template-columns: 1fr; gap: 8px; }
  .status-row-actions { display: flex; gap: 8px; }
}

/* ════════════════════════════════════════════════════════════
   8. DEV RESOURCES (4 cards)
   ════════════════════════════════════════════════════════════ */
.dev-tools {
  padding: 100px 0;
  background: #fff;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(113, 48, 240, 0.3);
  box-shadow: var(--shadow-md);
}
.tool-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(113, 48, 240, 0.08);
  border: 1px solid rgba(113, 48, 240, 0.15);
  color: var(--color-purple);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.tool-icon svg { width: 20px; height: 20px; }
.tool-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.tool-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-gray-700);
  margin: 0 0 16px;
}
.tool-card .qs-link {
  margin-top: auto;
  font-size: 13px;
}

@media (max-width: 900px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   9. FINAL CTA (DARK)
   ════════════════════════════════════════════════════════════ */
.dev-cta {
  padding: 110px 0;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.dev-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(113, 48, 240, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(0, 255, 210, 0.18), transparent 60%);
  pointer-events: none;
}
.dev-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  pointer-events: none;
}
.dev-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.dev-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin: 14px 0 18px;
}
.dev-cta p {
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 30px;
}
.dev-cta-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.dev-cta-micro {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.dev-cta-micro .sep { margin: 0 10px; color: rgba(255, 255, 255, 0.25); }
.dev-cta .section-badge {
  background: rgba(0, 255, 210, 0.1);
  border-color: rgba(0, 255, 210, 0.25);
  color: var(--color-cyan);
}

/* ════════════════════════════════════════════════════════════
   FADE-UP UTILITY (mirror site pattern)
   ════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }
.fade-up.d4 { transition-delay: .32s; }
