:root {
  --ink: #17202a;
  --muted: #5f6d7a;
  --line: #dce4ea;
  --soft: #f4f8f7;
  --white: #ffffff;
  --green: #18975a;
  --green-dark: #0c6b43;
  --blue: #2166d1;
  --amber: #d88915;
  --charcoal: #101820;
  --shadow: 0 16px 44px rgba(23, 32, 42, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--green-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--green-dark);
  border-color: var(--green);
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
}

.band.dark .button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.68);
}

.band.dark .button.secondary:hover {
  background: #edf8f1;
  color: var(--green-dark);
  border-color: var(--green);
}

.hero {
  min-height: 74vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.28) 62%, rgba(255, 255, 255, 0.06) 100%),
    url("../images/hero-world-seo-service.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--amber), transparent);
  animation: scanLine 4.8s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
}

.hero-copy {
  max-width: 660px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--amber);
  border-radius: 8px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-size: 4.5rem;
  max-width: 920px;
}

h2 {
  margin: 0 0 16px;
  font-size: 2.4rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  margin-top: 20px;
  max-width: 720px;
  color: #384957;
  font-size: 1.18rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 760px;
}

.proof-item {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.proof-item::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(24, 151, 90, 0.16), transparent);
  animation: cardSweep 7s ease-in-out infinite;
}

.proof-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.band {
  padding: 72px 0;
}

.band.soft {
  background: var(--soft);
}

.band.dark {
  background: var(--charcoal);
  color: #dce8ec;
}

.band.dark h2,
.band.dark h3,
.band.dark a {
  color: var(--white);
}

.band.dark .muted {
  color: #b6c6cf;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid > *,
.split > *,
.pricing-grid > *,
.payment-grid > *,
.proof-strip > * {
  min-width: 0;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 151, 90, 0.38);
  box-shadow: var(--shadow);
}

.card.highlight {
  border-color: rgba(24, 151, 90, 0.38);
  box-shadow: var(--shadow);
}

.card.dark-card {
  background: #17222c;
  border-color: #2d404f;
}

.card p:last-child,
.content-block p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-weight: 800;
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 10px;
  background: #fbfdfc;
  color: #40505f;
  font-size: 0.86rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.content-block {
  max-width: 850px;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  margin: 0 0 20px;
}

.content-block li {
  margin: 0 0 8px;
}

.page-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(135deg, rgba(244, 248, 247, 0.96), rgba(255, 255, 255, 0.9)),
    linear-gradient(90deg, rgba(33, 102, 209, 0.12), rgba(24, 151, 90, 0.1));
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.tools-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.tool-tabs {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.tool-tab {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.tool-tab[aria-selected="true"] {
  border-color: var(--green);
  color: var(--green-dark);
  background: #edf8f1;
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

.tool-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #2e3d49;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd7df;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.tool-output {
  min-height: 90px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cfe0d7;
  border-radius: var(--radius);
  background: #f7fbf8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tool-output code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.human-check {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.human-button {
  width: min(100%, 440px);
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #cbd7df;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  color: var(--ink);
  padding: 12px 14px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
}

.human-button:hover {
  border-color: var(--green);
}

.human-square {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #9fb0bd;
  border-radius: 5px;
  background: var(--white);
  color: var(--white);
  font-weight: 900;
}

.human-copy {
  display: grid;
  gap: 2px;
}

.human-label {
  font-weight: 900;
}

.human-sub {
  color: var(--muted);
  font-size: 0.86rem;
}

.human-brand {
  color: #61717e;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.human-check[data-human-state="checking"] .human-square {
  border-color: var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: humanSpin 780ms linear infinite;
}

.human-check[data-human-state="verified"] .human-button {
  border-color: rgba(24, 151, 90, 0.52);
  background: linear-gradient(180deg, #ffffff, #edf8f1);
}

.human-check[data-human-state="verified"] .human-square {
  border-color: var(--green);
  background: var(--green);
}

.human-check[data-human-state="verified"] .human-square::before {
  content: "✓";
}

.human-warning {
  display: none;
  color: #9a4d00;
  font-size: 0.9rem;
  font-weight: 800;
}

.human-check[data-human-state="required"] .human-warning {
  display: block;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
}

.serp-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.serp-url {
  color: #17833e;
  font-size: 0.92rem;
}

.serp-title {
  margin: 4px 0;
  color: #1a0dab;
  font-size: 1.25rem;
  line-height: 1.2;
}

.serp-desc {
  color: #4d5156;
  font-size: 0.96rem;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: #fff7e7;
  border-radius: var(--radius);
}

.signal-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 247, 0.92)),
    repeating-linear-gradient(90deg, rgba(23, 32, 42, 0.04) 0, rgba(23, 32, 42, 0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(23, 32, 42, 0.04) 0, rgba(23, 32, 42, 0.04) 1px, transparent 1px, transparent 40px);
  box-shadow: var(--shadow);
}

.signal-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 360px);
  padding: 22px;
}

.signal-chip,
.mini-stat {
  border: 1px solid rgba(24, 151, 90, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
}

.signal-chip strong,
.mini-stat strong {
  display: block;
}

.rank-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 80px;
}

.rank-bars span {
  flex: 1;
  min-width: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
  animation: barRise 2.8s ease-in-out infinite alternate;
}

.rank-bars span:nth-child(2) {
  animation-delay: 180ms;
}

.rank-bars span:nth-child(3) {
  animation-delay: 360ms;
}

.rank-bars span:nth-child(4) {
  animation-delay: 540ms;
}

.rank-bars span:nth-child(5) {
  animation-delay: 720ms;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.pricing-card.featured {
  border-color: rgba(216, 137, 21, 0.55);
  box-shadow: var(--shadow);
}

.price-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(24, 151, 90, 0.25);
  border-radius: var(--radius);
  padding: 5px 8px;
  background: #edf8f1;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 0;
}

.price strong {
  font-size: 2.35rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 151, 90, 0.12);
}

.pricing-card .actions {
  margin-top: auto;
}

.payment-panel {
  border: 1px solid rgba(24, 151, 90, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f4fbf6);
  padding: 24px;
  box-shadow: var(--shadow);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.order-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.order-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  gap: 16px;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.form-note {
  border: 1px solid rgba(33, 102, 209, 0.18);
  border-radius: var(--radius);
  background: #f2f7ff;
  padding: 14px;
  color: #2d4662;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.payment-line {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
}

.wallet {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #354656;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.copy-button {
  min-height: 38px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  padding: 8px 11px;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.timeline-step {
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
}

.timeline-step strong {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.schedule-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-option {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.motion-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

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

@keyframes scanLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes cardSweep {
  0%, 60% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.72);
    filter: saturate(0.9);
  }
  to {
    transform: scaleY(1);
    filter: saturate(1.2);
  }
}

@keyframes humanSpin {
  to {
    transform: rotate(360deg);
  }
}


.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
}

.faq details + details {
  margin-top: 10px;
}

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

.site-footer {
  background: #0e151b;
  color: #c7d2da;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--white);
}

.site-footer a {
  text-decoration: none;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.small {
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84)),
      url("../images/hero-world-seo-service.png") center right / cover no-repeat;
  }

  .hero-inner {
    padding: 64px 0 52px;
  }

  .proof-row,
  .grid.four,
  .grid.three,
  .grid.two,
  .pricing-grid,
  .proof-strip,
  .payment-grid,
  .order-shell,
  .form-grid,
  .schedule-switch,
  .split,
  .tools-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tool-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .output-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(7, 180px);
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }

  .human-button {
    grid-template-columns: 34px 1fr;
  }

  .human-brand {
    grid-column: 1 / -1;
    text-align: left;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-stage {
    min-height: 340px;
  }

  .signal-stage canvas {
    max-width: 100%;
  }

  .price strong {
    font-size: 2rem;
  }

  .band {
    padding: 52px 0;
  }

  .page-hero {
    padding: 54px 0 40px;
  }

  .tool-tabs {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .lead {
    font-size: 1.04rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
