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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050608;
  color: #ffffff;
}

.page-wrapper {
  min-height: 100vh;
  background-image: url("images/hero-bg.jpg");
  background-size: contain; /* show full hero design */
  background-position: top center;
  background-repeat: no-repeat;
}

.legal-page {
  background-color: #100f0f;
}

.legal-page .page-wrapper.page-wrapper--legal {
  background-image: none;
}

main {
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 128px;
}

.header__left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link--ro {
  display: none;
}

.nav-link[data-i18n="nav_home_en"],
.nav-link[data-i18n="nav_home_ro"] {
  color: #ffffff;
  font-weight: 500;
}

.nav-link[data-i18n="nav_home_en"]::after,
.nav-link[data-i18n="nav_home_ro"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 22px;
  background: #43ff9a;
  border-radius: 999px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d1d5db;
  font-size: 14px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn--active {
  background-color: #43ff9a;
  color: #020617;
  font-weight: 600;
}

.lang-btn:hover:not(.lang-btn--active) {
  background-color: rgba(148, 163, 184, 0.15);
}

.lang-divider {
  opacity: 0.6;
}

/* HERO */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 632px; /* 760px total minus 128px header */
}

.hero__content {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.hero__title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero__title span {
  color: #43ff9a;
}

.hero__subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero__cta {
  padding: 12px 34px;
  border-radius: 999px;
  border: none;
  background-color: #43ff9a;
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 12px 40px rgba(67, 255, 154, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(67, 255, 154, 0.5);
  background-color: #5dffab;
}

.hero__title--ro,
.hero__subtitle--ro,
.hero__cta--ro {
  display: none;
}

/* FEATURES SECTION (Desktop 2) */
.features {
  position: relative;
  padding: 72px 24px 96px;
  margin-top: -32px;
  background-image: url("images/features-bg.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 619px;
}

.features__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.features__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.features__title span {
  color: #43ff9a;
}

.features__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 620px;
  margin: 0 auto 40px;
}

.features__link {
  color: #43ff9a;
  text-decoration: none;
  font-weight: 500;
}

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

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.features__card {
  text-align: left;
  color: #e5e7eb;
}

.features__icon-wrapper {
  margin-bottom: 16px;
}

.features__icon {
  width: 126px;
  height: 126px;
  object-fit: contain;
}

.features__card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.features__card-text {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5f5;
}

/* Hide Romanian variants by default, JS toggles them */
.features__title--ro,
.features__subtitle--ro,
.features__card-title--ro,
.features__card-text--ro {
  display: none;
}

@media (max-width: 768px) {
  .header {
    padding: 16px 16px 0;
  }

  .hero {
    margin-top: 40px;
    padding: 0 16px 56px;
    min-height: auto;
  }

  .hero__title {
    font-size: 30px;
  }

  .header__nav {
    display: none;
  }

  .features {
    padding: 56px 16px 80px;
  }

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

/* DEVICES SECTION (Desktop 3) */
.devices {
  background-color: #100f0f;
  height: 757px;
  display: flex;
  align-items: center;
}

.devices__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.devices__image-col {
  flex: 0 0 446.32px;
  display: flex;
  justify-content: center;
}

.devices__image {
  width: 446.32px;
  height: 596.84px;
  object-fit: contain;
}

.devices__text-col {
  flex: 1;
  color: #e5e7eb;
}

.devices__title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
}

.devices__title span {
  color: #43ff9a;
}

.devices__text {
  font-size: 15px;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 480px;
}

/* Hide Romanian by default; JS toggles */
.devices__title--ro,
.devices__text--ro {
  display: none;
}

@media (max-width: 1024px) {
  .devices__inner {
    gap: 40px;
  }

  .devices__title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .devices {
    height: auto;
    padding: 56px 0;
  }

  .devices__inner {
    flex-direction: column;
    padding: 0 16px;
    text-align: center;
  }

  .devices__text {
    margin: 0 auto;
  }

  .devices__image-col {
    flex: none;
  }
}

/* CTA / APP DOWNLOAD SECTION (Desktop 4) */
.cta {
  background-color: #100f0f;
  height: 651px;
  display: flex;
  align-items: center;
}

.cta__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.cta__icon-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background:
    radial-gradient(circle at center, rgba(67, 255, 154, 0.55), transparent 65%);
  filter: blur(12px);
}

.cta__icon {
  position: relative;
  width: 280px;
  height: 280px;
  object-fit: contain;
  border-radius: 64px;
}

.cta__content {
  flex: 1;
  color: #e5e7eb;
}

.cta__title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta__title span {
  color: #43ff9a;
}

.cta__text {
  font-size: 15px;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 480px;
  margin-bottom: 32px;
}

.cta__store-badge {
  width: 195px;
  height: 65px;
  object-fit: contain;
}

/* Hide Romanian by default; JS toggles */
.cta__title--ro,
.cta__text--ro {
  display: none;
}

@media (max-width: 1024px) {
  .cta__inner {
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .cta {
    height: auto;
    padding: 56px 0 72px;
  }

  .cta__inner {
    flex-direction: column;
    padding: 0 16px;
    text-align: center;
  }

  .cta__content {
    align-items: center;
  }

  .cta__text {
    margin-left: auto;
    margin-right: auto;
  }

  .cta__icon-wrap {
    flex: none;
  }
}

/* LEGAL PAGES (Privacy & Terms) */
.legal-section {
  max-width: 960px;
  margin: 40px auto 72px;
  padding: 0 24px 24px;
}

.legal-section__header {
  margin-bottom: 24px;
}

.legal-section__title {
  font-size: 26px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.legal-section__updated {
  margin-top: 8px;
  font-size: 14px;
  color: #9ca3af;
}

.legal-section__content {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #e5e7eb;
}

.legal-block {
  margin-bottom: 24px;
}

.legal-block__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.legal-block__subtitle {
  font-size: 16px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 4px;
}

.legal-block__text {
  margin-bottom: 8px;
}

.legal-list {
  margin: 4px 0 8px 20px;
  padding-left: 0;
}

.legal-list li {
  margin-bottom: 4px;
}

/* Hide Romanian by default; JS toggles via .legal--en / .legal--ro */
.legal--ro {
  display: none;
}

