/* ==========================================================================
   vozmozhnosti.css — Page styles | Возможности и команды
   Depends on theme.css (tokens, components). Page-specific only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.vz-hero {
  position: relative;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% -10%, rgba(217, 119, 87, .14), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.vz-hero__inner {
  max-width: 760px;
  margin-inline: auto;
}

.vz-hero h1 {
  margin-top: 0.25rem;
}

.vz-hero__lead {
  margin-inline: auto;
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  max-width: 60ch;
}

.vz-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.vz-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 1em;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.vz-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   2. SECTION HEAD
   -------------------------------------------------------------------------- */
.vz-head {
  max-width: 660px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.vz-head p {
  margin-inline: auto;
  margin-top: 0.875rem;
}

.vz-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   3. CARDS — icon + phrases
   -------------------------------------------------------------------------- */
.vz-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  background: rgba(217, 119, 87, .12);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.vz-phrases {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.125rem;
}

/* Phrase chips — speech bubbles for user voice lines */
.vz-phrase {
  position: relative;
  padding: 0.6em 0.9em;
  border-radius: 0 var(--r-sm) var(--r-sm) var(--r-sm);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

/* PC-command chips — monospace, accent border */
.vz-phrase--cmd {
  background: rgba(33, 30, 26, .04);
  border-color: rgba(217, 119, 87, .35);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   4. DEMO CHAT
   -------------------------------------------------------------------------- */
.vz-chat {
  max-width: 640px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.vz-chat__row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 85%;
}

.vz-chat__row--user {
  align-self: flex-end;
  align-items: flex-end;
}

.vz-chat__row--ai {
  align-self: flex-start;
  align-items: flex-start;
}

.vz-chat__who {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.vz-bubble {
  margin: 0;
  max-width: none;
  padding: 0.75em 1em;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}

.vz-bubble--user {
  background: var(--clay);
  color: #fff;
  border-radius: var(--r) var(--r) 4px var(--r);
}

.vz-bubble--ai {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r) var(--r) var(--r) 4px;
}

/* --------------------------------------------------------------------------
   5. PC SECTION — inline CTA card
   -------------------------------------------------------------------------- */
.vz-card-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border-color: var(--gold);
}

.vz-card-cta .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   6. MODELS
   -------------------------------------------------------------------------- */
.vz-model__name {
  margin: 0.75rem 0 0.5rem;
}

.vz-models-link {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: none;
}

/* --------------------------------------------------------------------------
   7. FINAL CTA
   -------------------------------------------------------------------------- */
.vz-cta__box {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(252, 63, 29, .10), transparent 60%),
    var(--bg-warm);
  border: 1px solid var(--gold);
}

.vz-cta__box p {
  margin-inline: auto;
  margin: 0.875rem auto 1.75rem;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .vz-chat__row {
    max-width: 95%;
  }

  .vz-hero__cta .btn,
  .vz-cta__box .btn {
    width: 100%;
  }
}
