:root {
  --brand-a: #ec4899;
  --brand-b: #8b5cf6;
  --ink: #e5e7eb;
  --muted: #9ca3af;
  --bg: #06070b;
  --bg-soft: #0b0f17;
  --card: rgba(15, 18, 28, 0.86);
  --card-border: rgba(148, 163, 184, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--bg);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(3, 6, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.main-nav .nav-link {
  color: #d1d5db;
  font-weight: 500;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #ffffff;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.intro-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

body.intro-overlay-mode #intro-screen {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  z-index: 1;
}

body.intro-overlay-mode #mainNav {
  margin-top: 100vh;
}

body.intro-overlay-mode header,
body.intro-overlay-mode main,
body.intro-overlay-mode footer {
  position: relative;
  z-index: 2;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/pmwbg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(2, 6, 23, 0.35), rgba(0, 0, 0, 0.88));
}

.intro-spotlights {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 35%, rgba(236, 72, 153, 0.42) 0%, transparent 40%),
              radial-gradient(circle at 70% 65%, rgba(139, 92, 246, 0.45) 0%, transparent 42%);
  filter: blur(70px);
  animation: rotateSpotlights 16s linear infinite;
}

.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-particle {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(196, 220, 255, 0.9) 70%, rgba(196, 220, 255, 0) 100%);
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 28px rgba(96, 165, 250, 0.8));
  transform-origin: center;
  mix-blend-mode: screen;
  animation: star-flight var(--duration, 1200ms) ease-in forwards;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.intro-crow-wrap {
  max-width: 860px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.35));
}

.intro-crow {
  width: 100%;
  user-select: none;
}

.intro-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-subtitle {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  font-weight: 500;
  color: #cbd5e1;
}

.intro-subtitle-city {
  color: #ffe4ff;
  font-weight: 600;
  text-shadow: 0 0 22px rgba(236, 72, 153, 0.55), 0 0 38px rgba(139, 92, 246, 0.4);
}

.intro-btn {
  margin-top: 1.25rem;
  border: 0;
}

.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 5%, rgba(236, 72, 153, 0.13) 0%, transparent 35%),
              radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
              #05070d;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.dark-badge {
  color: #f3f4f6;
  border-color: rgba(148, 163, 184, 0.45) !important;
  background: rgba(15, 23, 42, 0.65);
}

h1, .section-title {
  color: #f8fafc;
}

.lead,
.section-intro,
p,
li,
label,
small {
  color: var(--muted);
}

.hero-card,
.service-card,
.tool-card,
.showcase-card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 0.9rem 2.2rem rgba(1, 4, 12, 0.45);
  padding: 1.1rem;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

a.showcase-card {
  color: inherit;
}

.section-block {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-blur-shield {
  position: relative;
  overflow: hidden;
}

.section-blur-shield::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.46);
  -webkit-backdrop-filter: blur(14px) saturate(0.85);
  backdrop-filter: blur(14px) saturate(0.85);
  pointer-events: none;
}

.section-blur-shield > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.btn-brand {
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
  border-color: transparent;
  color: #06070b;
  font-weight: 700;
}

.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(90deg, #f472b6, #a78bfa);
  border-color: transparent;
  color: #020617;
}

.btn-glow {
  animation: pulse-glow 2s infinite ease-in-out;
  transition: all 0.25s ease-in-out;
}

.btn-glow:hover {
  animation: button-shake 0.4s ease-in-out, pulse-glow 1s infinite;
  transform: translateY(-1px) scale(1.04);
}

.form-control,
.form-select {
  background-color: rgba(2, 6, 23, 0.78);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.32);
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(2, 6, 23, 0.95);
  color: #f8fafc;
  border-color: #a78bfa;
  box-shadow: 0 0 0 0.25rem rgba(167, 139, 250, 0.2);
}

.form-check-input {
  background-color: #111827;
  border-color: #6b7280;
}

.form-check-input:checked {
  background-color: #a855f7;
  border-color: #a855f7;
}

.alert-success {
  background-color: rgba(5, 150, 105, 0.2);
  border-color: rgba(5, 150, 105, 0.45);
  color: #d1fae5;
}

.alert-danger {
  background-color: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.4);
  color: #fee2e2;
}

.badge.text-bg-light {
  background: rgba(15, 23, 42, 0.75) !important;
  color: #e5e7eb !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
}

.sticky-result {
  position: sticky;
  top: 6rem;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #04060c 0%, #0a0f1a 100%);
  border-top-color: rgba(236, 72, 153, 0.35) !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f9a8d4;
}

.footer-links span {
  color: #94a3b8;
}

.footer-copy {
  margin-top: 0.55rem;
  color: #94a3b8;
}

.onepager-panel {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.onepager-img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

.before-after-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  background: #020617;
}

.ba-image {
  display: block;
  width: 100%;
  height: min(65vw, 24rem);
  object-fit: cover;
}

.ba-after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateX(-1px);
  pointer-events: none;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.ba-range::-webkit-slider-thumb {
  appearance: none;
  width: 0;
  height: 0;
}

.ba-range::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 0.85rem 1rem;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 0.75rem 0 0 0;
}

.offer-card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 0.9rem 2.2rem rgba(1, 4, 12, 0.45);
  padding: 1.1rem;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.offer-card ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1rem;
}

.offer-card li {
  margin-bottom: 0.35rem;
}

.offer-tag {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9a8d4;
}

.process-step {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: rgba(9, 13, 22, 0.88);
  padding: 1rem;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  color: #020617;
  font-weight: 700;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
}

.cta-band {
  border: 1px solid rgba(236, 72, 153, 0.34);
  border-radius: 1rem;
  padding: 1.1rem;
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.13));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
}

.consent-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(2, 6, 23, 0.92);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  box-shadow: 0 0.9rem 2.2rem rgba(1, 4, 12, 0.55);
}

.consent-banner__text {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
  max-width: 72ch;
}

.consent-banner__text a {
  color: #f9a8d4;
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-form-panel {
  border-color: rgba(236, 72, 153, 0.35);
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
  }
  50% {
    text-shadow: 0 0 5px #ff00ff, 0 0 15px #ff00ff, 0 0 30px #ff00ff;
  }
}

.animate-glow {
  animation: glow 2.5s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.8), 0 0 22px rgba(236, 72, 153, 0.7);
  }
  50% {
    box-shadow: 0 0 5px rgba(236, 72, 153, 0.75), 0 0 14px rgba(236, 72, 153, 0.65);
  }
}

@keyframes button-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

@keyframes rotateSpotlights {
  0% { transform: rotate(0deg) scale(1.2); }
  50% { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1.2); }
}

@keyframes crow-flight {
  0% { transform: translateX(0) rotate(0deg) translateY(-5px); }
  20% { transform: translateX(0) rotate(4deg); }
  40% { transform: translateX(20px) rotate(4deg); }
  60% { transform: translateX(20px) rotate(-4deg) translateY(5px); }
  90% { transform: translateX(0) rotate(-4deg); }
  100% { transform: translateX(0) rotate(0deg) translateY(-5px); }
}

.animate-crow-flight {
  animation: crow-flight 5.8s ease-in-out infinite;
}

@keyframes star-flight {
  0% {
    transform: translate3d(var(--start-x), var(--start-y), 0) rotate(var(--angle)) scale(1);
    opacity: 0.15;
  }
  100% {
    transform: translate3d(var(--center-x), var(--center-y), 240px) rotate(var(--angle)) scale(0.12);
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .sticky-result {
    position: static;
  }

  .section-block {
    padding: 3.5rem 0;
  }

  .intro-content {
    padding-top: 5.5rem;
  }

  .consent-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .consent-banner__inner {
    padding: 0.8rem;
  }

  .consent-banner__actions {
    width: 100%;
  }

  .consent-banner__actions .btn {
    flex: 1 1 auto;
  }
}
