.development-page {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 46, 196, 0.15), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(34, 216, 255, 0.16), transparent 27%),
    linear-gradient(180deg, #030305 0%, #050610 52%, #030305 100%);
}

.dev-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92vh;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 80px) 84px;
  isolation: isolate;
}

.dev-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, #030305);
  content: "";
}

.dev-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.dev-hero-art img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(880px, 112vw);
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(1.2) contrast(1.12);
  transform: translate(-50%, -47%);
  animation: dev-pulse 12s ease-in-out infinite alternate;
}

.dev-hero-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 5, 0.94), transparent 30%, transparent 70%, rgba(3, 3, 5, 0.94)),
    radial-gradient(circle at 50% 42%, rgba(3, 3, 5, 0.08), rgba(3, 3, 5, 0.86) 78%);
  content: "";
}

.dev-geometry {
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  opacity: 0.24;
  filter: drop-shadow(0 0 18px currentColor);
  animation: dev-rotate 48s linear infinite;
}

.dev-geometry-a {
  top: 14%;
  right: -100px;
  width: min(420px, 54vw);
  color: var(--blue);
}

.dev-geometry-b {
  bottom: 3%;
  left: -80px;
  width: min(350px, 48vw);
  color: var(--pink);
  animation-direction: reverse;
}

.dev-hero-content {
  width: min(980px, 100%);
  text-align: center;
}

.dev-hero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
}

.dev-hero .hero-copy {
  max-width: 780px;
}

.dev-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.dev-section-heading {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.dev-section-heading h2,
.maintenance-section h2,
.quote-intro h2,
.final-dev-cta h2 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 1;
}

.dev-section-heading > p:last-child,
.quote-intro > p:last-child,
.maintenance-section > div > p {
  color: #dce5f5;
  font-size: 1.05rem;
  line-height: 1.72;
}

.pricing-section {
  padding-top: 70px;
}

.service-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(500px, 100%);
  margin-bottom: 30px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.service-tab {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-tab:hover,
.service-tab:focus-visible {
  color: var(--text);
}

.service-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.service-tab.is-active {
  background: linear-gradient(90deg, rgba(255, 46, 196, 0.92), rgba(34, 216, 255, 0.92));
  color: #030305;
  box-shadow: 0 0 24px rgba(34, 216, 255, 0.24), 0 0 22px rgba(255, 46, 196, 0.2);
}

.pricing-panel.is-active {
  animation: pricing-in 320ms ease both;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card,
.why-card,
.process-step,
.estimator-shell,
.maintenance-section,
.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 46, 196, 0.085), transparent 42%),
    linear-gradient(315deg, rgba(34, 216, 255, 0.085), transparent 44%),
    rgba(8, 10, 18, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 216, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 50px rgba(0, 0, 0, 0.24), 0 0 24px rgba(34, 216, 255, 0.09);
}

.pricing-card-featured {
  border-color: rgba(255, 46, 196, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 46, 196, 0.18), transparent 44%),
    linear-gradient(315deg, rgba(34, 216, 255, 0.13), transparent 48%),
    rgba(10, 11, 22, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 38px rgba(255, 46, 196, 0.1);
}

.popular-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 46, 196, 0.28), rgba(34, 216, 255, 0.22));
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-label {
  margin: 0 0 18px;
  padding-right: 90px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pricing-card h3 {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card h3 strong {
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1;
  text-transform: none;
}

.pricing-best {
  min-height: 68px;
  margin: 18px 0 0;
  color: #dce5f5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pricing-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  color: #dce5f5;
  line-height: 1.45;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  content: "✦";
  font-size: 0.72rem;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

.estimator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 30px;
  padding: clamp(24px, 4vw, 42px);
}

.estimator-controls {
  display: grid;
  gap: 28px;
}

.estimator-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.estimator-controls legend {
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-pill {
  position: relative;
}

.choice-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-pill span,
.feature-choices label {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #dce5f5;
  cursor: pointer;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.choice-pill input:checked + span {
  border-color: rgba(34, 216, 255, 0.58);
  background: linear-gradient(90deg, rgba(255, 46, 196, 0.15), rgba(34, 216, 255, 0.13));
  box-shadow: 0 0 18px rgba(34, 216, 255, 0.11);
  color: var(--text);
}

.choice-pill input:focus-visible + span,
.feature-choices input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.feature-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-choices label {
  gap: 10px;
  font-size: 0.92rem;
}

.feature-choices input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pink);
}

.feature-choices label:has(input:checked) {
  border-color: rgba(255, 46, 196, 0.48);
  background: rgba(255, 46, 196, 0.1);
}

.estimate-result {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 30px;
  border: 1px solid rgba(34, 216, 255, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 10%, rgba(34, 216, 255, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(255, 46, 196, 0.12), transparent 50%),
    rgba(4, 6, 13, 0.9);
  box-shadow: 0 0 38px rgba(34, 216, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.estimate-result output {
  display: block;
  margin: 6px 0 20px;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow: 0 0 24px rgba(255, 46, 196, 0.3), 0 0 28px rgba(34, 216, 255, 0.25);
}

.estimate-result > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 26px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 43px;
  right: -15px;
  z-index: 2;
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  content: "";
}

.process-step > span,
.why-card > span {
  color: var(--blue);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(34, 216, 255, 0.42);
}

.process-step h3,
.why-card h3 {
  margin: 30px 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.3rem;
}

.process-step p,
.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-card {
  min-width: 0;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 196, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 46, 196, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(34, 216, 255, 0.11), transparent 44%),
    rgba(8, 10, 18, 0.9);
}

.why-card h3 {
  margin-top: 22px;
}

.maintenance-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  margin-top: 60px;
  padding: clamp(30px, 5vw, 54px);
}

.maintenance-disclaimer {
  color: var(--muted) !important;
  font-size: 0.88rem !important;
}

.maintenance-pricing {
  display: grid;
  gap: 14px;
}

.maintenance-pricing article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.maintenance-pricing span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-pricing strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.maintenance-pricing small {
  color: var(--muted);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: 120px;
}

.quote-form {
  margin: 0;
}

.final-dev-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 90px;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid rgba(34, 216, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 46, 196, 0.2), transparent 32%),
    radial-gradient(circle at 82% 44%, rgba(34, 216, 255, 0.18), transparent 34%),
    rgba(7, 9, 18, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 50px rgba(34, 216, 255, 0.06);
  text-align: center;
}

.final-dev-cta .button {
  margin-top: 30px;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dev-pulse {
  from { transform: translate(-50%, -47%) scale(1); }
  to { transform: translate(-50%, -47%) scale(1.035); }
}

@keyframes dev-rotate {
  to { transform: rotate(360deg); }
}

@keyframes pricing-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-best { min-height: 0; }
  .estimator-shell, .quote-section, .maintenance-section { grid-template-columns: 1fr; }
  .estimate-result, .quote-intro { position: static; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2)::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .dev-hero { min-height: 88svh; padding: 190px 16px 64px; }
  .dev-section { width: min(100% - 28px, 1180px); padding: 68px 0; }
  .maintenance-section { width: min(100% - 28px, 1180px); padding: 26px; }
  .final-dev-cta { width: min(100% - 28px, 1180px); }
}

@media (max-width: 620px) {
  .dev-hero { padding-top: 250px; }
  .dev-hero h1 { font-size: clamp(2.55rem, 12vw, 4.6rem); }
  .pricing-card, .estimator-shell { padding: 22px; }
  .process-grid, .why-grid, .feature-choices { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .choice-row-three { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
}

@media (max-width: 430px) {
  .dev-hero { min-height: 100svh; padding-top: 292px; }
  .dev-hero h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .dev-section-heading h2, .maintenance-section h2, .quote-intro h2, .final-dev-cta h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .service-toggle, .choice-row { grid-template-columns: 1fr; border-radius: 8px; }
  .service-tab { border-radius: 6px; }
  .pricing-label { padding-right: 0; }
  .popular-badge { position: static; width: fit-content; margin-bottom: 18px; }
  .estimate-result { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .dev-hero-art img, .dev-geometry, .pricing-panel.is-active { animation: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .pricing-card:hover, .why-card:hover { transform: none; }
}
