/* Shell from IQSTAT Project/components/marketing/public-site.css — parity with iqstat.io/ru */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.iq-pub a {
  text-decoration: none;
}

.iq-pub-header a:hover,
.iq-pub-nav a:hover,
.iq-pub-actions a:hover,
.iq-pub-footer a:hover {
  text-decoration: none;
}

.iq-pub {
  --iq-pub-bg: #fdfdff;
  --iq-pub-surface: #ffffff;
  --iq-pub-text: #111827;
  --iq-pub-muted: #6b7280;
  --iq-pub-accent: #3b82f6;
  --iq-pub-green: #22c55e;
  --iq-pub-border: #f3f4f6;
  --iq-pub-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --iq-pub-max: 1140px;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--iq-pub-text);
  background: var(--iq-pub-bg);
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  box-sizing: border-box;
}

/* Шапка 1:1 с public/iqstat-site/index.html (data-id="8Jocj") */
.iq-pub-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
  min-height: 80px;
  padding: 0 clamp(16px, 4vw, 80px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--iq-pub-border);
}

.iq-pub-logo {
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.iq-pub-logo span:first-child {
  color: var(--iq-pub-accent);
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.iq-pub-logo span:last-child {
  color: var(--iq-pub-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.iq-pub-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.iq-pub-nav a {
  color: #4b5563;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.iq-pub-nav a:hover,
.iq-pub-nav a.iq-pub-nav--active {
  color: var(--iq-pub-accent);
}

.iq-pub-nav a.iq-pub-nav--pill {
  padding: 6px 14px;
  border-radius: 100px;
  background: #eff6ff;
  color: #2563eb;
}

.iq-pub-nav a.iq-pub-nav--pill:hover,
.iq-pub-nav a.iq-pub-nav--pill.iq-pub-nav--active {
  background: #dbeafe;
  color: #1d4ed8;
}

.iq-pub-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
  min-width: 0;
}

.iq-pub-link {
  color: #4b5563;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.iq-pub-actions .iq-pub-cta,
.iq-pub-cta--header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--iq-pub-green);
  color: #fff !important;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  border: none;
  cursor: pointer;
}

.iq-pub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--iq-pub-green);
  color: #fff !important;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.iq-pub-mobile-panel .iq-pub-cta {
  margin-top: 8px;
  text-align: center;
  box-shadow: none;
}

.iq-pub-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--iq-pub-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.iq-pub-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.35);
}

.iq-pub-mobile.is-open {
  display: block;
}

.iq-pub-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--iq-pub-surface);
  padding: 20px;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.iq-pub-mobile-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--iq-pub-text);
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.iq-pub-mobile-panel a:hover {
  background: #f8fafc;
}

.iq-pub-mobile-close {
  align-self: flex-end;
  margin-bottom: 8px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--iq-pub-muted);
}

@media (max-width: 1100px) {
  .iq-pub-nav {
    gap: 12px;
  }

  .iq-pub-nav a {
    font-size: 12px;
  }
}

.iq-pub-main {
  flex: 1;
  width: 100%;
  max-width: var(--iq-pub-max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
}

.iq-pub-footer {
  border-top: 1px solid var(--iq-pub-border);
  background: var(--iq-pub-surface);
  padding: 48px clamp(16px, 4vw, 80px) 32px;
}

.iq-pub-footer-inner {
  max-width: var(--iq-pub-max);
  margin: 0 auto;
}

.iq-pub-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.iq-pub-footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--iq-pub-muted);
  max-width: 280px;
}

.iq-pub-footer-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.iq-pub-footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.iq-pub-footer-col a:hover {
  color: var(--iq-pub-accent);
}

.iq-pub-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--iq-pub-border);
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 900px) {
  .iq-pub-nav {
    display: none;
  }

  .iq-pub-burger {
    display: inline-flex;
  }

  .iq-pub-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .iq-pub-header {
    height: auto;
    min-height: unset;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .iq-pub-actions {
    gap: 8px;
  }

  .iq-pub-link {
    font-size: 13px;
  }

  .iq-pub-actions .iq-pub-cta {
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .iq-pub-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .iq-pub-logo span:first-child,
  .iq-pub-logo span:last-child {
    font-size: 22px;
  }

  .iq-pub-actions .iq-pub-cta {
    padding: 8px 12px;
    font-size: 11px;
  }

  .iq-pub-footer-grid {
    grid-template-columns: 1fr;
  }
}
