/* ==========================================================================
   Web & Software Development landing page
   Clean, editorial "digital studio" style: white/soft-gray sections, navy
   headings, blue accent, rounded cards, scroll-reveal + micro animations.
   ========================================================================== */

.wsd2 {
  --navy: #0b1f3a;
  --navy-soft: #16294a;
  --body: #5b6b84;
  --blue: #3157f6;
  --blue-dark: #1d3fcf;
  --bg-soft: #f6f8fc;
  --border: #e6ebf3;
  --shadow: 0 20px 45px rgba(15, 35, 70, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 35, 70, 0.14);
  --radius: 16px;
  background: #ffffff;
  color: var(--navy);
}

.wsd2 section {
  position: relative;
}

/* ---------- Smooth in-page scrolling ---------- */

html {
  scroll-behavior: smooth;
}

#wsdServices,
#wsdContactSection {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Reveal-on-scroll ---------- */

.wsd-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Opacity-only variant: used where the element may contain a position:fixed
   descendant (e.g. the reCAPTCHA badge), since any non-"none" transform on
   an ancestor creates a containing block that breaks fixed positioning. */
.wsd-reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.wsd-reveal-fade.is-visible {
  opacity: 1;
}

.wsd-reveal-group .wsd-reveal:nth-child(1) { transition-delay: 0.02s; }
.wsd-reveal-group .wsd-reveal:nth-child(2) { transition-delay: 0.1s; }
.wsd-reveal-group .wsd-reveal:nth-child(3) { transition-delay: 0.18s; }
.wsd-reveal-group .wsd-reveal:nth-child(4) { transition-delay: 0.26s; }
.wsd-reveal-group .wsd-reveal:nth-child(5) { transition-delay: 0.34s; }
.wsd-reveal-group .wsd-reveal:nth-child(6) { transition-delay: 0.42s; }

/* ---------- Shared eyebrow / headings ---------- */

.wsd-kicker {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.wsd-kicker::before {
  animation: wsdKickerWave 1.6s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3' stroke='%233157F6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 20px 6px;
  content: "";
  display: inline-block;
  height: 6px;
  width: 20px;
}

.wsd-kicker.is-light {
  color: #bcd0ff;
}

.wsd-kicker.is-light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3' stroke='%23bcd0ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

@keyframes wsdKickerWave {
  from { background-position-x: 0; }
  to { background-position-x: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .wsd-kicker::before {
    animation: none;
  }
}

.wsd2 h2 {
  color: var(--navy);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.wsd-lede {
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  margin: 14px 0 0;
}

.wsd-section-head {
  margin: 0 auto 46px;
  max-width: 1080px;
  text-align: center;
}

.wsd-section-head.is-left {
  margin-left: 0;
  max-width: 560px;
  text-align: left;
}

/* ---------- Buttons ---------- */

.wsd2 .btn {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wsd2 .btn:hover {
  transform: translateY(-2px);
}

.wsd-btn-navy {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.22);
  color: #ffffff !important;
}

.wsd-btn-navy:hover {
  background: var(--navy-soft) !important;
}

.wsd-btn-outline-navy {
  background: transparent !important;
  border: 1px solid #c6d0e0 !important;
  color: var(--navy) !important;
}

.wsd-btn-outline-navy:hover {
  border-color: var(--navy) !important;
}

.wsd-btn-blue {
  background: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  box-shadow: 0 14px 30px rgba(49, 87, 246, 0.24);
  color: #ffffff !important;
}

.wsd-btn-blue:hover {
  background: var(--blue-dark) !important;
}

.wsd-link-arrow {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
}

.wsd-link-arrow em {
  font-size: 12px;
  transition: transform 0.2s ease;
}

a.wsd-link-arrow:hover em {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.wsd-hero2 {
  background: radial-gradient(1200px 480px at 15% -10%, #eef3ff 0%, rgba(238, 243, 255, 0) 60%), #ffffff;
  overflow: hidden;
  padding: 90px 0 56px;
  position: relative;
}

.wsd-hero2 .container-xl {
  position: relative;
  z-index: 2;
}

.wsd-hero2 .wsd-kicker {
  margin-bottom: 18px;
}

/* ---------- Animated hero background: blobs, grid, tech particles ---------- */

.wsd-hero-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 0;
}

.wsd-hero-grid {
  background-image:
    linear-gradient(rgba(49, 87, 246, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 87, 246, 0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  height: 160%;
  left: -10%;
  mask-image: radial-gradient(ellipse 92% 80% at 58% 32%, #000 0%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 92% 80% at 58% 32%, #000 0%, transparent 88%);
  animation: wsdGridDrift 60s linear infinite;
  position: absolute;
  top: -25%;
  width: 120%;
}

@keyframes wsdGridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 84px 84px; }
}

.wsd-particle {
  align-items: center;
  animation: wsdParticleFloat 8s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 12px 26px rgba(15, 35, 70, 0.1);
  color: var(--blue);
  display: flex;
  font-size: 15px;
  height: 38px;
  justify-content: center;
  position: absolute;
  width: 38px;
}

.wsd-particle-1 { left: 4%; top: 8%; animation-delay: 0s; opacity: 0.3; }
.wsd-particle-2 { left: 40%; top: 3%; animation-delay: 1.4s; opacity: 0.4; }
.wsd-particle-3 { right: 32%; top: 12%; animation-delay: 2.6s; opacity: 0.45; }
.wsd-particle-4 { right: 3%; top: 44%; animation-delay: 0.8s; opacity: 0.5; }
.wsd-particle-5 { left: 44%; bottom: 6%; animation-delay: 2s; opacity: 0.35; }
.wsd-particle-6 { right: 42%; bottom: 2%; animation-delay: 3.2s; opacity: 0.4; }

@keyframes wsdParticleFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(9px, -16px); }
}

.wsd-hero-title {
  color: var(--navy);
  font-size: clamp(36px, 14px + 2.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.wsd-hero-title .wsd-highlight {
  color: var(--blue);
}

.wsd-rotate-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.wsd-rotate-word-inner {
  display: inline-block;
  filter: blur(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

.wsd-rotate-word-inner.wsd-rotate-out {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-45%);
}

.wsd-rotate-word-inner.wsd-rotate-in {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(45%);
}

.wsd-hero2 .wsd-lede {
  font-size: 18px;
  max-width: 480px;
}

.wsd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- Hero device mockup ---------- */

.wsd-hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.wsd-hero-glow {
  animation: wsdGlowPulse 6s ease-in-out infinite;
  background: radial-gradient(circle, rgba(49, 87, 246, 0.14) 0%, rgba(49, 87, 246, 0) 68%);
  border-radius: 50%;
  height: 460px;
  position: absolute;
  width: 460px;
  z-index: 0;
}

@keyframes wsdGlowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.wsd-device {
  animation: wsdDeviceFloat 6.5s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  position: relative;
  width: 380px;
  z-index: 1;
}

@keyframes wsdDeviceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wsd-device::after {
  background: #dbe3f0;
  border-radius: 4px;
  bottom: -26px;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 140px;
}

.wsd-device-cam {
  background: #d7e0ee;
  border-radius: 50%;
  height: 7px;
  margin: 0 auto 14px;
  width: 7px;
}

.wsd-device-screen {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.wsd-device-head {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.wsd-device-logo {
  background: var(--blue);
  border-radius: 6px;
  height: 20px;
  width: 20px;
}

.wsd-device-head span {
  background: #dbe3f0;
  border-radius: 4px;
  height: 8px;
}

.wsd-device-head span:nth-child(2) { width: 70px; }
.wsd-device-head span:nth-child(3) { margin-left: auto; width: 40px; }

.wsd-device-chart {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 14px 14px 6px;
  position: relative;
}

.wsd-chart-live {
  align-items: center;
  color: #16a34a;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 5px;
  letter-spacing: 0.06em;
  position: absolute;
  right: 12px;
  text-transform: uppercase;
  top: 10px;
}

.wsd-live-dot {
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.55);
  height: 6px;
  width: 6px;
  animation: wsdLivePulse 1.8s ease-out infinite;
}

@keyframes wsdLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.wsd-device-chart svg {
  display: block;
  width: 100%;
}

.wsd-chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: wsdDrawLine 3.2s ease-in-out infinite;
}

.wsd-chart-fill {
  fill: url(#wsdChartGradient);
  opacity: 0.9;
}

@keyframes wsdDrawLine {
  0% { stroke-dashoffset: 300; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.wsd-device-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.wsd-device-stat {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wsd-device-stat:hover {
  background: #eaf1ff;
  box-shadow: 0 8px 16px rgba(49, 87, 246, 0.16);
  transform: translateY(-2px);
}

.wsd-float-card {
  align-items: center;
  animation: wsdFloat 4.5s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  bottom: -22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  position: absolute;
  right: -18px;
  width: 230px;
  z-index: 2;
}

.wsd-float-card-alt {
  animation-delay: 0.4s;
  bottom: auto;
  left: -20px;
  right: auto;
  top: 6%;
  width: 214px;
}

.wsd-float-card-top-right {
  animation-delay: 0.9s;
  bottom: auto;
  left: auto;
  right: -18px;
  top: 4%;
  width: 214px;
}

.wsd-float-card-bottom-left {
  animation-delay: 1.3s;
  bottom: -18px;
  left: -26px;
  right: auto;
  top: auto;
  width: 220px;
}

@keyframes wsdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.wsd-float-icon {
  align-items: center;
  background: #eaf1ff;
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.wsd-float-icon.is-navy {
  background: var(--navy);
  color: #ffffff;
}

.wsd-float-card strong {
  color: var(--navy);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.wsd-float-card span {
  color: var(--body);
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Hero strip ---------- */

.wsd-hero-strip {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.wsd-strip-item {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.wsd-strip-item em {
  color: var(--blue);
  flex: 0 0 auto;
  font-size: 20px;
  margin-top: 2px;
}

.wsd-strip-item strong {
  color: var(--navy);
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.wsd-strip-item p {
  color: var(--body);
  font-size: 13px;
  margin: 3px 0 0;
}

/* ==========================================================================
   Services grid
   ========================================================================== */

.wsd-services2 {
  background: var(--bg-soft);
  padding: 88px 0;
}

.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(1) .wsd-svc-card { --accent: #3157f6; --accent-soft: #eaf0ff; --accent-shadow: rgba(49, 87, 246, 0.28); }
.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(2) .wsd-svc-card { --accent: #7c3aed; --accent-soft: #f2ecfe; --accent-shadow: rgba(124, 58, 237, 0.28); }
.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(3) .wsd-svc-card { --accent: #0d9488; --accent-soft: #e2f6f3; --accent-shadow: rgba(13, 148, 136, 0.28); }
.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(4) .wsd-svc-card { --accent: #ea580c; --accent-soft: #fef0e6; --accent-shadow: rgba(234, 88, 12, 0.28); }
.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(5) .wsd-svc-card { --accent: #0891b2; --accent-soft: #e3f6fa; --accent-shadow: rgba(8, 145, 178, 0.28); }
.wsd-services2 .wsd-reveal-group > .wsd-reveal:nth-child(6) .wsd-svc-card { --accent: #db2777; --accent-soft: #fce9f2; --accent-shadow: rgba(219, 39, 119, 0.28); }

.wsd-svc-card {
  --accent: var(--blue);
  --accent-soft: #eaf1ff;
  --accent-shadow: rgba(49, 87, 246, 0.28);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  overflow: hidden;
  padding: 30px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 0;
}

.wsd-svc-card::before {
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  width: 100%;
}

.wsd-svc-card::after {
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  content: "";
  height: 170px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: -70px;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 170px;
  z-index: -1;
}

.wsd-svc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 22px 44px -20px var(--accent-shadow);
  transform: translateY(-8px);
}

.wsd-svc-card:hover::before {
  transform: scaleX(1);
}

.wsd-svc-card:hover::after {
  opacity: 0.14;
  transform: scale(1);
}

.wsd-svc-icon {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
  display: flex;
  font-size: 22px;
  height: 50px;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.35s ease, border-radius 0.4s ease, color 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 50px;
}

.wsd-svc-card:hover .wsd-svc-icon {
  background: var(--accent);
  border-radius: 50% 50% 50% 10px;
  color: #ffffff;
  transform: scale(1.12) rotate(-8deg);
}

.wsd-svc-card:hover .wsd-svc-icon em {
  animation: wsdSvcIconPop 0.5s ease;
}

@keyframes wsdSvcIconPop {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wsd-svc-card:hover .wsd-svc-icon em {
    animation: none;
  }
}

.wsd-svc-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.wsd-svc-card p {
  color: var(--body);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.wsd-svc-card .wsd-link-arrow {
  transition: color 0.3s ease;
}

.wsd-svc-card:hover .wsd-link-arrow {
  color: var(--accent);
}

/* ---------- Featured builds: alternating panels ---------- */

.wsd-feature-list {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 70px;
}

.wsd-feature-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.wsd-feature-row {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wsd-feature-panel:nth-child(1) { --feature-accent: #3157f6; }
.wsd-feature-panel:nth-child(2) { --feature-accent: #0d9488; }

.wsd-feature-visual {
  flex: none;
}

.wsd-feature-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  width: 100%;
}

.wsd-feature-copy {
  flex: none;
}

.wsd-feature-btn {
  align-self: flex-end;
}

.wsd-feature-eyebrow {
  color: var(--feature-accent, var(--blue));
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.wsd-feature-copy h3 {
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.wsd-feature-row > p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.wsd-btn-soft-blue {
  background: #eaf1ff !important;
  border: 1px solid transparent !important;
  color: var(--blue) !important;
}

.wsd-btn-soft-blue:hover {
  background: #dbe6ff !important;
}

.wsd-feature-checks {
  border-top: 1px solid var(--border);
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.wsd-feature-checks li {
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--feature-accent, var(--blue));
  padding: 16px 0 16px 16px;
}

.wsd-feature-checks strong {
  color: var(--navy);
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.wsd-feature-checks span {
  color: var(--body);
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
}

.wsd-feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wsd-feature-highlights li {
  align-items: center;
  background: #f5f7fd;
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 16px;
}

.wsd-feature-highlights i {
  color: var(--feature-accent, var(--blue));
  font-size: 14px;
}

/* ==========================================================================
   Custom software split
   ========================================================================== */

.wsd-custom2 {
  background: #ffffff;
  padding: 88px 0;
}

.wsd-custom2 h2 {
  font-size: 34px;
  margin-top: 4px;
}

.wsd-custom-check {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
}

.wsd-custom-check li {
  align-items: flex-start;
  color: var(--navy);
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 12px;
  margin-bottom: 14px;
}

.wsd-custom-check em {
  align-items: center;
  background: #eaf1ff;
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  margin-top: 1px;
  width: 22px;
}

.wsd-build-panel {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2a52 100%);
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  padding: 36px;
  position: relative;
  z-index: 0;
}

.wsd-build-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.wsd-build-glow {
  background: radial-gradient(circle, rgba(49, 87, 246, 0.4) 0%, rgba(49, 87, 246, 0) 70%);
  border-radius: 50%;
  height: 420px;
  position: absolute;
  right: -150px;
  top: -170px;
  width: 420px;
}

.wsd-build-ring {
  animation: wsdBuildPulse 4.5s ease-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  height: 140px;
  opacity: 0;
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
}

.wsd-build-ring:nth-child(3) {
  animation-delay: 1.5s;
}

.wsd-build-ring:nth-child(4) {
  animation-delay: 3s;
}

@keyframes wsdBuildPulse {
  0% { opacity: 0.55; transform: scale(0.7); }
  80% { opacity: 0.1; }
  100% { opacity: 0; transform: scale(3); }
}

.wsd-build-panel h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
}

.wsd-build-panel > p {
  color: #a9bbdc;
  font-size: 14px;
  margin-bottom: 24px;
  position: relative;
}

.wsd-build-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}

.wsd-build-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wsd-build-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.wsd-build-chip em {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.wsd-build-chip span {
  color: #e7edfb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   Process
   ========================================================================== */

.wsd-process2 {
  background: var(--bg-soft);
  overflow: hidden;
  padding: 88px 0;
  position: relative;
}

.wsd-process2::before,
.wsd-process2::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.wsd-process2::before {
  background-image: radial-gradient(circle, rgba(11, 31, 58, 0.09) 1.2px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 50%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 50%, transparent 95%);
}

.wsd-process2::after {
  background:
    radial-gradient(560px 420px at 8% 10%, rgba(49, 87, 246, 0.09) 0%, rgba(49, 87, 246, 0) 70%),
    radial-gradient(560px 420px at 94% 90%, rgba(49, 87, 246, 0.08) 0%, rgba(49, 87, 246, 0) 70%);
}

.wsd-process2 .container-xl {
  position: relative;
  z-index: 1;
}

/* ---------- Orbit layout: mobile-first stacked list ---------- */

.wsd-process-orbit {
  margin: 34px auto 0;
  max-width: 640px;
  position: relative;
}

.wsd-orbit-ring2,
.wsd-orbit-hub,
.wsd-orbit-spoke,
.wsd-orbit-badge {
  display: none;
}

.wsd-orbit-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  opacity: 0;
  padding: 18px 20px;
  text-align: left;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wsd-process-orbit.is-visible .wsd-orbit-step {
  opacity: 1;
  transform: translateY(0);
}

.wsd-orbit-step-1 { transition-delay: 0.05s; }
.wsd-orbit-step-2 { transition-delay: 0.16s; }
.wsd-orbit-step-3 { transition-delay: 0.27s; }
.wsd-orbit-step-4 { transition-delay: 0.38s; }
.wsd-orbit-step-5 { transition-delay: 0.49s; }
.wsd-orbit-step-6 { transition-delay: 0.6s; }

.wsd-orbit-step .wsd-step-num {
  color: var(--blue);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.wsd-orbit-step h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.wsd-orbit-step p {
  color: var(--body);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ---------- Orbit layout: circular arrangement on wider screens ---------- */

@media (min-width: 992px) {
  .wsd-process-orbit {
    height: 380px;
    margin-top: 100px;
    margin-bottom: 70px;
    max-width: 100%;
    width: 900px;
  }

  .wsd-orbit-ring2 {
    border: 2px dashed #c8d5f5;
    border-radius: 36px;
    display: block;
    inset: 0;
    position: absolute;
  }

  .wsd-orbit-arrow {
    align-items: center;
    animation: wsdTrackMove 18s linear infinite;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(49, 87, 246, 0.45);
    color: #ffffff;
    display: flex;
    font-size: 13px;
    height: 26px;
    justify-content: center;
    left: 0;
    offset-path: path("M36,0 H864 A36,36 0 0 1 900,36 V344 A36,36 0 0 1 864,380 H36 A36,36 0 0 1 0,344 V36 A36,36 0 0 1 36,0 Z");
    offset-rotate: auto;
    position: absolute;
    top: 0;
    width: 26px;
    z-index: 1;
  }

  @keyframes wsdTrackMove {
    0% { offset-distance: 0%; opacity: 1; }
    55% { offset-distance: 80%; opacity: 1; }
    60% { offset-distance: 80%; opacity: 0; }
    85% { offset-distance: 80%; opacity: 0; }
    85.1% { offset-distance: 0%; opacity: 0; }
    100% { offset-distance: 0%; opacity: 1; }
  }

  .wsd-orbit-hub {
    display: block;
    height: 150px;
    left: 50%;
    position: absolute;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 150px;
    z-index: 3;
  }

  .wsd-orbit-hub-inner {
    align-items: center;
    background: linear-gradient(160deg, var(--navy) 0%, #0f2a52 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 0 18px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
  }

  .wsd-orbit-hub-icon {
    font-size: 17px;
    margin-bottom: 6px;
    opacity: 0.9;
  }

  .wsd-orbit-hub-label {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .wsd-orbit-hub-divider {
    background: rgba(255, 255, 255, 0.28);
    height: 1px;
    margin: 9px 0;
    width: 28px;
  }

  .wsd-orbit-hub-sub {
    color: #b7c4dd;
    font-size: 10px;
    line-height: 1.4;
  }

  .wsd-orbit-pulse {
    animation: wsdOrbitPulse 3s ease-out infinite;
    border: 2px solid rgba(49, 87, 246, 0.45);
    border-radius: 50%;
    inset: 0;
    position: absolute;
  }

  .wsd-orbit-pulse-2 {
    animation-delay: 1.5s;
  }

  @keyframes wsdOrbitPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.9); opacity: 0; }
  }

  /* ---------- Spokes + badges radiating from the hub ---------- */

  .wsd-orbit-spoke {
    background-image: linear-gradient(90deg, #c8d5f5 0, #c8d5f5 6px, transparent 6px, transparent 12px);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    display: block;
    height: 2px;
    opacity: 0;
    position: absolute;
    top: 47%;
    transition: opacity 0.5s ease 0.5s;
    z-index: 1;
  }

  .wsd-process-orbit.is-visible .wsd-orbit-spoke {
    opacity: 1;
  }

  .wsd-orbit-spoke-left {
    left: 26.5%;
    width: 14.5%;
  }

  .wsd-orbit-spoke-right {
    left: 59%;
    width: 14.5%;
  }

  .wsd-orbit-spoke-bottom {
    background-image: linear-gradient(180deg, #c8d5f5 0, #c8d5f5 6px, transparent 6px, transparent 12px);
    background-size: 2px 12px;
    background-repeat: repeat-y;
    height: 12%;
    left: 50%;
    top: 65%;
    transform: translateX(-50%);
    width: 2px;
  }

  .wsd-orbit-badge {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    color: var(--navy);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    opacity: 0;
    padding: 9px 16px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
    white-space: nowrap;
    z-index: 3;
  }

  .wsd-process-orbit.is-visible .wsd-orbit-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .wsd-orbit-badge em {
    color: var(--blue);
    font-size: 13px;
  }

  .wsd-orbit-badge-left {
    left: 33.5%;
    top: 47%;
  }

  .wsd-orbit-badge-right {
    left: 66.5%;
    top: 47%;
  }

  .wsd-orbit-badge-bottom {
    left: 50%;
    top: 75%;
  }

  .wsd-orbit-step {
    left: 50%;
    margin-bottom: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.55);
    width: 220px;
  }

  .wsd-process-orbit.is-visible .wsd-orbit-step {
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .wsd-orbit-step-1 { left: 14%; top: 0%; }
  .wsd-orbit-step-2 { left: 50%; top: 0%; }
  .wsd-orbit-step-3 { left: 86%; top: 0%; }
  .wsd-orbit-step-4 { left: 86%; top: 100%; }
  .wsd-orbit-step-5 { left: 50%; top: 100%; }
  .wsd-orbit-step-6 { left: 14%; top: 100%; }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .wsd-orbit-arrow,
  .wsd-orbit-pulse {
    animation: none;
  }

  .wsd-orbit-badge,
  .wsd-orbit-spoke {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: none;
  }

  .wsd-orbit-spoke-bottom {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Why Metermaster
   ========================================================================== */

.wsd-why2 {
  background: #ffffff;
  padding: 88px 0;
}

.wsd-quote-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  padding: 40px;
  position: relative;
}

.wsd-quote-mark {
  color: #d7e2fb;
  font-size: 44px;
  line-height: 1;
  position: absolute;
  right: 30px;
  top: 28px;
}

.wsd-quote-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.wsd-quote-badge {
  align-items: center;
  background: var(--navy);
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.wsd-quote-brand strong {
  color: var(--navy);
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.wsd-quote-brand span {
  color: var(--body);
  font-size: 12px;
}

.wsd-quote-card blockquote {
  color: var(--navy);
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  margin: 0;
}

.wsd-quote-anim {
  border: 0;
  display: block;
  height: 220px;
  margin: 28px auto 0;
  max-width: 220px;
  width: 100%;
}

.wsd-why2 h2 {
  margin-top: 6px;
}

.wsd-why2 .wsd-lede {
  margin-bottom: 0;
}

.wsd-why-features {
  display: grid;
  gap: 34px 28px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
}

.wsd-why-feature {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.wsd-why-feature em {
  align-items: center;
  background: #eaf1ff;
  border-radius: 10px;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  font-size: 17px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.wsd-why-feature strong {
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}

.wsd-why-feature p {
  color: var(--body);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Contact / quote form
   ========================================================================== */

.wsd-contact2 {
  background: var(--bg-soft);
  padding: 88px 0;
  scroll-margin-top: 90px;
}

.wsd-contact2 h2 {
  font-size: 32px;
}

.wsd-contact-grid {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
}

.wsd-contact-visual {
  background-image: url("../images/web-software-development/contact_bg.png");
  background-position: center 38%;
  background-size: cover;
  min-height: 460px;
  position: relative;
}

.wsd-contact-visual::after {
  background: linear-gradient(0deg, rgba(4, 10, 22, 0.82) 0%, rgba(4, 10, 22, 0) 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.wsd-contact-social {
  bottom: 26px;
  display: flex;
  gap: 10px;
  left: 26px;
  position: absolute;
  z-index: 1;
}

.wsd-contact-social a {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(4, 10, 22, 0.35);
  color: var(--navy);
  display: flex;
  font-size: 16px;
  height: 46px;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  width: 46px;
}

.wsd-contact-social a:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-3px);
}

.wsd-form-card {
  background: #ffffff;
  padding: 44px;
}

.wsd-form-card h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.wsd-form-card > p {
  color: var(--body);
  font-size: 14px;
  margin-bottom: 22px;
}

.wsd-form-card label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.wsd-form-card .form-control,
.wsd-form-card select.form-control {
  background: #ffffff;
  border-color: var(--border);
  border-radius: 9px;
  color: var(--navy);
  font-size: 14px;
  min-height: 48px;
}

.wsd-form-card .form-control::placeholder {
  color: #9aa8c2;
}

.wsd-form-card textarea.form-control {
  min-height: 120px;
}

.wsd-submit-row {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.wsd-faq2 {
  background: #ffffff;
  padding: 88px 0;
}

.wsd-faq-list2 {
  column-count: 2;
  column-gap: 24px;
  margin: 0 auto;
  max-width: 1180px;
}

.wsd-faq-row2 {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wsd-faq-row2:hover {
  border-color: #c9d7ff;
  box-shadow: var(--shadow);
}

.wsd-faq-toggle2 {
  align-items: center;
  background: #ffffff;
  border: 0;
  color: var(--navy);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 20px;
  justify-content: space-between;
  padding: 26px 30px;
  text-align: left;
  transition: background 0.2s ease;
  width: 100%;
}

.wsd-faq-toggle2:hover {
  background: var(--bg-soft);
}

.wsd-faq-toggle2:focus {
  outline: none;
}

.wsd-faq-toggle2:focus-visible {
  outline: 2px solid rgba(49, 87, 246, 0.45);
  outline-offset: -2px;
}

.wsd-faq-toggle2 em {
  align-items: center;
  background: #eaf1ff;
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  transition: transform 0.25s ease;
  width: 32px;
}

.wsd-faq-toggle2[aria-expanded="true"] em {
  transform: rotate(45deg);
}

.wsd-faq-body2 {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 30px 28px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .wsd-hero-title {
    font-size: 38px;
  }

  .wsd-hero-visual {
    margin-top: 50px;
    min-height: auto;
  }

  .wsd-why-features {
    grid-template-columns: 1fr;
  }

  .wsd-contact-grid {
    grid-template-columns: 1fr;
  }

  .wsd-contact-visual {
    min-height: 240px;
  }

  .wsd-feature-list {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .wsd-feature-panel {
    padding: 28px;
  }
}

@media (max-width: 767.98px) {
  .wsd-hero2 {
    padding: 56px 0 40px;
  }

  .wsd-hero-title {
    font-size: 30px;
  }

  .wsd-hero-actions .btn {
    width: 100%;
  }

  .wsd-device {
    width: 100%;
  }

  .wsd-float-card {
    display: none;
  }

  .wsd-services2,
  .wsd-custom2,
  .wsd-process2,
  .wsd-why2,
  .wsd-contact2,
  .wsd-faq2 {
    padding: 56px 0;
  }

  .wsd-faq-list2 {
    column-count: 1;
  }

  .wsd-build-panel,
  .wsd-form-card {
    padding: 28px;
  }

  .wsd-strip-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    overflow: hidden;
  }

  .wsd-strip-track {
    animation: wsdStripMarquee 16s linear infinite;
    display: flex;
    gap: 12px;
    padding: 6px 0;
    width: max-content;
  }

  @keyframes wsdStripMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .wsd-strip-marquee:active .wsd-strip-track {
    animation-play-state: paused;
  }

  .wsd-strip-marquee .wsd-strip-item {
    flex: 0 0 auto;
    width: 168px;
  }

  .wsd-strip-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 18px 14px;
    text-align: center;
  }

  .wsd-strip-item em {
    align-items: center;
    background: rgba(49, 87, 246, 0.1);
    border-radius: 10px;
    display: flex;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    margin-top: 0;
    width: 38px;
  }

  .wsd-strip-item p {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsd-reveal,
  .wsd-reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wsd-chart-line,
  .wsd-float-card,
  .wsd-hero-grid,
  .wsd-particle,
  .wsd-build-ring,
  .wsd-device,
  .wsd-hero-glow,
  .wsd-live-dot,
  .wsd-strip-track {
    animation: none;
  }

  .wsd-strip-marquee {
    overflow-x: auto;
  }

  .wsd-hero-bg {
    transition: none;
  }

  .wsd-orbit-step {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .wsd-orbit-step {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 767.98px) {
  .wsd-particle {
    display: none;
  }
}
