/* WorryFree Pay — Developers Page (Stripe-style) */

.wfp-page--dev { background: #000; color: #f5f5f7; }

.wfp-dev-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--wfp-header-h) + 60px) 24px 80px;
  overflow: hidden;
}
.wfp-dev-hero__grid-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background-image:
    linear-gradient(rgba(99,91,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,91,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.wfp-dev-hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(0,212,170,0.1), transparent 60%);
}
.wfp-dev-hero__content { position: relative; z-index: 2; max-width: 800px; }
.wfp-dev-hero__label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #00d4aa; margin-bottom: 20px;
}
.wfp-dev-hero__title {
  font-size: clamp(42px, 6.2vw, 71px); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.08; margin: 0 0 24px;
}
.wfp-dev-hero__desc { font-size: 20px; line-height: 1.7; color: var(--wfp-muted); margin: 0 auto 36px; max-width: 620px; }
.wfp-dev-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.wfp-dev-code {
  max-width: 640px; margin: 48px auto 0; text-align: left;
  background: #0d1117; border: 1px solid rgba(99,91,255,0.25); border-radius: 12px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.wfp-dev-code__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wfp-dev-code__dot { width: 10px; height: 10px; border-radius: 50%; }
.wfp-dev-code__dot--r { background: #ff5f57; }
.wfp-dev-code__dot--y { background: #febc2e; }
.wfp-dev-code__dot--g { background: #28c840; }
.wfp-dev-code__pre {
  margin: 0; padding: 20px; font-family: "SF Mono", "Fira Code", monospace;
  font-size: 15px; line-height: 1.6; color: #e6edf3; overflow-x: auto;
}
.wfp-dev-code__kw { color: #ff7b72; }
.wfp-dev-code__str { color: #a5d6ff; }
.wfp-dev-code__cm { color: #8b949e; }

.wfp-dev-apis {
  padding: 100px 24px; background: #050505; border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-dev-apis__grid {
  max-width: var(--wfp-container-wide); margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.wfp-dev-api {
  padding: 28px 24px; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; transition: border-color 0.25s, transform 0.25s;
}
.wfp-dev-api:hover { border-color: rgba(0,212,170,0.35); transform: translateY(-2px); }
.wfp-dev-api__method {
  display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px;
  font-weight: 700; font-family: monospace; margin-bottom: 12px;
}
.wfp-dev-api__method--get { background: rgba(0,212,170,0.15); color: #00d4aa; }
.wfp-dev-api__method--post { background: rgba(99,91,255,0.15); color: #a5b4fc; }
.wfp-dev-api h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.wfp-dev-api p { font-size: 16px; color: var(--wfp-muted); line-height: 1.6; margin: 0; }

.wfp-dev-flow-section {
  padding: 100px 24px; background: #000; border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-dev-flow-horizontal {
  max-width: var(--wfp-container-wide); margin: 48px auto 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
}
.wfp-dev-flow-step {
  padding: 16px 24px; background: rgba(99,91,255,0.08); border: 1px solid rgba(99,91,255,0.2);
  border-radius: 12px; text-align: center; min-width: 140px;
}
.wfp-dev-flow-step__num { font-size: 12px; font-weight: 700; color: #635bff; margin-bottom: 6px; }
.wfp-dev-flow-step__label { font-size: 16px; font-weight: 600; }
.wfp-dev-flow-arrow { color: #48484a; font-size: 20px; font-weight: 700; }

.wfp-dev-usecases {
  padding: 100px 24px; background: #050505; border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-dev-usecases__grid {
  max-width: var(--wfp-container-wide); margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.wfp-dev-usecase {
  padding: 32px; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px;
}
.wfp-dev-usecase__icon { font-size: 40px; margin-bottom: 16px; }
.wfp-dev-usecase h3 { font-size: 20px; margin: 0 0 10px; }
.wfp-dev-usecase p { font-size: 16px; color: var(--wfp-muted); line-height: 1.65; margin: 0; }

.wfp-dev-tools {
  padding: 80px 24px; background: #000; border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.wfp-dev-tools__chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px;
}
.wfp-dev-tools__chip {
  padding: 12px 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; font-size: 16px; font-weight: 600;
}

@media (max-width: 1024px) {
  .wfp-dev-apis__grid, .wfp-dev-usecases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wfp-dev-apis__grid, .wfp-dev-usecases__grid { grid-template-columns: 1fr; }
  .wfp-dev-flow-arrow { display: none; }
  .wfp-dev-flow-horizontal { flex-direction: column; }
}
