:root {
  --bg: #f5f7ff;
  --surface: #ffffff;
  --surface-soft: #eef2ff;
  --surface-muted: #f8f9ff;
  --border: #dfe4ff;
  --border-strong: #c5cdfd;
  --text: #1f2438;
  --text-muted: #5b6380;
  --accent: #5f6dff;
  --accent-strong: #7a63ff;
  --accent-soft: rgba(95, 109, 255, 0.12);
  --shadow-sm: 0 14px 32px rgba(95, 109, 255, 0.14);
  --shadow-md: 0 22px 46px rgba(95, 109, 255, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

main {
  display: block;
}

.wrapper {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 228, 255, 0.9);
}

.page-header .wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(95, 109, 255, 0.35);
  background: linear-gradient(135deg, #f5befd 0%, #96b8ff 100%);
  box-shadow: 0 10px 24px rgba(95, 109, 255, 0.25);
  display: block;
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.top-nav a {
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.top-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.top-nav a:hover {
  color: var(--text);
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(198, 206, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(95, 109, 255, 0.14);
  backdrop-filter: blur(12px);
}

.lang-switcher button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.lang-switcher button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(95, 109, 255, 0.18), rgba(122, 99, 255, 0.32));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.lang-switcher button:hover {
  color: var(--text);
}

.lang-switcher button.is-active {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(95, 109, 255, 0.18);
}

.lang-switcher button.is-active::after {
  opacity: 1;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(95, 109, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(95, 109, 255, 0.32);
}

.hero {
  padding: 96px 0 104px;
  background: linear-gradient(135deg, #f7f9ff 0%, #eef2ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  width: 440px;
  height: 440px;
  background: rgba(133, 146, 255, 0.35);
  top: -150px;
  left: -120px;
}

.hero::after {
  width: 480px;
  height: 480px;
  background: rgba(255, 163, 214, 0.3);
  bottom: -200px;
  right: -160px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(95, 109, 255, 0.12);
  border: 1px solid rgba(95, 109, 255, 0.32);
  color: var(--accent-strong);
}

.hero-copy h1 {
  margin: 16px 0 20px;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.hero-copy p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-list li {
  position: relative;
  padding-left: 30px;
}

.hero-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 16px rgba(95, 109, 255, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 20px 50px rgba(95, 109, 255, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(95, 109, 255, 0.35);
}

.secondary-btn {
  color: var(--accent-strong);
  background: rgba(95, 109, 255, 0.08);
  border: 1px solid rgba(95, 109, 255, 0.24);
}

.secondary-btn:hover {
  background: rgba(95, 109, 255, 0.16);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(198, 206, 255, 0.65);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-card-header h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}

.hero-card-header p {
  margin: 0;
  color: var(--text-muted);
}

.stat-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-grid div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
}

.stat-grid dt {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-grid dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.stat-footnote {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.section {
  padding: 96px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.gallery {
  background: var(--surface-muted);
  border-top: 1px solid rgba(198, 206, 255, 0.35);
  border-bottom: 1px solid rgba(198, 206, 255, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gallery-item {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  display: block;
  height: auto;
}

.gallery-item figcaption {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
}

.gallery-item strong {
  font-size: 1.05rem;
  color: var(--text);
}

.mechanics {
  background: var(--surface);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  position: relative;
}

.step-index {
  position: absolute;
  top: 20px;
  right: 22px;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(95, 109, 255, 0.45);
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
}

.note-card {
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(95, 109, 255, 0.12);
  border: 1px solid rgba(95, 109, 255, 0.32);
  color: var(--text);
}

.assets {
  background: var(--surface-muted);
  border-top: 1px solid rgba(198, 206, 255, 0.35);
  border-bottom: 1px solid rgba(198, 206, 255, 0.35);
}

.asset-table {
  border: 1px solid rgba(198, 206, 255, 0.55);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.asset-row {
  display: grid;
  grid-template-columns: 0.5fr 0.3fr 0.3fr 1fr;
  gap: 18px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(223, 228, 255, 0.7);
}

.asset-row:nth-child(even) {
  background: var(--surface-muted);
}

.asset-head {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(95, 109, 255, 0.1);
}

.asset-row span:last-child {
  color: var(--text-muted);
}

.table-footnote {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.analytics {
  background: var(--surface);
}

.analytics-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.panel p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.panel ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-muted);
}

.panel-note {
  font-size: 0.9rem;
  color: var(--text);
}

.referrals {
  background: var(--surface-muted);
  border-top: 1px solid rgba(198, 206, 255, 0.35);
  border-bottom: 1px solid rgba(198, 206, 255, 0.35);
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ref-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.ref-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.ref-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.ref-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.level-table {
  margin: 12px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.level-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid rgba(198, 206, 255, 0.5);
  color: var(--text);
}

.roadmap {
  background: var(--surface);
}

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

.road-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.road-title {
  font-weight: 600;
  font-size: 1.08rem;
}

.cta-section {
  background: linear-gradient(135deg, rgba(95, 109, 255, 0.12), rgba(122, 99, 255, 0.22));
  border-top: 1px solid rgba(95, 109, 255, 0.3);
  border-bottom: 1px solid rgba(95, 109, 255, 0.3);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.cta-inner p {
  margin: 0;
  color: var(--text-muted);
}

.faq {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.page-footer {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(223, 228, 255, 0.9);
  padding: 28px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 600;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

button:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.cta-link:focus-visible,
.lang-switcher button:focus-visible {
  outline: 2px solid rgba(95, 109, 255, 0.8);
  outline-offset: 2px;
}

.resources {
  background: var(--surface);
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.resource-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resource-item a {
  font-weight: 600;
  color: var(--accent-strong);
}

.resource-item a:hover {
  color: var(--accent);
}

.resource-item p {
  margin: 0;
  color: var(--text-muted);
}

.press {
  background: var(--surface);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.press-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.55);
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(95, 109, 255, 0.22);
  border-color: rgba(95, 109, 255, 0.4);
}

.press-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(198, 206, 255, 0.5);
  object-fit: contain;
  margin-bottom: 14px;
}

.press-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.media {
  position: relative;
  background: linear-gradient(145deg, rgba(95, 109, 255, 0.06), rgba(122, 99, 255, 0.02));
  overflow: hidden;
}

.media::before,
.media::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.media::before {
  top: -140px;
  left: -160px;
  background: rgba(95, 109, 255, 0.26);
}

.media::after {
  bottom: -160px;
  right: -120px;
  background: rgba(154, 77, 255, 0.24);
}

.media .section-header {
  text-align: center;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px;
  justify-items: center;
}

.media-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 206, 255, 0.45);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  padding: 30px 22px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(6px);
}

.media-item::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(95, 109, 255, 0.16), rgba(122, 99, 255, 0.08));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.media-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(95, 109, 255, 0.35);
}

.media-item:hover::after {
  opacity: 1;
}

.media-item img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(198, 206, 255, 0.35);
  padding: 16px;
  background: #ffffff;
  box-shadow: inset 0 6px 18px rgba(95, 109, 255, 0.08);
}

.media-item span {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

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

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

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

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

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

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

@media (max-width: 720px) {
  .page-header .wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    margin-left: 0;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    padding: 72px 0 84px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .stat-grid,
  .step-grid,
  .gallery-grid,
  .analytics-layout,
  .referral-grid,
  .roadmap-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .asset-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .media-grid {
    gap: 20px;
  }

  .media-item {
    padding: 26px 18px;
  }

  .media-item img {
    width: 70px;
    height: 70px;
  }
}

