/* Файл: SrrachmeldFront/css/styles.css */

:root {
  --sprach-bg: #140f1f;
  --sprach-bg-deep: #0b0813;
  --sprach-surface: rgba(27, 20, 40, 0.86);
  --sprach-surface-strong: rgba(36, 26, 52, 0.94);
  --sprach-surface-soft: rgba(55, 39, 78, 0.42);
  --sprach-line: rgba(204, 170, 255, 0.12);
  --sprach-line-strong: rgba(255, 164, 203, 0.22);
  --sprach-text: #f8f3ff;
  --sprach-text-soft: #d6cde7;
  --sprach-text-muted: #aa9fbe;
  --sprach-accent: #ff7aa8;
  --sprach-accent-strong: #ffb45e;
  --sprach-accent-cool: #8f7bff;
  --sprach-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--sprach-text);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 180, 94, 0.18), transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(143, 123, 255, 0.24), transparent 18%),
    radial-gradient(circle at 62% 72%, rgba(255, 122, 168, 0.14), transparent 20%),
    linear-gradient(180deg, var(--sprach-bg) 0%, var(--sprach-bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 18%, transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

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

.page-shell {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.page-frame {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid var(--sprach-line);
  background:
    radial-gradient(circle at top right, rgba(143, 123, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(19, 14, 30, 0.96), rgba(12, 9, 20, 0.98));
  box-shadow: var(--sprach-shadow);
}

.page-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 180, 94, 0.06), transparent 18%),
    radial-gradient(circle at 74% 18%, rgba(255, 122, 168, 0.08), transparent 22%),
    radial-gradient(circle at 52% 60%, rgba(143, 123, 255, 0.08), transparent 26%);
  pointer-events: none;
}

.topbar,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 34px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1a1026;
  background: linear-gradient(135deg, var(--sprach-accent-strong), var(--sprach-accent));
  box-shadow: 0 14px 32px rgba(255, 122, 168, 0.22);
}

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

.brand-name {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tag {
  color: var(--sprach-text-muted);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--sprach-text-soft);
  transition: 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--sprach-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--sprach-line);
}

.eyebrow,
.section-kicker,
.stage-label,
.stage-card-label,
.contact-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd0df;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 34px;
  padding: 34px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 8px;
}

.hero h1,
.section-head h2,
.page-intro h1,
.info-card h2,
.legal-title {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  margin-top: 18px;
  font-size: clamp(3.3rem, 5.2vw, 6.1rem);
  line-height: 0.92;
}

.hero-lead,
.hero-sublead,
.story-card p,
.feature-card p,
.duo-card p,
.usecase-card p,
.contact-note,
.footer-note,
.page-intro p,
.info-card p {
  color: var(--sprach-text-soft);
  line-height: 1.82;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.hero-sublead {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 1rem;
}

.hero-ecosystem {
  margin: 16px 0 0;
  color: #ffd8e7;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease;
}

.button {
  color: #1a1026;
  background: linear-gradient(135deg, var(--sprach-accent-strong), var(--sprach-accent));
  box-shadow: 0 14px 30px rgba(255, 122, 168, 0.2);
}

.button-secondary {
  color: var(--sprach-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sprach-line-strong);
}

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

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f0e9ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.stage-screen,
.stage-card,
.story-card,
.feature-card,
.duo-card,
.usecase-card,
.info-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sprach-line);
  background: linear-gradient(180deg, var(--sprach-surface-strong), var(--sprach-surface));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.stage-screen {
  min-height: 560px;
  padding: 30px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 180, 94, 0.18), transparent 16%),
    radial-gradient(circle at 76% 20%, rgba(143, 123, 255, 0.24), transparent 18%),
    radial-gradient(circle at 64% 72%, rgba(255, 122, 168, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(36, 24, 54, 0.98), rgba(19, 14, 30, 0.98));
}

.stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.6));
}

.stage-glow,
.stage-orbit,
.stage-wave,
.stage-chip,
.stage-result {
  position: absolute;
}

.stage-glow {
  border-radius: 50%;
  filter: blur(10px);
}

.glow-a {
  width: 200px;
  height: 200px;
  left: 3%;
  top: 8%;
  background: rgba(255, 180, 94, 0.16);
}

.glow-b {
  width: 220px;
  height: 220px;
  right: 6%;
  bottom: 10%;
  background: rgba(143, 123, 255, 0.16);
}

.stage-orbit {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-a {
  width: 260px;
  height: 260px;
  right: 14%;
  top: 11%;
}

.orbit-b {
  width: 340px;
  height: 340px;
  left: 10%;
  bottom: 10%;
}

.stage-wave {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 94, 0.76), transparent);
}

.wave-a {
  width: 62%;
  left: 12%;
  top: 24%;
  transform: rotate(-10deg);
}

.wave-b {
  width: 48%;
  right: 10%;
  top: 49%;
  background: linear-gradient(90deg, transparent, rgba(143, 123, 255, 0.76), transparent);
}

.wave-c {
  width: 54%;
  left: 20%;
  bottom: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 168, 0.76), transparent);
  transform: rotate(8deg);
}

.stage-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #fff0f6;
}

.chip-a { left: 10%; top: 16%; }
.chip-b { right: 18%; top: 24%; }
.chip-c { left: 42%; top: 40%; }
.chip-d { right: 12%; bottom: 28%; }
.chip-e { left: 20%; bottom: 18%; }

.stage-result {
  left: 8%;
  right: 8%;
  bottom: 7%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 7, 16, 0.58);
  backdrop-filter: blur(10px);
}

.stage-result strong {
  display: block;
  margin-top: 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stage-result p {
  margin: 10px 0 0;
  color: var(--sprach-text-soft);
}

.stage-card {
  padding: 24px;
}

.stage-card strong,
.story-card h3,
.feature-card h3,
.usecase-card h3,
.info-card h2 {
  display: block;
  margin: 12px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.content {
  position: relative;
  z-index: 1;
  padding: 8px 34px 42px;
}

.story-block,
.feature-section,
.duo-section,
.usecase-section,
.closing-section,
.page-grid,
.legal-stack {
  margin-top: 38px;
}

.section-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2.3rem, 3.6vw, 4.1rem);
  line-height: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 18px;
}

.story-card,
.feature-card,
.duo-card,
.usecase-card,
.info-card {
  padding: 26px;
}

.story-card-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 94, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(40, 28, 59, 0.98), rgba(27, 20, 40, 0.96));
}

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

.feature-tag {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 180, 94, 0.18), rgba(255, 122, 168, 0.16));
  color: #ffe5ef;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.duo-section {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 18px;
}

.duo-card-large h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.process-list,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.process-list li,
.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--sprach-text-soft);
  line-height: 1.76;
}

.process-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sprach-accent-strong), var(--sprach-accent));
}

.response-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 5, 13, 0.42);
}

.response-card pre {
  margin: 16px 0 0;
  overflow-x: auto;
  color: #ffe6f0;
  font-size: 0.94rem;
}

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

.closing-card {
  max-width: 960px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sprach-line-strong);
  background:
    linear-gradient(135deg, rgba(255, 122, 168, 0.16), rgba(143, 123, 255, 0.12)),
    rgba(24, 18, 36, 0.94);
}

.closing-card p {
  margin: 16px 0 0;
  max-width: 760px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  line-height: 1.34;
  color: #fff5fb;
}

.page-intro {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: 64px 34px 0;
}

.page-intro h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 3vw, 3.4rem);
  line-height: 1.02;
}

.page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  padding: 0 34px;
}

.contact-list,
.legal-stack {
  display: grid;
  gap: 18px;
}

.contact-item {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.contact-value {
  margin-top: 8px;
  line-height: 1.72;
  color: var(--sprach-text);
}

.legal-stack {
  position: relative;
  z-index: 1;
  padding: 0 34px;
}

.legal-title {
  font-size: 1.08rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding: 24px 34px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--sprach-text-muted);
}

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

@media (max-width: 1140px) {
  .hero,
  .story-grid,
  .feature-grid,
  .duo-section,
  .usecase-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--container));
    padding: 10px 0 20px;
  }

  .topbar,
  .hero,
  .content,
  .page-intro,
  .page-grid,
  .legal-stack,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .stage-screen {
    min-height: 400px;
  }

  .story-card,
  .feature-card,
  .duo-card,
  .usecase-card,
  .info-card,
  .stage-card {
    padding: 20px;
  }
}
