:root {
  --bg: #0f1117;
  --bg-alt: #151820;
  --card: #1a1d26;
  --border: #2a2d36;
  --text: #ffffff;
  --muted: #888888;
  --blue: #1A56DB;
  --orange: #F97316;
  --green: #97c459;
  --green-deep: #639922;
  --red: #f09595;
  --amber-text: #FAC775;
  --amber-bg: #633806;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  --radius: 16px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --container: 1180px;
  --focus: 2px solid #F97316;
  --header-height: 84px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(26, 86, 219, 0.10), transparent 28%),
    radial-gradient(circle at 83% 14%, rgba(249, 115, 22, 0.10), transparent 24%),
    var(--bg);
  font-family: var(--font-stack);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 1000;
  background: #ffffff;
  color: #000000;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 45, 54, 0.95);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a {
  color: #d7dbe4;
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #ffffff;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.98);
}

.mobile-nav-inner {
  padding: 0.75rem 0 1rem;
  display: grid;
  gap: 0.15rem;
}

.mobile-nav a {
  color: #d9dde7;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(42, 45, 54, 0.65);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav-cta {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-small {
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
}

.btn-large {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2862e0;
}

.btn-ghost {
  background: transparent;
  color: #f0f3f8;
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #4a5263;
  color: #ffffff;
}

.floating-audit-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  border: 0;
  border-radius: 50px;
  background: var(--orange);
  color: #000000;
  font-weight: 800;
  padding: 0.92rem 1.08rem;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.28);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.75rem, 7vw, 7rem) 0 3.25rem;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-blue {
  width: 320px;
  height: 320px;
  top: 40px;
  left: -60px;
  background: rgba(26, 86, 219, 0.14);
}

.hero-glow-orange {
  width: 260px;
  height: 260px;
  top: 80px;
  right: 6%;
  background: rgba(249, 115, 22, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.section-badge,
.section-label,
.plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid rgba(250, 199, 117, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 63ch;
  color: #cbd1dc;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.trust-bar {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: #1a1d26;
  border: 0.5px solid #2a2d36;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)),
    var(--bg-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.7rem 0 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.section-heading p,
.hero-text,
.service-card p,
.info-card p,
.stat-card p,
.step-card p,
.audit-copy p,
.case-role,
.footer-brand p,
.footer-bottom p,
.testimonial-head p {
  color: #b9c0cc;
}

.stats-grid,
.cards-grid,
.steps-grid,
.results-summary,
.results-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid,
.cards-grid,
.services-grid,
.results-summary,
.results-grid,
.testimonial-grid {
  grid-template-columns: 1fr;
}

.stat-card,
.info-card,
.service-card,
.step-card,
.counter-card,
.case-card,
.testimonial-card,
.form-card,
.audit-copy,
.faq-item,
.plan-banner,
.guarantee-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card,
.info-card,
.service-card,
.step-card,
.counter-card,
.case-card,
.testimonial-card,
.form-card,
.audit-copy,
.faq-item {
  padding: 1.35rem;
}

.plan-banner,
.guarantee-box {
  padding: 1rem 1.15rem;
}

.plan-banner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.plan-banner p,
.guarantee-box strong,
.form-success p {
  margin: 0;
  color: #d7dde8;
}

.stat-card h3,
.info-card h3,
.service-card h3,
.step-card h3,
.counter-card h3,
.case-card h3,
.testimonial-card h3,
.footer-nav h3,
.footer-contact h3,
.form-success h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-number,
.result-counter {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.stat-card small {
  display: inline-block;
  margin-top: 0.3rem;
  color: #9ea8ba;
  font-size: 0.82rem;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(26, 86, 219, 0.18);
  color: #a7c2ff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.how-it-works {
  margin-top: 2rem;
}

.how-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.step-number {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(26, 86, 219, 0.16);
  color: #aac6ff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.guarantee-box {
  margin-top: 1.4rem;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.10), rgba(249, 115, 22, 0.08)),
    var(--card);
}

.results-subline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.results-subline a {
  color: #dce9ff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 5px rgba(151, 196, 89, 0.08);
  animation: pulse 1.3s infinite;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.case-role {
  margin: 0;
  font-size: 0.94rem;
}

.jump-badge {
  background: #0f2008;
  color: #97c459;
  border: 0.5px solid #1e4010;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 5px 12px;
  white-space: nowrap;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.score-arrow {
  color: #7c8698;
  font-size: 1.35rem;
  font-weight: 700;
}

.score-box {
  padding: 1rem;
  border-radius: 14px;
  display: grid;
  gap: 0.2rem;
}

.before-box {
  background: #1c0a0a;
  border: 0.5px solid #5a1a1a;
}

.after-box {
  background: #0a1c10;
  border: 0.5px solid #1a5a30;
}

.score-caption {
  color: #b7becb;
  font-size: 0.84rem;
}

.score-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.score-before {
  color: #f09595;
}

.score-after {
  color: #97c459;
}

.progress-track {
  background: #1a1d26;
  border: 0.5px solid #2a2d36;
  height: 12px;
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: #639922;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.error-tag,
.success-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  border: 0.5px solid transparent;
}

.error-tag {
  background: #2a0a0a;
  color: #f09595;
  border-color: #5a1a1a;
}

.success-tag {
  background: #0a2010;
  color: #97c459;
  border-color: #1a5a30;
}

.live-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #2a2d36;
  color: #aaaaaa;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.live-check-btn:hover,
.live-check-btn:focus-visible {
  border-color: #639922;
  color: #97c459;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.35), rgba(249, 115, 22, 0.35));
  color: #ffffff;
  font-weight: 800;
}

.testimonial-card blockquote {
  margin: 1rem 0 0;
  color: #f5f7fb;
}

.audit-grid {
  display: grid;
  gap: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #dde3ec;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.field-group {
  margin-bottom: 1rem;
}

.field-group label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-weight: 600;
}

.field-group input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #313746;
  background: #10131a;
  color: #ffffff;
}

.field-group input::placeholder {
  color: #8f97a4;
}

.field-group input.is-invalid {
  border-color: #8c3030;
}

.field-error {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  color: #f09595;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
}

.form-success {
  padding: 0.4rem 0;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 1.2rem 1.25rem;
  font-weight: 700;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca6b9;
  font-size: 1.35rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: #c6ceda;
}

.site-footer {
  background: #0c0e13;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 24ch;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-nav a,
.footer-contact a,
.footer-bottom a {
  color: #cdd5e0;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 1.2rem;
  border-top: 1px solid rgba(42, 45, 54, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom p {
  margin: 0;
  color: #9aa4b5;
}

.section-animate {
  opacity: 1;
  transform: none;
}

.js .section-animate.is-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .case-card.section-animate.is-ready {
  transform: translateY(30px);
}

.js .section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (min-width: 700px) {
  .trust-bar,
  .stats-grid,
  .cards-grid,
  .services-grid,
  .steps-grid,
  .results-summary,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .audit-grid {
    grid-template-columns: 1fr 1.02fr;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .desktop-nav {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

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

  .floating-audit-btn {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 979px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .floating-audit-btn {
    max-width: calc(100vw - 2rem);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .score-arrow {
    display: none;
  }

  .case-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .section-animate.is-ready,
  .js .section-animate.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}
