* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --Primary-P1: #f0b90b;

  [data-theme="light"] {
    --Background-Surface-F0: #fff;
    --Background-Surface-03-FP10: #f7f7f7;
    --Text-Title: #000;
    --Text-Assistive-060-FP60: #666666;
    --Text-Assistive-070-FP70: #4d4d4d;
    --Text-Assistive-080-FP80: #333333;
    --Border-Border-010-FP20: #e6e6e6;
    --Hover-Hover-05-F15: #f2f2f2;
    --stroke-stroke-015-fp-25: #d9d9d9;
  }
  [data-theme="dark"] {
    --Background-Surface-F0: #000;
    --Background-Surface-03-FP10: #1e191f;
    --Text-Title: #fff;

    --Text-Assistive-060-FP60: #979198;
    --Text-Assistive-070-FP70: #afa9af;
    --Text-Assistive-080-FP80: #c7c2c8;
    --Border-Border-010-FP20: #363037;
    --Hover-Hover-05-F15: #2a242a;
    --stroke-stroke-015-fp-25: #423d43;
  }
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--Background-Surface-F0);
}

.container {
  max-width: 1194px;
  position: relative;
  overflow-x: hidden;
  margin: 0 auto;
  margin-bottom: 160px;
}

.main-title {
  font-size: 58px;
  font-weight: 400;
  line-height: 68px;
  letter-spacing: 0.58px;
  word-wrap: break-word;
  text-align: center;
  color: var(--Text-Title);
  margin-bottom: 1.5rem;
}

.accent-text {
  position: relative;
  color: var(--Primary-P1);
  font-weight: 700;
}

.accent-reflection {
  display: block;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--stroke-stroke-015-fp-25);
  font-size: 66px;
  font-weight: 700;
  line-height: 76px;
  letter-spacing: 0.66px;

  margin-top: -64px;
}

.subtitle {
  text-align: center;
  color: var(--Text-Assistive-060-FP60);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  word-wrap: break-word;
}

.section-title {
  text-align: center;
  color: var(--Text-Title);
  font-size: 40px;
  font-weight: 500;
  line-height: 50px;
  word-wrap: break-word;
  margin-bottom: 40px;
}

.feature-title {
  color: var(--Text-Title);
  font-size: 23px;
  font-weight: 500;
  line-height: 32px;
  word-wrap: break-word;
}

.feature-description {
  color: var(--Text-Assistive-070-FP70);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
}

.contact-text {
  text-align: center;
  color: var(--Text-Assistive-080-FP80);
  font-size: 26px;
  font-weight: 400;
  line-height: 36px;
  word-wrap: break-word;
  margin-bottom: 12px;
}

.email-text {
  text-align: center;
  color: var(--Primary-P1);
  font-size: 36px;
  font-weight: 700;
  line-height: 46px;
  word-wrap: break-word;
  text-decoration: none;
}

.email-text:hover {
  text-decoration: underline;
}

.footer-text {
  text-align: center;
  color: var(--Text-Assistive-060-FP60);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
}

.title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 10rem;
  margin-top: 270px;
}

.conference-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.features-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 18px;
}

.feature-card {
  background: var(--Background-Surface-03-FP10);
  border-radius: 1.5rem;
  border: 1px solid var(--Border-Border-010-FP20);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 8px;
}

.widget {
  position: absolute;
  top: 4%;
  width: 100%;
  transform: scaleX(1);
  transform-origin: center;
  padding: 10px;
}

[data-language="en"] .ru {
  display: none;
}

[data-language="ru"] .eng {
  display: none;
}

.mobile-widget {
  display: none;
}

.footer {
  background: var(--Background-Surface-03-FP10);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-top {
  padding: 24px;
  border-bottom: 1px solid var(--Border-Border-010-FP20);
  border-top: 1px solid var(--Border-Border-010-FP20);
}

.footer-bottom {
  border-top: 1px solid var(--Border-Border-010-FP20);
  padding: 16px;
}

.header-controls {
  position: absolute;
  top: 26px;
  right: 26px;
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 100;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  color: var(--Text-Title);
}

.language-selector:hover {
  background: var(--Hover-Hover-05-F15);
  border-radius: 1rem;
}

.icon-button {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-button:hover {
  background: var(--Hover-Hover-05-F15);
  border-radius: 1rem;
}

@media (max-width: 1224px) {
  .container {
    margin: 0 24px 80px;
  }
  .features-flex {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-title {
    font-size: 48px;
    line-height: 58px;
  }

  .accent-reflection {
    font-size: 56px;
    line-height: 66px;
    margin-top: -55px;
  }
  .subtitle {
    font-size: 18px;
    line-height: 26px;
  }
  .section-title {
    font-size: 32px;
    line-height: 42px;
  }
  .contact-text {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .email-text {
    font-size: 30px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .widget {
    display: none;
  }
  .mobile-widget {
    display: block;
    position: absolute;
    top: 10%;
    width: 100%;
    transform: scaleX(1);
    transform-origin: center;
  }
  .container {
    margin: 0 16px 40px;
  }
  .features-flex {
    grid-template-columns: repeat(2, 1fr);
  }
  .title-section {
    margin-top: 244px;
    margin-bottom: 133px;
  }
}

@media (max-width: 576px) {
  .header-controls {
    top: 16px;
    right: 16px;
  }
  .features-flex {
    grid-template-columns: repeat(1, 1fr);
  }
  .main-title {
    font-size: 32px;
    line-height: 42px;
  }
  .accent-reflection {
    font-size: 36px;
    line-height: 46px;
    margin-top: -35px;
  }
  .subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .section-title {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 32px;
  }
  .footer-top {
    padding: 20px 16px 14px;
  }
  .contact-text {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 6px;
  }
  .email-text {
    font-size: 24px;
    line-height: 34px;
  }
  .footer-text {
    font-size: 14px;
    line-height: 20px;
  }
}
