/**
 * WebFlash Diagnostic — UI premium 2026
 */

.webflash-diagnostic *,
.webflash-diagnostic *::before,
.webflash-diagnostic *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.webflash-diagnostic {
  --wf-brand: #467ff7;
  --wf-brand-dark: #2c59cf;
  --wf-brand-soft: #e8f1ff;
  --wf-accent: #8b5cf6;
  --wf-text: #15213b;
  --wf-text-secondary: #55627f;
  --wf-text-soft: #7b89a7;
  --wf-border: rgba(255, 255, 255, 0.6);
  --wf-border-strong: rgba(70, 127, 247, 0.18);
  --wf-shadow: 0 30px 80px rgba(63, 107, 216, 0.16);
  --wf-glass: rgba(255, 255, 255, 0.72);
  --wf-glass-strong: rgba(255, 255, 255, 0.82);
  --wf-glow: rgba(70, 127, 247, 0.24);
  --wf-radius-xl: 32px;
  --wf-radius-lg: 24px;
  --wf-radius-md: 18px;
  --wf-radius-sm: 14px;
  --wf-error: #d93046;
  --wf-success: #0d8a4f;

  position: relative;
  margin: 28px auto;
  max-width: 860px;
  padding: 0 16px;
  font-family: "Satoshi", "Inter", "Segoe UI", sans-serif;
  color: var(--wf-text);
  line-height: 1.6;
}

.webflash-diagnostic .webflash-bg-glow {
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 40px;
  background:
    radial-gradient(circle at 12% 15%, rgba(159, 216, 255, 0.9), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.18), transparent 32%),
    radial-gradient(circle at 68% 82%, rgba(70, 127, 247, 0.2), transparent 36%);
  filter: blur(38px);
  animation: wf-bg-float 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes wf-bg-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(4px, -8px, 0) scale(1.03);
    opacity: 1;
  }
}

.webflash-diagnostic .webflash-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(238, 245, 255, 0.96), rgba(240, 246, 255, 0.86));
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: var(--wf-shadow);
}

.webflash-diagnostic .webflash-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--wf-brand), var(--wf-accent), var(--wf-brand));
  background-size: 200% 100%;
  animation: wf-shimmer 4s linear infinite;
}

@keyframes wf-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.webflash-diagnostic .webflash-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.webflash-diagnostic .webflash-header h2 {
  font-size: clamp(2rem, 1.4rem + 1.4vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.webflash-diagnostic .webflash-header p {
  margin-top: 14px;
  max-width: 560px;
  color: var(--wf-text-secondary);
  font-size: 1rem;
}

.webflash-diagnostic .webflash-hero-visual {
  position: relative;
  min-height: 220px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(224, 236, 255, 0.82));
  border: 1px solid rgba(70, 127, 247, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.webflash-diagnostic .webflash-hero-visual svg,
.webflash-diagnostic .webflash-loader-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.webflash-diagnostic .wf-ui-bg {
  fill: rgba(255, 255, 255, 0.8);
  stroke: rgba(70, 127, 247, 0.12);
  stroke-width: 2;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.05));
}

.webflash-diagnostic .wf-search-bar {
  fill: #f5f9ff;
  stroke: rgba(70, 127, 247, 0.08);
  stroke-width: 1;
}

.webflash-diagnostic .wf-search-icon {
  fill: none;
  stroke: #467ff7;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.webflash-diagnostic .wf-search-text {
  fill: #15213b;
  opacity: 0.7;
  animation: wf-type-text 4s infinite;
}

.webflash-diagnostic .wf-chart-area {
  fill: url(#wf-hero-grad);
  opacity: 0.15;
}

.webflash-diagnostic .wf-chart-line {
  fill: none;
  stroke: url(#wf-hero-grad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 12px rgba(70, 127, 247, 0.18));
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: wf-draw-chart 4s ease-out infinite;
}

.webflash-diagnostic .wf-target-point {
  fill: #3461d9;
  opacity: 0;
  animation: wf-show-point 4s infinite;
}

.webflash-diagnostic .wf-target-pulse {
  fill: rgba(52, 97, 217, 0.3);
  opacity: 0;
  transform-origin: 280px 70px;
  animation: wf-pulse-point 4s infinite;
}

@keyframes wf-type-text {
  0%, 10% { width: 0; }
  30%, 80% { width: 120px; }
  100% { width: 0; }
}

@keyframes wf-draw-chart {
  0%, 20% { stroke-dashoffset: 400; }
  60%, 100% { stroke-dashoffset: 0; }
}

@keyframes wf-show-point {
  0%, 55% { opacity: 0; transform: scale(0); transform-origin: 280px 70px; }
  65%, 90% { opacity: 1; transform: scale(1); transform-origin: 280px 70px; }
  100% { opacity: 0; transform: scale(0); transform-origin: 280px 70px; }
}

@keyframes wf-pulse-point {
  0%, 60% { opacity: 0; transform: scale(0.4); }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes wf-pin-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.8;
  }
}

.webflash-diagnostic .webflash-progress {
  display: flex;
  gap: 8px;
  margin: 26px 0 4px;
}

.webflash-diagnostic .webflash-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(70, 127, 247, 0.1);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.webflash-diagnostic .webflash-progress-bar.is-filled {
  background: linear-gradient(90deg, var(--wf-brand), #5b8fff);
  box-shadow: 0 0 18px rgba(70, 127, 247, 0.22);
}

.webflash-diagnostic .webflash-step,
.webflash-diagnostic .webflash-loader,
.webflash-diagnostic .webflash-result,
.webflash-diagnostic .webflash-lead-form {
  display: none;
  margin-top: 26px;
  scroll-margin-top: 110px;
}

.webflash-diagnostic .webflash-step.is-active,
.webflash-diagnostic .webflash-loader.is-visible,
.webflash-diagnostic .webflash-result.is-visible,
.webflash-diagnostic .webflash-lead-form.is-visible {
  display: block;
  animation: wf-rise-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wf-rise-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.webflash-diagnostic .webflash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.webflash-diagnostic .webflash-field-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.98rem;
  font-weight: 750;
}

.webflash-diagnostic .webflash-input {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(70, 127, 247, 0.14);
  border-radius: var(--wf-radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--wf-text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.webflash-diagnostic .webflash-input::placeholder {
  color: #8b97b2;
}

.webflash-diagnostic .webflash-input:focus {
  outline: none;
  border-color: rgba(70, 127, 247, 0.4);
  box-shadow: 0 0 0 5px rgba(70, 127, 247, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.webflash-diagnostic .webflash-error {
  min-height: 1.2em;
  margin-top: 8px;
  color: var(--wf-error);
  font-size: 0.86rem;
  font-weight: 600;
}

.webflash-diagnostic .webflash-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.webflash-diagnostic .webflash-form-helper {
  max-width: 460px;
  color: var(--wf-text-soft);
  font-size: 0.92rem;
}

.webflash-diagnostic .webflash-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.webflash-diagnostic .webflash-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.webflash-diagnostic .webflash-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.webflash-diagnostic .webflash-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.webflash-diagnostic .webflash-btn-primary,
.webflash-diagnostic .webflash-btn-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--wf-brand), #3461d9);
  box-shadow: 0 18px 32px rgba(70, 127, 247, 0.24);
}

.webflash-diagnostic .webflash-btn-primary::after,
.webflash-diagnostic .webflash-btn-cta::after,
.webflash-diagnostic .webflash-btn-devis::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 54%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.5s ease;
}

.webflash-diagnostic .webflash-btn-primary:hover::after,
.webflash-diagnostic .webflash-btn-cta:hover::after,
.webflash-diagnostic .webflash-btn-devis:hover::after {
  left: 130%;
}

.webflash-diagnostic .webflash-btn-large {
  min-width: 250px;
}

.webflash-diagnostic .webflash-btn-secondary,
.webflash-diagnostic .webflash-btn-devis {
  border: 1px solid rgba(70, 127, 247, 0.18);
  background: rgba(255, 255, 255, 0.6);
  color: var(--wf-brand-dark);
  box-shadow: 0 10px 24px rgba(70, 127, 247, 0.08);
}

.webflash-diagnostic .webflash-btn-cta,
.webflash-diagnostic .webflash-btn-devis {
  width: 100%;
  min-height: 58px;
}

.webflash-diagnostic .webflash-autocomplete-wrap {
  position: relative;
}

.webflash-diagnostic .webflash-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(70, 127, 247, 0.14);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 38px rgba(70, 127, 247, 0.16);
}

.webflash-diagnostic .webflash-suggestions:not(.is-visible) {
  display: none;
}

.webflash-diagnostic .webflash-suggestions.is-visible {
  animation: wf-dropdown-in 0.25s ease both;
}

@keyframes wf-dropdown-in {
  0% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.webflash-diagnostic .webflash-suggestion-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.webflash-diagnostic .webflash-suggestion-item:hover,
.webflash-diagnostic .webflash-suggestion-item:focus {
  background: rgba(70, 127, 247, 0.08);
  transform: translateX(2px);
  outline: none;
}

.webflash-diagnostic .webflash-suggestion-title {
  font-weight: 700;
  color: var(--wf-text);
}

.webflash-diagnostic .webflash-suggestion-meta {
  color: var(--wf-text-soft);
  font-size: 0.84rem;
}

.webflash-diagnostic .webflash-loader {
  text-align: center;
  padding: 18px 0 6px;
}

.webflash-diagnostic .webflash-loader-visual {
  width: 220px;
  height: 180px;
  margin: 0 auto 12px;
}

.webflash-diagnostic .wf-loader-ring {
  fill: none;
  stroke: rgba(70, 127, 247, 0.16);
  stroke-width: 3;
}

.webflash-diagnostic .wf-loader-ring-a {
  animation: wf-loader-rotate 5s linear infinite;
  transform-origin: 110px 90px;
}

.webflash-diagnostic .wf-loader-ring-b {
  animation: wf-loader-rotate 3.2s linear infinite reverse;
  transform-origin: 110px 90px;
}

.webflash-diagnostic .wf-loader-scan {
  fill: none;
  stroke: #467ff7;
  stroke-width: 4;
  stroke-linecap: round;
  animation: wf-loader-scan 2.4s ease-in-out infinite;
}

.webflash-diagnostic .wf-loader-dot {
  fill: #3461d9;
  animation: wf-pin-pulse 1.8s ease-in-out infinite;
}

@keyframes wf-loader-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wf-loader-scan {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.35;
  }
  50% {
    transform: translateX(32px);
    opacity: 1;
  }
}

.webflash-diagnostic .webflash-loader-kicker {
  margin-bottom: 8px;
  color: var(--wf-brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.webflash-diagnostic .webflash-loader-label {
  min-height: 1.5em;
  margin-bottom: 16px;
  font-size: 1.14rem;
  font-weight: 800;
}

.webflash-diagnostic .webflash-loader-track {
  position: relative;
  overflow: hidden;
  width: min(520px, 100%);
  height: 10px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(70, 127, 247, 0.08);
}

.webflash-diagnostic .webflash-loader-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7bb0ff, #467ff7, #8b5cf6);
  box-shadow: 0 0 18px rgba(70, 127, 247, 0.3);
}

.webflash-diagnostic .webflash-loader-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  margin: 20px auto 0;
  list-style: none;
}

.webflash-diagnostic .webflash-loader-steps li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--wf-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(70, 127, 247, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.webflash-diagnostic .webflash-loader-steps li.is-active,
.webflash-diagnostic .webflash-loader-steps li.is-done {
  color: var(--wf-brand-dark);
  background: rgba(232, 241, 255, 0.92);
  transform: translateY(-1px);
}

.webflash-diagnostic .webflash-result {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(70, 127, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(245, 249, 255, 0.95), rgba(236, 244, 255, 0.86));
}

.webflash-diagnostic .webflash-result::before,
.webflash-diagnostic .webflash-result::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.webflash-diagnostic .webflash-result::before {
  width: 180px;
  height: 180px;
  top: -80px;
  right: -50px;
  background: rgba(70, 127, 247, 0.15);
  filter: blur(10px);
}

.webflash-diagnostic .webflash-result::after {
  width: 120px;
  height: 120px;
  left: -40px;
  bottom: -40px;
  background: rgba(139, 92, 246, 0.12);
  filter: blur(8px);
}

.webflash-diagnostic .webflash-result-topline {
  color: var(--wf-brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.webflash-diagnostic .webflash-result-headline {
  margin-top: 10px;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.webflash-diagnostic .webflash-result-context {
  margin-top: 12px;
  color: var(--wf-text-secondary);
  font-size: 0.96rem;
}

.webflash-diagnostic .webflash-highlight-card,
.webflash-diagnostic .webflash-opportunity,
.webflash-diagnostic .webflash-query-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  margin-top: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(70, 127, 247, 0.12);
}

.webflash-diagnostic .webflash-no-data-card {
  margin-top: 20px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7faff 0%, #edf4ff 100%);
  border: 1px solid rgba(70, 127, 247, 0.16);
  box-shadow: 0 10px 28px rgba(70, 127, 247, 0.08);
}

.webflash-diagnostic .webflash-no-data-title {
  color: var(--wf-brand-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.webflash-diagnostic .webflash-no-data-text {
  margin-top: 10px;
  color: var(--wf-text-secondary);
  font-size: 0.98rem;
}

.webflash-diagnostic .webflash-accent-card {
  background: linear-gradient(135deg, #f0f6ff 0%, #e6f0ff 100%);
  border: 2px solid rgba(70, 127, 247, 0.25);
  box-shadow: 0 12px 30px rgba(70, 127, 247, 0.12);
}

.webflash-diagnostic .webflash-highlight-label,
.webflash-diagnostic .webflash-opportunity-label,
.webflash-diagnostic .webflash-query-title {
  color: var(--wf-text-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webflash-diagnostic .webflash-highlight-value,
.webflash-diagnostic .webflash-opportunity-value {
  margin-top: 8px;
}

.webflash-diagnostic .webflash-highlight-text,
.webflash-diagnostic .webflash-opportunity-text {
  margin-top: 10px;
  color: var(--wf-text-secondary);
  font-size: 0.95rem;
}

.webflash-diagnostic .webflash-counter {
  display: inline-block;
  font-size: clamp(2.6rem, 2rem + 1.6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
  padding-right: 0.08em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--wf-brand), #3461d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.webflash-diagnostic .webflash-counter-sep {
  margin: 0 10px;
  color: var(--wf-text-soft);
  font-size: 1.35rem;
  font-weight: 700;
}

.webflash-diagnostic .webflash-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.webflash-diagnostic .webflash-kpis.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.webflash-diagnostic .webflash-kpi {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(70, 127, 247, 0.12);
}

.webflash-diagnostic .webflash-kpi-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--wf-brand-dark);
}

.webflash-diagnostic .webflash-kpi-label {
  display: block;
  margin-top: 6px;
  color: var(--wf-text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.webflash-diagnostic .webflash-result-text {
  margin-top: 22px;
  color: var(--wf-text-secondary);
  font-size: 0.98rem;
}

.webflash-diagnostic .webflash-result-text strong {
  color: var(--wf-brand-dark);
}

.webflash-diagnostic .webflash-query-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.webflash-diagnostic .webflash-query-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(70, 127, 247, 0.06);
}

.webflash-diagnostic .webflash-query-text {
  font-weight: 650;
  color: var(--wf-text);
}

.webflash-diagnostic .webflash-query-volume {
  color: var(--wf-brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.webflash-diagnostic .webflash-result-ctas,
.webflash-diagnostic .webflash-lead-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.webflash-diagnostic .webflash-lead-form {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(70, 127, 247, 0.12);
}

.webflash-diagnostic .webflash-lead-form h4 {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

.webflash-diagnostic .webflash-lead-subtitle {
  margin: 10px auto 20px;
  max-width: 620px;
  color: var(--wf-text-secondary);
  text-align: center;
}

.webflash-diagnostic .webflash-grid-lead {
  margin-top: 10px;
}

.webflash-diagnostic .webflash-feedback {
  min-height: 1.25em;
  margin-top: 14px;
  text-align: center;
  font-size: 0.93rem;
  font-weight: 600;
}

.webflash-diagnostic .webflash-feedback.is-success {
  color: var(--wf-success);
  animation: wf-pop 0.3s ease;
}

.webflash-diagnostic .webflash-feedback.is-error {
  color: var(--wf-error);
}

@keyframes wf-pop {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.webflash-diagnostic .webflash-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 860px) {
  .webflash-diagnostic .webflash-hero {
    grid-template-columns: 1fr;
  }

  .webflash-diagnostic .webflash-hero-visual {
    min-height: 190px;
  }

  .webflash-diagnostic .webflash-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .webflash-diagnostic .webflash-btn-large {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .webflash-diagnostic {
    padding: 0 10px;
  }

  .webflash-diagnostic .webflash-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .webflash-diagnostic .webflash-grid,
  .webflash-diagnostic .webflash-loader-steps,
  .webflash-diagnostic .webflash-kpis {
    grid-template-columns: 1fr;
  }

  .webflash-diagnostic .webflash-highlight-card,
  .webflash-diagnostic .webflash-opportunity,
  .webflash-diagnostic .webflash-query-card,
  .webflash-diagnostic .webflash-result {
    padding: 18px;
  }

  .webflash-diagnostic .webflash-query-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .webflash-diagnostic .webflash-counter-sep {
    display: block;
    margin: 8px 0;
  }
}
