:root {
  /* Brand palette — synced з aliks.com.ua */
  --primary-start: #075087;
  --primary-end: #2a82be;
  --primary-mid: #066cb6;
  --accent: #ec7723;
  --accent-hover: #d4691f;
  --accent-soft: #e89b17;

  --bg-1: #ffffff;
  --bg-2: #f7f7f7;
  --bg-3: #ededed;
  --soft-peach: #fcf1eb;
  --soft-sky: #cfe6f6;

  --border: #e6e6e6;
  --border-hover: #cfd4dd;
  --card: #ffffff;

  --text-heading: #312447;
  --text: #312447;
  --text-muted: #6b6478;
  --text-light: #999;

  --green: #16a34a;
  --red: #dc2626;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 46px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(49,36,71,0.05);
  --shadow-md: 0 4px 14px rgba(49,36,71,0.07), 0 2px 4px rgba(49,36,71,0.04);
  --shadow-lg: 0 16px 40px rgba(49,36,71,0.08), 0 4px 12px rgba(49,36,71,0.05);
  --shadow-accent: 0 10px 28px rgba(236,119,35,0.28);
  --shadow-blue: 0 10px 28px rgba(42,130,190,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

/* ===== Buttons — pill-shaped як на aliks.com.ua ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
  font-family: inherit;
}
.btn--sm { padding: 10px 22px; font-size: 0.88rem; }
.btn--lg { padding: 16px 40px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(236,119,35,0.36); }

.btn--ghost {
  background: #fff; color: var(--primary-start);
  border-color: var(--primary-start);
}
.btn--ghost:hover { background: var(--primary-start); color: #fff; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .logo { font-size: 1.2rem; }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { font-weight: 800; font-size: 1.4rem; color: var(--text-heading); letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav__link { color: var(--text-muted); font-weight: 600; transition: color var(--transition); font-size: 0.92rem; }
.nav__link:hover { color: var(--primary-start); }
.nav__cta { display: none; } /* hidden on desktop, shown inside mobile menu */
.header__cta { display: inline-flex; }
.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: none; padding: 0;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-heading); border-radius: 2px;
  transition: var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 24px rgba(49,36,71,0.08);
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link {
    display: block; width: 100%;
    padding: 14px 0; font-size: 1.02rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__link:last-of-type { border-bottom: none; }
  .nav__cta { display: inline-flex; margin-top: 16px; width: 100%; }
}

/* ===== Sections ===== */
section { padding: 88px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--soft-sky); border: 1px solid rgba(42,130,190,0.2);
  font-size: 0.82rem; color: var(--primary-start); font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow--center { display: flex; width: fit-content; margin-left: auto; margin-right: auto; margin-bottom: 16px; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(22,163,74,0.5);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%, var(--soft-sky) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 85%, var(--soft-peach) 0%, transparent 55%),
    var(--bg-1);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.hero__sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; line-height: 1.6; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 560px; padding-top: 32px; border-top: 1px solid var(--border); }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { color: var(--text-heading); font-size: 1.02rem; font-weight: 700; }
.trust-item span { color: var(--text-muted); font-size: 0.82rem; line-height: 1.35; }
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 780px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-2);
}
.carousel__track {
  position: absolute; inset: 0;
}
.carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .carousel__slide img { object-fit: contain; padding: 12px; }
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: var(--text-heading);
  font-size: 1.6rem; font-weight: 400; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.carousel__arrow:hover { background: #fff; color: var(--primary-start); box-shadow: var(--shadow-md); }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.carousel__dot.is-active { background: var(--accent); width: 24px; border-radius: 4px; }
.carousel__dot:hover:not(.is-active) { background: rgba(255,255,255,0.9); }
.carousel__caption {
  position: absolute; bottom: 36px; left: 16px; right: 16px;
  color: #fff; font-size: 0.82rem; font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.carousel:hover .carousel__caption { opacity: 1; }
/* Hide arrows/dots if only 1 slide */
.carousel.is-single .carousel__arrow,
.carousel.is-single .carousel__dots { display: none; }

/* ===== iPhone mockup ===== */
.phone-mock {
  position: relative;
  width: 320px;
  filter: drop-shadow(0 30px 60px rgba(7,80,135,0.22)) drop-shadow(0 12px 24px rgba(49,36,71,0.12));
}
.phone-mock__frame {
  background: #0f172a;
  border-radius: 48px;
  padding: 10px;
  position: relative;
  border: 2px solid #1e293b;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05);
}
.phone-mock__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #0f172a; border-radius: 20px;
  z-index: 2;
}
.phone-mock__screen {
  background: linear-gradient(180deg, #f0f4f8 0%, #e6eef5 100%);
  border-radius: 38px;
  overflow: hidden;
  min-height: 560px;
  display: flex; flex-direction: column;
}

.chat-header {
  background: linear-gradient(135deg, #1e5a8f, #2a82be);
  color: #fff;
  padding: 44px 16px 14px;
  display: flex; align-items: center; gap: 10px;
}
.chat-header__back { font-size: 1.4rem; opacity: 0.85; font-weight: 300; }
.chat-header__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--primary-start);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.chat-header__info { line-height: 1.2; }
.chat-header__name { font-weight: 700; font-size: 0.9rem; }
.chat-header__status { font-size: 0.72rem; opacity: 0.85; }

.chat-body {
  flex: 1; padding: 16px 14px 20px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}

.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.8rem;
  line-height: 1.42;
  color: #1f2937;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
  animation: bubble-in 0.4s ease both;
}
.bubble--in { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--out {
  align-self: flex-end;
  background: linear-gradient(135deg, #2a82be, #1e5a8f);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble--out strong { color: #ffd28a; font-weight: 700; }
.bubble--sm { font-size: 0.78rem; padding: 8px 12px; }
.bubble--file {
  display: flex; gap: 10px; align-items: center;
  background: rgba(42,130,190,0.92);
}
.bubble--file .file-ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.22);
  display: grid; place-items: center;
  font-size: 1rem; flex-shrink: 0;
}
.bubble--file .file-name { font-weight: 600; font-size: 0.78rem; }
.bubble--file .file-meta { font-size: 0.68rem; opacity: 0.78; margin-top: 2px; }

.chat-typing {
  align-self: flex-start;
  background: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: flex; gap: 4px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #94a3b8;
  animation: typing 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating orbit badges */
.phone-orbit {
  position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(49,36,71,0.12), 0 4px 10px rgba(49,36,71,0.08);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.phone-orbit--doc {
  top: 22%; left: -26px;
  color: var(--primary-end);
  animation-delay: 0s;
}
.phone-orbit--gear {
  top: 40%; right: -28px;
  color: var(--primary-start);
  animation-delay: 1.8s;
}
.phone-orbit--bolt {
  bottom: 18%; left: -18px;
  color: var(--accent);
  animation-delay: 3.4s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero__visual { min-height: auto; margin: 20px auto 0; }
  .phone-mock { width: 280px; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__trust { grid-template-columns: 1fr 1fr; padding-top: 24px; }
  .hero__cta { margin-bottom: 24px; }
  .hero__cta .btn { flex: 1; min-width: 180px; }
}
@media (max-width: 480px) {
  .hero__trust { grid-template-columns: 1fr; gap: 14px; }
  .hero__cta .btn { flex: 1 0 100%; }
  .carousel__arrow { width: 36px; height: 36px; font-size: 1.4rem; }
}

/* ===== PROBLEM ===== */
.problem { background: var(--bg-2); }
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem__card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.problem__card:hover { border-color: var(--primary-end); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--soft-sky);
  display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.problem__card h3 { color: var(--text-heading); margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.problem__card p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 768px) { .problem__grid { grid-template-columns: 1fr; } }

/* ===== SOLUTION ===== */
.solution__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.solution__card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.solution__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.solution__card--accent {
  background: linear-gradient(155deg, var(--soft-peach) 0%, #fff 70%);
  border-color: rgba(236,119,35,0.4);
}
.solution__label {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--soft-sky); color: var(--primary-start);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 16px;
}
.solution__card--accent .solution__label { background: var(--soft-peach); color: var(--accent); }
.solution__card h3 { color: var(--text-heading); font-size: 1.32rem; margin-bottom: 20px; font-weight: 700; }
.features { display: flex; flex-direction: column; gap: 12px; }
.features li {
  color: var(--text); font-size: 0.97rem; line-height: 1.5;
  padding-left: 28px; position: relative;
}
.features li::before {
  content: "✓"; color: var(--accent);
  position: absolute; left: 0; top: 0; font-weight: 700; font-size: 1.1rem;
}
@media (max-width: 900px) { .solution__grid { grid-template-columns: 1fr; } }

/* ===== HOW ===== */
.how { background: var(--bg-2); }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px; position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step:hover { border-color: var(--primary-end); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step__num {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: #fff; font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: var(--shadow-blue);
}
.step h3 { color: var(--text-heading); margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.step p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 768px) { .how__steps { grid-template-columns: 1fr; } }

/* ===== PRICING ===== */
.billing-toggle {
  display: flex; gap: 4px; padding: 5px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: fit-content; margin: 0 auto 48px;
}
.billing-btn {
  padding: 10px 22px; border-radius: var(--radius-pill); border: none;
  background: transparent; color: var(--text-muted);
  font-weight: 600; cursor: pointer; transition: var(--transition);
  font-family: inherit;
}
.billing-btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.plan:hover { border-color: var(--primary-end); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: linear-gradient(165deg, var(--soft-sky) 0%, #fff 60%);
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.02);
}
.plan--featured:hover { transform: scale(1.02) translateY(-4px); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 8px 18px; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: var(--shadow-accent);
}
.plan__name { color: var(--text-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.plan__desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.price { font-size: 2.8rem; font-weight: 800; color: var(--text-heading); letter-spacing: -0.02em; }
.plan__period { color: var(--text-muted); font-size: 1rem; font-weight: 500; }
.plan .features { margin-bottom: 28px; flex: 1; }
.pricing__note {
  text-align: center; margin-top: 40px;
  color: var(--text-muted); font-size: 0.96rem;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.pricing__note a { color: var(--accent); font-weight: 700; }
@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
}

/* ===== SECURITY ===== */
.security { background: var(--bg-2); }
.security__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sec-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.sec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sec-card--accent {
  border-color: rgba(236,119,35,0.35);
  background: linear-gradient(180deg, #fff 0%, var(--soft-peach) 180%);
}
.sec-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: var(--soft-sky);
  display: grid; place-items: center;
  font-size: 1.8rem; margin: 0 auto 18px;
}
.sec-card--accent .sec-icon { background: var(--soft-peach); }
.sec-card h3 { color: var(--text-heading); margin-bottom: 10px; font-size: 1.18rem; font-weight: 700; }
.sec-card p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 768px) { .security__grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq__item[open] { border-color: var(--primary-end); box-shadow: var(--shadow-md); }
.faq__item summary {
  cursor: pointer; font-weight: 600; color: var(--text-heading);
  list-style: none; padding-right: 30px; position: relative;
  font-size: 1rem;
}
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: -4px;
  font-size: 1.5rem; color: var(--accent); transition: var(--transition);
  font-weight: 400;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-muted); margin-top: 12px; font-size: 0.97rem; line-height: 1.6; }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, var(--soft-peach) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 90%, var(--soft-sky) 0%, transparent 55%),
    var(--bg-2);
}
.cta__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.cta h2 { color: var(--text-heading); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 16px; font-weight: 700; letter-spacing: -0.01em; }
.cta__text p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 28px; }
.cta__contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-line {
  color: var(--text); font-size: 0.98rem; font-weight: 500;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-line:hover { border-color: var(--primary-end); color: var(--primary-start); }

.lead-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--text-heading); font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  color: var(--text-heading); transition: var(--transition);
  outline: none; font-size: 0.95rem;
  font-family: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-light); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary-end);
  box-shadow: 0 0 0 3px rgba(42,130,190,0.15);
}
.field textarea { resize: vertical; min-height: 60px; }
.lead-form button[type="submit"] { grid-column: 1 / -1; margin-top: 6px; }
.cta__note { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.8rem; text-align: center; }
.cta__note a { color: var(--primary-start); text-decoration: underline; }
.form-status { grid-column: 1 / -1; font-size: 0.92rem; text-align: center; min-height: 20px; font-weight: 500; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: var(--red); }
.form-status.is-pending { color: var(--text-muted); }
@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; padding: 28px; }
}

/* ===== Footer ===== */
.footer { background: var(--bg-3); border-top: 1px solid var(--border); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer p { color: var(--text-muted); font-size: 0.88rem; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--primary-start); }

/* ===== Sales copy additions ===== */
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: -32px auto 48px;
  line-height: 1.55;
}

/* Problem — price tag + summary bar */
.problem__price {
  font-size: 2rem; font-weight: 800; color: var(--red);
  margin-bottom: 4px;
}
.problem__price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.problem__summary {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.problem__summary > div { display: flex; flex-direction: column; gap: 4px; }
.problem__summary span { color: var(--text-muted); font-size: 0.88rem; }
.problem__summary strong { color: var(--text-heading); font-size: 1.4rem; font-weight: 800; }
.problem__summary strong.accent { color: var(--accent); }
.problem__summary strong.green { color: var(--green); font-size: 1.7rem; }
.problem__summary-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--soft-peach);
  color: var(--accent); font-size: 1.6rem; font-weight: 700;
  display: grid !important; place-items: center;
  flex-direction: row !important;
}
@media (max-width: 900px) {
  .problem__summary { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; gap: 14px; }
  .problem__summary-arrow { margin: 0 auto; transform: rotate(90deg); }
}

/* Solution KPI badge */
.solution__kpi {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; border-radius: var(--radius-md);
  background: var(--soft-peach);
  margin-bottom: 22px;
}
.solution__kpi strong { color: var(--accent); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.solution__kpi span { color: var(--text-muted); font-size: 0.82rem; }
.solution__card--accent .solution__kpi { background: var(--soft-sky); }
.solution__card--accent .solution__kpi strong { color: var(--primary-start); }

/* How — step time + compare */
.step { position: relative; }
.step__step-time {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--soft-sky); color: var(--primary-start);
  font-size: 0.75rem; font-weight: 700;
}
.how__compare {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px;
  max-width: 860px; margin-left: auto; margin-right: auto;
  align-items: center;
}
.how__compare-before, .how__compare-after {
  padding: 24px 28px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.how__compare-before { opacity: 0.65; }
.how__compare-after { border-color: var(--accent); background: linear-gradient(180deg, #fff, var(--soft-peach)); }
.how__compare-before span, .how__compare-after span {
  display: block; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 6px;
}
.how__compare-before strong { color: var(--text-heading); font-size: 1.5rem; font-weight: 800; }
.how__compare-before { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.how__compare-after strong { color: var(--accent); font-size: 1.7rem; font-weight: 800; }
.how__compare-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 1.6rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent);
}
@media (max-width: 900px) {
  .how__compare { grid-template-columns: 1fr; gap: 14px; }
  .how__compare-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* Pricing — ROI card inside plan */
.plan__roi {
  background: var(--bg-2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.plan--featured .plan__roi { background: rgba(255,255,255,0.6); }
.plan__roi-row { display: flex; justify-content: space-between; align-items: baseline; }
.plan__roi-row span { color: var(--text-muted); font-size: 0.85rem; }
.plan__roi-row strong { color: var(--text-heading); font-size: 1.02rem; font-weight: 700; }
.plan__roi-row strong.green { color: var(--green); font-size: 1.15rem; }

/* Small helper text inside features */
.features li small { color: var(--text-muted); font-size: 0.82rem; font-weight: 500; }

/* ===== Calculator ===== */
.calc {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, var(--soft-peach) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, var(--soft-sky) 0%, transparent 55%),
    var(--bg-1);
}
.calc .section-title em { font-style: normal; color: var(--accent); }
.calc__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: stretch;
}
.calc__inputs, .calc__output {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-md);
}
.calc__output {
  background: linear-gradient(165deg, var(--soft-sky) 0%, #fff 60%);
  border-color: var(--accent);
  border-width: 2px;
  display: flex; flex-direction: column; gap: 18px;
}
.calc__field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.calc__field-head { display: flex; justify-content: space-between; align-items: baseline; }
.calc__field label { color: var(--text-heading); font-size: 0.95rem; font-weight: 600; }
.calc__val { color: var(--accent); font-weight: 800; font-size: 1.4rem; }

/* Range slider */
.calc__field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 4px;
  background: var(--bg-3);
  outline: none;
  cursor: pointer;
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border: 3px solid #fff;
  box-shadow: var(--shadow-accent);
  cursor: pointer; transition: transform var(--transition);
}
.calc__field input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc__field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}
.calc__hints { display: flex; justify-content: space-between; color: var(--text-light); font-size: 0.78rem; }

.calc__assumptions {
  padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--bg-2); border: 1px dashed var(--border);
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.55;
}
.calc__assumptions strong { color: var(--text-heading); }
.calc__assumptions > div { margin-top: 4px; }

/* Output */
.calc__big {
  text-align: center;
  padding: 20px 16px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.calc__big span { display: block; color: var(--text-muted); font-size: 0.88rem; font-weight: 500; margin-bottom: 4px; }
.calc__big strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.calc__big small { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

.calc__rows { display: flex; flex-direction: column; gap: 8px; }
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.7);
}
.calc__row span { color: var(--text); font-size: 0.92rem; }
.calc__row strong { color: var(--text-heading); font-size: 1.05rem; font-weight: 700; }
.calc__row--accent { background: var(--soft-peach); }
.calc__row--accent strong { color: var(--accent); font-size: 1.2rem; }

.calc__recommend {
  background: var(--text-heading); color: #fff;
  padding: 18px 20px; border-radius: var(--radius-md);
}
.calc__recommend-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.6; margin-bottom: 8px; }
.calc__recommend-main { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.calc__recommend-main strong { font-size: 1.6rem; font-weight: 800; }
.calc__recommend-main span { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.calc__recommend-roi { font-size: 0.85rem; opacity: 0.85; }

.calc__note { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 4px; }

@media (max-width: 900px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc__inputs, .calc__output { padding: 28px; }
}

/* ===== Other AI products ===== */
.products__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 12px;
  color: var(--text);
}
.product-card:hover {
  border-color: var(--primary-end);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--soft-sky);
  display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 6px;
}
.product-card h3 { color: var(--text-heading); font-size: 1.15rem; font-weight: 700; }
.product-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.product-card__link {
  color: var(--accent); font-size: 0.92rem; font-weight: 700;
  transition: var(--transition);
}
.product-card:hover .product-card__link { color: var(--accent-hover); transform: translateX(4px); }
.product-card--muted { background: var(--bg-2); }
.product-card--muted .product-card__icon { background: var(--soft-peach); }
@media (max-width: 900px) {
  .products__grid { grid-template-columns: 1fr; }
}

/* Contact line with accent variant (Telegram) */
.contact-line--accent {
  background: linear-gradient(135deg, rgba(42,130,190,0.08), rgba(236,119,35,0.08));
  border-color: var(--primary-end);
  color: var(--primary-start);
  font-weight: 600;
}
.contact-line--accent:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   MOBILE COMPREHENSIVE PASS
   ========================================================= */
@media (max-width: 900px) {
  /* Tighten section padding */
  section { padding: 56px 0; }

  /* Headline sizes */
  .section-title { margin-bottom: 36px; }
  .section-sub { margin: -24px auto 36px; font-size: 0.95rem; padding: 0 8px; }

  /* Eyebrow smaller */
  .eyebrow { font-size: 0.78rem; padding: 6px 12px; }

  /* Carousel — more portrait on mobile for readability */
  .carousel { aspect-ratio: 4 / 3; }
  .carousel__arrow { width: 36px; height: 36px; font-size: 1.4rem; }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }

  /* Problem cards */
  .problem__card { padding: 28px 22px; }
  .problem__price { font-size: 1.6rem; }

  /* Solution */
  .solution__card { padding: 32px 24px; }
  .solution__card h3 { font-size: 1.2rem; }
  .solution__kpi { padding: 10px 14px; }
  .solution__kpi strong { font-size: 1.25rem; }

  /* How */
  .step { padding: 32px 24px; }
  .step__step-time { top: 12px; right: 12px; }

  /* Pricing */
  .plan { padding: 32px 24px; }
  .price { font-size: 2.4rem; }
  .plan__roi { padding: 12px 14px; }
  .plan__roi-row span { font-size: 0.8rem; }
  .plan__roi-row strong { font-size: 0.95rem; }
  .plan__roi-row strong.green { font-size: 1.05rem; }

  /* Calculator */
  .calc__inputs, .calc__output { padding: 24px 20px; }
  .calc__field { margin-bottom: 22px; }
  .calc__field label { font-size: 0.9rem; }
  .calc__val { font-size: 1.25rem; }
  .calc__big strong { font-size: 2.2rem; }
  .calc__row { padding: 9px 12px; }
  .calc__row span { font-size: 0.85rem; }
  .calc__row strong { font-size: 0.98rem; }
  .calc__recommend { padding: 16px 18px; }
  .calc__recommend-main strong { font-size: 1.4rem; }
  .calc__recommend-main span { font-size: 1rem; }

  /* Products */
  .product-card { padding: 28px 24px; }

  /* Security */
  .sec-card { padding: 32px 24px; }

  /* FAQ */
  .faq__item { padding: 16px 18px; }
  .faq__item summary { font-size: 0.96rem; }

  /* CTA */
  .cta__inner { gap: 32px; }
  .lead-form { padding: 24px 20px; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 540px) {
  /* Tighter container padding на маленьких телефонах */
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 1.85rem; line-height: 1.1; }
  .hero__sub { font-size: 1rem; }
  .hero__cta .btn { font-size: 0.95rem; padding: 14px 24px; }
  .hero__trust { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }

  /* Section titles */
  .section-title { font-size: 1.55rem; margin-bottom: 28px; }

  /* Carousel — квадрат на найменших */
  .carousel { aspect-ratio: 1 / 1; border-radius: var(--radius-md); }

  /* Sticky header — меню доступ */
  .header { padding: 0; }
  .header__inner { padding: 0 16px; }

  /* Problem summary всередину */
  .problem__summary { padding: 20px 16px; }
  .problem__summary strong { font-size: 1.2rem; }
  .problem__summary strong.green { font-size: 1.4rem; }

  /* Calculator — ще вужче */
  .calc__inputs, .calc__output { padding: 20px 16px; border-radius: var(--radius-md); }
  .calc__grid { gap: 20px; }
  .calc__big strong { font-size: 2rem; }
  .calc__recommend-main { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Plans */
  .plan { padding: 28px 20px; }
  .price { font-size: 2rem; }
  .features li { font-size: 0.92rem; }

  /* FAQ */
  .faq__item { padding: 14px 16px; }
  .faq__item p { font-size: 0.92rem; }

  /* CTA form padding */
  .lead-form { padding: 20px 16px; border-radius: var(--radius-md); }
  .cta h2 { font-size: 1.5rem; }

  /* Contact lines */
  .contact-line { font-size: 0.9rem; padding: 10px 12px; }

  /* Solution / security / product cards padding */
  .solution__card, .sec-card, .product-card { padding: 24px 18px; border-radius: var(--radius-md); }

  /* Problem cards */
  .problem__card { padding: 24px 18px; border-radius: var(--radius-md); }
  .problem__price { font-size: 1.4rem; }

  /* How */
  .step { padding: 28px 20px; border-radius: var(--radius-md); }
  .how__compare-before, .how__compare-after { padding: 18px 20px; }
  .how__compare-before strong, .how__compare-after strong { font-size: 1.3rem; }

  /* Billing toggle — переконатись що не вилазить */
  .billing-toggle { width: 100%; }
  .billing-btn { padding: 10px 14px; font-size: 0.82rem; flex: 1; }

  /* Buttons у секції calc */
  .calc__output .btn--lg { padding: 14px 24px; font-size: 0.98rem; }
}

/* Переконатись, що нічого не виходить за межі viewport */
@media (max-width: 900px) {
  body, html { max-width: 100vw; }
  img, svg { max-width: 100%; height: auto; }
}
