:root {
  --topbar-height: 68px;
  --theme-color: #8b7cf6;
  --theme-color-dark: #6254cf;
  --theme-color-text: #6459b1;
  --theme-color-border: #cec8fb;
  --theme-color-soft: #f3f2ff;
  --ink: #17212f;
  --muted: #536172;
  --line: #e1e7ef;
  --surface: #ffffff;
  --page: #f7f8fb;
  --teal: #0f9f9a;
  --amber: #c77a12;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 52px);
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(225, 231, 239, 0.78);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-color-text);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 950;
}

.language-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.language-switch select {
  min-height: 38px;
  max-width: 168px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.hero-section {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: center;
  padding: calc(var(--topbar-height) + 34px) clamp(16px, 4vw, 56px) 72px;
  overflow: hidden;
  background: #eef3f8;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 248, 251, 0.98) 0%, rgba(247, 248, 251, 0.88) 34%, rgba(247, 248, 251, 0.28) 68%, rgba(247, 248, 251, 0.08) 100%),
    linear-gradient(180deg, rgba(247, 248, 251, 0.2) 0%, rgba(247, 248, 251, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--theme-color-text);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: 0;
}

.slogan {
  margin: 16px 0 0;
  color: var(--theme-color-text);
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.primary-button {
  color: #fff;
  background: var(--theme-color);
  box-shadow: 0 16px 34px rgba(139, 124, 246, 0.24);
}

.secondary-button {
  border: 1px solid var(--theme-color-border);
  color: var(--theme-color-text);
  background: rgba(255, 255, 255, 0.82);
}

.stats-band {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -44px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 22px 60px rgba(31, 64, 91, 0.12);
}

.stat-item {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.stat-value {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  font-weight: 950;
}

.stat-value small {
  margin-left: 2px;
  color: var(--theme-color-text);
  font-size: 0.42em;
}

.stat-label {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(16px, 4vw, 56px);
}

.product-layout {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  margin: 0 auto;
}

.section-copy h2,
.section-heading h2,
.info-block h2,
.contact-block h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.product-panel {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(200px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(243, 242, 255, 0.92), rgba(255, 255, 255, 0.96) 54%, rgba(232, 249, 247, 0.8)),
    #fff;
}

.phone-card {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 0.58;
  margin: auto;
  border: 10px solid #182234;
  border-radius: 30px;
  background: linear-gradient(180deg, #f9fbff, #eef1ff);
  box-shadow: 0 24px 54px rgba(31, 64, 91, 0.18);
  overflow: hidden;
}

.phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 74px;
  height: 8px;
  border-radius: 999px;
  background: #223047;
  transform: translateX(-50%);
}

.signal-ring {
  position: absolute;
  inset: 68px 32px auto;
  aspect-ratio: 1;
  border: 2px solid rgba(139, 124, 246, 0.32);
  border-radius: 50%;
}

.signal-ring::before,
.signal-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(15, 159, 154, 0.28);
  border-radius: inherit;
}

.signal-ring::after {
  inset: 36%;
  border-color: rgba(199, 122, 18, 0.36);
}

.esim-chip {
  position: absolute;
  top: 120px;
  left: 50%;
  width: 92px;
  height: 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color-dark));
  box-shadow: 0 18px 34px rgba(139, 124, 246, 0.35);
  transform: translateX(-50%);
}

.esim-chip span {
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 6px;
}

.phone-lines {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 42px;
  display: grid;
  gap: 10px;
}

.phone-lines span {
  height: 10px;
  border-radius: 999px;
  background: #dce2ef;
}

.phone-lines span:nth-child(2) {
  width: 72%;
  background: #cfd7ea;
}

.phone-lines span:nth-child(3) {
  width: 48%;
  background: #e3dffb;
}

.product-points {
  display: grid;
  gap: 12px;
}

.product-points span {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: #415066;
  background: #fff;
  font-weight: 850;
}

.tinted-section {
  background: linear-gradient(135deg, #f3f2ff 0%, #f8fbff 54%, #fff7ed 100%);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 26px;
}

.feature-grid,
.region-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--theme-color);
  font-size: 1.6rem;
  font-weight: 950;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--teal);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--amber);
}

.feature-card h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.regions-section {
  background: #fff;
}

.region-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.regions-section .section-actions {
  width: min(1120px, 100%);
  justify-content: center;
  margin: 24px auto 0;
}

.region-card {
  position: relative;
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--page);
  overflow: hidden;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.region-card::after {
  content: attr(data-flag);
  position: absolute;
  right: -14px;
  bottom: -24px;
  font-size: 5.4rem;
  line-height: 1;
  opacity: 0.2;
  transform: rotate(-8deg);
  pointer-events: none;
}

.region-card:hover {
  border-color: var(--theme-color-border);
  background: var(--theme-color-soft);
  transform: translateY(-2px);
}

.region-grid span {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 950;
}

.region-grid small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-weight: 800;
}

.payment-contact {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 16px;
  margin: 0 auto;
}

.info-block,
.contact-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.payment-list > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--theme-color-border);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--theme-color-text);
  background: var(--theme-color-soft);
  font-weight: 900;
}

.payment-list b {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--theme-color);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.payment-list > span:nth-child(1) b {
  background: #12b76a;
}

.payment-list > span:nth-child(2) b {
  background: #1677ff;
}

.payment-list > span:nth-child(3) b {
  background: #003087;
}

.payment-list > span:nth-child(4) b {
  background: #1a1f71;
}

.payment-list > span:nth-child(5) b {
  background: #eb001b;
}

.contact-block a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--theme-color-text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 24px 16px 32px;
  color: #66758a;
  font-weight: 750;
}

.site-footer a:hover {
  color: var(--theme-color-text);
}

@media (max-width: 960px) {
  .hero-section {
    min-height: 58svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247, 248, 251, 0.98) 0%, rgba(247, 248, 251, 0.76) 64%, rgba(247, 248, 251, 0.2) 100%),
      linear-gradient(180deg, rgba(247, 248, 251, 0.26) 0%, rgba(247, 248, 251, 0.9) 100%);
  }

  .stats-band,
  .product-layout,
  .feature-grid,
  .region-grid,
  .payment-contact {
    grid-template-columns: 1fr;
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .language-switch {
    gap: 6px;
    font-size: 0.84rem;
  }

  .language-switch select {
    max-width: 126px;
    min-height: 36px;
    padding-left: 10px;
  }

  .hero-section {
    min-height: 54svh;
    padding-bottom: 58px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-actions {
    display: grid;
  }

  .stats-band {
    margin-top: -34px;
  }

  .stat-item {
    min-height: 112px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .product-panel {
    padding: 20px;
  }

  .phone-card {
    width: min(220px, 100%);
  }
}
