:root {
  --bg: #0b0f1a;
  --card: #12182b;
  --accent: #6cf2c2;
  --accent2: #5aa2ff;
  --text: #e8ebf1;
  --muted: #9aa4bf;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: Inter, system-ui, sans-serif; }

html, body { 
  width: 100%; 
  overflow-x: hidden; 
  max-width: 100vw;
}

body { background: var(--bg); color: var(--text); }

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

/* ── Анимации ────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes load {
  to { width: 100%; }
}

@keyframes growBar {
  from { height: 0; }
  to { height: var(--bar-height); }
}

@keyframes blinkFull {
  0% { background: #fb7185; }
  50% { background: #f87171; }
  100% { background: #fb7185; }
}

@keyframes cellIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseMine {
  0% { color: #fb7185; }
  50% { color: #f87171; }
  100% { color: #fb7185; }
}

/* ── Навигация ────────────────────────────────────── */
nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(18,24,43,.9);
  backdrop-filter: blur(10px);
  display: flex; justify-content: space-around; padding: 12px 0;
  border-top: 1px solid #1e2645;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav button {
  background: none; border: none; color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

nav button::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s ease;
}

nav button:hover {
  color: var(--text);
  transform: translateY(-2px);
}

nav button.active { 
  color: var(--accent); 
}

nav button.active::before {
  transform: translateX(-50%) scaleX(1);
}

/* ── Секции ────────────────────────────────────── */
section { 
  display: none; 
  padding: 24px 16px 96px;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

#about.active {
  display: flex;
  flex-direction: column;
}

/* ── Карточки ────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: slideInUp 0.6s ease 0.2s backwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

/* ── Типография ────────────────────────────────────── */
h1 { 
  font-size: 28px; 
  margin-bottom: 8px; 
  animation: fadeIn 0.8s ease 0.3s backwards;
}

h2 { 
  font-size: 20px; 
  margin-bottom: 12px; 
}

p { 
  color: var(--muted); 
  line-height: 1.5; 
}

/* ── Главная страница ────────────────────────────────────── */
.hero {
  display: grid; 
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.hero img {
  width: 100%; 
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  background: #222;
  animation: slideInUp 0.6s ease 0.1s backwards;
  transition: transform 0.3s ease;
  display: block;
}

.hero img:hover {
  transform: scale(1.02);
}

select {
  width: 100%; 
  padding: 12px;
  border-radius: 12px; 
  border: 2px solid transparent;
  background: #1b2240; 
  color: var(--text);
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: scaleIn 0.6s ease 0.4s backwards;
}

select:hover {
  border-color: var(--accent2);
  background: #1f2748;
}

select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 242, 194, 0.1);
}

.stats {
  display: grid; 
  grid-template-columns: repeat(2,1fr); 
  gap: 12px;
  margin-top: 16px;
}

.stat { 
  background: #1b2240; 
  border-radius: 16px; 
  padding: 12px; 
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.5s ease backwards;
  cursor: default;
}

.stat:nth-child(1) { animation-delay: 0.5s; }
.stat:nth-child(2) { animation-delay: 0.6s; }
.stat:nth-child(3) { animation-delay: 0.7s; }
.stat:nth-child(4) { animation-delay: 0.8s; }

.stat:hover {
  transform: translateY(-5px) scale(1.02);
  background: #1f2748;
  box-shadow: 0 8px 20px rgba(90, 162, 255, 0.2);
}

.stat strong { 
  font-size: 22px; 
  color: var(--accent2);
  display: block;
  transition: all 0.3s ease;
}

.stat:hover strong {
  animation: pulse 1s ease infinite;
}

/* ── Куратор ────────────────────────────────────── */
.curator-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin: 12px 0 8px 0;
  animation: fadeIn 0.8s ease 0.4s backwards;
}

.curator-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  animation: fadeIn 0.8s ease 0.5s backwards;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #1b2240;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  color: var(--text);
  background: #1f2748;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

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

.social-link.telegram:hover {
  color: #0088cc;
}

.social-link.instagram:hover {
  color: #e1306c;
}

.other-curators {
  margin-top: 24px;
  padding: 16px 0;
  background: var(--card);
  border-radius: 20px;
  animation: slideInUp 0.6s ease 0.6s backwards;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.other-curators h3 {
  font-size: 16px;
  margin-bottom: 12px;
  padding: 0 16px;
  color: var(--text);
}

.curators-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 16px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  width: 100%;
  max-width: 100%;
}

.curators-scroll::-webkit-scrollbar {
  height: 6px;
}

.curators-scroll::-webkit-scrollbar-track {
  background: #1b2240;
  border-radius: 3px;
}

.curators-scroll::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 3px;
}

.curators-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.curator-item {
  flex-shrink: 0;
  width: calc(100% - 48px);
  min-width: calc(100% - 48px);
  max-width: calc(100% - 48px);
  background: #1b2240;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.curator-item:first-child {
  margin-left: 16px;
}

.curator-item:last-child {
  margin-right: 16px;
}

@media (max-width: 480px) {
  .curator-item {
    width: calc(100vw - 64px);
    min-width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
  }
}

.curator-item:hover {
  transform: translateY(-4px);
  background: #1f2748;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.curator-item-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--accent2);
  transition: all 0.3s ease;
}

.curator-item:hover .curator-item-avatar {
  border-color: var(--accent);
  transform: scale(1.05);
}

.curator-item-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.curator-item-specialty {
  font-size: 14px;
  color: var(--muted);
}

.curator-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  margin-top: 12px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.curator-item.open .curator-details {
  max-height: 200px;
  opacity: 1;
  padding: 12px;
}

.curator-details .telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  background: #1b2240;
  border-radius: 12px;
  color: var(--text);
  transition: all 0.25s;
}

.curator-details .telegram-link:hover {
  background: #0088cc;
  color: white;
  transform: translateY(-1px);
}

.curator-details .telegram-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.code {
  display: flex;
  align-items: center;
}

.code h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0 10px;
}

.clients-collage {
  margin: 0 0 4px;
  background: #1b2240;
  border-radius: 20px;
  border: 1px solid rgba(108, 242, 194, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 40px rgba(108, 242, 194, 0.06);
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: scaleIn 0.6s ease backwards;
  overflow: hidden;
}

.clients-collage img {
  width: 100%;
  display: block;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.clients-collage:hover img {
  transform: scale(1.03);
}

.clients-collage figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ── About section components ──────────────────────────────── */

.about-intro {
  margin-bottom: 4px;
}

.about-block {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 18px;
  padding: 20px 16px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero header */
.about-hero {
  text-align: center;
  padding: 8px 0 20px;
}

.about-overline {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(108, 242, 194, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
  background: rgba(108, 242, 194, 0.06);
}

.about-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #6cf2c2, #5aa2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1.2;
}

.about-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

.about-body-text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}

.about-stat {
  background: #1b2240;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  border-top: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.5s ease backwards;
}

.about-stat:nth-child(1) { animation-delay: 0.3s; }
.about-stat:nth-child(2) { animation-delay: 0.4s; }
.about-stat:nth-child(3) { animation-delay: 0.5s; }
.about-stat:nth-child(4) { animation-delay: 0.6s; }

.about-stat--cyan { border-top-color: var(--accent); }
.about-stat--blue { border-top-color: var(--accent2); }

.about-stat--cyan:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(108, 242, 194, 0.18);
  background: #1f2748;
}

.about-stat--blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(90, 162, 255, 0.18);
  background: #1f2748;
}

.about-stat strong {
  font-size: 26px;
  font-weight: 700;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat--cyan strong { color: var(--accent); }
.about-stat--blue strong { color: var(--accent2); }

.about-stat span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  display: block;
}

/* Subheading with left accent */
.about-subheading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}

/* Feature items: 2-column grid of mini-cards */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(108, 242, 194, 0.04);
  border: 1px solid rgba(108, 242, 194, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.25s ease;
  cursor: default;
}

.about-feature-item:hover {
  background: rgba(108, 242, 194, 0.09);
  border-color: rgba(108, 242, 194, 0.35);
  transform: translateY(-2px);
}

.about-feature-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.about-feature-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* Evidence title: gradient text + trailing line */
.about-evidence-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.about-evidence-title span {
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #6cf2c2, #5aa2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.about-evidence-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(108, 242, 194, 0.3), transparent);
}

/* Outcome cards */
.outcome-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.outcome-card {
  background: #1b2240;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.outcome-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0 0 13px 13px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.outcome-card:hover::after { opacity: 1; }

.outcome-card--towers { border-color: rgba(90, 162, 255, 0.18); }
.outcome-card--towers:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(90, 162, 255, 0.2);
}
.outcome-card--towers::after { background: var(--accent2); }

.outcome-card--mines { border-color: rgba(251, 113, 133, 0.18); }
.outcome-card--mines:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(251, 113, 133, 0.2);
}
.outcome-card--mines::after { background: #fb7185; }

.outcome-card--stairs { border-color: rgba(108, 242, 194, 0.18); }
.outcome-card--stairs:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(108, 242, 194, 0.2);
}
.outcome-card--stairs::after { background: var(--accent); }

.outcome-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 6px;
  padding: 3px 7px;
  width: fit-content;
}

.outcome-badge--towers {
  background: rgba(90, 162, 255, 0.15);
  color: var(--accent2);
}

.outcome-badge--mines {
  background: rgba(251, 113, 133, 0.15);
  color: #fb7185;
}

.outcome-badge--stairs {
  background: rgba(108, 242, 194, 0.15);
  color: var(--accent);
}

.outcome-result {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.outcome-meta {
  font-size: 11px;
  color: var(--muted);
}

.about-disclaimer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
  border-left: 2px solid rgba(108, 242, 194, 0.3);
  margin-top: 4px;
}

/* ── FAQ ────────────────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.review { 
  display: flex;
  align-items: center;
  background: #1b2240; 
  border-radius: 16px; 
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.5s ease backwards;
  cursor: default;
}

.review:nth-child(1) { animation-delay: 0.3s; }
.review:nth-child(2) { animation-delay: 0.4s; }
.review:nth-child(3) { animation-delay: 0.5s; }

.review:hover {
  transform: translateX(5px);
  background: #1f2748;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.review-quote {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.review-stars {
  font-size: 11px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.review-author {
  font-size: 11px;
  color: var(--muted);
}

.faq-item { 
  margin-bottom: 12px;
  animation: fadeIn 0.5s ease backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }

.faq-q {
  background: #1b2240; 
  padding: 14px; 
  border-radius: 14px;
  cursor: pointer; 
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-q:hover {
  background: #1f2748;
  transform: translateX(5px);
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
  max-height: 700px;
  padding: 12px;
  animation: fadeIn 0.3s ease;
}

.faq-cta-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.faq-cta-link:hover {
  opacity: 0.8;
}

.faq-cta-block {
  margin-top: 24px;
  padding: 24px;
  background: #1b2240;
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.faq-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.faq-cta-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

/* ── Отзывы ────────────────────────────────────── */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: Inter, system-ui, sans-serif;
}

.rating-selector {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 12px;
  margin-top: 8px;
}

.rating-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #1b2240;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
}

.rating-btn:hover {
  border-color: var(--accent2);
  background: #1f2748;
}

.rating-btn.active {
  border-color: var(--accent);
  background: rgba(108, 242, 194, 0.1);
  color: var(--accent);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.review-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  animation: slideInUp 0.5s ease backwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-author {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.review-date {
  font-size: 12px;
  color: var(--muted);
}

.review-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.review-star {
  font-size: 16px;
}

.review-text {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-reply {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(108, 242, 194, 0.05);
  border-radius: 10px;
  padding: 12px;
}

.review-reply-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.review-reply-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Каталог инструментов ────────────────────────────────────── */
.tools-catalog {
  width: 100%;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.tool-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.5s ease backwards;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(108, 242, 194, 0.2);
  border-color: var(--accent);
}

.tool-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: inline-block;
}

.tool-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.tool-card > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.tool-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.tool-features span {
  font-size: 12px;
  color: var(--accent2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tool-view {
  width: 100%;
}

.tool-view.hidden {
  display: none;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(108, 242, 194, 0.1);
  transform: translateX(-2px);
}

/* ── Bot Container ────────────────────────────────────── */
.bot-container {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.bot-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 24px;
  animation: fadeIn 0.6s ease 0.2s backwards;
}

.bot-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  animation: slideInUp 0.6s ease backwards;
  transition: all 0.3s ease;
}

.bot-card:nth-child(1) { animation-delay: 0.1s; }
.bot-card:nth-child(2) { animation-delay: 0.2s; }
.bot-card:nth-child(3) { animation-delay: 0.3s; }
.bot-card:nth-child(4) { animation-delay: 0.4s; }

.bot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

.bot-card.locked {
  opacity: 0.45;
  filter: blur(0.6px);
  pointer-events: none;
}

.bot-label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.bot-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 16px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.bot-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 242, 194, 0.1);
}

.bot-button {
  width: 100%;
  padding: 14px;
  min-height: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bot-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bot-button:hover:not(:disabled) {
  box-shadow: 0 0 20px rgba(108, 242, 194, 0.4);
  transform: translateY(-2px);
}

.bot-button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.bot-error {
  display: none;
  color: #fb7185;
  font-size: 13px;
  margin-top: 6px;
  animation: fadeIn 0.3s ease;
}

.bot-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
}

.bot-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.3s ease;
}

.bot-graph {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 10px;
}

.bot-graph div {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
  height: 0;
  --bar-height: 50px;
  animation: growBar 0.6s ease forwards;
  background: linear-gradient(to top, var(--accent), transparent);
}

.bot-graph div.full {
  animation: growBar 0.6s ease forwards, blinkFull 0.6s infinite alternate;
}

.bot-grid {
  display: grid;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.bot-cell {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  animation: cellIn 0.35s ease forwards;
  transition: all 0.25s ease;
}

.bot-cell:hover {
  transform: scale(1.1);
}

.bot-session {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.bot-session-progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.bot-session-progress div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}

.bot-session-progress div.active {
  background: var(--accent);
}

.bot-vip-badge {
  text-align: center;
  font-size: 12px;
  color: var(--accent2);
  margin-bottom: 10px;
}

.bot-history-item {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.bot-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.custom-select {
  position: relative;
  margin-bottom: 14px;
}

.select-trigger {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.select-trigger:hover {
  border-color: var(--accent2);
}

.vip-active .select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 242, 194, 0.1);
}

.select-trigger span {
  color: var(--text);
}

.select-trigger::after {
  content: "▾";
  color: var(--muted);
  transition: transform 0.3s ease;
}

.select-options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: none;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: fadeIn 0.3s ease;
}

.select-options div {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s ease;
}

.select-options div:hover {
  background: rgba(255, 255, 255, 0.08);
}

.select-options .locked {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Анимации видимости ────────────────────────────────────── */
.fade-slide {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-slide.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }

.fade-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-slide-down {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-slide-down.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Access Code Box ─────────────────────────────────── */
.access-code-box {
  background: rgba(108,242,194,0.10);
  border: 2px solid rgba(108,242,194,0.6);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
  text-align: center;
  box-shadow: 0 0 24px rgba(108,242,194,0.15), inset 0 0 24px rgba(108,242,194,0.04);
}
.access-code-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.access-code-value {
  font-family: 'Courier New', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
}
.access-code-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.code-placeholder {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── Live Counter ────────────────────────────────────── */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  margin-top: 14px;
  color: var(--text);
}
#liveUserCount {
  color: #22c55e;
  font-weight: 700;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s ease-in-out infinite;
}


/* ── Review Form Toggle ──────────────────────────────── */
.review-form-toggle {
  width: 100%;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 12px;
  padding: 12px 20px;
  min-height: 44px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.review-form-toggle:hover {
  background: var(--accent);
  color: var(--bg);
}
.review-form-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.review-form-collapse.open {
  max-height: 700px;
}

/* ── Reviews Summary Bar ─────────────────────────────── */
.reviews-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.07);
}
.reviews-summary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}
.reviews-big-score {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -1px;
}
.reviews-stars-row { font-size: 18px; margin: 4px 0; }
.reviews-count { font-size: 12px; color: var(--muted); text-align: center; }
.reviews-summary-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reviews-breakdown-row {
  display: grid;
  grid-template-columns: 24px 1fr 30px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.reviews-breakdown-bar-wrap {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.reviews-breakdown-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
  transition: width 0.6s ease;
}
@media (max-width: 420px) {
  .reviews-summary { flex-direction: column; }
  .reviews-summary-right { width: 100%; }
}

/* ── Tool Online Badge ───────────────────────────────── */
.tool-online-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Coming Soon Message ─────────────────────────────── */
.coming-soon-msg {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  padding: 8px 10px;
  background: rgba(108,242,194,0.08);
  border-radius: 8px;
}
.coming-soon-msg a { color: var(--accent); text-decoration: underline; }

/* ── Narrow viewport nav fix (≤390px devices) ─────────── */
@media (max-width: 390px) {
  nav button {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
  }
}

/* ═══════════════════════════════════════════════════════
   EU COMPLIANCE: Cookie Banner & Legal Footer
   ═══════════════════════════════════════════════════════ */

/* ── Cookie Consent Banner ─────────────────────────────── */
@keyframes cookieBannerSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#axiom-cookie-banner {
  position: fixed;
  bottom: 80px; /* above the bottom nav */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 560px;
  background: var(--card);
  border: 1px solid rgba(108, 242, 194, 0.3);
  border-radius: 14px;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(108, 242, 194, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: cookieBannerSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.cookie-banner-text p {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Buttons — equal visual weight (GDPR dark-patterns prohibition) */
.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.15s, transform 0.1s;
}

.cookie-btn:hover { opacity: 0.85; }
.cookie-btn:active { transform: scale(0.98); }

.cookie-btn-accept {
  background: var(--accent);
  color: #0b0f1a;
  border-color: var(--accent);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-manage-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.15s;
}

.cookie-manage-link:hover { color: var(--text); }

/* Preferences panel */
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-pref-row:last-of-type { border-bottom: none; }

.cookie-pref-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.cookie-pref-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.cookie-pref-desc {
  font-size: 0.775rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  transition: background 0.2s;
}

.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(20px);
}

.cookie-toggle-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Legal Footer ───────────────────────────────────────── */
.legal-footer {
  padding: 20px 20px 100px; /* 100px clears the bottom nav */
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 10px;
}

.legal-footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.legal-footer-links a:hover { color: var(--text); }

.legal-footer-copy {
  font-size: 0.75rem;
  color: rgba(154, 164, 191, 0.5);
}
