/* Styles used only by the public home page. */
.seo-home { color: #263238; background: #fff; }
.seo-home *, .seo-home *:before, .seo-home *:after { box-sizing: border-box; }
.seo-home .container { width: calc(100% - 40px); max-width: 1200px; margin: 0 auto; padding: 0 20px; overflow: visible; }
.seo-home .btn-primary { display: inline-block; min-width: 0; min-height: 48px; padding: 14px 26px; border-radius: 7px; font-size: 16px; line-height: 20px; text-align: center; text-decoration: none; }
.seo-hero { padding: 72px 0 64px; background: linear-gradient(135deg, #f5fbff 0%, #fff 60%); }
.seo-hero__content { max-width: 820px; }
.seo-eyebrow { margin: 0 0 14px; color: #168bd2; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.seo-home h1 { margin: 0 0 22px; font-size: 48px; line-height: 1.12; color: #18242c; }
.seo-home h2 { margin: 0 0 30px; font-size: 32px; line-height: 1.25; color: #18242c; text-transform: none; }
.seo-home h3 { margin: 0 0 12px; font-size: 21px; color: #18242c; }
.seo-lead { max-width: 760px; margin: 0; font-size: 21px; line-height: 1.6; }
.seo-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.seo-secondary { color: #168bd2; font-weight: 700; }
.seo-benefits { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
.seo-benefits li:before { content: "✓"; margin-right: 8px; color: #16a36a; font-weight: 700; }
.seo-section { padding: 64px 0; }
.seo-section--muted { background: #f6f8fa; }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.seo-card { padding: 28px; border: 1px solid #e2e8ed; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(22,48,66,.06); }
.seo-card p { margin: 0; line-height: 1.65; }
.seo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.seo-steps li { position: relative; padding: 28px 24px 24px 70px; background: #fff; border-radius: 12px; counter-increment: steps; }
.seo-steps li:before { content: counter(steps); position: absolute; left: 24px; top: 25px; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #168bd2; text-align: center; line-height: 32px; font-weight: 700; }
.seo-steps strong, .seo-steps span { display: block; }
.seo-steps span { margin-top: 8px; line-height: 1.55; }
.seo-trust { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.seo-trust p { font-size: 18px; line-height: 1.65; }
.seo-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.seo-stats div { padding: 24px; text-align: center; border-radius: 12px; background: #f5fbff; }
.seo-stats strong, .seo-stats span { display: block; }
.seo-stats strong { color: #168bd2; font-size: 28px; }
.seo-stats span { margin-top: 6px; }
.seo-price { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.seo-price h2 { margin-bottom: 12px; }
.seo-price p:last-child { max-width: 680px; margin-bottom: 0; font-size: 18px; line-height: 1.6; }
.tariff-intro { max-width: 860px; margin: -10px 0 30px; font-size: 18px; line-height: 1.65; }
.tariff-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 34px; }
.tariff-details { min-width: 0; }
.tariff-main { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; padding: 24px 26px; color: #fff; background: #183f56; border-radius: 14px; }
.tariff-main span { grid-column: 1 / -1; color: #aee4ff; font-weight: 700; }
.tariff-main strong { font-size: 38px; line-height: 1; }
.tariff-main small { font-size: 17px; }
.tariff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 16px 0; }
.tariff-grid div { padding: 20px; background: #fff; border: 1px solid #dfe8ee; border-radius: 11px; }
.tariff-grid strong, .tariff-grid span { display: block; }
.tariff-grid strong { margin-bottom: 8px; color: #168bd2; font-size: 20px; }
.tariff-grid span { line-height: 1.5; }
.tariff-free { margin: 20px 0 24px; padding: 22px 24px; background: #eef9ff; border-left: 4px solid #168bd2; border-radius: 0 11px 11px 0; }
.tariff-free h3 { margin: 0 0 12px; color: #18242c; font-size: 22px; }
.tariff-free ul { margin: 0; padding-left: 21px; line-height: 1.65; }
.tariff-shot { overflow: hidden; margin: 0; background: #fff; border: 1px solid #dfe8ee; border-radius: 14px; box-shadow: 0 10px 28px rgba(22,48,66,.08); }
.tariff-shot a, .tariff-shot img { display: block; }
.tariff-shot img { width: 100%; height: auto; }
.tariff-shot figcaption { padding: 16px 18px; color: #62717a; font-size: 14px; line-height: 1.5; }
.seo-faq { display: grid; gap: 12px; }
.seo-faq details { padding: 20px 24px; border: 1px solid #e2e8ed; border-radius: 10px; background: #fff; }
.seo-faq summary { cursor: pointer; color: #18242c; font-size: 18px; font-weight: 700; }
.seo-faq p { margin: 14px 0 0; line-height: 1.6; }
.interesting-intro { max-width: 760px; margin: -12px 0 30px; font-size: 18px; line-height: 1.6; }
.service-demo__intro { max-width: 800px; margin: -12px 0 32px; font-size: 18px; line-height: 1.65; }
.service-demo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-demo__card { overflow: hidden; margin: 0; background: #fff; border: 1px solid #e1eaf0; border-radius: 14px; box-shadow: 0 10px 28px rgba(22,48,66,.08); }
.service-demo__card > a { display: block; overflow: hidden; background: #f5f8fa; }
.service-demo__card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: transform .25s ease; }
.service-demo__card a:hover img { transform: scale(1.02); }
.service-demo__card figcaption { display: block; padding: 22px; }
.service-demo__card strong, .service-demo__card span { display: block; }
.service-demo__card strong { margin-bottom: 9px; color: #18242c; font-size: 19px; }
.service-demo__card span { color: #56656e; font-size: 16px; line-height: 1.55; }
.service-demo__result { display: grid; grid-template-columns: 1.4fr .8fr .8fr; align-items: center; gap: 28px; margin-top: 30px; padding: 28px; background: #f3f9fd; border: 1px solid #dcebf4; border-radius: 14px; }
.service-demo__result h3 { margin: 0 0 10px; color: #18242c; font-size: 24px; }
.service-demo__result p { margin: 0; line-height: 1.6; }
.service-demo__preview { padding: 18px 20px; color: #dff4ff; background: #183f56; border-radius: 10px; line-height: 1.65; }
.service-demo__downloads { display: flex; align-items: stretch; flex-direction: column; gap: 10px; }
.service-demo__downloads a { padding: 12px 16px; color: #fff; background: #168bd2; border-radius: 7px; font-weight: 700; text-align: center; text-decoration: none; }
.service-demo__action { margin-top: 26px; text-align: center; }
.interesting-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.interesting-card { grid-column: span 2; overflow: hidden; color: #263238; background: #fff; border: 1px solid #e2e8ed; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 24px rgba(22,48,66,.06); transition: transform .2s ease, box-shadow .2s ease; }
.interesting-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,48,66,.12); }
.interesting-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.interesting-card span { display: block; padding: 22px; }
.interesting-card strong, .interesting-card small { display: block; }
.interesting-card strong { color: #18242c; font-size: 20px; line-height: 1.35; }
.interesting-card small { margin-top: 10px; color: #65727a; font-size: 15px; line-height: 1.5; }
.seo-cta { text-align: center; color: #fff; background: #183f56; }
.seo-cta h2 { margin-bottom: 12px; color: #fff; }
.seo-cta p { margin: 0 0 28px; font-size: 18px; }

@media (max-width: 760px) {
  html, body, #top, footer, #top .header-row { width: 100%; min-width: 0; max-width: 100%; }
  #top { height: auto !important; }
  #top .container, #top .container-inner, footer .container, footer .container-inner { width: auto !important; min-width: 0; max-width: 100%; }
  #top .container-inner { display: block; padding: 0 16px; box-sizing: border-box; overflow: visible; }
  #top .top-header { height: auto; min-height: 104px; }
  #top .top-block.logo, #top .top-block.login { float: none; width: auto; text-align: center; }
  #top .logo-img, #top .logo-img img { width: auto; max-width: 100%; height: auto; }
  #top .top-block.login form { display: none; }
  #top .top-block.login { margin-top: 8px; }
  footer .container-inner { display: block; padding: 0 16px; box-sizing: border-box; overflow: visible; }
  footer .footer-left, footer .footer-right, footer .footer-menu { float: none; width: auto; max-width: 100%; text-align: center; }
  footer .footer-menu p { line-height: 1.8; }
  .seo-home .container { width: auto !important; padding: 0 20px; }
  .seo-hero { padding: 48px 0; }
  .seo-home h1 { font-size: 34px; }
  .seo-home h2 { font-size: 27px; }
  .seo-lead { font-size: 18px; }
  .seo-actions, .seo-benefits, .seo-price { align-items: flex-start; flex-direction: column; }
  .seo-grid, .seo-steps, .seo-trust, .seo-stats, .service-demo__grid, .service-demo__result, .tariff-layout, .tariff-grid { grid-template-columns: 1fr; }
  .interesting-grid { grid-template-columns: 1fr; }
  .interesting-card { grid-column: auto; }
  .seo-section { padding: 48px 0; }
}
