/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #111111;
  --bg-secondary: #161618;
  --bg-card: #1c1c1c;
  --bg-card-hover: #252526;
  --border: #2a2a2d;
  --border-light: #3d3d40;

  --text-primary: #ffffff;
  --text-secondary: #c5c5c5;
  --text-muted: #888888;

  --accent: #d97757;
  --accent-hover: #e8956f;
  --accent-subtle: rgba(217, 119, 87, 0.1);
  --accent-green: #4ade80;
  --accent-blue: #60a5fa;
  --accent-purple: #a78bfa;
  --accent-pink: #e43f6f;
  --accent-pink-dark: #bf2a82;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 25px;
  --radius-pill: 100px;

  --font: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1200px;
  --section-padding: 120px 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 0
  );
  background-size: 36px 36px;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ===== Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}
.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(
    180deg,
    rgba(39, 39, 39, 0.55) 0%,
    rgba(39, 39, 39, 0.35) 20%,
    rgba(39, 39, 39, 0.1) 55%,
    rgba(39, 39, 39, 0) 100%
  );
  pointer-events: none;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.nav__logo-spin {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav__spin-icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

.nav__spin-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav__logo-x {
  color: var(--text-secondary);
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.nav__logo-ingru {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__ingru-icon {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.nav__ingru-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.nav__ingru-title {
  height: 11px;
  width: auto;
  display: block;
}

.nav__ingru-subtitle {
  height: 6px;
  width: auto;
  display: block;
  opacity: 0.7;
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__phone {
  font-size: 16px;
  color: var(--text-primary);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav__phone:hover {
  opacity: 0.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.btn--secondary:hover {
  color: var(--text-primary);
  border-color: #555;
}

.btn--large {
  font-size: 17px;
  padding: 16px 40px;
  border-radius: var(--radius-md);
}

.btn--demo {
  background: linear-gradient(
    110deg,
    #5a3f9e 0%,
    #8c3a95 30%,
    #bf2a7c 60%,
    #794655 100%
  );
  color: white;
  border: 2px solid rgba(49, 57, 66, 0.5);
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 40px rgba(140, 58, 149, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn--demo__icon {
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.btn--demo:hover {
  box-shadow: 0 0 60px rgba(140, 58, 149, 0.6);
  transform: translateY(-2px);
}

/* ===== Section Badges & Titles ===== */
.section__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.65;
}

/* ===== Hero ===== */
.hero {
  padding: 196px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

/* Top glow */
.hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background: radial-gradient(
    ellipse 60% 50% at 50% -10%,
    rgba(228, 63, 111, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== Hero Visual — Floating Pills ===== */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__pills-area {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Center glow behind pills */
.hero__pills-area::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(228, 63, 111, 0.1) 0%,
    rgba(217, 119, 87, 0.04) 50%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero__feature-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: white;
  white-space: nowrap;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
  backdrop-filter: blur(4px);
}

.pill-icon {
  font-size: 16px;
  line-height: 1;
}

.hero__feature-pill--active {
  background: #2e2e2e;
  border-color: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero__feature-pill--blur-sm {
  filter: blur(0.8px);
  opacity: 0.6;
}

.hero__feature-pill--blur-md {
  filter: blur(1.8px);
  opacity: 0.45;
}

.hero__feature-pill:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}

/* Pill positions */
.hero__feature-pill:nth-child(1) {
  bottom: 30%;
  left: 6%;
} /* Анализ сделок — active */
.hero__feature-pill:nth-child(2) {
  top: 22%;
  left: 10%;
} /* Анализ звонков — blur */
.hero__feature-pill:nth-child(3) {
  top: 44%;
  right: 4%;
} /* Триггеры — sharp */
.hero__feature-pill:nth-child(4) {
  top: 8%;
  right: 16%;
} /* Быстрые ответы — blur */

/* ===== Stats ===== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.stats__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats__number {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats__label {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ===== Features ===== */
.features {
  padding: var(--section-padding);
  text-align: center;
}

.features__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card--large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 24px;
  padding: 44px 36px;
  background: linear-gradient(135deg, var(--bg-card), rgba(217, 119, 87, 0.04));
}

.feature-card--large .feature-card__icon {
  grid-row: span 2;
  font-size: 48px;
  align-self: center;
}

.feature-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Demo Carousel Section ===== */
.demo-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  text-align: center;
}

.demo-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Tabs */
.demo-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 32px;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.demo-tab:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.demo-tab--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.demo-tab__num {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.6;
}

.demo-tab--active .demo-tab__num {
  opacity: 1;
}

/* Slides */
.demo-slide {
  display: none;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.demo-slide--active {
  display: flex;
}

.demo-slide__info {
  flex: 0 0 320px;
  min-width: 0;
}

.demo-slide__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.demo-slide__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.demo-slide__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-slide__list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.demo-slide__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 13px;
}

.demo-slide__visual {
  flex: 1;
  min-width: 0;
  height: 480px;
}

/* ===== SPIN AI Interface Components ===== */

/* Shared base */
.spin-chat,
.spin-modal {
  background: #0f2231;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
  color: #fff;
}

.spin-call-demo {
  background: #0f2231;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
  color: #fff;
}

/* --- Slide 1: SPIN AI Chat Panel --- */
.spin-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spin-chat__header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #081e30;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.spin-chat__header::-webkit-scrollbar {
  display: none;
}

.spin-chat__htab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: #9da5b4;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}

.spin-chat__htab--active {
  color: #fff;
  border-bottom-color: var(--accent-pink);
}

.spin-chat__hclose {
  margin-left: auto;
  padding: 0 14px;
  background: transparent;
  border: none;
  color: #9da5b4;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.spin-chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

/* --- Chat state visibility --- */
.spin-chat-idle,
.spin-chat-loading,
.spin-chat-result {
  display: none;
}

.spin-chat-idle {
  flex: 1;
}

.spin-chat[data-state="idle"] .spin-chat-idle {
  display: flex;
}
.spin-chat[data-state="click"] .spin-chat-idle {
  display: flex;
}
.spin-chat[data-state="loading"] .spin-chat-loading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spin-chat[data-state="result"] .spin-chat-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: spinResultIn 0.45s ease forwards;
}

/* --- Chat bubbles --- */
.spin-chat__bubble {
  max-width: 88%;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
}

.spin-chat__bubble--user {
  align-self: flex-end;
  background: rgba(228, 63, 111, 0.18);
  border: 1px solid rgba(228, 63, 111, 0.25);
  color: #fff;
  border-radius: 12px 12px 2px 12px;
}

.spin-chat__bubble--ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8ccd8;
  border-radius: 2px 12px 12px 12px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.spin-chat__ai-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.spin-chat__ai-icon {
  color: var(--accent-pink);
  font-size: 12px;
}

.spin-chat__ai-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spin-chat__ai-text {
  font-size: 12px;
  line-height: 1.65;
  color: #c8ccd8;
}

.spin-chat__ai-text strong {
  color: #fff;
}

.spin-chat__ai-actions {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.spin-chat__ai-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 4px 6px;
  color: #9da5b4;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: border-color 0.15s, color 0.15s;
}

.spin-chat__ai-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* --- Typing dots bubble --- */
.spin-chat__typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px 12px 12px 12px;
  padding: 10px 14px;
}

.spin-chat__typing span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9da5b4;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.spin-chat__typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.spin-chat__typing span:nth-child(3) {
  animation-delay: 0.4s;
}

/* --- Preset chips --- */
.spin-chat__chips {
  display: flex;
  gap: 5px;
  padding: 0 12px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.spin-chat__chips::-webkit-scrollbar {
  display: none;
}

.spin-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #b0b8c8;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.spin-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.spin-chat[data-state="click"] .spin-chip--anim {
  transform: scale(0.94);
  background: rgba(228, 63, 111, 0.18);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.spin-chat[data-state="loading"] .spin-chip--anim,
.spin-chat[data-state="result"] .spin-chip--anim {
  background: rgba(228, 63, 111, 0.1);
  border-color: rgba(228, 63, 111, 0.45);
  color: var(--accent-pink);
}

/* --- Input row --- */
.spin-chat__input-row {
  padding: 0 12px 8px;
  flex-shrink: 0;
}

.spin-chat__input-wrap {
  display: flex;
  align-items: center;
  background: #071624;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 8px 6px 12px;
  gap: 6px;
}

.spin-chat__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 12px;
  color: #5a6070;
  font-family: var(--font);
}

.spin-chat__send {
  background: var(--accent-pink);
  border: none;
  border-radius: 6px;
  padding: 5px 7px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* --- Brand footer --- */
.spin-chat__brand {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.2);
  padding-bottom: 7px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* --- Slide 2: Trigger Setup Modal --- */
.spin-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spin-modal__header {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #081e30;
  flex-shrink: 0;
}

.spin-modal__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-size: 13px;
  color: #9da5b4;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s;
  white-space: nowrap;
}

.spin-modal__tab svg {
  flex-shrink: 0;
}

.spin-modal__tab--active {
  color: #fff;
  border-bottom-color: var(--accent-pink);
}

.spin-modal__close {
  margin-left: auto;
  padding: 14px 18px;
  font-size: 18px;
  color: #9da5b4;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
}

.spin-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.spin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spin-field__label {
  font-size: 12px;
  color: #9da5b4;
}

.spin-field__label--pink {
  color: var(--accent-pink);
}

.spin-field__note {
  color: #5a6070;
}

.spin-input,
.spin-select,
.spin-textarea {
  background: #14161d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  color: #fff;
  font-family: var(--font);
}

.spin-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.spin-select--placeholder {
  color: #5a6070;
}

.spin-select__arrow {
  color: #5a6070;
  font-size: 10px;
}

.spin-textarea {
  font-size: 12px;
  color: #c8ccd8;
  line-height: 1.6;
}

.spin-field__counter {
  font-size: 11px;
  color: #5a6070;
  text-align: right;
}

.spin-select-tags {
  background: #14161d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  cursor: pointer;
}

.spin-tag {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.spin-tag__x {
  color: #9da5b4;
  cursor: pointer;
}

.spin-select-tags__placeholder {
  font-size: 12px;
  color: #5a6070;
  flex: 1;
}

.spin-select-tags__arrow {
  font-size: 10px;
  color: #5a6070;
  margin-left: auto;
}

.spin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #c8ccd8;
  cursor: pointer;
}

.spin-checkbox__box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #14161d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.spin-checkbox__box--checked {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}

.spin-field--sm .spin-field__label {
  font-size: 11px;
  color: #5a6070;
}

.spin-modal__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.spin-modal__create {
  width: 100%;
  background: var(--accent-pink);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.spin-modal__create:hover {
  opacity: 0.9;
}

.spin-modal__brand {
  font-size: 11px;
  color: #5a6070;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Slide 3: Call Demo --- */
.spin-call-demo {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

/* amoCRM feed note — dark theme */
.spin-call-entry {
  background: transparent;
  padding: 14px 16px 10px;
}

.amo-note {
  display: flex;
  gap: 10px;
}

.amo-note--call {
  margin-top: 10px;
}

.amo-note__icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.amo-note__icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.amo-note__icon-wrap--task {
  background: rgba(68, 152, 201, 0.18);
  color: #6bb8e8;
}

.amo-note__icon-wrap--call {
  background: rgba(52, 168, 83, 0.18);
  color: #4ade80;
}

.amo-note__call-arrow {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34a853;
  color: #fff;
  font-size: 7px;
  line-height: 11px;
  text-align: center;
}

.amo-note__line {
  flex: 1;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0 0;
  min-height: 8px;
}

.amo-note__body {
  flex: 1;
  min-width: 0;
  padding-bottom: 4px;
}

.amo-note__header {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.amo-note__date {
  font-size: 11px;
  color: #7a8a9a;
  white-space: nowrap;
}

.amo-note__for,
.amo-note__call-type {
  font-size: 11px;
  color: #9da5b4;
}

.amo-note__linked {
  font-size: 11px;
  color: #6aa6e8;
  cursor: pointer;
  margin-left: auto;
}

.amo-note__task-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #e0e4ec;
  margin-bottom: 2px;
}

.amo-note__call-content {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #c8ccd8;
}

.amo-note__call-dur {
  color: #7a8a9a;
}

.amo-note__call-link {
  color: #6aa6e8;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.amo-note__call-link:hover {
  text-decoration: underline;
}

.amo-note__call-status {
  font-size: 11px;
  color: #7a8a9a;
  margin-top: 5px;
}

/* SPIN AI button — exact match to real widget */
.spin-call-btn--spin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  margin-left: 4px;
  font-size: 12px;
  font-family: var(--font);
  color: #fff;
  background: var(--accent-pink);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.15s, filter 0.15s, opacity 0.15s;
}

.spin-call-result {
  background: #0f2231;
  border-top: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.spin-call-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spin-call-result__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.spin-call-result__close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #9da5b4;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}

.spin-call-result__body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spin-call-result__section-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.spin-call-result__text {
  font-size: 13px;
  color: #c8ccd8;
  line-height: 1.7;
}

.spin-call-result__accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.spin-call-result__chevron {
  color: #9da5b4;
  font-size: 11px;
}

/* ===== Demo Animations ===== */

/* --- Slide 1: state machine handled by .spin-chat CSS above --- */

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* --- Slide 2 state machine --- */
.spin-modal {
  position: relative;
}

.spin-modal__success {
  display: none;
  position: absolute;
  inset: 0;
  background: #0f2231;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px 24px;
}

.spin-modal[data-state="success"] .spin-modal__success {
  display: flex;
  animation: successIn 0.35s ease forwards;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.spin-modal__create {
  transition: transform 0.15s, filter 0.15s;
}

.spin-modal[data-state="click"] .spin-modal__create {
  transform: scale(0.97);
  filter: brightness(1.25);
}

.spin-modal__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(228, 63, 111, 0.12);
  border: 2px solid var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-pink);
}

.spin-modal__success-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.spin-modal__success-desc {
  font-size: 13px;
  color: #9da5b4;
  max-width: 220px;
  line-height: 1.5;
}

/* --- Slide 3 state machine --- */
.spin-call-result {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.spin-call-demo[data-state="idle"] .spin-call-result,
.spin-call-demo[data-state="click"] .spin-call-result,
.spin-call-demo[data-state="loading"] .spin-call-result {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.spin-call-demo[data-state="result"] .spin-call-result {
  opacity: 1;
  transform: translateY(0);
}

/* SPIN AI button states */
.spin-call-demo[data-state="click"] .spin-call-btn--spin {
  transform: scale(0.94);
  filter: brightness(1.3);
}

.spin-call-demo[data-state="loading"] .spin-call-btn--spin {
  opacity: 0.6;
}

/* ===== Results ===== */
.results {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  text-align: center;
}

.results__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.results__animated-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 12px;
  color: var(--text-primary);
}

/* обёртка: оба элемента занимают одну ячейку сетки → накладываются */
.results__anim-wrap {
  display: inline-grid;
  vertical-align: middle;
}

.results__anim-wrap > * {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results__word {
  color: var(--accent-pink);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.results__anim-dots {
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.results__anim-dots.is-visible {
  opacity: 1;
}

.results__anim-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.results__anim-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.results__anim-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.results__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  text-align: left;
}

.results__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.results__card.is-active {
  border-color: rgba(228, 63, 111, 0.4);
  background: #1e1a1f;
}

.results__card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  transition: color 0.4s ease;
}

.results__card.is-active .results__card-title {
  color: var(--accent-pink);
}

.results__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.results__card-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.results__card-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-pink);
  opacity: 0.5;
  font-size: 12px;
}

/* ===== Pricing ===== */
.pricing {
  padding: var(--section-padding);
  text-align: center;
}

.pricing__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Ops explainer: 4 columns --- */
.ops-explainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  text-align: left;
}

.ops-explainer__item {
  background: var(--bg-card);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ops-explainer__icon {
  color: var(--accent-pink);
  margin-bottom: 2px;
}

.ops-explainer__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.ops-explainer__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.ops-explainer__cost {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-pink);
  margin-top: 4px;
}

.ops-explainer__cost span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* --- Deal examples: 3 columns --- */
.ops-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.ops-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  position: relative;
}

.ops-example--accent {
  border-color: var(--accent-pink);
}

.ops-example__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-pink);
  border: 1px solid var(--accent-pink);
  border-radius: 100px;
  padding: 2px 9px;
  margin-bottom: 10px;
}

.ops-example__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ops-example__desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ops-example__breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.ops-example__breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.ops-example__breakdown li span:last-child {
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.ops-example__total {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.ops-example__total span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* --- Package card --- */
.ops-package {
  display: flex;
  justify-content: center;
}

.ops-package__card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--accent-pink);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 0 60px rgba(228, 63, 111, 0.1);
}

.ops-package__ops {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.ops-package__ops span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.ops-package__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 28px;
}

.ops-package__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 28px;
}

.ops-package__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ops-package__check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.ops-package__btn {
  display: block;
  background: var(--accent-pink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 0;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: filter 0.2s, transform 0.2s;
}

.ops-package__btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ===== FAQ ===== */
.faq {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  text-align: center;
}

.faq__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.faq__title-accent {
  background: linear-gradient(
    135deg,
    var(--accent-pink),
    var(--accent-pink-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 37.5px;
  overflow: hidden;
  transition: border-color 0.3s, border-radius 0.3s;
}

.faq__item.open {
  border-radius: var(--radius-xl);
  border-color: var(--border-light);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq__item.open .faq__question {
  font-weight: 700;
}

.faq__question-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}

.faq__item.open .faq__question-icon {
  transform: rotate(45deg);
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: white;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 400px;
}

.faq__answer-inner {
  padding: 0 28px 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 24px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(252, 42, 68, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cta__content {
  max-width: 540px;
}

.cta__bonus {
  display: inline-block;
  background: rgba(252, 42, 68, 0.12);
  border: 1px solid rgba(252, 42, 68, 0.3);
  color: #ff6b7a;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta__btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.cta__btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.cta__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff 0%, #999 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.cta__btn {
  display: inline-block;
  background: #fc2a44;
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.cta__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cta__note {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}

.cta__visual {
  flex-shrink: 0;
}

.cta__img {
  width: 380px;
  height: auto;
  transform: rotate(11.63deg);
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 32px 24px 0;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__main {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer__info a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__info a:hover {
  color: var(--text-primary);
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.footer__nav a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--text-primary);
}

.footer__social-link {
  display: flex;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__social-link:hover {
  opacity: 1;
}

/* Copyright bar */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0 20px;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: center;
}

.footer__bottom-inner span,
.footer__bottom-inner a {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__bottom-inner a {
  transition: color 0.2s;
}

.footer__bottom-inner a:hover {
  color: var(--text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    min-height: auto;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__pills-area {
    height: 280px;
  }

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

  .feature-card--large {
    grid-column: span 2;
  }

  .ops-explainer {
    grid-template-columns: repeat(2, 1fr);
  }

  .ops-examples {
    grid-template-columns: 1fr;
  }

  .ops-package__card {
    padding: 28px 20px;
  }

  .ops-package__ops {
    font-size: 32px;
  }

  /* Demo carousel — tablet */
  .demo-slide__info {
    flex: 0 0 260px;
  }

  /* CTA — tablet */
  .cta__img {
    width: 280px;
  }

  /* Footer — tablet */
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__container {
    height: 64px;
  }

  .nav__phone {
    font-size: 14px;
  }

  .nav__logo-x,
  .nav__logo-ingru {
    display: none;
  }

  .hero {
    text-align: center;
    padding-top: 100px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__pills-area {
    height: 240px;
  }

  .stats__container {
    flex-direction: column;
    gap: 32px;
  }

  .stats__divider {
    width: 60px;
    height: 1px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .results__cards {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-card--large .feature-card__icon {
    grid-row: auto;
  }

  /* Demo carousel — mobile */
  .demo-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  .demo-tabs::-webkit-scrollbar {
    display: none;
  }

  .demo-slide--active {
    flex-direction: column;
  }

  .demo-slide__info {
    flex: none;
    width: 100%;
  }

  .demo-slide__visual {
    width: 100%;
    height: 400px;
    overflow-x: auto;
  }

  /* CTA — mobile */
  .cta__container {
    flex-direction: column;
    gap: 40px;
  }

  .cta__visual {
    display: none;
  }

  .faq__question {
    font-size: 15px;
    padding: 18px 20px;
  }

  .faq__item {
    border-radius: 20px;
  }

  /* Footer — mobile */
  .footer__main {
    gap: 20px;
  }

  .footer__nav {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .hero__pills-area {
    height: 220px;
  }

  .results__cards {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__btn,
  .cta__btn-secondary {
    text-align: center;
  }
}
