/* QAZER · qazer.report — modern styling */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; background: #ffffff; }

/* Anchor offset for fixed header */
section[id], main [id] { scroll-margin-top: 88px; }

/* ---------------- Header ---------------- */
#site-header { background: transparent; }
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(10, 15, 30, 0.06);
  box-shadow: 0 4px 30px rgba(10, 15, 30, 0.05);
}
/* Over the dark hero (not scrolled): light nav */
#site-header:not(.scrolled) nav a { color: rgba(255,255,255,0.78); }
#site-header:not(.scrolled) nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
#site-header:not(.scrolled) .logo-word { color: #fff; }
#site-header:not(.scrolled) .lang-switch { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
#site-header:not(.scrolled) .lang-switch a:not(.bg-ink) { color: rgba(255,255,255,0.8); }
#site-header:not(.scrolled) .lang-switch a.bg-ink { background: #fff; color: #0a0f1e; }
#site-header:not(.scrolled) #menu-btn { color: #fff; }

/* ---------------- Buttons ---------------- */
.btn-cta {
  background: linear-gradient(135deg, #00e5b0 0%, #3d7fff 100%);
  color: #06121f;
  box-shadow: 0 8px 24px -6px rgba(0, 229, 176, 0.5);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(0, 229, 176, 0.6); filter: brightness(1.05); }

/* ---------------- Gradient helpers ---------------- */
.gradient-text {
  background: linear-gradient(120deg, #00e5b0 0%, #3d7fff 60%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.icon-badge { background: linear-gradient(135deg, #00e5b0 0%, #3d7fff 100%); box-shadow: 0 6px 16px -6px rgba(61,127,255,0.5); }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1d7f9e;
  background: linear-gradient(120deg, rgba(0,229,176,.12), rgba(61,127,255,.12));
  border: 1px solid rgba(61,127,255,.18);
  border-radius: 999px;
  padding: .35rem .8rem;
}
.eyebrow-dark { color: #6ff3d2; background: rgba(0,229,176,.1); border-color: rgba(0,229,176,.2); }

/* ---------------- Glass / cards ---------------- */
.glass-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
}
.glass-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: #fff;
  background: rgba(13,20,36,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; padding: .5rem .9rem;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}
.price-card-pro { box-shadow: 0 30px 70px -25px rgba(0, 229, 176, 0.35); }

/* ---------------- Mesh gradient blobs ---------------- */
.mesh { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.mesh-1 { top: -18%; right: -8%; width: 46vw; max-width: 620px; height: 46vw; max-height: 620px;
  background: radial-gradient(circle, rgba(0,229,176,0.5) 0%, rgba(0,229,176,0) 70%); }
.mesh-2 { bottom: -20%; left: -10%; width: 42vw; max-width: 560px; height: 42vw; max-height: 560px;
  background: radial-gradient(circle, rgba(61,127,255,0.5) 0%, rgba(61,127,255,0) 70%); }
.mesh-3 { top: 10%; left: 20%; width: 40vw; max-width: 520px; height: 40vw; max-height: 520px;
  background: radial-gradient(circle, rgba(124,92,255,0.35) 0%, rgba(124,92,255,0) 70%); }
.mesh-4 { top: -30%; right: -20%; width: 22rem; height: 22rem;
  background: radial-gradient(circle, rgba(0,229,176,0.35) 0%, rgba(0,229,176,0) 70%); }

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* ---------------- Hero photo ---------------- */
.hero-photo {
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(0,229,176,0.10), rgba(10,15,30,0.15) 55%, rgba(61,127,255,0.14));
  pointer-events: none;
}
.hero-score-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  gap: .4rem;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ring-progress { transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #00e5b0;
  box-shadow: 0 0 0 0 rgba(0,229,176,0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,229,176,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0,229,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,176,0); }
}

/* ---------------- Positioning table ---------------- */
.us-row { background: linear-gradient(90deg, rgba(0,229,176,0.08), rgba(61,127,255,0.06)); }
.us-row td { color: #0a0f1e; }
.quote-mark::before { content: "“"; }

/* ---------------- Process ghost number ---------------- */
.step-ghost { color: #eef4f8; transition: color .3s; }
.step-card:hover .step-ghost { color: rgba(0,229,176,0.12); }

/* ---------------- Form ---------------- */
.form-input {
  width: 100%;
  border: 1px solid #dbe3ec;
  border-radius: 0.9rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.95rem;
  color: #0a0f1e;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus {
  outline: none;
  border-color: #3d7fff;
  box-shadow: 0 0 0 3px rgba(61,127,255,0.14);
}

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

.score-bar { transition: width 1.1s cubic-bezier(.2,.7,.2,1); background: linear-gradient(90deg, #00e5b0, #3d7fff); }
.mockbar { transition: width 1.2s cubic-bezier(.2,.7,.2,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .score-bar, .mockbar, .ring-progress { transition: none; }
  .report-card, .float-badge, .pulse-dot { animation: none; }
}
