@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --rst-bg: #050810;
  --rst-bg-soft: #0c1220;
  --rst-surface: rgba(255, 255, 255, 0.05);
  --rst-surface-strong: rgba(255, 255, 255, 0.09);
  --rst-border: rgba(255, 255, 255, 0.1);
  --rst-text: #f1f5f9;
  --rst-muted: #94a3b8;
  --rst-accent: #f43f5e;
  --rst-accent-2: #e11d48;
  --rst-brand: #818cf8;
  --rst-glow: rgba(244, 63, 94, 0.45);
  --rst-radius: 24px;
  --rst-radius-sm: 14px;
  --rst-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  --rst-max: 1180px;
  --rst-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.rst-modern {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  background: var(--rst-bg);
  color: var(--rst-text);
  -webkit-font-smoothing: antialiased;
}

body.rst-modern .content {
  opacity: 1;
  animation: none;
}

body.rst-modern .content-text {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(244, 63, 94, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(129, 140, 248, 0.2), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(15, 23, 42, 0.95), transparent 60%),
    linear-gradient(165deg, #050810 0%, #0a0f1c 50%, #060a12 100%);
  margin-top: var(--rst-header-h, 72px);
  min-height: calc(100vh - var(--rst-header-h, 72px));
  position: relative;
  overflow-x: hidden;
}

body.rst-modern .content-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  pointer-events: none;
}

body.rst-modern .container-zero {
  height: var(--rst-header-h, 72px);
  max-height: var(--rst-header-h, 72px);
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rst-border);
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
}

body.rst-modern .header {
  height: 0;
  margin: 0 !important;
  overflow: visible;
  pointer-events: none;
  position: relative;
  z-index: 11000;
}

body.rst-modern .container-zero,
body.rst-modern .heder-menu.active {
  pointer-events: auto;
}

body.rst-modern .container {
  max-width: var(--rst-max);
  padding: 0 24px;
  margin-top: 0;
}

body.rst-modern .heder-logo {
  display: block;
  color: var(--rst-text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

body.rst-modern .heder-boby img {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

body.rst-modern .heder-menu > ul {
  gap: 0.25rem;
  padding-right: 0;
  flex-wrap: nowrap;
}

body.rst-modern .heder-menu li {
  margin-right: 0;
}

body.rst-modern .heder-link {
  color: var(--rst-muted);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body.rst-modern .heder-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

body.rst-modern .content-zero,
body.rst-modern .webdevelopment-heder-box,
body.rst-modern .service-zero,
body.rst-modern .advantage-zero {
  max-width: var(--rst-max);
  position: relative;
  z-index: 1;
}

body.rst-modern .webdevelopment-heder-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 24px 3rem;
  color: var(--rst-text);
}

body.rst-modern .webdevelopment-heder-box-left-header {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
  font-weight: 800;
}

body.rst-modern .webdevelopment-heder-box-left--text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--rst-muted);
  opacity: 1;
}

body.rst-modern .heder-box-right {
  margin: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  padding: 1.75rem;
  box-shadow: var(--rst-shadow);
  backdrop-filter: blur(12px);
}

body.rst-modern .modalcall {
  color: #fff;
  margin-bottom: 1.25rem;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
}

body.rst-modern .contactform input,
body.rst-modern .contactform textarea,
body.rst-modern .contact-form input,
body.rst-modern .contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rst-border) !important;
  border-radius: var(--rst-radius-sm);
  padding: 0.9rem 1rem !important;
  color: #fff !important;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.rst-modern .contactform input::placeholder,
body.rst-modern .contactform textarea::placeholder,
body.rst-modern .contact-form input::placeholder,
body.rst-modern .contact-form textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

body.rst-modern .contactform input:focus,
body.rst-modern .contactform textarea:focus,
body.rst-modern .contact-form input:focus,
body.rst-modern .contact-form textarea:focus {
  outline: none;
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

body.rst-modern .contactform button[type="submit"],
body.rst-modern .contact-form button[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
  border: none !important;
  border-radius: 999px;
  padding: 0.95rem 1.25rem !important;
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2)) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.rst-modern .contactform button[type="submit"]:hover,
body.rst-modern .contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, #f87171, var(--rst-accent-2)) !important;
  color: #fff !important;
}

body.rst-modern .service-zero {
  padding: 5rem 24px;
  background: #f8fafc;
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
}

body.rst-modern .service {
  color: #0f172a;
}

body.rst-modern .service-text-heder,
body.rst-modern .advantage-text-heder {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  padding: 0;
  text-align: center;
}

body.rst-modern .service-text,
body.rst-modern .brief-text p,
body.rst-modern .brief-text-small p {
  color: #475569;
  opacity: 1;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

body.rst-modern .service-card-contener {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  height: auto;
}

body.rst-modern .service-card {
  width: auto;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--rst-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

body.rst-modern .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

body.rst-modern .service-card-text {
  height: auto;
  padding: 1.5rem 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

body.rst-modern .service-card img {
  width: calc(100% - 2rem);
  margin: 0 auto;
  border-radius: var(--rst-radius-sm);
  object-fit: cover;
}

body.rst-modern .service-card-text-two {
  flex: 1;
  color: #64748b;
  line-height: 1.65;
  font-size: 0.98rem;
}

body.rst-modern .service-card-footer {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  height: auto;
}

body.rst-modern .service-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--rst-accent);
  font-weight: 600;
}

body.rst-modern .service-card-footer a::after {
  content: "→";
  transition: transform 0.2s ease;
}

body.rst-modern .service-card:hover .service-card-footer a::after {
  transform: translateX(4px);
}

body.rst-modern .advantage {
  margin-top: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.15), transparent 40%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  padding: 5rem 24px;
}

body.rst-modern .advantage-text-heder {
  color: #fff;
  text-align: center;
  padding: 0;
}

body.rst-modern .advantage-box-left {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
}

body.rst-modern .advantage-box-left-flex {
  margin: 0;
}

body.rst-modern .advantage-box-left-card {
  flex-direction: column;
  background: var(--rst-surface);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  padding: 1.5rem;
  height: 100%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.rst-modern .advantage-box-left-card:hover {
  background: var(--rst-surface-strong);
  border-color: rgba(239, 68, 68, 0.35);
}

body.rst-modern .advantage-box-left-card img {
  width: 56px;
  height: 56px;
  margin: 0 0 1rem;
}

body.rst-modern .advantage-box-left-card-text,
body.rst-modern .advantage-box-left-card-text h4 {
  width: auto;
}

body.rst-modern .advantage-box-left-card-text h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

body.rst-modern .advantage-box-left-card-text p {
  color: var(--rst-muted);
  opacity: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

body.rst-modern .service-zero:last-of-type {
  background: #fff;
  padding-bottom: 5rem;
}

body.rst-modern .brief-text,
body.rst-modern .brief-text-small {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.rst-modern .contact-form-div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--rst-radius);
  box-shadow: var(--rst-shadow);
  padding: 2rem;
}

body.rst-modern .contact-form-div input,
body.rst-modern .contact-form-div textarea {
  color: #0f172a !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.rst-modern .contact-form-div input::placeholder,
body.rst-modern .contact-form-div textarea::placeholder {
  color: #94a3b8 !important;
}

body.rst-modern .contact-form-div input:focus,
body.rst-modern .contact-form-div textarea:focus {
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

body.rst-modern .contact-form-div button[type="submit"] {
  color: #fff !important;
}

body.rst-modern .contact-form .checkbox label {
  color: #334155;
  font-size: 0.92rem;
}

body.rst-modern .contact-form .checkbox a {
  color: var(--rst-accent);
}

body.rst-modern .footer {
  margin-top: 0;
  background: #070b12;
  border-top: 1px solid var(--rst-border);
}

body.rst-modern .footer-flex,
body.rst-modern .footer-zero {
  max-width: var(--rst-max);
}

body.rst-modern .footer-left {
  padding-top: 3rem;
  padding-right: 0;
  gap: 2rem;
}

body.rst-modern .footer-left-zero,
body.rst-modern .footer-centor,
body.rst-modern .footer-right {
  width: auto;
  flex: 1;
  min-width: 180px;
}

body.rst-modern .footer-left-logo a {
  font-size: 1.25rem;
  font-weight: 800;
  padding-bottom: 1rem;
}

body.rst-modern .footer-left-h3,
body.rst-modern .footer-left-h3-p {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

body.rst-modern .footer-left-h3 ul li a {
  color: #e2e8f0;
  line-height: 1.9;
}

body.rst-modern .footer-soc-net a svg path {
  fill: #cbd5e1;
}

body.rst-modern .footer-footer {
  border-top: 1px solid var(--rst-border);
  margin-top: 2rem;
  padding: 1.5rem 24px 2rem;
  opacity: 1;
}

body.rst-modern .cookie-modal {
  width: min(420px, calc(100% - 2rem));
  left: 1rem;
  bottom: 1rem;
  right: auto;
  border-radius: var(--rst-radius);
  background: transparent;
}

body.rst-modern .cookie-modal-content {
  margin: 0;
  width: 100%;
  border-radius: var(--rst-radius);
  border: 1px solid var(--rst-border);
  background: rgba(15, 23, 42, 0.96);
  color: #e2e8f0;
  box-shadow: var(--rst-shadow);
}

body.rst-modern .cookie-modal h2,
body.rst-modern .cookie-modal p {
  color: #e2e8f0;
}

body.rst-modern .cookie-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2));
}

body.rst-modern .rst-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.rst-modern .rst-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.rst-modern .container-zero.rst-scrolled {
  background: rgba(7, 11, 18, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

body.rst-modern .heder-burger::before,
body.rst-modern .heder-burger::after,
body.rst-modern .heder-burger span {
  background-color: #fff;
}

body.rst-modern .heder-menu.active {
  background: rgba(7, 11, 18, 0.98);
}

body.rst-modern .heder-menu.active .heder-link {
  color: #e2e8f0;
}

body.rst-modern .heder-menu.active .heder-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  body.rst-modern .webdevelopment-heder-box {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  body.rst-modern .heder-burger {
    display: flex;
  }

  body.rst-modern .heder-menu {
    background: rgba(7, 11, 18, 0.98);
    border-left: 1px solid var(--rst-border);
  }

  body.rst-modern .heder-menu.active ul {
    margin-top: 6rem;
  }

  body.rst-modern .heder-link {
    color: #e2e8f0;
  }

  body.rst-modern .footer-left {
    flex-direction: column;
    padding-left: 24px;
    padding-right: 24px;
  }

  body.rst-modern .footer-footer {
    flex-direction: column;
    gap: 1rem;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  body.rst-modern .container {
    padding: 0 16px;
  }

  body.rst-modern .service-zero,
  body.rst-modern .advantage {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── AI Product Landing ── */

body.rst-modern .rst-hero {
  padding: 3rem 24px 4rem;
  max-width: var(--rst-max);
  margin: 0 auto;
}

body.rst-modern .rst-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

body.rst-modern .rst-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

body.rst-modern .rst-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.25rem;
}

body.rst-modern .rst-hero-text {
  color: #cbd5e1 !important;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 1.75rem;
  max-width: 540px;
}

body.rst-modern .rst-stat span {
  color: #94a3b8 !important;
}

body.rst-modern .rst-stat strong {
  color: #fff !important;
}

body.rst-modern .rst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

body.rst-modern .rst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.rst-modern .rst-btn-primary {
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2));
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

body.rst-modern .rst-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(239, 68, 68, 0.4);
}

body.rst-modern .rst-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rst-border);
  color: #fff !important;
}

body.rst-modern .rst-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.rst-modern .rst-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

body.rst-modern .rst-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.rst-modern .rst-stat strong {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
}

body.rst-modern .rst-stat span {
  font-size: 0.82rem;
  color: var(--rst-muted);
}

body.rst-modern .rst-chat-preview {
  display: flex;
  justify-content: center;
}

body.rst-modern .rst-chat-window {
  width: 100%;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  overflow: hidden;
  box-shadow: var(--rst-shadow);
}

body.rst-modern .rst-chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--rst-border);
  font-size: 0.88rem;
  font-weight: 600;
}

body.rst-modern .rst-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

body.rst-modern .rst-chat-status {
  margin-left: auto;
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 500;
}

body.rst-modern .rst-chat-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 200px;
}

body.rst-modern .rst-msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

body.rst-modern .rst-msg-bot {
  align-self: flex-start;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #e0e7ff;
}

body.rst-modern .rst-msg-user {
  align-self: flex-end;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

body.rst-modern .rst-chat-input {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--rst-border);
  color: #64748b;
  font-size: 0.82rem;
}

body.rst-modern .rst-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

body.rst-modern .rst-product-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--rst-radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.rst-modern .rst-product-card-featured {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.12);
}

body.rst-modern .rst-product-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rst-accent);
  background: rgba(239, 68, 68, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

body.rst-modern .rst-product-icon {
  font-size: 2rem;
  line-height: 1;
}

body.rst-modern .rst-product-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

body.rst-modern .rst-product-card p {
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

body.rst-modern .rst-product-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}

body.rst-modern .rst-product-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.9;
}

body.rst-modern .rst-product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rst-accent);
  font-weight: 700;
}

body.rst-modern .rst-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

body.rst-modern .rst-feature-card {
  background: var(--rst-surface);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-sm);
  padding: 1.5rem;
}

body.rst-modern .rst-feature-card h4 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

body.rst-modern .rst-feature-card p {
  color: var(--rst-muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.94rem;
}

body.rst-modern .rst-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

body.rst-modern .rst-usecase {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--rst-radius-sm);
  padding: 1.5rem;
}

body.rst-modern .rst-usecase span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--rst-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

body.rst-modern .rst-usecase h4 {
  color: #0f172a;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

body.rst-modern .rst-usecase p {
  color: #64748b;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

body.rst-modern .rst-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

body.rst-modern .rst-step {
  text-align: center;
  padding: 1.5rem;
}

body.rst-modern .rst-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.rst-modern .rst-step h4 {
  color: #fff;
  margin: 0 0 0.5rem;
}

body.rst-modern .rst-step p {
  color: var(--rst-muted);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

body.rst-modern .rst-cta .contact-form-div {
  max-width: 560px;
  margin: 2rem auto 0;
}

body.rst-modern .rst-assistant-demo {
  display: flex;
  justify-content: center;
}

body.rst-modern .rst-demo-panel {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  padding: 1.5rem;
  box-shadow: var(--rst-shadow);
}

body.rst-modern .rst-demo-row {
  margin-bottom: 1rem;
}

body.rst-modern .rst-demo-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rst-muted);
  margin-bottom: 0.35rem;
}

body.rst-modern .rst-demo-row p {
  margin: 0;
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 0.95rem;
}

body.rst-modern .rst-demo-answer {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--rst-radius-sm);
  padding: 1rem;
}

body.rst-modern .rst-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.rst-modern .rst-demo-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rst-border);
  color: #cbd5e1;
}

body.rst-modern .rst-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

body.rst-modern .rst-cap-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--rst-radius-sm);
  padding: 1.5rem;
}

body.rst-modern .rst-cap-card h3 {
  color: #0f172a;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

body.rst-modern .rst-cap-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
}

body.rst-modern .rst-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

body.rst-modern .rst-compare-col {
  background: var(--rst-surface);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  padding: 1.75rem;
}

body.rst-modern .rst-compare-col-highlight {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

body.rst-modern .rst-compare-col h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

body.rst-modern .rst-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

body.rst-modern .rst-compare-col li {
  color: var(--rst-muted);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  line-height: 1.5;
}

body.rst-modern .rst-compare-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rst-accent);
}

body.rst-modern .rst-compare-note {
  text-align: center;
  color: var(--rst-muted);
  max-width: 560px;
  margin: 2rem auto 0;
  line-height: 1.65;
}

body.rst-modern .rst-product-addon {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rst-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
}

@media (max-width: 900px) {
  body.rst-modern .rst-hero-inner {
    grid-template-columns: 1fr;
  }

  body.rst-modern .rst-chat-preview,
  body.rst-modern .rst-assistant-demo {
    order: -1;
  }
}

/* ── 2026: progress, aurora, bento, FAQ, sticky ── */

body.rst-modern .rst-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--rst-accent), var(--rst-brand));
  box-shadow: 0 0 12px var(--rst-glow);
  transition: width 0.08s linear;
}

body.rst-modern .rst-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 420px;
  background:
    radial-gradient(circle at 30% 40%, rgba(244, 63, 94, 0.25), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(129, 140, 248, 0.22), transparent 40%);
  filter: blur(60px);
  pointer-events: none;
  animation: rst-aurora 12s ease-in-out infinite alternate;
}

@keyframes rst-aurora {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(3%, 2%) scale(1.05); opacity: 1; }
}

body.rst-modern .rst-glass {
  background: rgba(12, 18, 32, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.rst-modern .rst-nav-cta-wrap {
  list-style: none;
  margin-left: 0.5rem;
}

body.rst-modern .rst-nav-cta {
  display: inline-flex;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--rst-glow);
  transition: transform 0.25s var(--rst-ease), box-shadow 0.25s var(--rst-ease);
}

body.rst-modern .rst-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--rst-glow);
}

body.rst-modern .rst-trust-bar {
  max-width: var(--rst-max);
  margin: 0 auto 2rem;
  padding: 0 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

body.rst-modern .rst-trust-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: rst-marquee 28s linear infinite;
}

body.rst-modern .rst-trust-track span {
  color: var(--rst-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.65;
}

@keyframes rst-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body.rst-modern .rst-section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rst-accent);
  margin: 0 0 0.5rem;
}

body.rst-modern .rst-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

body.rst-modern .rst-bento-item {
  background: var(--rst-surface);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius);
  padding: 1.5rem;
  transition: transform 0.35s var(--rst-ease), border-color 0.35s, background 0.35s;
}

body.rst-modern .rst-bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.35);
  background: var(--rst-surface-strong);
}

body.rst-modern .rst-bento-wide {
  grid-column: span 2;
}

body.rst-modern .rst-bento-tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.rst-modern .rst-bento-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

body.rst-modern .rst-bento-item h4 {
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

body.rst-modern .rst-bento-item p {
  color: var(--rst-muted);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

body.rst-modern .rst-msg-animate {
  opacity: 0;
  transform: translateY(8px);
}

body.rst-modern .rst-msg-animate.is-shown {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--rst-ease), transform 0.4s var(--rst-ease);
}

body.rst-modern .rst-chat-typing {
  display: none;
  gap: 4px;
  padding: 0 1rem 0.75rem;
  align-items: center;
}

body.rst-modern .rst-chat-typing.is-active {
  display: flex;
}

body.rst-modern .rst-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rst-muted);
  animation: rst-typing 1.2s ease-in-out infinite;
}

body.rst-modern .rst-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
body.rst-modern .rst-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes rst-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

body.rst-modern .rst-faq-list {
  max-width: 680px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.rst-modern .rst-faq-item {
  background: var(--rst-surface);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-sm);
  overflow: hidden;
  transition: border-color 0.25s;
}

body.rst-modern .rst-faq-item[open] {
  border-color: rgba(244, 63, 94, 0.35);
}

body.rst-modern .rst-faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.rst-modern .rst-faq-item summary::-webkit-details-marker { display: none; }

body.rst-modern .rst-faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--rst-accent);
  transition: transform 0.25s var(--rst-ease);
}

body.rst-modern .rst-faq-item[open] summary::after {
  transform: rotate(45deg);
}

body.rst-modern .rst-faq-item p {
  padding: 0 1.25rem 1.1rem;
  margin: 0;
  color: var(--rst-muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

body.rst-modern .rst-form-modern .rst-field {
  position: relative;
  margin-bottom: 1.25rem;
}

body.rst-modern .rst-form-modern .rst-field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.2s var(--rst-ease);
}

body.rst-modern .rst-form-modern .rst-field textarea + label {
  top: 1.1rem;
  transform: none;
}

body.rst-modern .rst-form-modern .rst-field input:focus + label,
body.rst-modern .rst-form-modern .rst-field input:not(:placeholder-shown) + label,
body.rst-modern .rst-form-modern .rst-field textarea:focus + label,
body.rst-modern .rst-form-modern .rst-field textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
  transform: none;
  font-size: 0.72rem;
  color: var(--rst-accent);
  font-weight: 600;
}

body.rst-modern .rst-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--rst-border);
}

body.rst-modern .rst-sticky-cta .rst-btn {
  width: 100%;
}

@media (max-width: 768px) {
  body.rst-modern .rst-sticky-cta { display: block; }
  body.rst-modern .rst-nav-cta-wrap { display: none; }
  body.rst-modern .rst-bento {
    grid-template-columns: 1fr;
  }
  body.rst-modern .rst-bento-wide,
  body.rst-modern .rst-bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  body.rst-modern .footer { padding-bottom: 5rem; }
}

body.rst-modern .rst-page-hero .rst-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

body.rst-modern .rst-hero-chat-col {
  margin: 0 !important;
  padding: 1.25rem !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.rst-modern .rst-hero-chat-col .rst-chat-window {
  width: 100%;
  max-width: none;
}

body.rst-modern .rst-page-hero .rst-hero-actions {
  margin: 1.25rem 0 1.75rem;
}

body.rst-modern .rst-page-hero .rst-hero-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
}

body.rst-modern .content-zero .rst-trust-bar {
  margin: 0 auto 2rem;
  padding: 0 24px 1rem;
}

/* Hero above fold — always visible, no hidden reveal */
body.rst-modern .rst-page-hero,
body.rst-modern .rst-page-hero .webdevelopment-heder-box-left,
body.rst-modern .rst-page-hero .heder-box-right,
body.rst-modern .rst-page-hero .rst-chat-window,
body.rst-modern .rst-page-hero .rst-hero-actions,
body.rst-modern .rst-page-hero .rst-hero-stats,
body.rst-modern .rst-page-hero .rst-stat {
  opacity: 1 !important;
  transform: none !important;
}


body.rst-modern .webdevelopment-heder-box-left-header,
body.rst-modern .webdevelopment-heder-box-left--text,
body.rst-modern .job-web-text-heder-mobile,
body.rst-modern .hero-content h1,
body.rst-modern .feature-description h2,
body.rst-modern .feature-item-tex h3,
body.rst-modern .advantage-text-heder,
body.rst-modern .service-text-heder {
  color: #fff !important;
  opacity: 1 !important;
}

body.rst-modern .webdevelopment-heder-box-left--text,
body.rst-modern .service-text,
body.rst-modern .hero-content p,
body.rst-modern .feature-item-tex p,
body.rst-modern .job-web-mobile .service-text,
body.rst-modern .brief-text p,
body.rst-modern .brief-text-small p {
  color: #94a3b8 !important;
  opacity: 1 !important;
  line-height: 1.7 !important;
}

body.rst-modern .webdevelopment-heder-box {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 3rem !important;
  align-items: center !important;
  padding: 3.5rem 24px 2.5rem !important;
  max-width: var(--rst-max) !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 1;
}

body.rst-modern .webdevelopment-heder-box-left-header {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}

body.rst-modern .content-zero {
  position: relative;
  z-index: 1;
}

body.rst-modern .heder-box-right,
body.rst-modern .rst-hero-chat-col,
body.rst-modern .rst-chat-preview,
body.rst-modern .rst-chat-window {
  position: relative;
  z-index: 1;
}

body.rst-modern .content-zero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(244, 63, 94, 0.2), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.18), transparent 40%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* Inner page sections — dark glass instead of plain white blocks */
body.rst-modern .job-web-zero,
body.rst-modern .service-zero,
body.rst-modern .landing-advantage-zero,
body.rst-modern .chatbot-features,
body.rst-modern .advantage-zero {
  max-width: var(--rst-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

body.rst-modern .job-web-zero {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid var(--rst-border);
  border-bottom: 1px solid var(--rst-border);
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  margin-top: 0 !important;
  border-radius: 32px 32px 0 0;
}

body.rst-modern .service-zero {
  background: rgba(248, 250, 252, 0.97) !important;
  border-radius: 32px 32px 0 0;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

body.rst-modern .service-zero .service-text-heder,
body.rst-modern .service-zero .job-web-text-heder-mobile {
  color: #0f172a !important;
}

body.rst-modern .service-zero .service-text {
  color: #64748b !important;
}

body.rst-modern .advantage,
body.rst-modern .rst-features.advantage {
  background:
    radial-gradient(circle at 10% 20%, rgba(244, 63, 94, 0.12), transparent 40%),
    linear-gradient(180deg, #0a0f1a 0%, #0f172a 100%) !important;
  padding: 4rem 24px !important;
  margin-top: 0 !important;
}

/* Service / pricing cards */
body.rst-modern .webdevelopment-service-card-zero {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 2rem !important;
}

body.rst-modern .webdevelopment-service-card {
  background: var(--rst-surface) !important;
  border: 1px solid var(--rst-border) !important;
  border-radius: var(--rst-radius) !important;
  padding: 1.75rem !important;
  box-shadow: var(--rst-shadow) !important;
  transition: transform 0.3s var(--rst-ease), border-color 0.3s !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
}

body.rst-modern .webdevelopment-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 63, 94, 0.35) !important;
}

body.rst-modern .webdevelopment-service-card h3 {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
}

body.rst-modern .webdevelopment-service-card h4,
body.rst-modern .webdevelopment-service-card h5 {
  color: var(--rst-muted) !important;
  font-weight: 400 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

body.rst-modern .webdevelopment-service-card-linc a {
  color: var(--rst-accent) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.rst-modern .webdevelopment-service-price-container img {
  filter: brightness(1.1);
  opacity: 0.85;
}

/* Chat page legacy sections */
body.rst-modern section.hero {
  display: none !important;
}

body.rst-modern .chatbot-features {
  background: rgba(248, 250, 252, 0.97) !important;
  padding: 4rem 24px !important;
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
}

body.rst-modern .feature-item {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--rst-radius-sm) !important;
  padding: 1.25rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

body.rst-modern .feature-item-content {
  display: flex !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
}

body.rst-modern .feature-item-tex h3 {
  color: #0f172a !important;
  font-size: 1.05rem !important;
}

body.rst-modern .feature-item-tex p {
  color: #64748b !important;
}

body.rst-modern .feature-description h2 {
  color: #0f172a !important;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: 2rem !important;
}

body.rst-modern .cta-button {
  display: inline-flex !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--rst-accent), var(--rst-accent-2)) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* Cookie banner — compact, bottom-right */
body.rst-modern .cookie-modal {
  width: min(340px, calc(100vw - 2rem)) !important;
  left: auto !important;
  right: 1rem !important;
  bottom: 1rem !important;
  top: auto !important;
  z-index: 800 !important;
}

body.rst-modern .cookie-modal-content {
  padding: 1.25rem !important;
}

body.rst-modern .cookie-modal h2 {
  font-size: 0.95rem !important;
  margin-bottom: 0.5rem !important;
}

body.rst-modern .cookie-modal p {
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
}

body.rst-modern .cookie-btn {
  padding: 0.6rem 1.2rem !important;
  font-size: 0.85rem !important;
}

/* Forms sitewide */
body.rst-modern .contactform button[type="submit"],
body.rst-modern .contact-form button[type="submit"] {
  text-transform: none !important;
  font-weight: 700 !important;
}

/* Footer & misc */
body.rst-modern .footer {
  background: #050810 !important;
  border-top: 1px solid var(--rst-border) !important;
}

body.rst-modern .heder-link.active,
body.rst-modern .heder-menu-home .heder-link[href="/"],
body.rst-modern a.heder-link[href="webdevelopment.html"] {
  /* current page hint via JS optional */
}

body.rst-modern .wrapper {
  overflow-x: hidden;
}

body.rst-modern .content-text > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body.rst-modern .webdevelopment-heder-box {
    grid-template-columns: 1fr !important;
    padding-top: 2rem !important;
  }

  body.rst-modern .heder-box-right {
    order: -1;
  }
}

/* Language switcher — custom dropdown (readable on dark theme) */
body.rst-modern .rst-lang-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.35rem;
  list-style: none;
  position: relative;
  z-index: 11005;
}

body.rst-modern .rst-lang-wrap {
  position: relative;
  width: 100%;
}

body.rst-modern .rst-lang-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f1f5f9;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.4rem;
  line-height: 1.2;
  min-width: 7.5rem;
  padding: 0.45rem 0.85rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

body.rst-modern .rst-lang-trigger:hover,
body.rst-modern .rst-lang-wrap.is-open .rst-lang-trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

body.rst-modern .rst-lang-icon {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.9;
}

body.rst-modern .rst-lang-current {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

body.rst-modern .rst-lang-chevron {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  height: 0;
  opacity: 0.7;
  width: 0;
}

body.rst-modern .rst-lang-wrap.is-open .rst-lang-chevron {
  transform: rotate(180deg);
}

body.rst-modern .heder-menu .rst-lang-menu {
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  clip-path: inset(0 round 14px);
  contain: layout paint;
  display: none !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  height: auto;
  list-style: none;
  margin: 0;
  max-height: min(320px, calc(100vh - 96px));
  max-width: min(16rem, 92vw);
  min-width: 12.5rem;
  overflow: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 0.4rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  width: 12.5rem;
  z-index: 11010;
}

body.rst-modern .rst-lang-menu.rst-lang-menu--fixed,
body.rst-modern .heder-menu .rst-lang-menu.rst-lang-menu--fixed {
  position: fixed !important;
  right: auto;
  top: auto;
  width: 12.5rem;
  z-index: 11020;
}

body.rst-modern .rst-lang-wrap.is-open .rst-lang-menu {
  display: block !important;
}

body.rst-modern .rst-lang-wrap:not(.is-open) .rst-lang-menu {
  pointer-events: none !important;
  visibility: hidden !important;
}

body.rst-modern .heder-menu .rst-lang-menu > li {
  display: block !important;
  flex: none !important;
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
}

body.rst-modern .rst-lang-item {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #e8edf5;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.6rem 0.75rem;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}

body.rst-modern .rst-lang-item:hover {
  background: rgba(99, 102, 241, 0.22);
  color: #fff;
}

body.rst-modern .rst-lang-item.is-active {
  background: rgba(99, 102, 241, 0.32);
  color: #fff;
  font-weight: 700;
}

html[dir="rtl"] body.rst-modern .rst-lang-trigger {
  flex-direction: row-reverse;
}

html[dir="rtl"] body.rst-modern .rst-lang-current {
  text-align: right;
}

html[dir="rtl"] body.rst-modern .heder-menu .rst-lang-menu {
  left: 0;
  right: auto;
}

html[dir="rtl"] body.rst-modern .rst-lang-item {
  text-align: right;
}

@media (max-width: 1200px) and (min-width: 901px) {
  body.rst-modern .rst-lang-trigger {
    font-size: 0.78rem;
    min-width: 6.25rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 900px) {
  body.rst-modern .heder-menu {
    align-items: stretch;
    flex-direction: column;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    width: 100%;
    z-index: 11001;
  }

  body.rst-modern .heder-menu:not(.active) {
    pointer-events: none;
  }

  body.rst-modern .heder-menu.active > ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
    margin: 6rem auto 2rem;
    padding: 0 24px;
    width: 100%;
  }

  body.rst-modern .rst-lang-nav {
    border-top: 1px solid var(--rst-border);
    margin: 0.75rem 0 0;
    order: 20;
    padding-top: 0.75rem;
    width: 100%;
  }

  body.rst-modern .rst-lang-trigger {
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    width: 100%;
  }

  body.rst-modern .heder-menu .rst-lang-menu {
    border-radius: 12px;
    box-shadow: none;
    margin-top: 0.45rem;
    max-height: min(240px, 42vh);
    overflow-y: auto;
    position: static;
    width: 100%;
  }

  body.rst-modern .rst-lang-item {
    font-size: 1rem;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
  }
}

@media (max-width: 520px) {
  body.rst-modern .rst-lang-trigger {
    font-size: 0.8rem;
    gap: 0.35rem;
    min-width: 0;
    padding-inline: 0.75rem;
  }

  body.rst-modern .rst-lang-current {
    flex: 0 0 auto;
  }
}
