* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #120e26;
  --panel: #1f1a3a;
  --violet: #7e57c2;
  --blue: #5c6bc0;
  --teal: #26a69a;
  --white: #f8f8ff;
  --muted: #9e9ec6;
  --glass: rgba(0, 0, 0, 0.5);
  --touch-min: 44px;
  --safe-left: env(safe-area-inset-left, 0);
  --safe-right: env(safe-area-inset-right, 0);
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.landing {
  font-family: system-ui, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  background: linear-gradient(145deg, #120e26 0%, #1a1545 45%, #0d1129 100%);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  padding-left: max(0px, var(--safe-left));
  padding-right: max(0px, var(--safe-right));
}

.sr-only-focusable {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: fixed;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  background: var(--violet);
  color: white;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10001;
  text-decoration: none;
}

.landing-header {
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.7rem clamp(0.75rem, 3vw, 1.25rem);
  padding-top: max(0.7rem, var(--safe-top));
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header__container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.landing-header__brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
}

.landing-nav__ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.landing-nav__ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.5rem 0.25rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.landing-nav__ul a:hover {
  color: var(--teal);
}

.landing-header__right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.landing-btn--fill {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: white;
}

.landing-btn--cta {
  background: var(--teal);
  color: #0c0c0c;
  padding: 0.85rem 1.9rem;
  font-size: 1.05rem;
  min-height: 48px;
}

.landing-btn--sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  background: var(--blue);
  color: white;
  min-height: 36px;
}

.landing-btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--muted);
}

.landing-btn:hover {
  opacity: 0.92;
  box-shadow: 0 4px 12px rgba(126, 87, 194, 0.4);
}

.landing-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 4vw, 1.5rem) clamp(1.5rem, 5vw, 2rem);
  padding-bottom: max(1.5rem, var(--safe-bottom));
}

.banner-zone {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  max-height: 400px;
  margin: 0 0 1.5rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.banner-zone__media {
  position: absolute;
  inset: 0;
}

.banner-zone__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.banner-zone__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(126, 87, 194, 0.22), transparent 65%),
    linear-gradient(105deg, rgba(18, 14, 38, 0.82) 0%, rgba(18, 14, 38, 0.45) 45%, rgba(18, 14, 38, 0.15) 100%);
}

.banner-zone__glass {
  width: min(100%, 540px);
  padding: clamp(1rem, 2.5vw, 1.55rem) clamp(1rem, 2vw, 1.35rem);
  border-radius: 18px;
  text-align: center;
  background: rgba(31, 26, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.banner-zone h1 {
  margin: 0 auto 0.85rem;
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  max-width: 22ch;
  background: linear-gradient(120deg, #f0eeff, #b39ddb 45%, #4dd0c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner-zone__glass .landing-btn--cta {
  margin-top: 0;
  box-shadow: 0 4px 18px rgba(38, 166, 154, 0.45);
}

.content-zone {
  max-width: 1180px;
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 1.25rem);
}

.content-zone h2,
.content-zone h3 {
  color: var(--blue);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
}

.content-zone h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.content-zone h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.content-zone p,
.content-zone li {
  margin-bottom: 1rem;
  color: var(--white);
}

.content-zone ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.content-zone__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--panel);
}

.content-zone .zone-table td p {
  margin: 0;
}

.icon-zone {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.icon-zone__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  min-height: var(--touch-min);
  background: var(--panel);
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  text-align: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.icon-zone__cell:hover {
  background: var(--violet);
}

.icon-zone__symbol {
  font-size: 1.7rem;
}

.zone-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--blue);
}

.table-zone__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--panel);
}

.zone-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}

.zone-table th,
.zone-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.zone-table th {
  background: rgba(126, 87, 194, 0.3);
  font-weight: 600;
}

.zone-table a {
  color: var(--teal);
}

.landing-footer {
  background: rgba(0, 0, 0, 0.4);
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.25rem);
  padding-bottom: max(1.5rem, var(--safe-bottom));
  margin-top: 2rem;
}

.landing-footer__container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1.5rem;
}

.landing-footer__title {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  color: var(--blue);
}

.landing-footer__list {
  list-style: none;
}

.landing-footer__list li {
  margin-bottom: 0.35rem;
}

.landing-footer__list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.87rem;
}

.landing-footer__list a:hover {
  color: var(--teal);
}

.landing-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.landing-footer__pay img {
  height: 35px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.06);
}

@media (min-width: 768px) {
  .landing-header__container {
    flex-wrap: nowrap;
  }

  .landing-nav__ul {
    gap: 0.35rem 0.85rem;
  }

  .banner-zone {
    height: clamp(260px, 28vw, 400px);
    max-height: 400px;
  }

  .banner-zone__media img {
    object-position: center center;
  }

  .icon-zone {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .icon-zone__cell {
    flex: 0 1 auto;
    padding: 1rem 1.35rem;
  }

  .zone-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .landing-header__brand {
    font-size: 1.35rem;
  }

  .landing-footer__container {
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .banner-zone {
    height: clamp(220px, 42vw, 320px);
    max-height: 320px;
    border-radius: 0 0 16px 16px;
  }

  .banner-zone__media img {
    object-position: center 30%;
  }

  .landing-header__container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    padding: 0.25rem 0;
    gap: 0.5rem 0.65rem;
  }

  .landing-header__brand {
    grid-area: brand;
    font-size: 1.05rem;
  }

  .landing-header__right {
    grid-area: actions;
    flex-shrink: 0;
  }

  .landing-nav {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .landing-nav__ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0 0.35rem;
    margin: 0 -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .landing-nav__ul::-webkit-scrollbar {
    display: none;
  }

  .landing-nav__ul li {
    flex-shrink: 0;
  }

  .landing-nav__ul a {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
  }

  .landing-btn--fill {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .icon-zone {
    grid-template-columns: 1fr;
  }

  .icon-zone__cell {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .zone-table thead {
    display: none;
  }

  .zone-table tr {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--panel);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .zone-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border: none;
  }

  .zone-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--muted);
  }

  .zone-table td:last-child {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .banner-zone {
    height: clamp(200px, 52vw, 280px);
    max-height: 280px;
  }

  .banner-zone__overlay {
    padding: 0.65rem 0.75rem;
  }

  .banner-zone__glass {
    padding: 0.85rem 0.9rem;
  }

  .banner-zone h1 {
    font-size: 1.05rem;
    line-height: 1.22;
    max-width: none;
    margin-bottom: 0.7rem;
  }

  .banner-zone__glass .landing-btn--cta {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .landing-header__right .landing-lang {
    display: none;
  }

  .landing-footer__container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .zone-table td {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .zone-table td:last-child {
    align-items: stretch;
  }

  .zone-table td:last-child .landing-btn--sm {
    width: 100%;
    justify-content: center;
  }
}
