:root {
  --blue: #0b2b5c;
  --blue-soft: #eaf4ff;
  --teal: #00a88e;
  --orange: #ffae16;
  --orange-dark: #f29300;
  --purple: #7556c8;
  --green: #32b67a;
  --red: #f06b4f;
  --text: #11284a;
  --muted: #5f6f89;
  --bg: #f7fbff;
  --card: #ffffff;
  --border: #dfeaf7;
  --shadow: 0 18px 45px rgba(15, 45, 90, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, #fff7dc 0, transparent 28%),
    radial-gradient(circle at 90% 8%, #e6f5ff 0, transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 234, 247, 0.8);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 650;
}

.menu a {
  color: var(--blue);
  opacity: 0.9;
}

.menu a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.login-link:hover {
  color: var(--teal);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  margin: 5px 0;
  border-radius: 4px;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  font-size: 15px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 20px rgba(255, 174, 22, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 174, 22, 0.36);
}

.btn-outline {
  background: #ffffff;
  color: var(--blue);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: #b6d7f6;
  transform: translateY(-2px);
}

.hero {
  padding: 58px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef9f6;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 14px;
}

h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--blue);
  letter-spacing: -1.8px;
}

.lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: #2f405c;
  margin: 0 0 34px;
  font-weight: 550;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 55% 24%, #fff3cc 0, transparent 34%),
    linear-gradient(135deg, #f4fbff, #fffaf0);
  border: 1px solid rgba(223, 234, 247, 0.9);
  box-shadow: var(--shadow);
}

.vilnius-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  opacity: 0.16;
  background:
    linear-gradient(to top, #0b2b5c 0 2px, transparent 2px),
    linear-gradient(135deg, transparent 0 55%, #0b2b5c 56% 58%, transparent 59%),
    linear-gradient(45deg, transparent 0 55%, #0b2b5c 56% 58%, transparent 59%);
}

.tower {
  position: absolute;
  bottom: 80px;
  width: 34px;
  height: 190px;
  background: rgba(11, 43, 92, 0.55);
  border-radius: 16px 16px 0 0;
}

.tower::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 42px;
  border-radius: 50% 50% 6px 6px;
  background: rgba(11, 43, 92, 0.55);
}

.tower::after {
  content: "";
  position: absolute;
  top: -72px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 42px;
  background: rgba(11, 43, 92, 0.55);
}

.tower-one {
  left: 12%;
  height: 150px;
}

.tower-two {
  right: 9%;
  height: 220px;
}

.tower-three {
  left: 72%;
  height: 130px;
}

.balloon {
  position: absolute;
  width: 34px;
  height: 44px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(93, 167, 220, 0.18);
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42px;
  width: 1px;
  height: 38px;
  background: rgba(93, 167, 220, 0.22);
}

.balloon-one {
  top: 60px;
  left: 14%;
}

.balloon-two {
  top: 78px;
  right: 14%;
}

.main-bubble {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 70%);
  height: 150px;
  border: 5px solid var(--orange);
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
  box-shadow: 0 12px 30px rgba(255, 174, 22, 0.12);
  z-index: 6;
}

.main-bubble::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 40%;
  width: 42px;
  height: 34px;
  background: #ffffff;
  border-right: 5px solid var(--orange);
  border-bottom: 5px solid var(--orange);
  transform: skewX(-25deg) rotate(18deg);
  border-bottom-right-radius: 8px;
}

.person {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe1bd, #ffc78a);
  border: 5px solid #ffffff;
  box-shadow: 0 14px 30px rgba(11, 43, 92, 0.14);
  display: grid;
  place-items: center;
  font-size: calc(var(--size) * 0.42);
  position: relative;
}

.body {
  width: calc(var(--size) * 0.86);
  height: calc(var(--size) * 0.88);
  margin-top: -8px;
  border-radius: 38% 38% 14px 14px;
  background: var(--shirt);
  box-shadow: 0 12px 24px rgba(11, 43, 92, 0.12);
}

.person.main-left {
  --size: 150px;
  --shirt: #23a779;
  left: 26%;
  bottom: 42px;
}

.person.main-right {
  --size: 150px;
  --shirt: #ffcf3d;
  right: 21%;
  bottom: 42px;
}

.person.small {
  --size: 76px;
  --shirt: #78c7d6;
  opacity: 0.72;
  filter: saturate(0.8);
}

.small.s1 {
  left: 9%;
  bottom: 88px;
}

.small.s2 {
  right: 6%;
  bottom: 112px;
}

.small.s3 {
  left: 44%;
  bottom: 98px;
}

.small.s4 {
  right: 35%;
  bottom: 98px;
}

.speech {
  position: absolute;
  z-index: 8;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(11, 43, 92, 0.11);
}

.speech::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 25px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  transform: rotate(45deg);
}

.speech-vit {
  top: 148px;
  left: 48px;
  color: var(--green);
  border: 3px solid rgba(50, 182, 122, 0.35);
}

.speech-pry {
  bottom: 205px;
  left: 24px;
  color: var(--purple);
  font-size: 18px;
  border: 3px solid rgba(117, 86, 200, 0.3);
}

.speech-hello {
  top: 140px;
  right: 42px;
  color: #2382d8;
  border: 3px solid rgba(35, 130, 216, 0.3);
}

.speech-privet {
  bottom: 188px;
  right: 12px;
  color: var(--red);
  font-size: 20px;
  border: 3px solid rgba(240, 107, 79, 0.3);
}

.section {
  padding: 38px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 3vw, 42px);
  color: var(--blue);
  margin: 0 0 28px;
  letter-spacing: -0.7px;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: -14px auto 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 234, 247, 0.92);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 32px;
}

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

.audience-card {
  min-height: 230px;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card-green {
  background: linear-gradient(135deg, #eefaf3, #ffffff);
}

.card-blue {
  background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.card-purple {
  background: linear-gradient(135deg, #f8f0ff, #ffffff);
}

.card-orange {
  background: linear-gradient(135deg, #fff6db, #ffffff);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 24px;
  margin-bottom: 18px;
}

.audience-card h3,
.format-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 18px;
}

.audience-card p,
.format-card p,
.benefit p,
.listen-card p {
  margin: 0;
  color: #40506b;
  line-height: 1.48;
  font-size: 15px;
  font-weight: 540;
}

.mini-person {
  position: absolute;
  right: 18px;
  bottom: 0;
  font-size: 74px;
  opacity: 0.9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  min-height: 165px;
  position: relative;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 12px;
}

.step-blue {
  background: #438ee8;
}

.step-purple {
  background: var(--purple);
}

.step-orange {
  background: var(--orange);
}

.step h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--blue);
}

.step .step-visual {
  font-size: 58px;
  line-height: 1;
  opacity: 0.95;
}

.dialog-section {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.dialog-card,
.translation-card,
.listen-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15, 45, 90, 0.05);
}

.dialog-card h3,
.listen-card h3 {
  margin: 0 0 18px;
  color: var(--blue);
}

.dialog-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eef4fb;
  font-weight: 700;
}

.dialog-line:last-of-type {
  border-bottom: 0;
}

.audio {
  color: #7c91ad;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
}

.dialog-cta {
  margin-top: 20px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  border: 1px solid var(--border);
  background: #f7fbff;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  color: var(--blue);
}

.tab.active {
  background: #dff7f2;
  color: var(--teal);
  border-color: #b7ece2;
}

.translation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #203957;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 650;
}

.listen-card {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, #fff2bf 0, transparent 28%),
    linear-gradient(135deg, #f0f8ff, #ffffff);
}

.listen-emoji {
  font-size: 122px;
  line-height: 1;
  margin-bottom: 10px;
}

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

.benefit {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}

.benefit .icon {
  margin-bottom: 12px;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--blue);
}

.topics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.topic {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--blue);
  font-size: 14px;
}

.topics-note {
  margin-top: 24px;
  margin-bottom: 0;
}

.language-strip {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 28px;
  align-items: center;
}

.language-title {
  font-size: 30px;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.15;
}

.language-people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.language-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 52px;
  box-shadow: 0 12px 24px rgba(15, 45, 90, 0.07);
  position: relative;
}

.language-avatar::after {
  content: attr(data-word);
  position: absolute;
  top: -22px;
  left: 52px;
  white-space: nowrap;
  background: #ffffff;
  border: 2px solid #d9e8f7;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 900;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 42px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
}

.ru {
  background: var(--orange);
}

.ua {
  background: var(--teal);
}

.by {
  background: var(--purple);
}

.en {
  background: #2382d8;
}

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.format-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
}

.format-card p {
  margin-bottom: 24px;
}

.format-card .btn {
  margin-top: auto;
}

.format-green {
  background: linear-gradient(135deg, #effaf5, #ffffff);
}

.format-blue {
  background: linear-gradient(135deg, #f0f6ff, #ffffff);
}

.format-orange {
  background: linear-gradient(135deg, #fff6dc, #ffffff);
}

.results {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.result {
  text-align: center;
  font-size: 14px;
  color: #40506b;
  font-weight: 700;
}

.result-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.final-cta {
  margin: 40px auto 70px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 40%, #fff2c7 0, transparent 28%),
    linear-gradient(135deg, #fff6df, #ffffff);
  border: 1px solid #f4e6bf;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  min-height: 220px;
}

.cta-people {
  height: 100%;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, #dff7f2, #fff4d9);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding-bottom: 18px;
  font-size: 116px;
}

.cta-content {
  padding: 34px 42px;
}

.cta-content h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
}

.cta-content p {
  margin: 0 0 24px;
  color: #40506b;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 43, 92, 0.32);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(11, 43, 92, 0.22);
}

.modal-card h2 {
  margin: 0 0 10px;
  color: var(--blue);
}

.modal-card p {
  color: #40506b;
  line-height: 1.5;
  margin: 0 0 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1000px) {
  .mobile-menu-button {
    display: block;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 16px 20px;
    border-bottom: 1px solid #eef4fb;
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .dialog-section,
  .language-strip,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .cards-4,
  .steps,
  .benefits,
  .formats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 70px;
    padding: 12px 0;
  }

  .logo img {
    width: 178px;
  }

  .nav-actions {
    display: none;
  }

  .menu {
    top: 70px;
  }

  .hero {
    padding-top: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .dialog-cta,
  .format-card .btn,
  .cta-content .btn {
    width: 100%;
  }

  .cards-4,
  .steps,
  .benefits,
  .formats,
  .topics,
  .results,
  .language-people {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .main-bubble {
    top: 34px;
    height: 118px;
  }

  .person.main-left {
    --size: 118px;
    left: 16%;
  }

  .person.main-right {
    --size: 118px;
    right: 10%;
  }

  .speech {
    font-size: 16px;
    padding: 8px 12px;
  }

  .speech-vit {
    left: 12px;
    top: 145px;
  }

  .speech-hello {
    right: 12px;
    top: 134px;
  }

  .speech-pry {
    left: 8px;
    bottom: 178px;
  }

  .speech-privet {
    right: 8px;
    bottom: 168px;
  }

  .small {
    display: none;
  }

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

  .language-avatar::after {
    left: 50%;
    transform: translateX(-10%);
  }

  .cta-people {
    font-size: 78px;
  }

  .cta-content {
    padding: 26px 22px;
  }
}
