:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-alt: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body.modal-open {
  overflow: hidden;
}

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

input,
textarea,
select,
button {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  margin: 0;
  border-radius: 0;
}

.page {
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(210, 210, 215, 0.65);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.9rem;
  color: #3a3a3c;
  transition: opacity 0.18s ease;
}

.nav-links a:hover {
  opacity: 0.72;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  color: #3a3a3c;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switcher a.active {
  background: var(--text);
  color: #fff;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.hero-panel {
  background:
    radial-gradient(circle at top, rgba(0, 113, 227, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border: 1px solid rgba(210, 210, 215, 0.75);
  border-radius: 34px;
  padding: 72px 28px 52px;
  text-align: center;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-title {
  margin: 18px auto 0;
  max-width: 900px;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
}

.cta-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-benefits {
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #3a3a3c;
  font-size: 0.96rem;
}

.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-benefits li::before,
.ai-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #027a48;
  flex: 0 0 18px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.4 16.6 4.8 12l-1.4 1.4 6 6 12-12L20 6z'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.4 16.6 4.8 12l-1.4 1.4 6 6 12-12L20 6z'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.06);
}

.form-section {
  max-width: 900px;
  margin: 36px auto 0;
}

.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(210, 210, 215, 0.75);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.url-input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f5f5f7;
  color: var(--text);
  font-size: 16px;
  line-height: 56px;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}

.url-input:focus {
  background: #fff;
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.url-input::placeholder,
.url-input::-webkit-input-placeholder {
  color: #8e8e93;
  opacity: 1;
  line-height: normal;
}

.url-input:-webkit-autofill,
.url-input:-webkit-autofill:hover,
.url-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #f5f5f7 inset;
  transition: background-color 9999s ease-in-out 0s;
  border: 1px solid transparent;
}

.submit-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  line-height: 56px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.submit-btn:hover {
  background: var(--blue-hover);
}

.submit-btn:active {
  transform: scale(0.99);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.status {
  max-width: 900px;
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef4ff;
  color: #124191;
  border: 1px solid rgba(0, 113, 227, 0.16);
  font-size: 0.95rem;
  display: none;
  text-align: center;
}

.status.error {
  background: #fff1f0;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.feature-row {
  max-width: 980px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.feature-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(210, 210, 215, 0.85);
  color: #4d4d52;
  font-size: 0.92rem;
  font-weight: 500;
}

.conversion-section {
  margin-top: 34px;
  padding: 34px 28px;
  border: 1px solid rgba(210, 210, 215, 0.78);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin: 16px 0 0;
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.trust-grid,
.package-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-card,
.package-card {
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 20px;
  background: var(--surface-alt);
  padding: 22px;
}

.trust-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.trust-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.industry-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #124191;
  font-size: 0.9rem;
  font-weight: 600;
}

.ai-search-section {
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.08), transparent 42%),
    var(--surface);
}

.ai-check-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ai-check {
  min-height: 96px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2d2d30;
  font-weight: 600;
  line-height: 1.35;
}

.seo-content-section {
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.06), transparent 40%),
    var(--surface);
}

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

.content-card,
.process-step,
.keyword-panel {
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 20px;
  background: var(--surface-alt);
  padding: 22px;
}

.content-card h3,
.process-step h3,
.keyword-panel h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.content-card p,
.process-step p,
.seo-copy p,
.keyword-panel li,
.faq-list p {
  color: #3a3a3c;
  line-height: 1.65;
  font-size: 0.96rem;
}

.content-card p,
.process-step p {
  margin: 10px 0 0;
}

.local-seo-section {
  background:
    linear-gradient(135deg, rgba(2, 122, 72, 0.07), transparent 42%),
    var(--surface);
}

.local-seo-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.seo-copy p {
  margin: 0;
}

.seo-copy p + p {
  margin-top: 14px;
}

.keyword-panel ul {
  margin: 16px 0 0 18px;
  padding: 0;
}

.keyword-panel li {
  margin-top: 10px;
}

.process-section {
  background:
    linear-gradient(135deg, rgba(29, 29, 31, 0.04), transparent 42%),
    var(--surface);
}

.process-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  padding-top: 56px;
}

.process-step::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-section {
  background: var(--surface);
}

.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 18px;
  background: var(--surface-alt);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 48px 18px 18px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.service-section {
  background:
    linear-gradient(135deg, rgba(2, 122, 72, 0.08), transparent 38%),
    var(--surface);
}

.package-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.package-price {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.package-card ul {
  margin: 18px 0 0 18px;
  padding: 0;
}

.package-card li {
  margin-top: 10px;
  color: #3a3a3c;
  line-height: 1.45;
}

.featured-package {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.1);
}

.consultation-section {
  text-align: center;
}

.consultation-section .section-heading {
  margin: 0 auto;
}

.consultation-form {
  margin: 24px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #3a3a3c;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(210, 210, 215, 0.9);
  border-radius: 14px;
  background: #f5f5f7;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 13px 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
  background: #fff;
}

.consultation-submit {
  grid-column: 1 / -1;
  width: 100%;
}

.consultation-status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  font-size: 0.92rem;
}

.consultation-status.visible {
  display: block;
}

.consultation-status.error {
  background: #fff1f0;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.sticky-consultation {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  font-size: 0.94rem;
}

#resultsMount {
  max-width: var(--max);
  margin: 26px auto 0;
}

.report-page {
  min-height: calc(100vh - 170px);
  padding-top: 34px;
}

.report-intro {
  text-align: center;
}

.report-title {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.report-subtitle {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--muted);
}

.results-card {
  background: var(--surface);
  color: var(--text);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}

.results-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
}

.results-url {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  color: #515154;
  word-break: break-word;
}

.inline-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}

.audit-summary {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 22px;
  background: var(--surface-alt);
  display: grid;
  grid-template-columns: 140px minmax(180px, 0.7fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: stretch;
}

.score-block {
  min-height: 132px;
  border-radius: 18px;
  background: var(--text);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.score-label {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.78;
}

.score-details {
  display: grid;
  gap: 10px;
}

.score-stat {
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(210, 210, 215, 0.78);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-stat strong {
  font-size: 1.35rem;
}

.score-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.score-stat.good strong {
  color: #027a48;
}

.score-stat.warn strong {
  color: #b54708;
}

.score-stat.bad strong {
  color: #b42318;
}

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

.summary-lists h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.summary-lists p,
.summary-lists li,
.compact-list li {
  color: #3a3a3c;
  line-height: 1.55;
  font-size: 0.94rem;
}

.compact-list {
  margin: 10px 0 0 18px;
  padding: 0;
}

.free-report-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 22px;
  background: var(--surface-alt);
}

.free-report-panel h3,
.upgrade-teaser h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.score-card-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.score-card {
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.score-card strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.score-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.upgrade-teaser {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(29, 29, 31, 0.05), transparent 44%),
    #fff;
}

.locked-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.locked-item {
  min-height: 74px;
  border-radius: 16px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  background: var(--surface-alt);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a3a3c;
  font-weight: 650;
  line-height: 1.35;
}

.locked-icon {
  color: #b54708;
  font-size: 1.05rem;
  line-height: 1;
}

.upgrade-teaser .btn-link {
  margin-top: 16px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.results-section {
  background: var(--surface-alt);
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 22px;
  padding: 20px;
}

.results-section h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.results-section p,
.results-section li {
  color: #3a3a3c;
  line-height: 1.65;
  font-size: 0.96rem;
}

.results-section ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.badge-ok,
.badge-warn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  vertical-align: middle;
}

.badge-ok {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.badge-warn {
  background: #fff7ed;
  color: #b54708;
  border: 1px solid #fed7aa;
}

.email-report-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  border-radius: 22px;
  background: var(--surface-alt);
}

.email-report-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.email-report-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.email-report-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.email-input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 52px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.email-input:focus {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.email-submit {
  min-width: 162px;
}

.email-report-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.email-report-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  font-size: 0.92rem;
}

.email-report-status.visible {
  display: block;
}

.email-report-status.error {
  background: #fff1f0;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.visually-hidden,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 20px;
  background: rgba(29, 29, 31, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  padding: 26px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(210, 210, 215, 0.9);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.modal-card h2 {
  margin: 0;
  padding-right: 38px;
  font-size: 1.6rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.modal-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.modal-form input {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(210, 210, 215, 0.9);
  background: #f5f5f7;
  padding: 0 14px;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.modal-form input:focus {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
  background: #fff;
}

.modal-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  font-size: 0.92rem;
}

.modal-status.visible {
  display: block;
}

.modal-status.error {
  background: #fff1f0;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.modal-download-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* PRELOADER */
.preloader-full {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  width: 100%;
}

.preloader-center {
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.preloader-icon {
  font-size: 38px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.preloader-title {
  font-size: 28px;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.preloader-url {
  margin-top: 14px;
  opacity: 0.7;
  font-size: 14px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.preloader-sub {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.6;
}

.spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid rgba(120, 140, 255, 0.15);
  border-top: 4px solid #6c7cff;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 18px rgba(108, 124, 255, 0.25);
}

footer {
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 0 20px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .trust-grid,
  .package-grid,
  .ai-check-grid,
  .content-grid,
  .local-seo-layout,
  .process-list,
  .score-card-grid,
  .locked-grid {
    grid-template-columns: 1fr;
  }

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

  .audit-summary {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 56px 20px 42px;
  }

  .report-page {
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  main {
    padding: 18px 12px 50px;
  }

  .nav {
    padding: 0 14px;
  }

  .hero-panel {
    border-radius: 24px;
    padding: 42px 16px 32px;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-benefits {
    align-items: center;
    flex-direction: column;
  }

  .conversion-section {
    margin-top: 22px;
    padding: 24px 16px;
    border-radius: 22px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .report-title {
    font-size: 2.2rem;
  }

  form {
    flex-direction: column;
    align-items: stretch;
  }

  .url-input,
  .submit-btn {
    width: 100%;
    font-size: 16px;
  }

  .url-input {
    height: 52px;
    min-height: 52px;
    line-height: 52px;
    border-radius: 14px;
  }

  .submit-btn {
    height: 52px;
    min-height: 52px;
    line-height: 52px;
  }

  .results-card {
    padding: 18px;
    border-radius: 22px;
  }

  .results-section {
    border-radius: 18px;
    padding: 16px;
  }

  .summary-lists {
    grid-template-columns: 1fr;
  }

  .email-report-form {
    grid-template-columns: 1fr;
  }

  .email-submit {
    width: 100%;
  }

  .consultation-form {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 12px;
  }

  .modal-card {
    border-radius: 22px;
    padding: 22px 18px;
  }

  .sticky-consultation {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  footer {
    padding-bottom: 78px;
  }

  .preloader-title {
    font-size: 24px;
  }

  .spinner {
    width: 48px;
    height: 48px;
  }
}
