:root {
  --bg: #ffffff;
  --bg-soft: #f8f6ff;
  --bg-muted: #f4f1fb;
  --surface: #ffffff;
  --surface-strong: #fbfaff;
  --text: #181424;
  --muted: #605a73;
  --line: #e7defc;
  --accent: #7100ff;
  --accent-strong: #5200bb;
  --accent-soft: rgba(113, 0, 255, 0.08);
  --brand-green: #8eff00;
  --brand-green-soft: rgba(142, 255, 0, 0.14);
  --shadow: 0 18px 44px rgba(72, 32, 123, 0.1);
  --shadow-soft: 0 10px 24px rgba(72, 32, 123, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(113, 0, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(113, 0, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #120620;
  box-shadow: var(--shadow-soft);
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a:focus-visible {
  color: var(--accent);
  background: rgba(113, 0, 255, 0.08);
}

.lang-switcher a[aria-current="page"] {
  color: #ffffff;
  background: var(--accent);
}

.nav > a,
.nav > .nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav > a:hover,
.nav > a:focus-visible,
.nav > .nav-dropdown:hover > .nav-link,
.nav > .nav-dropdown:focus-within > .nav-link,
.nav > .nav-dropdown > .nav-link:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(113, 0, 255, 0.14);
}

.nav > a[aria-current="page"],
.nav > .nav-dropdown > .nav-link[aria-current="page"] {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-link::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  display: none;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
  gap: 8px;
}

.dropdown-item {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--accent-soft);
}

.dropdown-item strong {
  font-size: 0.98rem;
}

.dropdown-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero,
.mini-hero {
  padding: 84px 0 40px;
}

.hero-grid,
.grid-2,
.grid-3,
.contact-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

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

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

.hero-card,
.card,
.policy-card,
.contact-card,
.feature-card,
.link-card,
.accent-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-copy,
.hero-side,
.card,
.policy-card,
.contact-card,
.feature-card,
.link-card,
.accent-panel {
  padding: 28px;
}

.hero-copy {
  padding: 42px;
}

.hero-side,
.accent-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(113, 0, 255, 0.95), rgba(68, 10, 140, 0.96)),
    url("./bg.PNG") center/cover no-repeat;
  border-color: rgba(113, 0, 255, 0.18);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.hero-side::before,
.accent-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(142, 255, 0, 0.24), transparent 28%);
  pointer-events: none;
}

.hero-side > *,
.accent-panel > *,
.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(113, 0, 255, 0.16);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-side .eyebrow,
.accent-panel .eyebrow {
  color: var(--brand-green);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.16rem;
}

.lead {
  font-size: 1.08rem;
  max-width: 66ch;
}

.muted,
.lead,
.card p,
.card li,
.policy-card p,
.policy-card li,
.contact-card p,
.contact-card li,
.feature-card p,
.feature-card li,
.link-card p {
  color: var(--muted);
}

.hero-side p,
.hero-side li,
.accent-panel p,
.accent-panel li,
.hero-side a,
.accent-panel a {
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(113, 0, 255, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(113, 0, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--accent-soft);
}

.button-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.callout,
.hero-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-side .callout,
.accent-panel .callout {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 42px 0;
}

.section-muted {
  padding: 54px 0;
  margin: 18px 0;
  background: var(--bg-soft);
  border-top: 1px solid rgba(113, 0, 255, 0.06);
  border-bottom: 1px solid rgba(113, 0, 255, 0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(142, 255, 0, 0.32);
  background: var(--brand-green-soft);
  color: #356700;
  font-size: 0.84rem;
  font-weight: 700;
}

.stats-grid .card strong,
.feature-list strong,
.link-card strong {
  color: var(--text);
}

.stat-number {
  display: block;
  margin-bottom: 6px;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
}

.product-list,
.feature-list,
.list-clean,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-list li,
.feature-list li,
.legal-list li {
  padding-left: 18px;
  position: relative;
}

.product-list li::before,
.feature-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.product-list li + li,
.feature-list li + li,
.legal-list li + li,
.list-clean li + li {
  margin-top: 12px;
}

.link-card h3,
.feature-card h3 {
  margin-bottom: 10px;
}

.link-card a.button {
  margin-top: 18px;
}

.page-hero {
  padding: 72px 0 20px;
}

.page-hero .policy-card {
  padding: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb a {
  text-decoration: none;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.product-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  padding: 40px 0 64px;
  color: var(--muted);
}

.footer-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

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

.footer-brand img {
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 12px;
  background: #120620;
}

.footer-description {
  margin: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 640px);
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-section-title {
  color: var(--text);
  font-weight: 700;
}

.footer-links,
.footer-meta,
.footer-list {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-meta a,
.footer-list a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible,
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(113, 0, 255, 0.18);
  transform: translateY(-1px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.anchor-offset {
  scroll-margin-top: 110px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .contact-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-row,
  .section-header,
  .footer-top,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: start;
    flex-direction: column;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    margin-top: 10px;
    min-width: 100%;
  }

  .hero-copy,
  .hero-side,
  .card,
  .policy-card,
  .contact-card,
  .feature-card,
  .link-card,
  .accent-panel,
  .page-hero .policy-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .hero,
  .mini-hero {
    padding-top: 56px;
  }

  .nav {
    width: 100%;
  }

  .header-actions,
  .lang-switcher {
    width: 100%;
  }

  .lang-switcher {
    justify-content: space-between;
  }

  .nav > a,
  .nav > .nav-dropdown > .nav-link {
    min-height: 40px;
    padding: 8px 12px;
  }

  .brand-text {
    display: none;
  }
}
