* {
  box-sizing: border-box;
}

:root {
  --blue: #063b84;
  --blue-2: #0a56bd;
  --dark: #081529;
  --text: #172033;
  --muted: #667085;
  --line: #e7ecf4;
  --bg: #f7f9fc;
  --card: #ffffff;
  --shadow: 0 22px 55px rgba(15, 36, 71, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 20%, rgba(9, 86, 189, .12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 55%, #fff 100%);
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #062a63, #06489b);
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(145deg, #052e70, #0a56bd);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 10px 25px rgba(6, 59, 132, .25);
}

.brand strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 650;
  color: #1f2a44;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--blue-2);
  transition: width .22s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  background: #f0f3f8;
  border-radius: 10px;
  padding: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  color: #667085;
}

.lang-btn.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 6px 16px rgba(20, 35, 70, .12);
}

.nav-toggle {
  display: none;
  border: 0;
  background: #edf2fa;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 22px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 15px 24px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, #063b84, #0757c6);
  color: white;
  box-shadow: 0 14px 26px rgba(7, 71, 161, .25);
}

.btn-outline {
  background: white;
  color: var(--blue);
  border-color: rgba(6, 59, 132, .35);
}

.btn-small {
  padding: 12px 18px;
}

.hero {
  padding: 66px 0 42px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  font-weight: 850;
  margin-bottom: 22px;
}

.eyebrow span {
  background: #eaf2ff;
  color: #0757c6;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
}

.hero h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
  color: #050b18;
}

.hero p {
  font-size: 19px;
  color: #4c5a70;
  line-height: 1.7;
  max-width: 590px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.quick-points span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 700;
  color: #344054;
  box-shadow: 0 8px 22px rgba(15, 36, 71, .05);
}

.screenshot-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.screenshot-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 34px 0 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 17px;
  box-shadow: 0 12px 30px rgba(15, 36, 71, .06);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eff5ff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.standard {
  padding: 34px 0 24px;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.standard-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 36, 71, .06);
}

.standard-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.standard-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 24px;
  padding: 34px 0 70px;
}

.about-panel,
.price-card,
.faq-list,
.section-heading {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 36, 71, .07);
}

.about-panel {
  padding: 34px;
}

.about-panel h2,
.section-heading h2 {
  color: var(--blue);
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.about-panel p {
  color: #46566d;
  line-height: 1.8;
  margin-bottom: 20px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 13px 0;
  padding-left: 30px;
  position: relative;
  color: #273348;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.price-card {
  padding: 28px;
  text-align: center;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-card span {
  color: var(--blue);
  font-weight: 850;
}

.price-card strong {
  display: block;
  font-size: 44px;
  margin: 14px 0 8px;
}

.price-card p {
  color: var(--muted);
  margin: 0 0 20px;
}

.price-card small {
  margin-top: 14px;
  color: var(--muted);
}

.faq {
  padding: 0 0 72px;
}

.section-heading {
  padding: 28px 32px;
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  padding: 16px;
}

details {
  background: #f6f8fb;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  padding: 0 18px;
  margin: 10px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
  padding: 17px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

summary::after {
  content: "+";
  color: var(--blue-2);
  font-size: 24px;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  background: linear-gradient(145deg, #061a3b, #053f88);
  color: white;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr .9fr;
  gap: 38px;
}

.footer .brand small,
.footer p {
  color: rgba(255,255,255,.74);
}

.footer h4 {
  margin: 0 0 15px;
}

.footer a {
  display: block;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  margin: 9px 0;
}

.copyright {
  text-align: center;
  color: rgba(255,255,255,.65);
  margin-top: 38px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .screenshot-card {
    transform: none;
  }

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

@media (max-width: 820px) {
  .nav {
    height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 38px;
  }

  .features,
  .standard-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .hero-buttons,
  .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 38px;
  }
}


/* ---------- Documentation and benefit additions ---------- */

.hero-benefit {
  margin-top: 16px !important;
  padding: 16px 18px;
  border-left: 4px solid var(--blue-2);
  background: rgba(234, 242, 255, .8);
  border-radius: 12px;
  color: #17345f !important;
  font-weight: 750;
}

.btn-ghost {
  background: rgba(255, 255, 255, .72);
  color: var(--blue);
  border-color: var(--line);
}

.docs-hero {
  padding: 64px 0 32px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  padding: 24px 0 72px;
}

.docs-sidebar,
.docs-content {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 36, 71, .07);
}

.docs-sidebar {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 112px;
}

.docs-sidebar a {
  display: block;
  text-decoration: none;
  color: #344054;
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.docs-sidebar a:hover {
  background: #eef5ff;
  color: var(--blue);
}

.docs-content {
  padding: 36px;
}

.docs-content h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.05em;
  color: #050b18;
}

.docs-content h2 {
  margin-top: 38px;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.docs-content p,
.docs-content li {
  color: #46566d;
  line-height: 1.75;
}

.docs-note {
  background: #eef5ff;
  border: 1px solid #d9e9ff;
  border-radius: 14px;
  padding: 18px;
  color: #17345f;
  font-weight: 750;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 12px;
}

.docs-table th,
.docs-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
}

.docs-table th {
  background: #f3f7fd;
  color: var(--blue);
}

.back-link {
  display: inline-flex;
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }
}


/* ---------- Real LabTools logo image ---------- */

.brand-image {
  min-width: 210px;
}

.brand-image img {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.footer .brand-image img {
  filter: none;
  opacity: .96;
}

@media (max-width: 820px) {
  .brand-image {
    min-width: 165px;
  }

  .brand-image img {
    width: 170px;
  }
}


/* ---------- v7 logo fixes ---------- */

.brand-image {
  min-width: 210px;
  color: #081529;
}

.brand-image img {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.footer .brand-image {
  color: #ffffff;
}

.footer .brand-image img {
  filter: none !important;
  opacity: 1 !important;
}

/* footer logo should stay compact and aligned like the original text version */
.footer-brand {
  margin-bottom: 14px;
}

@media (max-width: 820px) {
  .brand-image {
    min-width: 165px;
  }

  .brand-image img {
    width: 170px;
  }
}


/* ---------- v8 layout polish: clean header and footer ---------- */

.topbar {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, .96);
}

.nav {
  min-height: 78px;
  gap: 22px;
}

.brand-image {
  min-width: 210px;
  color: #061a3b;
  flex: 0 0 auto;
}

.brand-image img {
  width: 210px;
  max-height: 58px;
  object-fit: contain;
}

.nav-menu {
  flex: 1;
  justify-content: center;
  gap: 22px;
}

.nav-menu a {
  font-size: 15px;
  white-space: nowrap;
}

.header-actions {
  flex: 0 0 auto;
}

.lang-switch {
  flex: 0 0 auto;
}

.btn-small {
  white-space: nowrap;
}

.footer {
  padding: 46px 0 26px;
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1.55fr .7fr .7fr .9fr;
}

.footer .brand-image {
  color: #ffffff;
  min-width: 210px;
}

.footer .brand-image img {
  width: 210px;
  max-height: 58px;
}

.footer p {
  max-width: 360px;
  margin-top: 16px;
  line-height: 1.65;
}

.footer a {
  line-height: 1.45;
}

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

  .brand-image {
    min-width: 180px;
  }

  .brand-image img {
    width: 180px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: 14px;
  }
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
  }

  .brand-image,
  .footer .brand-image {
    min-width: 170px;
  }

  .brand-image img,
  .footer .brand-image img {
    width: 170px;
  }

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

@media (max-width: 820px) {
  .header-actions {
    width: auto;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
  }

  .nav-menu {
    order: 4;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}


/* ---------- final: use original uploaded PNG logo ---------- */

.brand-image {
  min-width: 220px;
  color: inherit;
}

.brand-image img {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.footer .brand-image img {
  filter: none !important;
  opacity: 1 !important;
}

.footer .brand-image {
  background: transparent;
}

/* На темном подвале используем белую карточку под оригинальный PNG, чтобы не было грязной инверсии */
.footer .brand-image {
  display: inline-flex;
  background: rgba(255,255,255,.96);
  padding: 8px 12px;
  border-radius: 12px;
}

.footer p {
  margin-top: 18px;
}

@media (max-width: 820px) {
  .brand-image {
    min-width: 175px;
  }

  .brand-image img {
    width: 175px;
  }
}


/* ---------- final v2: footer logo fix ---------- */

.footer .brand-image img {
  display: block !important;
  width: 220px;
  height: auto;
  filter: none !important;
  opacity: 1 !important;
}

.footer .brand-image {
  display: inline-flex !important;
  align-items: center;
  background: rgba(255,255,255,.96);
  padding: 8px 12px;
  border-radius: 12px;
  width: auto;
  min-width: 0;
}

.footer .brand-image.footer-brand {
  margin-bottom: 16px;
}


/* Online converter */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 10px;
}

.online-converter {
  padding: 80px 0 30px;
}

.converter-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}

.converter-panel,
.converter-upsell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.converter-panel label {
  display: block;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  margin: 16px 0 8px;
}

.converter-panel select,
.converter-panel input {
  width: 100%;
  border: 1px solid #d0d7e2;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  background: white;
  color: var(--text);
  outline: none;
}

.converter-panel select:focus,
.converter-panel input:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(10, 86, 189, .12);
}

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

.converter-button {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}

.converter-result {
  margin-top: 18px;
  min-height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f3f7ff, #ffffff);
  border: 1px solid #dbe7fb;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  padding: 18px;
}

.converter-result span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.converter-note {
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0 0;
}

.converter-upsell {
  background: linear-gradient(180deg, #09285b, #063b84);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.converter-upsell h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.converter-upsell ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: rgba(255,255,255,.9);
}

.converter-upsell li {
  margin: 10px 0;
}

.btn-outline-dark {
  background: white;
  color: var(--blue);
  border-color: white;
}

@media (max-width: 820px) {
  .converter-shell,
  .converter-row {
    grid-template-columns: 1fr;
  }
}


/* ---------- Final layout fixes ---------- */
.hero {
  padding: 52px 0 30px;
}

.hero-grid {
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr);
  gap: 42px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 5vw, 70px);
}

.hero-visual {
  min-width: 0;
}

.screenshot-card {
  width: 100%;
  border: 0;
  cursor: zoom-in;
  appearance: none;
  text-align: inherit;
  transform: none;
  position: relative;
  padding: 10px;
}

.screenshot-card img {
  width: 100%;
  max-height: none;
}

.screenshot-card:hover {
  transform: translateY(-3px);
}

.zoom-hint {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: rgba(6, 59, 132, .92);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(6, 59, 132, .25);
}

.quick-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.quick-points span {
  white-space: nowrap;
  min-width: 0;
}

.online-converter {
  padding-top: 36px;
}

.section-heading {
  margin-bottom: 16px;
}

.screenshot-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 11, 24, .86);
  backdrop-filter: blur(8px);
}

.screenshot-modal.open {
  display: flex;
}

.screenshot-modal img {
  max-width: min(96vw, 1450px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  background: #fff;
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #081529;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .quick-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .quick-points {
    grid-template-columns: 1fr;
  }

  .zoom-hint {
    position: static;
    display: block;
    margin-top: 10px;
    text-align: center;
  }
}


/* Fixes: keep hero buttons in one row on desktop, allow mobile wrap */
.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.hero-buttons .btn {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero-buttons {
    flex-wrap: wrap;
  }
}


/* Final RU launch fixes */
.hero-buttons {
  flex-wrap: nowrap;
}

.hero-buttons .btn {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .hero-buttons {
    flex-wrap: wrap;
  }
}

.icon {
  color: #0757c6;
  background: linear-gradient(145deg, #eef5ff, #f8fbff);
  border: 1px solid #dbe7fb;
}

.icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-panel .contact-note {
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.contact-link {
  display: inline-block;
  margin-bottom: 10px;
}

.email-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.email-copy span {
  color: white;
  font-weight: 700;
}

.copy-email {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: white;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-email:hover {
  background: rgba(255,255,255,.2);
}

.footer-highlight {
  outline: 3px solid rgba(255,255,255,.35);
  outline-offset: -10px;
}


/* v5: screenshot without thick white frame */
.screenshot-card {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 22px !important;
  overflow: visible !important;
}

.screenshot-card img {
  border-radius: 16px !important;
  box-shadow: 0 26px 70px rgba(10, 44, 92, 0.24) !important;
  display: block;
}

.zoom-hint {
  right: 14px !important;
  bottom: 14px !important;
}



/* SEO landing pages */
.seo-hero { padding: 72px 0 96px; background: linear-gradient(180deg, #eef6ff 0%, #ffffff 52%); }
.seo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.seo-article, .seo-side, .seo-link-card { background: #fff; border: 1px solid rgba(16, 51, 96, .10); box-shadow: 0 18px 45px rgba(10, 44, 92, .08); border-radius: 24px; }
.seo-article { padding: 42px; }
.seo-article h1 { font-size: clamp(34px, 5vw, 60px); line-height: .98; letter-spacing: -.04em; margin: 14px 0 18px; color: #11253d; }
.seo-article h2 { margin-top: 34px; font-size: 26px; color: #11253d; }
.seo-lead { font-size: 20px; line-height: 1.55; color: #50647c; }
.seo-note { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: #f2f7ff; color: #334a65; border: 1px solid rgba(49, 128, 240, .15); }
.seo-side { padding: 24px; position: sticky; top: 100px; }
.seo-side h3 { margin: 8px 0 14px; color: #11253d; }
.seo-side .btn { width: 100%; margin-bottom: 10px; justify-content: center; }
.mini-contact { margin: 18px 0 24px; padding: 16px; border-radius: 18px; background: #f7faff; display: grid; gap: 8px; }
.mini-contact span { color: #657792; font-size: 14px; }
.mini-contact strong { color: #11253d; font-size: 15px; word-break: break-word; }
.related-links { display: grid; gap: 10px; }
.related-links a { padding: 10px 12px; border-radius: 12px; background: #f7faff; color: #1d5fbf; text-decoration: none; font-weight: 700; }
.seo-links-section { padding-top: 34px; }
.seo-card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.seo-link-card { padding: 22px; text-decoration: none; color: #11253d; transition: transform .2s ease, box-shadow .2s ease; }
.seo-link-card:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgba(10, 44, 92, .13); }
.seo-link-card strong { display: block; font-size: 18px; margin-bottom: 8px; }
.seo-link-card span { color: #657792; font-size: 14px; }
@media (max-width: 980px) { .seo-layout { grid-template-columns: 1fr; } .seo-side { position: static; } .seo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .seo-article { padding: 28px; } .seo-card-grid { grid-template-columns: 1fr; } }


/* SEO pages: keep content visible even if animation JS is blocked */
.seo-hero .reveal, .seo-more .reveal { opacity: 1; transform: none; }

/* SEO pages visibility hard fix */
.seo-article, .seo-side, .seo-hero .reveal { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.seo-hero { min-height: auto !important; }


/* SEO cards final hard fix */
.seo-card-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;margin-top:22px!important;}
.seo-link-card{display:block!important;padding:22px!important;text-decoration:none!important;color:#11253d!important;background:#fff!important;border:1px solid rgba(16,51,96,.10)!important;box-shadow:0 18px 45px rgba(10,44,92,.08)!important;border-radius:24px!important;}
.seo-link-card strong{display:block!important;font-size:18px!important;margin-bottom:8px!important;}
.seo-link-card span{display:block!important;color:#657792!important;font-size:14px!important;}
@media(max-width:980px){.seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:620px){.seo-card-grid{grid-template-columns:1fr!important;}}

/* SEO card clean fix */
.seo-links {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.seo-link-card {
  display: block !important;
  min-height: auto !important;
  padding: 18px 18px 16px !important;
  border: 1px solid #dbe6f5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(20, 58, 110, 0.07) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.seo-link-card:hover {
  transform: translateY(-2px) !important;
  border-color: #a9c7f2 !important;
  box-shadow: 0 16px 34px rgba(20, 58, 110, 0.12) !important;
}
.seo-link-card strong {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  color: #08224a !important;
  font-weight: 800 !important;
}
.seo-link-card span {
  display: block !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #516789 !important;
}
@media (max-width: 1050px) {
  .seo-links { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
  .seo-links { grid-template-columns: 1fr !important; }
}
/* /SEO card clean fix */


/* SEO cards vertical centering fix */
.seo-link-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-height: 102px !important;
  box-sizing: border-box !important;
}

.seo-link-card strong,
.seo-link-card span {
  width: 100% !important;
}
/* /SEO cards vertical centering fix */


/* SEO cards spacing fix */
.seo-links {
  margin-top: 22px !important;
  margin-bottom: 34px !important;
  align-items: stretch !important;
}
.seo-link-card {
  min-height: 92px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.seo-link-card strong {
  margin-bottom: 7px !important;
}
.section + .section {
  margin-top: 28px !important;
}
/* /SEO cards spacing fix */


/* SEO card real fix */
.seo-card-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 24px !important;
  margin-bottom: 34px !important;
  align-items: stretch !important;
}
.seo-card-grid .seo-link-card {
  min-height: 98px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  border: 1px solid #dbe6f5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  text-decoration: none !important;
}
.seo-card-grid .seo-link-card strong {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}
.seo-card-grid .seo-link-card span {
  display: block !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.seo-links-section {
  padding-bottom: 0 !important;
}
.seo-links-section + .faq {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 1050px) {
  .seo-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
  .seo-card-grid { grid-template-columns: 1fr !important; }
}
/* /SEO card real fix */


/* ASTM disclaimer */
.astm-disclaimer-card {
  padding: 22px 28px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe6f5 !important;
}
.astm-disclaimer-card p {
  margin: 0 !important;
  color: #516789 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.astm-disclaimer-card h2 {
  margin-top: 0 !important;
}
/* /ASTM disclaimer */


/* Cookie consent */
.cookie-consent{position:fixed;left:20px;right:20px;bottom:20px;z-index:99999;max-width:980px;margin:0 auto;padding:16px 18px;background:#fff;border:1px solid #dbe6f5;border-radius:18px;box-shadow:0 18px 50px rgba(10,44,92,.18);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#243b5a;font-size:14px;line-height:1.45}
.cookie-consent a{color:#1557b0;text-decoration:underline}
.cookie-consent__actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.cookie-reject{border:0;background:transparent;color:#60738f;padding:10px 12px;cursor:pointer;font:inherit}
@media(max-width:720px){.cookie-consent{left:10px;right:10px;bottom:10px;display:block}.cookie-consent__actions{margin-top:12px}}
