/* ==========================================
   Базовые переменные и палитра
   ========================================== */

:root {
  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --clr-text: #0f1220;
  --clr-muted: #5d6370;
  --clr-accent: #7e7ce6;   /* фиолетовый акцент */
  --clr-bg: #ffffff;
  --header-h: 120px; /* увеличили отступ от меню вниз */
}

/* ==========================================
   Базовые стили
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  color: var(--clr-text);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  /* Фон сайта — изображение + полупрозрачный градиент слева для читабельности */
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 18%, rgba(255,255,255,0.72) 34%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0.30) 64%, rgba(255,255,255,0.12) 78%, rgba(255,255,255,0.0) 100%),
              url('../img/seocheck_security_background.png') right top / cover no-repeat fixed;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ==========================================
   Header & Navigation
   ========================================== */

.nav { display: flex; align-items: center; width: 100%; }
.header {
  padding: 18px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
}

.logo {
  margin-right: auto;
}

.nav__controls { margin-left: clamp(10px, 2vw, 24px); display:flex; align-items:center; gap: 10px; }
.nav__auth-link, .nav__user-link {
  color: #161822;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav__auth-link:hover, .nav__user-link:hover { background: rgba(102,126,234,0.1); color: #667eea; }
.nav__logout-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav__logout-btn:hover { background: rgba(220,38,38,0.08); color: #dc2626; }
.lang-select {
  appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  color: #161822;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.lang-select:focus { outline: none; box-shadow: 0 0 0 3px rgba(126,124,230,.2); border-color: var(--clr-accent); }

/* Скрытая метка для доступности */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

.nav__menu {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__menu a {
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__menu a:hover {
  color: var(--clr-accent);
}

/* Светлый цвет меню для наложения на фон, но читаемый на градиенте */
.header .nav__menu a { color: #161822; }

/* ==========================================
   Hero Section (фон на весь экран + текст поверх)
   ========================================== */

.hero {
  min-height: calc(100vh - 80px);
  padding: calc(var(--header-h) + clamp(20px, 3vw, 32px)) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 48px);
  position: relative;
}

/* Контейнер контента поверх */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

/* Убрали белые прямоугольники */

/* Badge над заголовком */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(126, 124, 230, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Главный заголовок */
.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em; /* немного меньше уплотнение для читаемости */
  line-height: 1.02;
  margin: 0 0 16px 0;
  font-size: clamp(36px, 6.5vw, 86px);
}

/* Подсветка ключевого слова */
.hero__title .accent {
  color: var(--clr-accent);
  font-weight: 900;
  letter-spacing: 0.01em; /* как в макете - чуть свободнее слово */
}

/* Подзаголовок/описание под H1 */
.hero__lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--clr-muted);
  max-width: 52ch;
  margin: 16px 0 28px 0;
}

/* ================= Form: Check site ================= */
.check-form { margin-top: 14px; }
.check-form__label {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 8px;
}
.check-form__group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.check-form__input {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15,18,32,.12);
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  background: #fff;
}
.check-form__input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(126,124,230,.15);
}
.check-form__btn {
  position: relative;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.check-form__btn:hover { box-shadow: 0 8px 22px rgba(126,124,230,.28); }
.check-form__btn:active { transform: translateY(1px); }
.check-form__hint {
  display: block;
  margin-top: 6px;
  color: var(--clr-muted);
  opacity: .8;
}

@media (max-width: 768px) {
  .check-form__group { grid-template-columns: 1fr; }
}

/* Цифра +10 лет (правая колонка) */
.hero__kpi {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 48vh, 520px); /* центрируем относительно картинки справа */
  padding: clamp(8px, 2vw, 16px) 0 0;
  text-align: center;
}

.kpi {
  display: flex;
  align-items: baseline;
  gap: clamp(6px, 0.8vw, 12px);
  margin-top: 10px;
}

.kpi__plus {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--clr-accent);
  align-self: center;
  transform: translateY(-6px); /* поднимаем плюс, как на макете */
}

.kpi__value {
  font-family: var(--font-title);
  font-size: clamp(56px, 7.2vw, 100px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}

.kpi__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-top: 6px;
}

/* Плавающая анимация (если нужна для арт-объекта) */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Watermark внизу */
.hero__watermark {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(93, 99, 112, 0.4);
  text-transform: uppercase;
  z-index: 1;
}

/* ==========================================
   Features Section
   ========================================== */

.features {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.section__title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
  color: var(--clr-text);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(126, 124, 230, 0.15);
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-muted);
}

/* ==========================================
   Form Messages
   ========================================== */

.form-messages {
  margin-top: 1rem;
  transition: all 0.3s ease-out;
}

.form-messages.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.message--success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.message--error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  font-weight: 500;
}

.message--info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* ==========================================
   Domain Result Page
   ========================================== */

.result-page {
  max-width: 800px;
  margin: 0 auto;
  /* Top padding clears the absolutely-positioned site header so the page
     content does not slide under the nav on initial paint. */
  padding: clamp(120px, 14vw, 160px) 0 clamp(48px, 8vw, 96px);
}

.result-header {
  text-align: center;
  margin-bottom: 2rem;
}

.result-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-text);
}

.domain-info {
  font-size: 1.1rem;
  color: var(--clr-muted);
}

.status-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  text-align: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-icon {
  font-size: 2rem;
}

.status-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.status-indicator--pending .status-text { color: #f59e0b; }
.status-indicator--processing .status-text { color: #3b82f6; }
.status-indicator--completed .status-text { color: #10b981; }
.status-indicator--failed .status-text { color: #ef4444; }

.check-time {
  color: var(--clr-muted);
  font-size: 0.9rem;
}

.results-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.results-section h2 {
  margin-bottom: 1.5rem;
  color: var(--clr-text);
}

.results-grid {
  display: grid;
  gap: 1.5rem;
}

.result-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: #f9fafb;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.result-header h3 {
  font-size: 1.1rem;
  color: var(--clr-text);
  margin: 0;
}

.result-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.result-status--success {
  background: #d1fae5;
  color: #065f46;
}

.result-status--warning {
  background: #fef3c7;
  color: #92400e;
}

.result-status--error {
  background: #fee2e2;
  color: #991b1b;
}

.result-status--unknown {
  background: #f3f4f6;
  color: #374151;
}

.result-message {
  color: var(--clr-muted);
  margin: 0.5rem 0;
}

.result-details {
  background: white;
  border-radius: 0.25rem;
  padding: 1rem;
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  overflow-x: auto;
}

.processing-section,
.pending-section,
.error-section {
  background: white;
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 2rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--clr-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pending-icon,
.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--clr-accent);
  color: white;
}

.btn-primary:hover {
  background: #6b6bdb;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}

.btn-outline:hover {
  background: var(--clr-accent);
  color: white;
  transform: translateY(-1px);
}

/* ==========================================
   Hero CTA Buttons
   ========================================== */

.hero__cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.cta-btn--primary {
  background: var(--clr-accent);
  color: white;
  box-shadow: 0 4px 14px rgba(126, 124, 230, 0.3);
}

.cta-btn--primary:hover {
  background: #6b6bdb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 124, 230, 0.4);
}

.cta-btn--secondary {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}

.cta-btn--secondary:hover {
  background: var(--clr-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(126, 124, 230, 0.2);
}

/* KPI Unit styling */
.kpi__unit {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-muted);
  margin-left: 0.25rem;
}

/* ==========================================
   Email Input Group Styles
   ========================================== */

.email-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.email-input-inline {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s;
  background: white;
}

.email-input-inline:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(126, 124, 230, 0.1);
}

.email-input-inline::placeholder {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ==========================================
   Site footer
   ========================================== */

.site-footer {
  background: linear-gradient(180deg, #0f1220 0%, #161a2e 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(40px, 6vw, 72px) 0 32px;
  margin-top: clamp(48px, 8vw, 96px);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 32px;
}

.site-footer__brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.site-footer__brand .site-footer__logo:hover { opacity: 0.9; }

.site-footer__tagline {
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  max-width: 38ch;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__contact-row {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.site-footer__contact-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.site-footer__contact-row a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.site-footer__contact-row a:hover { color: #b4b3f5; }

.site-footer__title {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 16px;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom p { margin: 0; }

@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; }
}

/* Skip link for keyboard nav */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--clr-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header CTA + balance */
.nav__cta-link {
  display: inline-flex;
  align-items: center;
  background: var(--clr-accent);
  color: #fff !important;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta-link:hover { background: #6b6bdb; transform: translateY(-1px); }

.nav__balance {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  background: rgba(126, 124, 230, 0.16);
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ==========================================
   Breadcrumbs
   ========================================== */

.breadcrumbs {
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--clr-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: '/';
  color: rgba(15, 18, 32, 0.3);
}

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

.breadcrumbs a:hover { color: var(--clr-accent); }

.breadcrumbs li[aria-current="page"] { color: var(--clr-text); font-weight: 500; }

/* ==========================================
   Section primitives
   ========================================== */

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section--features { background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%); }
.section--how { background: #ffffff; }
.section--checks { background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%); }
.section--metrics { background: linear-gradient(135deg, #7e7ce6 0%, #5a4fcf 100%); color: #ffffff; padding: clamp(40px, 6vw, 64px) 0; }
.section--faq { background: #ffffff; }
.section--cta { background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%); }

.section__header {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--clr-text);
}

.section__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--clr-muted);
  line-height: 1.7;
  margin: 0;
}

/* Trust strip */
.trust-strip {
  background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
  padding: 36px 0;
  border-top: 1px solid rgba(126, 124, 230, 0.12);
  border-bottom: 1px solid rgba(126, 124, 230, 0.12);
}
.trust-strip__eyebrow {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clr-muted);
  margin: 0 0 16px;
  font-weight: 600;
}
.trust-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--clr-text);
}
.trust-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(126, 124, 230, 0.12);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(126, 124, 230, 0.14);
  border-color: rgba(126, 124, 230, 0.32);
}

.feature-card-v2__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(126, 124, 230, 0.12);
  color: var(--clr-accent);
  margin-bottom: 18px;
}

.feature-card-v2 h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 8px;
}

.feature-card-v2 p {
  color: var(--clr-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* How it works */
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.how-step {
  background: #ffffff;
  border: 1px solid rgba(126, 124, 230, 0.12);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

.how-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-title);
  margin-bottom: 16px;
}

.how-step__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--clr-text);
}

.how-step__text {
  margin: 0;
  color: var(--clr-muted);
  line-height: 1.65;
  font-size: 15px;
}

/* Checks columns */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.checks-col {
  background: #ffffff;
  border: 1px solid rgba(126, 124, 230, 0.12);
  border-radius: 16px;
  padding: 28px;
}

.checks-col__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--clr-text);
}

.checks-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--clr-text);
  font-size: 15px;
}

.checks-col__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.checks-col__list svg { flex-shrink: 0; margin-top: 2px; }

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.metric { padding: 12px 0; }

.metric__value {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
}

.metric__label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(126, 124, 230, 0.18);
  border-radius: 14px;
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: rgba(126, 124, 230, 0.45);
  box-shadow: 0 6px 24px rgba(126, 124, 230, 0.1);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--clr-text);
}

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

.faq-item[open] .faq-item__q svg {
  transform: rotate(180deg);
}

.faq-item__q svg { transition: transform 0.2s; }

.faq-item__a {
  padding: 0 22px 20px;
  color: var(--clr-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #7e7ce6 0%, #5a4fcf 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(126, 124, 230, 0.32);
}

.cta-banner__title {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
  color: #ffffff;
}

.cta-banner__lead {
  font-size: 17px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--clr-accent);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ==========================================
   Blog page (moved out of inline view styles)
   ========================================== */

.blog-page {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
  min-height: calc(100vh - 200px);
}

.blog-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.blog-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  color: var(--clr-text);
  margin: 8px 0 12px;
}

.blog-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--clr-muted);
  max-width: 640px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 18, 32, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 124, 230, 0.28);
  box-shadow: 0 18px 40px rgba(15, 18, 32, 0.08);
}

.post-card__image-link { display: block; }

.post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0fb;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-image img { transform: scale(1.04); }

.post-content {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--clr-muted);
}

.post-meta span,
.post-meta time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta svg { opacity: 0.7; }

.post-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.post-title a {
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.2s;
}

.post-title a:hover { color: var(--clr-accent); }

.post-excerpt {
  color: var(--clr-muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  flex: 1;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-accent);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: 4px;
}

.post-link:hover { gap: 10px; }

.no-posts {
  text-align: center;
  padding: 64px 24px;
  color: var(--clr-muted);
  font-size: 17px;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================
   Blog post (single article)
   ========================================== */

.blog-post {
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 96px);
  background: #f6f7ff;
}

.blog-post .post-header {
  text-align: left;
  max-width: 820px;
  margin: 0 auto 32px;
}

.blog-post .post-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 18px;
}

.blog-post .post-meta {
  font-size: 14px;
  flex-wrap: wrap;
  gap: 18px;
}

.post-featured-image {
  max-width: 820px;
  margin: 0 auto 36px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(15, 18, 32, 0.1);
}

.post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.post-body {
  max-width: 760px;
  margin: 0 auto 36px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 16px;
  border: 1px solid rgba(15, 18, 32, 0.05);
  font-size: 17px;
  line-height: 1.8;
  color: #2d3748;
}

.post-body h2 {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 2.2rem 0 1rem;
}

.post-body h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 1.8rem 0 0.8rem;
}

.post-body p { margin: 0 0 1.2rem; }

.post-body ul,
.post-body ol { margin: 1.2rem 0; padding-left: 1.6rem; }

.post-body li { margin-bottom: 0.6rem; }

.post-body a { color: var(--clr-accent); text-decoration: underline; }
.post-body a:hover { color: #5a4fcf; }

.post-body code {
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: #5a4fcf;
}

.post-body blockquote {
  border-left: 4px solid var(--clr-accent);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 1.6rem 0;
  color: var(--clr-muted);
  font-style: italic;
  background: #f6f7ff;
  border-radius: 0 8px 8px 0;
}

.post-footer {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: var(--clr-accent);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid rgba(126, 124, 230, 0.2);
  transition: all 0.2s;
}

.back-link:hover {
  background: var(--clr-accent);
  color: #ffffff;
  border-color: var(--clr-accent);
  transform: translateY(-1px);
}

.related-posts {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid rgba(15, 18, 32, 0.08);
}

.related-title {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.related-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 18, 32, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 18, 32, 0.08);
}

.related-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0fb;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.related-card:hover .related-image img { transform: scale(1.04); }

.related-content { padding: 18px 20px 20px; }

.related-post-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.related-post-title a { color: var(--clr-text); text-decoration: none; }
.related-post-title a:hover { color: var(--clr-accent); }

.related-excerpt {
  color: var(--clr-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-post .post-title { font-size: 28px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Unlock CTA */
.unlock-cta {
  max-width: 760px;
  margin: 0 auto 36px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.12);
  border: 2px solid #e8ecff;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px);
  text-align: center;
}

.unlock-icon { margin-bottom: 12px; }
.unlock-title { font-size: 22px; font-weight: 700; color: var(--clr-text); margin: 0 0 8px; font-family: var(--font-title); }
.unlock-subtitle { color: var(--clr-muted); font-size: 16px; margin: 0 0 20px; }

.unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--clr-accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.unlock-btn:hover { background: #5a4fcf; transform: translateY(-1px); }

.unlock-btn-secondary {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}
.unlock-btn-secondary:hover { background: var(--clr-accent); color: #ffffff; }

.unlock-balance,
.unlock-register {
  margin-top: 12px;
  color: var(--clr-muted);
  font-size: 14px;
}

.unlock-register a { color: var(--clr-accent); font-weight: 600; text-decoration: none; }
.unlock-error { color: #dc2626; font-size: 14px; margin-bottom: 12px; }
.full-content-wrap { margin-bottom: 36px; }

/* ==========================================
   Contact page (moved out of inline view styles)
   ========================================== */

.contact-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.86) 18%,
      rgba(255,255,255,0.72) 34%,
      rgba(255,255,255,0.55) 48%,
      rgba(255,255,255,0.30) 64%,
      rgba(255,255,255,0.12) 78%,
      rgba(255,255,255,0.0) 100%),
    url('/img/seocheck_security_background.png') right top / cover no-repeat fixed;
  padding: clamp(120px, 14vw, 160px) 0 clamp(48px, 8vw, 96px);
}

.contact-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.contact-header h1 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--clr-accent);
  margin: 8px 0 12px;
}

.contact-header p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--clr-muted);
  max-width: 640px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(126, 124, 230, 0.1);
}

.contact-section__title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--clr-text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  color: var(--clr-text);
  font-size: 14px;
}

.required { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(126, 124, 230, 0.18);
}

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

.char-counter {
  text-align: right;
  font-size: 13px;
  color: var(--clr-muted);
}

#form-messages { margin: 0; }

#form-messages .message {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  animation: slideIn 0.3s ease-out;
}

#form-messages .message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

#form-messages .message.error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.submit-btn {
  background: linear-gradient(135deg, #7e7ce6 0%, #5a4fcf 100%);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(126, 124, 230, 0.4);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(126, 124, 230, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  font-size: 16px;
  color: var(--clr-text);
  margin: 0 0 10px;
  font-weight: 700;
  padding-left: 16px;
  position: relative;
  font-family: var(--font-title);
}

.info-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, #7e7ce6 0%, #5a4fcf 100%);
  border-radius: 2px;
}

.info-card p {
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.6;
}

.info-card a {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 500;
}

.info-card a:hover { text-decoration: underline; }

.telegram-card {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-color: #0ea5e9;
}

.email-hint,
.telegram-hint {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  font-style: italic;
}

.partnership-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #3b82f6;
}

@media (max-width: 968px) {
  .contact-content { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .contact-header h1 { font-size: 28px; }
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
  /* фон фиксированный, дополнительных правок не требуется */
}

@media (max-width: 768px) {
  .nav__menu {
    gap: 16px;
    font-size: 13px;
  }

  .hero { padding: 30px 20px 80px; }

  .hero__grid { grid-template-columns: 1fr; gap: 28px; }

  .hero__title {
    font-size: 36px;
  }

  .kpi__value { font-size: 48px; }

  .hero__kpi { min-height: 240px; }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__watermark {
    bottom: 15px;
    font-size: 10px;
  }

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

  .cta-btn {
    width: 100%;
    max-width: 300px;
  }

  .email-input-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .email-input-inline {
    width: 100%;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================
   Rate Limit Tooltip
   ========================================== */

.rate-limit-tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 1000;
  width: max-content;
  max-width: 320px;
}

.rate-limit-tooltip.visible {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 10px);
}

.rate-limit-tooltip .tooltip-content {
  background: linear-gradient(135deg, #7e7ce6 0%, #5a4fcf 100%);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(126, 124, 230, 0.6);
  min-width: 280px;
  text-align: center;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.rate-limit-tooltip .tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #5a4fcf;
}

.rate-limit-tooltip .tooltip-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: white;
}

.rate-limit-tooltip .tooltip-content p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.rate-limit-tooltip .tooltip-timer {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fbbf24;
}

.rate-limit-tooltip .tooltip-link {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rate-limit-tooltip .tooltip-link a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  opacity: 0.9;
}

.rate-limit-tooltip .tooltip-link a:hover {
  opacity: 1;
  color: #fbbf24;
}

@media (max-width: 768px) {
  .rate-limit-tooltip {
    max-width: 90vw;
  }
  
  .rate-limit-tooltip .tooltip-content {
    min-width: 240px;
    padding: 0.875rem 1rem;
  }
  
  .rate-limit-tooltip .tooltip-content strong {
    font-size: 0.9rem;
  }
  
  .rate-limit-tooltip .tooltip-content p {
    font-size: 0.85rem;
  }
}

/* Legal pages (privacy, terms, cookies) */
.legal-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.88) 24%,
      rgba(255,255,255,0.72) 48%,
      rgba(255,255,255,0.45) 70%,
      rgba(255,255,255,0.18) 88%,
      rgba(255,255,255,0.0) 100%),
    url('/img/seocheck_security_background.png') right top / cover no-repeat fixed;
  padding: clamp(120px, 14vw, 160px) 0 clamp(48px, 8vw, 96px);
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(126, 124, 230, 0.1);
}

.legal-article__header {
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid rgba(126, 124, 230, 0.15);
}

.legal-article__header h1 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: var(--clr-accent);
  margin: 8px 0 12px;
}

.legal-article__updated {
  font-size: 14px;
  color: var(--clr-muted);
  margin: 0 0 14px;
}

.legal-article__intro {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--clr-text);
  margin: 0;
  line-height: 1.65;
}

.legal-article__body {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 32px);
}

.legal-section h2 {
  font-family: var(--font-title);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 10px;
}

.legal-section p {
  font-size: 15px;
  color: var(--clr-text);
  line-height: 1.7;
  margin: 0 0 10px;
}

.legal-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--clr-text);
  line-height: 1.7;
}

.legal-list li {
  margin-bottom: 6px;
}

.legal-article__footer {
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(126, 124, 230, 0.15);
  font-size: 14px;
  color: var(--clr-muted);
}

.legal-article__footer a {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 600;
}

.legal-article__footer a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .legal-article { padding: 24px 18px; border-radius: 14px; }
  .legal-article__header h1 { font-size: 26px; }
}
