@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@700&family=Inter:wght@400;600&family=Onest:wght@200;300;400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --bg: #07070c;
  --bg-footer: #05050a;
  --bg-alt: #0a0a10;
  --surface: #0e0c15;
  --surface-2: #151224;
  --accent: #8b5cf6;
  --text: #ffffff;
  --muted: #9e99b3;
  --muted-2: #878397;
  --border: #1f1c2c;
  --border-accent: #342b5d;
  --container: 1280px;
  --page-pad: 80px;
  --radius-card: 16px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Onest", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
a { font: inherit; }

button { color: inherit; }

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

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

.site {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bg);
}

.site > header,
.site > main,
.site > footer {
  position: relative;
  z-index: 2;
}

.glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}
.glow--1 {
  width: 700px;
  height: 700px;
  left: calc(50% - 700px);
  top: 200px;
  background: radial-gradient(circle, rgba(139,92,246,.20) 0%, rgba(139,92,246,0) 100%);
}
.glow--2 {
  width: 800px;
  height: 800px;
  left: 50%;
  top: 1200px;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, rgba(139,92,246,0) 100%);
}
.glow--3 {
  width: 900px;
  height: 900px;
  left: calc(50% - 798px);
  top: 3165px;
  background: radial-gradient(circle, rgba(139,92,246,.08) 0%, rgba(139,92,246,0) 100%);
}
.glow--4 {
  width: 800px;
  height: 800px;
  left: calc(50% - 200px);
  top: 3800px;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, rgba(139,92,246,0) 100%);
}

.navbar {
  width: 100%;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page-pad);
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,12,.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand img { width: 32px; height: 32px; }
.brand span {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.nav-links a,
.footer-links a {
  transition: color .2s ease, opacity .2s ease;
}
.nav-links a:hover,
.footer-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mini-switch,
.balance-chip,
.admin-chip,
.profile-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 8px;
}

.mini-switch {
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 300;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.mini-switch:hover { border-color: #342b5d; }
.mini-switch span { transition: color .2s ease, opacity .2s ease; }
.mini-switch span.is-active { color: #fff; opacity: 1; }
.currency-switch { width: 62px; }
.language-switch { width: 73px; }

.balance-chip,
.admin-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}
.balance-chip { min-width: 125px; min-height: 51px; }
.admin-chip { min-height: 37px; }
.balance-chip img,
.admin-chip img { width: 16px; height: 16px; }
.balance-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.balance-copy small {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 5px;
}
.balance-copy strong {
  font-size: 13px;
  font-weight: 600;
}
.admin-chip span {
  font-size: 13px;
  font-weight: 500;
}

.profile-btn {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--accent);
  border-color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s var(--ease), filter .2s ease;
}
.profile-btn:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.profile-btn img { width: 14px; height: 14px; }

.hero {
  width: 100%;
  min-height: 798px;
  padding: 120px var(--page-pad) 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-mark {
  width: 124px;
  height: 148px;
  position: relative;
  flex: 0 0 auto;
}
.hero-mark img {
  position: absolute;
  width: 253px;
  height: 275px;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  width: min(978px, 100%);
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
}
.accent { color: var(--accent); }
.hero-text > p {
  width: min(600px, 100%);
  margin: 0;
  color: var(--muted-2);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s var(--ease), border-color .2s ease, background .2s ease, filter .2s ease;
}
.btn-primary { background: var(--accent); }
.btn-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: #342b5d;
  background: #191529;
}
.btn img { width: 16px; height: 16px; }

.scroll-indicator {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-indicator img { width: 16px; height: 16px; }
.scroll-indicator:hover img { animation: nudgeDown .8s ease infinite alternate; }

@keyframes nudgeDown {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

.trust-strip {
  width: 100%;
  min-height: 123px;
  padding: 32px var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,12,.31);
}
.trust-title {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.trust-points {
  display: flex;
  align-items: center;
  gap: 64px;
}
.trust-point {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-point img { width: 20px; height: 20px; }
.trust-point strong {
  font-family: "Epilogue", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.section {
  width: 100%;
  padding: 96px var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section-heading h2 {
  width: min(720px, 100%);
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 36px;
  line-height: 45px;
  font-weight: 500;
  text-align: center;
}
.section-heading--wide { width: 100%; }
.section-heading--reviews h2 { width: min(756px, 100%); }

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.features { min-height: 564px; }
.feature-grid {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature-card {
  height: 183px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: #342b5d;
  background: #100d19;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  background: var(--surface-2);
}
.feature-icon img { width: 24px; height: 24px; }
.feature-card h3 {
  width: 100%;
  margin: 0;
  font-family: "Epilogue", sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
}
.feature-card p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 21px;
}

.catalog { min-height: 1151px; }
.catalog-search {
  width: 100%;
  max-width: var(--container);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  cursor: text;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search:focus-within {
  border-color: #342b5d;
  box-shadow: 0 0 0 3px rgba(139,92,246,.08);
}
.catalog-search img { width: 20px; height: 20px; }
.catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.catalog-search input::placeholder { color: var(--muted); opacity: 1; }

.category-tabs {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  gap: 24px;
}
.category-tab {
  min-height: 38px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease);
}
.category-tab:hover { color: #fff; }
.category-tab.is-active {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.product-catalog {
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.product-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-group h3 {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  position: relative;
  min-height: 212px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #342b5d;
  background: #100d19;
}
.product-card.is-popular { border-color: var(--accent); }
.product-card__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card.is-popular .product-card__top { padding-right: 96px; }
.product-card__top h4 {
  margin: 0;
  font-size: 18px;
  line-height: 23px;
  font-weight: 700;
}
.product-card__top p {
  min-height: 21px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  white-space: nowrap;
}
.product-period {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.buy-btn {
  width: 100%;
  height: 44px;
  margin-top: auto;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
}
.buy-btn:hover {
  transform: translateY(-1px);
  border-color: #342b5d;
  background: #19152a;
}
.product-card.is-popular .buy-btn {
  border-color: var(--accent);
  background: var(--accent);
}
.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.catalog-empty {
  margin: -16px 0 0;
  color: var(--muted);
  text-align: center;
}

.testimonials {
  min-height: 580px;
  background: var(--bg-alt);
}
.review-grid {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review-card {
  min-height: 244px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.stars {
  display: flex;
  gap: 4px;
}
.stars img { width: 16px; height: 16px; }
.review-card > p {
  min-height: 88px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}
.review-author > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author strong {
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}
.review-author small {
  color: var(--muted);
  font-size: 12px;
  line-height: 15px;
}

.faq {
  min-height: 782px;
  padding-left: 160px;
  padding-right: 160px;
}
.faq-list {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  min-height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.faq-question span {
  flex: 1;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
.faq-question img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .25s var(--ease);
}
.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows .3s var(--ease), opacity .25s ease, margin .3s var(--ease);
}
.faq-answer p {
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.faq-item.is-collapsed .faq-answer {
  grid-template-rows: 0fr;
  opacity: 0;
}
.faq-item.is-collapsed .faq-answer p { margin-top: 0; }
.faq-item.is-collapsed .faq-question img { transform: rotate(-90deg); }

.footer {
  width: 100%;
  min-height: 394px;
  padding: 80px var(--page-pad) 49px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-footer);
}
.footer-top {
  width: 100%;
  max-width: var(--container);
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand--footer { gap: 8px; }
.brand--footer span {
  font-size: 18px;
  letter-spacing: 0;
}
.footer-brand > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.footer-links > div {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links > .footer-legal { width: 150px; }
.footer-links strong {
  min-height: 18px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  line-height: 17px;
  white-space: nowrap;
}
.footer-legal strong {
  white-space: normal;
  min-height: 36px;
}

.footer-divider {
  width: 100%;
  max-width: var(--container);
  height: 1px;
  margin: 0 auto;
  background: var(--border);
}
.footer-bottom {
  width: 100%;
  max-width: var(--container);
  min-height: 18px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 15px;
}
.social-placeholder {
  width: 86px;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
}
.social-placeholder span {
  width: 18px;
  height: 18px;
}

/* Small utility used by JS filtering. */
[hidden] { display: none !important; }


/* Updated Figma header/footer state (2026-09-06) */
.balance-chip {
  min-width: 0;
  min-height: 37px;
}
.balance-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}
.balance-inline small {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
}
.balance-inline strong {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.footer-links > .footer-legal { width: 197px; }
.footer-legal strong { min-height: 18px; }
.social-icons {
  display: inline-flex;
  gap: 16px;
  align-items: center;
}
.social-icons a, .social-icons img { width: 18px; height: 18px; }
.social-icons a { opacity: .9; transition: opacity .2s ease, transform .2s ease; }
.social-icons a:hover { opacity: 1; transform: translateY(-1px); }
