/* ============================================================
   CORE — Design Tokens, Reset, Layout, Components
   ============================================================ */

/*#region ==================CORE: TOKENS================== */
:root {
  /* Canvas */
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;
  --c-text: #0f172a;
  --c-text-secondary: #64748b;

  /* Data */
  --c-emerald: #059669;
  --c-red: #ef4444;
  --c-telegram: #24a1de;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --gradient-primary-hover: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.10) 0%, rgba(37,99,235,0.10) 100%);
  --gradient-text: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 300ms ease-out;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px -10px rgba(0,0,0,0.10);
  --shadow-violet: 0 10px 40px -10px rgba(124,58,237,0.3);

  /* Spacing */
  --section-py: 80px;
  --container-px: 24px;
}
/*#endregion CORE: TOKENS */

/*#region ==================CORE: RESET================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}
/*#endregion CORE: RESET */

/*#region ==================CORE: LAYOUT================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

@media (max-width: 640px) {
  :root {
    --section-py: 56px;
    --container-px: 16px;
  }
}
/*#endregion CORE: LAYOUT */

/*#region ==================CORE: COMPONENTS================== */
/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn--primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -8px rgba(124,58,237,0.4);
}

/* --- Glass card --- */
.glass {
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.5);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(255,255,255,0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}

/* --- Reveal animation base --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
/*#endregion CORE: COMPONENTS */


/* ============================================================
   SECTIONS
   ============================================================ */

/*#region ==================SECTION: MODAL================== */

/* ════════════════════════════════════════
   MODAL OVERLAY + WRAP
   ════════════════════════════════════════ */
.lm {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.lm--open { pointer-events: auto; }

.lm__overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.52);
  opacity: 0;
  transition: opacity 0.3s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lm__overlay {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}
.lm--open .lm__overlay { opacity: 1; }

/* Scroll wrap */
.lm__wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 600px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto; padding: 20px;
  scrollbar-width: none;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.18, 0.64, 1),
    opacity   0.28s ease;
}
.lm__wrap::-webkit-scrollbar { display: none; }
.lm--open .lm__wrap { transform: translateY(0) scale(1); opacity: 1; }

/* Card */
.lm__card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(15,23,42,0.22),
    0 0 0 1px rgba(124,58,237,0.09);
}

/* Gradient stripe */
.lm__stripe {
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #2563eb, #06b6d4, #7c3aed);
  background-size: 300% 100%;
  animation: lm-stripe 4s linear infinite;
}
@keyframes lm-stripe {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* Close button */
.lm__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: none; cursor: pointer;
  color: #64748b; background: #f1f5f9;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-base);
  z-index: 5;
}
.lm__close:hover { background: #e2e8f0; color: #0f172a; transform: rotate(90deg); }

/* Body */
.lm__body { padding: 32px 40px 40px; }

/* Head */
.lm__head { margin-bottom: 28px; }

.lm__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(37,99,235,0.07) 100%);
  border: 1px solid rgba(124,58,237,0.14);
  border-radius: 100px;
  font-size: 14px; font-weight: 600; color: #7c3aed;
  margin-bottom: 16px;
}

.lm__title {
  font-size: 26px; font-weight: 800; line-height: 1.22;
  color: var(--c-text); margin-bottom: 10px;
}

.lm__subtitle {
  font-size: 16px; color: var(--c-text-secondary); line-height: 1.6;
}

/* ════════════════════════════════════════
   FORM
   ════════════════════════════════════════ */
.lm-form {
  display: flex; flex-direction: column; gap: 14px;
}

.lm-form__row { display: grid; gap: 14px; }
.lm-form__row--2 { grid-template-columns: 1fr 1fr; }

.lm-form__field { display: flex; flex-direction: column; gap: 3px; }

.lm-form__input-wrap { position: relative; }

/* Input / Textarea */
.lm-form__input {
  width: 100%;
  height: 56px;
  padding: 20px 46px 8px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  color: var(--c-text);
  background: #f8fafc;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
}
.lm-form__textarea {
  height: auto; min-height: 96px;
  padding: 28px 46px 12px 16px;
  resize: vertical; line-height: 1.55;
}

/* Враппер textarea — новый stacking context */
.lm-form__input-wrap--ta {
  isolation: isolate;
}

/* Лейбл textarea — поднимаем ВЫШЕ маски (z:3 у ::after → лейбл z:4) */
.lm-form__label--ta {
  z-index: 4;
}

/* Градиентная маска поверх верхней зоны textarea */
.lm-form__input-wrap--ta::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 22px;        /* не перекрываем иконку справа */
  height: 32px;
  background: linear-gradient(
    to bottom,
    #f8fafc 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  border-radius: 10px 10px 0 0;
  transition: background 0.18s ease;
}

/* При фокусе textarea bg → #ffffff */
.lm-form__input-wrap--ta:has(.lm-form__textarea:focus)::after {
  background: linear-gradient(
    to bottom,
    #ffffff 60%,
    transparent 100%
  );
}

/* Floating label */
.lm-form__label {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; color: #94a3b8;
  pointer-events: none;
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: calc(100% - 52px); line-height: 1;
}
.lm-form__label--ta { top: 20px; transform: none; }

.lm-form__input:focus ~ .lm-form__label,
.lm-form__input:not(:placeholder-shown) ~ .lm-form__label {
  top: 10px; transform: none;
  font-size: 12px; font-weight: 700; color: #7c3aed;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.lm-form__textarea:focus ~ .lm-form__label--ta,
.lm-form__textarea:not(:placeholder-shown) ~ .lm-form__label--ta {
  top: 8px;
  font-size: 12px; font-weight: 700; color: #7c3aed;
  letter-spacing: 0.03em; text-transform: uppercase;
}

.lm-form__input:focus {
  border-color: #7c3aed;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.09);
}

/* Field icon */
.lm-form__field-icon {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1; pointer-events: none;
  display: flex; align-items: center;
  transition: color 0.18s;
}
.lm-form__field-icon--ta { top: 22px; transform: none; }
.lm-form__input:focus ~ .lm-form__field-icon,
.lm-form__input:not(:placeholder-shown) ~ .lm-form__field-icon { color: #a78bfa; }

/* Required star */
.lm-form__req { color: #ef4444; margin-left: 1px; }

/* Error text */
.lm-form__err {
  display: block; min-height: 18px;
  padding-left: 4px;
  font-size: 14px; color: #ef4444; line-height: 1.3;
}

/* Field states */
.lm-form__field--error .lm-form__input {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.07) !important;
}
.lm-form__field--error .lm-form__input:focus ~ .lm-form__label,
.lm-form__field--error .lm-form__input:not(:placeholder-shown) ~ .lm-form__label,
.lm-form__field--error .lm-form__textarea:focus ~ .lm-form__label--ta,
.lm-form__field--error .lm-form__textarea:not(:placeholder-shown) ~ .lm-form__label--ta {
  color: #ef4444;
}
.lm-form__field--ok .lm-form__input { border-color: #059669; }
.lm-form__field--ok .lm-form__input:focus { box-shadow: 0 0 0 4px rgba(5,150,105,0.08); }

/* Submit button */
.lm-form__submit {
  position: relative;
  width: 100%; height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px; font-weight: 700;
  border: none; cursor: pointer; overflow: hidden;
  box-shadow: 0 10px 32px -8px rgba(124,58,237,0.48);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 6px;
}
.lm-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px rgba(124,58,237,0.58);
}
.lm-form__submit:active:not(:disabled) { transform: translateY(0); }
.lm-form__submit:disabled { opacity: 0.7; cursor: not-allowed; }

.lm-form__submit-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity 0.2s, transform 0.2s;
}
.lm-form__submit-loader {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.lm-form__submit-loader svg { animation: lm-spin 0.75s linear infinite; }
@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-form__submit--loading .lm-form__submit-inner  { opacity: 0; transform: scale(0.75); }
.lm-form__submit--loading .lm-form__submit-loader { opacity: 1; }

/* Privacy */
.lm-form__privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; color: #94a3b8; text-align: center; line-height: 1.45;
}

/* ════════════════════════════════════════
   SUCCESS STATE
   ════════════════════════════════════════ */
.lm__success {
  padding: 56px 40px 52px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
}
.lm__success[hidden] { display: none !important; }

.lm__success-ring {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(37,99,235,0.08) 100%);
  border: 1.5px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.lm__success-check {
  color: #7c3aed;
  animation: lm-check-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.1s;
}
@keyframes lm-check-pop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}

.lm__success-title {
  font-size: 26px; font-weight: 800; color: var(--c-text); line-height: 1.2;
}
.lm__success-text {
  font-size: 16px; color: var(--c-text-secondary); line-height: 1.65;
}
.lm__success-email { color: var(--c-text); font-weight: 600; }

.lm__success-btn {
  margin-top: 8px; padding: 15px 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 8px 26px -6px rgba(124,58,237,0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lm__success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(124,58,237,0.52);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 640px) {
  .lm__wrap  { padding: 12px; max-height: calc(100dvh - 16px); }
  .lm__card  { border-radius: 20px; }
  .lm__body  { padding: 24px 20px 32px; }
  .lm-form__row--2  { grid-template-columns: 1fr; }
  .lm__title { font-size: 22px; }
  .lm-form__submit  { height: 56px; font-size: 16px; }
  .lm__success { padding: 40px 20px 44px; }
  .lm__success-title { font-size: 22px; }
}

@media (max-width: 479px) {
  .lm__title         { font-size: 20px; }
  .lm__subtitle      { font-size: 15px; }
  .lm__badge         { font-size: 14px; }
  .lm-form__input    { font-size: 16px; }
  .lm-form__privacy  { font-size: 14px; }
  .lm-form__submit   { font-size: 15px; height: 52px; }
  .lm__success-title { font-size: 20px; }
  .lm__success-text  { font-size: 15px; }
  .lm__success-btn   { font-size: 15px; padding: 13px 28px; }
}

@media (max-width: 359px) {
  .lm__title { font-size: 18px; }
  .lm__body  { padding: 20px 16px 28px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lm__stripe              { animation: none; }
  .lm-form__submit-loader svg { animation: none; }
  .lm__success-check       { animation: none; opacity: 1; transform: none; }
  .lm__wrap { transition: opacity 0.15s ease; transform: none !important; }
}
/*#endregion SECTION: MODAL */

/*#region ==================SECTION: HEADER================== */

/* ════════════════════════════════════════
   HEADER BASE
   ════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  transition:
    background-color var(--transition-slow),
    backdrop-filter  var(--transition-slow),
    box-shadow       var(--transition-slow);
}

.header--scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(241,245,249,0.8);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header--scrolled {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

.header--menu-open {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #f1f5f9;
}

/* Inner */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.header__logo {
  display: flex; align-items: center; flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.header__logo:hover { opacity: 0.8; }
.header__logo img { width: 133px; height: 48px; object-fit: contain; }

/* Desktop nav */
.header__nav { display: flex; align-items: center; gap: 4px; }

.header__link {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-size: 15px; font-weight: 500; color: #334155;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.header__link:hover   { color: #7c3aed; background: rgba(124,58,237,0.06); }
.header__link--active { color: #7c3aed; background: rgba(124,58,237,0.08); }

/* Right */
.header__right { display: flex; align-items: center; gap: 8px; }

/* ── Primary CTA button ── */
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  border: none;
  transition:
    transform  var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}
.header__cta-icon { flex-shrink: 0; }

.header__cta--primary {
  padding: 10px 22px;
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-violet);
}
.header__cta--primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(124,58,237,0.5);
}
.header__cta--primary:active { transform: translateY(0); }

/* Burger */
.header__burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px; padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.header__burger:hover { background: rgba(0,0,0,0.04); }

.header__burger-line {
  display: block; width: 20px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.header__burger--open .header__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger--open .header__burger-line:nth-child(2) { opacity: 0; }
.header__burger--open .header__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.header__mobile {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background-color: #ffffff; z-index: 49;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s linear 0.3s;
  border-top: 1px solid #f1f5f9;
}
.header__mobile--open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s linear 0s;
}

.header__mobile-nav {
  display: flex; flex-direction: column;
  padding: 24px; gap: 4px;
  overflow-y: auto; max-height: 100%;
}

.header__mobile-link {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 16px;
  font-size: 18px; font-weight: 500; color: var(--c-text);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.header__mobile-link:hover { background: rgba(124,58,237,0.06); color: #7c3aed; }

.header__mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.header__mobile-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px;
  font-size: 17px; font-weight: 600;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 4px 14px -4px rgba(124,58,237,0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.header__mobile-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(124,58,237,0.45);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 1024px) {
  .header__nav    { display: none; }
  .header__burger { display: flex; }
  .header__cta--primary { padding: 8px 18px; font-size: 14px; }
}

@media (max-width: 640px) {
  .header__inner    { height: 64px; }
  .header__logo img { width: 110px; height: 40px; }
  .header__cta--primary { display: none; }
  .header__mobile   { top: 64px; }
}

@media (max-width: 479px) {
  .header__mobile-link { font-size: 17px; padding: 12px 14px; }
  .header__mobile-cta  { font-size: 16px; padding: 14px 16px; }
}

@media (max-width: 359px) {
  .header__mobile-link { font-size: 15px; padding: 11px 12px; }
  .header__mobile-cta  { font-size: 15px; padding: 13px 14px; }
}

/*#endregion SECTION: HEADER */

/*#region ==================SECTION: HERO================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 96px; /* header offset */
  padding-bottom: 0;
  background: var(--c-bg);
}

/* --- Background blobs --- */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__blob--1 {
  width: 550px;
  height: 550px;
  top: -100px;
  right: -150px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  filter: blur(90px);
}
.hero__blob--2 {
  width: 450px;
  height: 450px;
  bottom: 40px;
  left: -120px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 65%);
  filter: blur(90px);
}

/* --- Container grid --- */
.hero__container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-top: 64px;
  padding-bottom: 80px;
}

/* --- LEFT: Content --- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
  background: rgba(124,58,237,0.08);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__eyebrow-icon {
  font-size: 14px;
}

/* H1 */
.hero__title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: #1e293b;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__title-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 4px;
}

/* Subtitle */
.hero__subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__subtitle-bold {
  color: var(--c-text);
  font-weight: 600;
}

/* --- Scarcity --- */
.hero__scarcity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  width: fit-content;
}

.hero__scarcity-ping {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.hero__scarcity-ping-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  z-index: 1;
}
.hero__scarcity-ping-wave {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: hero-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hero-ping {
  0% { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.hero__scarcity-text {
  font-size: 15px;
  font-weight: 500;
  color: #991b1b;
  line-height: 1.3;
}
.hero__scarcity-num {
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
  font-weight: 700;
  color: #dc2626;
  vertical-align: baseline;
  line-height: 1;
}

/* --- CTA Wrapper --- */
.hero__cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --- Single CTA button --- */
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0 36px;
  min-height: 58px;
  white-space: nowrap;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-violet);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    filter var(--transition-base);
  margin-bottom: 16px;
}
.hero__cta:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -8px rgba(124,58,237,0.5);
  filter: brightness(1.06);
}
.hero__cta:active {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.hero__cta-icon {
  flex-shrink: 0;
}

.hero__cta-note {
  font-size: 15px;
  color: var(--c-text-secondary);
  letter-spacing: 0.01em;
}

/* --- RIGHT: Visual (Masked Video) --- */
.hero__visual {
  display: block;
  position: relative;
  width: 100%;
}

.hero__visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 98%);
  mask-image: radial-gradient(circle at center, black 60%, transparent 98%);
}

/* Download Button */
.hero__dl-btn {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  width: fit-content;
  max-width: 90%;
  white-space: nowrap;
  background: #ffffff;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px -8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero__dl-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -8px rgba(124,58,237,0.2);
  border-color: #c4b5fd;
}

.hero__dl-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.hero__dl-btn:hover .hero__dl-icon {
  transform: scale(1.05);
}

.hero__dl-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.hero__dl-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__dl-sub {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* --- MARQUEE --- */
.hero__marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255,255,255,0.95);
  padding: 16px 0;
  margin-top: auto;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero__marquee {
    background: rgba(255,255,255,0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee-scroll 60s linear infinite;
}

.hero__marquee-list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__marquee-item {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  padding: 0 8px;
}
.hero__marquee-num {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  color: var(--c-emerald);
}
.hero__marquee-sep {
  padding: 0 16px;
  font-size: 14px;
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes hero-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 88px;
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero__content {
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
  .hero__subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__scarcity {
    align-self: center;
  }
  .hero__cta-wrapper {
    align-items: center;
  }
  .hero__visual-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 76px;
  }
  .hero__container {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 40px;
  }
  .hero__visual-wrapper {
    max-width: 100%;
    margin-bottom: 12px;
  }
  .hero__title {
    font-size: clamp(30px, 8vw, 38px);
  }
  .hero__subtitle {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .hero__scarcity {
    padding: 10px 16px;
    gap: 10px;
  }

  .hero__cta {
    width: 100%;
    max-width: 400px;
    min-height: 54px;
    font-size: 17px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero__cta-note {
    font-size: 15px;
  }

  .hero__dl-btn {
    bottom: 20px;
    padding: 10px 16px;
  }
  .hero__dl-icon {
    width: 36px;
    height: 36px;
  }
  .hero__dl-title {
    font-size: 14px;
  }
  .hero__dl-sub {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .hero__container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 32px;
  }
  .hero__content {
    padding: 0;
  }
  .hero__title {
    font-size: clamp(28px, 8vw, 32px);
  }
  .hero__cta {
    min-height: 52px;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero__cta-note {
    font-size: 15px;
  }
  .hero__dl-btn {
    padding: 8px 12px;
    gap: 10px;
    max-width: 96%;
  }
  .hero__dl-icon {
    width: 32px;
    height: 32px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__marquee-track {
    animation: none;
  }
  .hero__scarcity-ping-wave {
    animation: none;
  }
}
/*#endregion SECTION: HERO */

/*#region ==================SECTION: CALCULATOR================== */
.calculator {
  background: var(--c-bg-alt);
}

.calculator__header {
  text-align: center;
  margin-bottom: 48px;
}

.calculator__heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.calculator__subheading {
  font-size: 17px;
  color: var(--c-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Card === */
.calculator__card {
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--c-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px -12px rgba(30,41,59,0.10), 0 0 0 1px rgba(241,245,249,0.7);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

/* === LEFT: Inputs === */
.calculator__inputs {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calculator__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calculator__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-secondary);
}

/* Industry grid */
.calculator__industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.calculator__industry-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.calculator__industry-btn:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
}
.calculator__industry-btn--active {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.calculator__industry-emoji {
  font-size: 22px;
  line-height: 1;
}
.calculator__industry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

/* Sliders */
.calculator__slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.calculator__slider-value {
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  color: #3b82f6;
}

/* Range input styling */
.calculator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  --fill: 50%;
  background: linear-gradient(to right,
    #7c3aed 0%,
    #3b82f6 var(--fill),
    #e2e8f0 var(--fill),
    #e2e8f0 100%
  );
  transition: background var(--transition-fast);
}

.calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 3px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(59,130,246,0.25);
  cursor: pointer;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.calculator__range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(59,130,246,0.35);
}

.calculator__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 3px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(59,130,246,0.25);
  cursor: pointer;
}

.calculator__range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}
.calculator__range::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
}

.calculator__range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Automation buttons */
.calculator__auto-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calculator__auto-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.calculator__auto-btn:hover {
  border-color: #93c5fd;
}
.calculator__auto-btn--active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.calculator__auto-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.calculator__auto-btn--active .calculator__auto-check {
  border-color: #3b82f6;
  background: #3b82f6;
}
.calculator__auto-btn--active .calculator__auto-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.calculator__auto-emoji {
  font-size: 18px;
  line-height: 1;
}

.calculator__auto-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.3;
}

/* === RIGHT: Results === */
.calculator__results {
  padding: 32px 40px;
  background: var(--c-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Loss block */
.calculator__loss-block {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: var(--c-bg);
  border-left: 4px solid #f43f5e;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.calculator__loss-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f43f5e;
  flex-shrink: 0;
}

.calculator__loss-value {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #f43f5e;
  margin-left: auto;
  white-space: nowrap;
}

/* ==============================
   CHART — Isometric 3D Skyline
   ============================== */
.calculator__chart-wrap {
  width: 100%;
}

.calculator__chart {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.calculator__chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.calculator__bar-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 72px;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
  padding-top: 40px;
}

.calculator__bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.calculator__bar-amount {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-secondary);
  margin-bottom: 8px;
  white-space: nowrap;
}
.calculator__bar-amount--ai {
  color: #7c3aed;
}

/* ---- Isometric 3D Bar Container ---- */
.calculator__bar-3d {
  width: 100%;
  position: relative;
  min-height: 24px;
  transition: height 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Front face */
.calculator__bar-face--front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px 6px 2px 2px;
  z-index: 3;
}

/* Right face — isometric depth via skewY */
.calculator__bar-face--right {
  position: absolute;
  bottom: 0;
  right: -26px;
  width: 26px;
  height: 100%;
  z-index: 2;
  transform-origin: bottom left;
  transform: skewY(-40deg);
  border-radius: 0 4px 2px 0;
}

/* --- Fact bar palette --- */
.calculator__bar-3d--fact .calculator__bar-face--front {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 60%, #b0bec5 100%);
}
.calculator__bar-3d--fact .calculator__bar-face--right {
  background: linear-gradient(180deg, #c4cdd5 0%, #90a4ae 100%);
}

/* --- AI bar palette --- */
.calculator__bar-3d--ai .calculator__bar-face--front {
  background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 30%, #2563eb 100%);
  box-shadow: 0 12px 36px -6px rgba(124,58,237,0.4);
}
.calculator__bar-3d--ai .calculator__bar-face--right {
  background: linear-gradient(180deg, #6d28d9 0%, #1e40af 100%);
}

/* Window rows on front face */
.calculator__bar-face--front::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 10%;
  right: 10%;
  bottom: 6px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 6px,
      rgba(255,255,255,0.14) 6px,
      rgba(255,255,255,0.14) 9px
    );
  pointer-events: none;
  border-radius: 1px;
}

/* Vertical mullion on front */
.calculator__bar-face--front::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 48%;
  width: 1px;
  bottom: 6px;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 1;
}

/* Window rows on right face */
.calculator__bar-face--right::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 20%;
  right: 20%;
  bottom: 6px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 6px,
      rgba(255,255,255,0.08) 6px,
      rgba(255,255,255,0.08) 9px
    );
  pointer-events: none;
}

/* Fact bar lighter windows */
.calculator__bar-3d--fact .calculator__bar-face--front::after {
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 6px,
      rgba(255,255,255,0.32) 6px,
      rgba(255,255,255,0.32) 9px
    );
}
.calculator__bar-3d--fact .calculator__bar-face--front::before {
  background: rgba(255,255,255,0.22);
}

/* Ground shadow */
.calculator__bar-3d::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -6px;
  right: -10px;
  height: 8px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.10) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Flat roof cap on AI bar — lighter tint */
.calculator__bar-3d--ai::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(167,139,250,0.5) 0%, rgba(96,165,250,0.5) 100%);
  border-radius: 6px 6px 0 0;
  z-index: 5;
  pointer-events: none;
}

/* Flat roof cap on Fact bar */
.calculator__bar-3d--fact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 6px 6px 0 0;
  z-index: 5;
  pointer-events: none;
}

.calculator__bar-name {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-secondary);
  text-align: center;
  line-height: 1.3;
}

/* Growth badge */
.calculator__growth-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 6px 14px;
  background: #ecfdf5;
  color: #059669;
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
  z-index: 12;
  box-shadow: 0 2px 8px rgba(5,150,105,0.12);
}

/* Profit block */
.calculator__result-note {
  font-size: 14px;
  color: var(--c-text-secondary);
  text-align: center;
  line-height: 1.4;
  max-width: 380px;
  margin: 0;
}

.calculator__profit-block {
  text-align: center;
  margin: -4px 0;
}
.calculator__profit-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-secondary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calculator__profit-value {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--c-emerald);
  line-height: 1.2;
}

/* CTA group */
.calculator__cta-group {
  width: 100%;
}

.calculator__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 32px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-violet);
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
  white-space: nowrap;
}
.calculator__cta:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(124,58,237,0.5);
  filter: brightness(1.06);
}
.calculator__cta:active {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.calculator__cta-icon {
  flex-shrink: 0;
}

/* Desktop: полный текст; мобайл: короткий */
.calculator__cta-label--desktop { display: inline; }
.calculator__cta-label--mobile  { display: none; }

.calculator__cta-micro {
  font-size: 15px;
  color: var(--c-text-secondary);
  text-align: center;
}

/* ========================
   RESPONSIVE
   ======================== */

/* 641–1024 */
@media (max-width: 1024px) {
  .calculator__card {
    grid-template-columns: 1fr;
  }
  .calculator__results {
    padding: 32px 28px;
  }
  .calculator__inputs {
    padding: 32px 28px;
  }
  .calculator__loss-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .calculator__loss-value {
    margin-left: 0;
  }
  .calculator__chart {
    height: 370px;
  }
  .calculator__bar-group {
    gap: 72px;
  }
  .calculator__bar-col {
    width: 80px;
  }
}

/* 641–860: однострочная кнопка уже вписывается, ничего менять не нужно */
@media (max-width: 860px) {
  .calculator__cta {
    font-size: 17px;
    padding: 0 24px;
  }
}

/* 480–640 */
@media (max-width: 640px) {
  .calculator__header {
    margin-bottom: 32px;
  }
  .calculator__inputs {
    padding: 24px 20px;
    gap: 22px;
  }
  .calculator__results {
    padding: 24px 20px;
    gap: 20px;
  }
  .calculator__industry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .calculator__industry-btn {
    padding: 10px 4px;
  }
  .calculator__industry-emoji {
    font-size: 20px;
  }
  .calculator__industry-name {
    font-size: 14px;
  }
  .calculator__chart {
    height: 340px;
  }
  .calculator__bar-col {
    width: 72px;
  }
  .calculator__bar-group {
    gap: 56px;
  }
  .calculator__bar-face--right {
    width: 22px;
    right: -22px;
  }
  .calculator__loss-value {
    font-size: 24px;
  }
  .calculator__cta {
    font-size: 16px;
    min-height: 54px;
  }
  .calculator__cta-label--desktop { display: none; }
  .calculator__cta-label--mobile  { display: inline; }
}

/* 320–479 */
@media (max-width: 479px) {
  .calculator__heading {
    font-size: 24px;
  }
  .calculator__subheading {
    font-size: 15px;
  }
  .calculator__industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator__inputs {
    padding: 20px 16px;
  }
  .calculator__results {
    padding: 20px 16px;
  }
  .calculator__chart {
    height: 320px;
  }
  .calculator__bar-col {
    width: 64px;
  }
  .calculator__bar-group {
    gap: 44px;
    padding-bottom: 32px;
    padding-top: 36px;
  }
  .calculator__bar-face--right {
    width: 18px;
    right: -18px;
  }
  .calculator__bar-amount {
    font-size: 14px;
  }
  .calculator__profit-value {
    font-size: 26px;
  }
  .calculator__loss-value {
    font-size: 20px;
  }
}
/*#endregion SECTION: CALCULATOR */

/*#region ==================SECTION: QUIZ================== */
.quiz {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
}

/* Background blobs */
.quiz__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.quiz__blob--1 {
  width: 420px;
  height: 420px;
  top: -60px;
  left: -100px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  filter: blur(90px);
  animation: quiz-blob-pulse 6s ease-in-out infinite alternate;
}
.quiz__blob--2 {
  width: 380px;
  height: 380px;
  bottom: -40px;
  right: -80px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  filter: blur(90px);
  animation: quiz-blob-pulse 6s ease-in-out 3s infinite alternate;
}
@keyframes quiz-blob-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Section header */
.quiz__section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  scroll-margin-top: 20px;
}
.quiz__section-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.quiz__section-sub {
  font-size: 17px;
  color: var(--c-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Card === */
.quiz__card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  min-height: 500px;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px -12px rgba(79,70,229,0.10), 0 0 0 1px rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
}

/* Card header */
.quiz__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quiz__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--c-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
  visibility: hidden;
}
.quiz__back:hover {
  background: rgba(0,0,0,0.05);
  color: var(--c-text);
}

.quiz__badge {
  display: inline-flex;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3b82f6;
  background: #eff6ff;
  border-radius: var(--radius-full);
}

.quiz__step-counter {
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  color: var(--c-text-secondary);
  white-space: nowrap;
}

/* Progress bar */
.quiz__progress {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz__progress-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 3px;
  transition: width 0.5s ease-out;
}

/* === Steps === */
.quiz__step {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.quiz__step.hidden {
  display: none;
}

.quiz__question {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 22px;
  line-height: 1.3;
}
.quiz__question--center {
  text-align: center;
}

/* Option grids */
.quiz__grid {
  display: grid;
  gap: 10px;
}
.quiz__grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.quiz__grid--stack {
  grid-template-columns: 1fr;
}

/* Option button */
.quiz__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 14px;
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.quiz__option:hover {
  border-color: #a5b4fc;
  background: #faf5ff;
  transform: translateY(-1px);
}
.quiz__option--active {
  border-color: #7c3aed;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

/* Row variant for step 3 */
.quiz__option--row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}
.quiz__option--row .quiz__option-text {
  white-space: nowrap;
  font-size: 15px;
}

/* Wide variant for step 2 */
.quiz__option--wide {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
}

/* Full width */
.quiz__option--full {
  grid-column: 1 / -1;
}

.quiz__option-emoji {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.quiz__option-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}

/* Custom input row */
.quiz__custom-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.quiz__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.quiz__input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.quiz__ok-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.quiz__ok-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -3px rgba(124,58,237,0.35);
}

/* === Loading screen === */
.quiz__loading-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.quiz__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: #7c3aed;
  border-right-color: #3b82f6;
  animation: quiz-spin 0.9s linear infinite;
  margin-bottom: 24px;
}
@keyframes quiz-spin {
  to { transform: rotate(360deg); }
}

.quiz__loading-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  transition: opacity 0.3s ease;
}

/* === Final screen === */
.quiz__final-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  gap: 12px;
}

/* Ring */
.quiz__ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 4px;
}
.quiz__ring-svg {
  width: 100%;
  height: 100%;
}
.quiz__ring-fill {
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
}
.quiz__ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Consolas, "Courier New", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
}
.quiz__ring-label {
  font-size: 15px;
  color: var(--c-text-secondary);
  font-weight: 500;
}

.quiz__final-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
  max-width: 400px;
  margin-top: 8px;
}

/* ===================================
   FINAL CTA — единая кнопка
   =================================== */

.quiz__final-ctas {
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
}

.quiz__final-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 32px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-violet);
  white-space: nowrap;
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
}
.quiz__final-cta:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(124,58,237,0.5);
  filter: brightness(1.06);
}
.quiz__final-cta:active {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.quiz__final-cta-icon {
  flex-shrink: 0;
}

/* Desktop/Mobile label switch */
.quiz__final-cta-label--desktop { display: inline; }
.quiz__final-cta-label--mobile  { display: none; }

.quiz__final-footer {
  font-size: 15px;
  color: var(--c-text-secondary);
  margin-top: 4px;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .quiz__card {
    max-width: 580px;
  }
}

@media (max-width: 640px) {
  .quiz__section-header {
    margin-bottom: 28px;
    scroll-margin-top: 16px;
  }
  .quiz__card {
    padding: 28px 24px;
    min-height: 440px;
    border-radius: var(--radius-lg);
  }
  .quiz__question {
    font-size: 19px;
    margin-bottom: 18px;
  }
  .quiz__option {
    padding: 16px 12px;
  }
  .quiz__option--row {
    padding: 14px 14px;
  }
  .quiz__option--wide {
    padding: 14px 18px;
  }
  .quiz__option-emoji {
    font-size: 22px;
  }
  .quiz__option-text {
    font-size: 15px;
  }
  .quiz__option--row .quiz__option-text {
    font-size: 15px;
  }
  .quiz__final-title {
    font-size: 18px;
  }
  .quiz__blob--1 {
    width: 280px;
    height: 280px;
  }
  .quiz__blob--2 {
    width: 260px;
    height: 260px;
  }

  /* Mobile: кнопка на полную ширину, короткий текст */
  .quiz__final-ctas {
    max-width: 100%;
  }
  .quiz__final-cta {
    min-height: 54px;
    font-size: 16px;
  }
  .quiz__final-cta-label--desktop { display: none; }
  .quiz__final-cta-label--mobile  { display: inline; }
}

@media (max-width: 479px) {
  .quiz__section-header {
    scroll-margin-top: 12px;
  }
  .quiz__card {
    padding: 22px 18px;
    min-height: 400px;
  }
  .quiz__grid--2col {
    grid-template-columns: 1fr;
  }
  .quiz__option--full {
    grid-column: 1;
  }
  .quiz__option--row .quiz__option-text {
    white-space: normal;
    font-size: 15px;
  }
  .quiz__option-text {
    font-size: 15px;
  }
  .quiz__question {
    font-size: 17px;
  }
  .quiz__badge {
    font-size: 14px;
    padding: 4px 10px;
  }
  .quiz__step-counter {
    font-size: 14px;
  }
  .quiz__ring-wrap {
    width: 100px;
    height: 100px;
  }
  .quiz__ring-value {
    font-size: 24px;
  }
  .quiz__final-title {
    font-size: 17px;
  }
  .quiz__final-footer {
    font-size: 15px;
  }
  .quiz__ring-label {
    font-size: 15px;
  }
  .quiz__final-cta {
    min-height: 54px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }
  .quiz__final-cta-label--desktop { display: none; }
  .quiz__final-cta-label--mobile  { display: inline; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .quiz__blob--1,
  .quiz__blob--2 {
    animation: none;
  }
  .quiz__spinner {
    animation-duration: 1.5s;
  }
}
/*#endregion SECTION: QUIZ */

/*#region ==================SECTION: VALUE-GRID================== */
.vgrid {
  background: var(--c-bg);
}

/* Header */
.vgrid__header {
  text-align: center;
  margin-bottom: 36px;
}
.vgrid__title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.vgrid__subtitle {
  font-size: 16px;
  color: var(--c-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === Tabs === */
.vgrid__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.vgrid__tab {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-secondary);
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.vgrid__tab:hover {
  border-color: #a5b4fc;
  color: #7c3aed;
  background: #faf5ff;
}
.vgrid__tab--active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}
.vgrid__tab--active:hover {
  color: #fff;
  background: var(--gradient-primary-hover);
}

/* === Bento Grid === */
.vgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  margin-bottom: 48px;
}

/* === Card base === */
.vgrid__card {
  background: var(--c-bg);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: opacity 0.4s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
  /* Reveal initial state */
  opacity: 0;
  transform: translateY(20px);
}
.vgrid__card--visible {
  opacity: 1;
  transform: translateY(0);
}

.vgrid__card:hover {
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.08);
  border-color: #e2e8f0;
}

/* Span variants */
.vgrid__card--tall {
  grid-row: span 2;
}
.vgrid__card--wide {
  grid-column: span 2;
}

/* Filter states */
.vgrid__card--dim {
  opacity: 0.35;
  transform: scale(0.97);
}
.vgrid__card--dim.vgrid__card--visible {
  opacity: 0.35;
}

.vgrid__card--highlight {
  border-color: rgba(124,58,237,0.55);
  box-shadow: 0 4px 24px -4px rgba(124,58,237,0.18), 0 0 0 2px rgba(124,58,237,0.15);
}

/* Icon container */
.vgrid__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vgrid__card-icon--green  { background: rgba(5,150,105,0.08); }
.vgrid__card-icon--violet { background: rgba(124,58,237,0.08); }
.vgrid__card-icon--blue   { background: rgba(37,99,235,0.08); }
.vgrid__card-icon--amber  { background: rgba(217,119,6,0.08); }
.vgrid__card-icon--slate  { background: rgba(71,85,105,0.08); }

.vgrid__card-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.vgrid__card-text {
  font-size: 15px;
  color: var(--c-text-secondary);
  line-height: 1.55;
}

/* Metric callouts */
.vgrid__card-metric {
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.vgrid__card-metric--green  { color: var(--c-emerald); }
.vgrid__card-metric--violet {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Radar chart === */
.vgrid__radar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}
.vgrid__radar {
  width: 100%;
  max-width: 340px;
}
.vgrid__radar-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--c-text-secondary);
  margin-top: 8px;
}
.vgrid__radar-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.vgrid__radar-dot--you    { background: #7c3aed; }
.vgrid__radar-dot--market { background: #94a3b8; }

/* === Timeline === */
.vgrid__timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 12px;
  width: 100%;
}
.vgrid__tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.vgrid__tl-badge {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.vgrid__tl-badge--green  { background: #ecfdf5; color: #059669; }
.vgrid__tl-badge--blue   { background: #eff6ff; color: #2563eb; }
.vgrid__tl-badge--violet { background: #f5f3ff; color: #7c3aed; }

.vgrid__tl-label {
  font-size: 14px;
  color: var(--c-text-secondary);
  font-weight: 500;
  text-align: center;
}
.vgrid__tl-line {
  width: 32px;
  height: 2px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* === Mini table === */
.vgrid__mini-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.vgrid__mt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  padding: 6px 10px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-sm);
}
.vgrid__mt-row span:first-child {
  flex: 1;
  color: var(--c-text);
  font-weight: 500;
}
.vgrid__mt-val {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  font-size: 15px;
}
.vgrid__mt-val--green { color: var(--c-emerald); }

.vgrid__mt-tag {
  font-size: 14px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: #059669;
  white-space: nowrap;
}
.vgrid__mt-tag--mid {
  background: #fffbeb;
  color: #d97706;
}

/* === Score (9/10) === */
.vgrid__score {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.vgrid__score-big {
  font-family: Consolas, "Courier New", monospace;
  font-size: 44px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.vgrid__score-sep {
  font-size: 24px;
  color: #cbd5e1;
  font-weight: 300;
}
.vgrid__score-small {
  font-family: Consolas, "Courier New", monospace;
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
}

/* === Mini chart (P&L) === */
.vgrid__mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-top: 4px;
}
.vgrid__mc-bar {
  flex: 1;
  background: #e2e8f0;
  border-radius: 4px 4px 2px 2px;
  min-height: 8px;
  transition: height 0.5s ease-out;
}
.vgrid__mc-bar--accent {
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px -2px rgba(124,58,237,0.25);
}

/* ========================
   ACTION BAR — единая кнопка → модал
   ======================== */
.vgrid__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Primary CTA — открывает модальную форму */
.vgrid__cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 52px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-violet);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.vgrid__cta-main:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -8px rgba(124,58,237,0.4);
}
.vgrid__cta-main-icon {
  flex-shrink: 0;
}
/* Текст кнопки: десктоп показываем, мобильный скрываем */
.vgrid__cta-text--mobile  { display: none; }
.vgrid__cta-text--desktop { display: inline; }

/* Note under main CTA */
.vgrid__cta-note {
  font-size: 15px;
  color: var(--c-text-secondary);
  text-align: center;
  line-height: 1.5;
  margin-top: -4px;
}

/* Secondary CTA — PDF пример отчёта */
.vgrid__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #7c3aed;
  background: var(--c-bg);
  border: 1.5px solid #c4b5fd;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.vgrid__cta-secondary:hover {
  background: #faf5ff;
  border-color: #a78bfa;
  transform: translateY(-1px);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .vgrid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vgrid__card--tall {
    grid-row: span 1;
  }
  .vgrid__radar {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .vgrid__header {
    margin-bottom: 28px;
  }
  .vgrid__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  .vgrid__card--wide {
    grid-column: span 1;
  }
  .vgrid__card {
    padding: 22px 20px;
  }
  .vgrid__tabs {
    gap: 6px;
    margin-bottom: 28px;
  }
  .vgrid__tab {
    padding: 7px 14px;
    font-size: 15px;
  }
  .vgrid__timeline {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .vgrid__tl-item {
    flex-direction: row;
    gap: 10px;
  }
  .vgrid__tl-line {
    width: 2px;
    height: 16px;
    margin-left: 40px;
  }
  .vgrid__cta-main {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    border-radius: var(--radius-lg);
  }
  .vgrid__cta-text--desktop { display: none; }
  .vgrid__cta-text--mobile  { display: inline; }
  .vgrid__cta-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: var(--radius-lg);
  }
  .vgrid__card-metric {
    font-size: 22px;
  }
  .vgrid__score-big {
    font-size: 36px;
  }
}

@media (max-width: 479px) {
  .vgrid__title {
    font-size: 22px;
  }
  .vgrid__subtitle {
    font-size: 15px;
  }
  .vgrid__tab {
    padding: 6px 12px;
    font-size: 14px;
  }
  .vgrid__card {
    padding: 18px 16px;
  }
  .vgrid__card-title {
    font-size: 15px;
  }
  .vgrid__card-text {
    font-size: 15px;
  }
  .vgrid__cta-main {
    font-size: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
  }
  .vgrid__cta-secondary {
    font-size: 15px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
  }
  .vgrid__cta-note {
    font-size: 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vgrid__card {
    transition-duration: 0.01ms;
    opacity: 1;
    transform: none;
  }
}
/*#endregion SECTION: VALUE-GRID */

/*#region ==================SECTION: SOCIAL-PROOF================== */
.sproof {
  background: var(--c-bg);
}

/* ========== BLOCK 2: Cases ========== */
.sproof__cases-section {
  margin-bottom: 72px;
}

.sproof__heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--c-text);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* Tabs */
.sproof__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.sproof__tab {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-secondary);
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.sproof__tab:hover {
  border-color: #a5b4fc;
  color: #7c3aed;
}
.sproof__tab--active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}
.sproof__tab--active:hover {
  color: #fff;
}

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

/* Case card */
.sproof__case {
  background: var(--c-bg);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, box-shadow 0.3s ease-out, border-color 0.4s ease-out;
}
.sproof__case:hover {
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.08);
}

.sproof__case--dim {
  opacity: 0.35;
  transform: scale(0.97);
}
.sproof__case--dim.sproof__revealed {
  opacity: 0.35;
}

.sproof__case--highlight {
  border-color: rgba(124,58,237,0.55);
  box-shadow: 0 4px 24px -4px rgba(124,58,237,0.18), 0 0 0 2px rgba(124,58,237,0.15);
}

.sproof__case-badge {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-secondary);
  background: var(--c-bg-alt);
  border-bottom: 1px solid #f1f5f9;
  letter-spacing: 0.01em;
}

.sproof__case-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.sproof__case-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sproof__case-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sproof__case-icon--red    { background: rgba(239,68,68,0.08); }
.sproof__case-icon--violet { background: rgba(124,58,237,0.08); }

.sproof__case-tag {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-secondary);
  margin-bottom: 2px;
}

.sproof__case-text {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.5;
}

/* Results numbers */
.sproof__case-results {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.sproof__case-num {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 80px;
}

.sproof__num-val {
  font-family: Consolas, "Courier New", monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-emerald);
  line-height: 1.2;
}

.sproof__num-desc {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.3;
}

/* Quote */
.sproof__case-quote {
  padding: 16px 20px;
  margin: 0 20px 20px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-md);
}
.sproof__case-quote p {
  font-size: 15px;
  font-style: italic;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 6px;
}
.sproof__case-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-secondary);
}

/* ========== BLOCK 3: Testimonials Marquee ========== */
.sproof__reviews-heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.sproof__marquee {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 40px;
}

.sproof__marquee-track {
  display: flex;
  width: max-content;
  animation: sproof-scroll 120s linear infinite;
}
.sproof__marquee-track:hover {
  animation-play-state: paused;
}

@keyframes sproof-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Review card */
.sproof__review-card {
  width: 400px;
  min-width: 400px;
  max-width: 400px;
  flex-shrink: 0;
  background: var(--c-bg);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.04);
}

.sproof__stars {
  font-size: 20px;
  color: #facc15;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}

.sproof__review-text {
  font-size: 15px;
  font-style: italic;
  color: #475569;
  line-height: 1.6;
  flex: 1;
  white-space: normal;
  margin-bottom: 18px;
}

.sproof__review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sproof__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
}

.sproof__author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.3;
}
.sproof__author-co {
  display: block;
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.3;
}

/* ========== BLOCK 4: CTA ========== */
.sproof__cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid #f1f5f9;
  margin-top: 16px;
}

.sproof__cta-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sproof__cta-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.2;
}

.sproof__cta-desc {
  font-size: 16px;
  color: var(--c-text-secondary);
  line-height: 1.6;
  max-width: 420px;
}

/* Единственная кнопка CTA → открывает модал */
.sproof__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-violet);
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.sproof__cta-btn:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -8px rgba(124,58,237,0.4);
}
.sproof__cta-btn-icon {
  flex-shrink: 0;
}

/* Текст кнопки: десктоп / мобайл */
.sproof__cta-text--mobile  { display: none; }
.sproof__cta-text--desktop { display: inline; }

.sproof__cta-micro {
  font-size: 14px;
  color: var(--c-text-secondary);
}

/* Blurred mockup */
.sproof__cta-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sproof__mockup {
  width: 100%;
  max-width: 340px;
  padding: 20px;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.06);
  filter: blur(1.5px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sproof__mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.sproof__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.sproof__mockup-line {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}
.sproof__mockup-line--w80 { width: 80%; }
.sproof__mockup-line--w70 { width: 70%; }
.sproof__mockup-line--w50 { width: 50%; }
.sproof__mockup-line--w40 { width: 40%; }

.sproof__mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding-top: 8px;
}
.sproof__mockup-col {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: #e2e8f0;
  min-height: 8px;
}
.sproof__mockup-col--accent {
  background: linear-gradient(180deg, rgba(124,58,237,0.3), rgba(37,99,235,0.25));
}

/* ========== Reveal animation ========== */
.sproof__reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.sproof__revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .sproof__cases-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .sproof__cta-block {
    grid-template-columns: 1fr;
    padding: 36px;
    text-align: center;
  }
  .sproof__cta-left {
    align-items: center;
  }
  .sproof__cta-desc {
    max-width: 480px;
  }
  .sproof__cta-right {
    display: none;
  }
  .sproof__cta-btn {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .sproof__tabs {
    gap: 6px;
    margin-bottom: 24px;
  }
  .sproof__tab {
    padding: 7px 14px;
    font-size: 14px;
  }
  .sproof__case-body {
    padding: 16px;
  }
  .sproof__case-quote {
    margin: 0 16px 16px;
    padding: 12px 16px;
  }
  .sproof__num-val {
    font-size: 18px;
  }
  .sproof__review-card {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    padding: 22px;
    margin-right: 14px;
  }
  .sproof__cta-block {
    padding: 28px 20px;
  }
  .sproof__cta-btn {
    width: 100%;
    padding: 17px 24px;
    font-size: 17px;
    border-radius: var(--radius-lg);
  }
  .sproof__cta-text--desktop { display: none; }
  .sproof__cta-text--mobile  { display: inline; }
}

@media (max-width: 479px) {
  .sproof__heading {
    font-size: 22px;
  }
  .sproof__review-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    padding: 18px;
    margin-right: 12px;
  }
  .sproof__stars {
    font-size: 16px;
  }
  .sproof__review-text {
    font-size: 15px;
  }
  .sproof__author-name,
  .sproof__author-co {
    font-size: 15px;
  }
  .sproof__avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .sproof__cta-title {
    font-size: 20px;
  }
  .sproof__cta-btn {
    font-size: 16px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
  }
  .sproof__cta-micro {
    font-size: 14px;
  }
}

/* 1601+ : large screens */
@media (min-width: 1601px) {
  .sproof__cases-grid {
    gap: 28px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sproof__marquee-track {
    animation: none;
  }
  .sproof__reveal-init {
    opacity: 1;
    transform: none;
  }
}
/*#endregion SECTION: SOCIAL-PROOF */

/*#region ==================SECTION: TECHNOLOGY================== */
.tech {
  background: var(--c-bg);
}

/* ========== BLOCK 1: Header ========== */
.tech__header {
  text-align: center;
  margin-bottom: 56px;
}
.tech__title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.tech__title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tech__subtitle {
  font-size: 17px;
  color: var(--c-text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ========== BLOCK 2: Scanner ========== */
.tech__scanner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

/* Left: Tabs */
.tech__scanner-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tech__scanner-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.tech__scanner-desc {
  font-size: 15px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

.tech__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech__tab {
  display: flex;
  align-items: stretch;
  gap: 0;
  text-align: left;
  background: var(--c-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.tech__tab:hover {
  border-color: #c4b5fd;
}
.tech__tab--active {
  border-color: #7c3aed;
  box-shadow: 0 4px 20px -4px rgba(124,58,237,0.15);
  background: #faf5ff;
}

.tech__tab-bar {
  width: 4px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 2px 0 0 2px;
  transition: background var(--transition-fast);
}
.tech__tab--active .tech__tab-bar {
  background: var(--gradient-primary);
}

.tech__tab-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
}

.tech__tab-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
}
.tech__tab-trigger {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.4;
}
.tech__tab-diag {
  font-size: 14px;
  font-weight: 600;
  color: #7c3aed;
  display: none;
}
.tech__tab--active .tech__tab-diag {
  display: block;
}

/* Right: 3D Scene */
.tech__scanner-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech__scene {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

/* Lines SVG */
.tech__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.tech__line {
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-dasharray: 6 4;
  transition: stroke 0.4s ease-out, filter 0.4s ease-out;
}
.tech__line--violet {
  stroke: #7c3aed;
  filter: drop-shadow(0 0 6px rgba(124,58,237,0.4));
  stroke-dasharray: none;
}
.tech__line--blue {
  stroke: #2563eb;
  filter: drop-shadow(0 0 6px rgba(37,99,235,0.4));
  stroke-dasharray: none;
}
.tech__line--red {
  stroke: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239,68,68,0.35));
  stroke-dasharray: none;
}

/* Node icon wrapper */
.tech__node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.06);
  flex-shrink: 0;
}

/* Nodes */
.tech__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--c-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px -2px rgba(0,0,0,0.06);
  z-index: 1;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
}
.tech__node--glow {
  transform: scale(1.08);
  border-color: #a78bfa;
  box-shadow: 0 4px 24px -4px rgba(124,58,237,0.25);
}
.tech__node--glow .tech__node-icon {
  background: rgba(124, 58, 237, 0.12);
}

.tech__node--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 24px;
  z-index: 2;
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 8px 32px -8px rgba(124,58,237,0.12);
  animation: tech-float 4s ease-in-out infinite;
}

.tech__node--tl { top: 2%; left: 2%; }
.tech__node--tr { top: 2%; right: 2%; }
.tech__node--bl { bottom: 2%; left: 2%; }
.tech__node--br { bottom: 2%; right: 2%; }

.tech__node-emoji {
  font-size: 18px;
  line-height: 1;
}
.tech__node-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-secondary);
  white-space: nowrap;
}
.tech__node-label--bold {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

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

/* ========== BLOCK 3: Core Chain ========== */
.tech__chain-section {
  margin-bottom: 72px;
}
.tech__chain-heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tech__chain {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.tech__chain-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--c-bg-alt);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
}

.tech__chain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(124,58,237,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech__chain-step {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

.tech__chain-text {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.55;
  flex: 1;
}

.tech__chain-benefit {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-emerald);
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* Arrow between cards */
.tech__chain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
}

/* ========== BLOCK 4: Comparison Table ========== */
.tech__compare-section {
  /* no extra margin, section padding handles it */
}

.tech__compare-heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.015em;
}

.tech__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.04);
}

.tech__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.tech__th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 2px solid #f1f5f9;
}
.tech__th--criterion {
  color: var(--c-text-secondary);
  background: var(--c-bg);
  width: 18%;
}
.tech__th--old {
  color: var(--c-text-secondary);
  background: var(--c-bg);
  width: 34%;
}
.tech__th--ai {
  color: #7c3aed;
  background: #faf5ff;
  width: 48%;
}

.tech__td {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #f8fafc;
  vertical-align: top;
}
.tech__td--label {
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg);
}
.tech__td--old {
  color: #64748b;
  background: var(--c-bg);
}
.tech__td--ai {
  color: var(--c-text);
  background: rgba(250,245,255,0.6);
  transition: background var(--transition-fast);
}
.tech__table tr:hover .tech__td--ai {
  background: rgba(245,243,255,0.9);
}

.tech__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239,68,68,0.08);
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
  vertical-align: middle;
}
.tech__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5,150,105,0.08);
  color: var(--c-emerald);
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ========== Reveal ========== */
.tech__reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.tech__revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */

/* 1601+ — defaults above */

/* 1025–1600 — no changes needed, grid works */

@media (max-width: 1024px) {
  .tech__scanner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tech__scene {
    max-width: 340px;
    margin: 0 auto;
  }
  .tech__chain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .tech__chain-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .tech__header {
    margin-bottom: 40px;
  }
  .tech__scanner {
    margin-bottom: 52px;
    gap: 28px;
  }
  /* Scene takes full width on mobile for more breathing room */
  .tech__scene {
    max-width: 360px;
    width: 90vw;
  }
  /* Compact satellite nodes: smaller padding, smaller icon */
  .tech__node {
    padding: 8px 10px;
    gap: 4px;
  }
  .tech__node--center {
    padding: 12px 16px;
  }
  .tech__node-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .tech__node-icon svg {
    width: 16px;
    height: 16px;
  }
  .tech__node-label {
    font-size: 14px;
  }
  .tech__node-label--bold {
    font-size: 14px;
  }
  /* Push satellites further to edges on mobile */
  .tech__node--tl { top: 0%; left: 0%; }
  .tech__node--tr { top: 0%; right: 0%; }
  .tech__node--bl { bottom: 0%; left: 0%; }
  .tech__node--br { bottom: 0%; right: 0%; }

  .tech__chain {
    grid-template-columns: 1fr;
  }
  .tech__chain-section {
    margin-bottom: 52px;
  }
  .tech__chain-card {
    padding: 22px 20px;
  }
  .tech__tab-content {
    padding: 14px 16px;
  }
  .tech__tab-name {
    font-size: 15px;
  }
  .tech__th,
  .tech__td {
    padding: 14px 16px;
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .tech__title {
    font-size: 24px;
  }
  .tech__subtitle {
    font-size: 15px;
  }
  .tech__scanner-title {
    font-size: 18px;
  }
  .tech__scene {
    max-width: 320px;
    width: 88vw;
  }
  /* Even more compact nodes on very small screens */
  .tech__node {
    padding: 6px 8px;
    gap: 3px;
    border-radius: 10px;
  }
  .tech__node--center {
    padding: 10px 14px;
  }
  .tech__node-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }
  .tech__node-icon svg {
    width: 14px;
    height: 14px;
  }
  .tech__node-label {
    font-size: 14px;
  }
  .tech__node-label--bold {
    font-size: 14px;
  }
  .tech__chain-heading,
  .tech__compare-heading {
    font-size: 20px;
  }
}

/* 320–374: smallest screens */
@media (max-width: 374px) {
  .tech__scene {
    max-width: 280px;
    width: 86vw;
  }
  /* Hide labels on smallest screens, show icon-only */
  .tech__node:not(.tech__node--center) .tech__node-label {
    font-size: 14px;
  }
  .tech__node {
    padding: 6px 6px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tech__node--center {
    animation: none;
  }
  .tech__reveal-init {
    opacity: 1;
    transform: none;
  }
}
/*#endregion SECTION: TECHNOLOGY */

/*#region ==================SECTION: HOW-IT-WORKS & FAQ================== */
.hiw {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

/* Background blobs */
.hiw__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.hiw__blob--1 {
  width: 500px;
  height: 500px;
  background: #7c3aed;
  top: -120px;
  right: -160px;
}
.hiw__blob--2 {
  width: 420px;
  height: 420px;
  background: #2563eb;
  bottom: -100px;
  left: -140px;
}

.hiw .container { position: relative; z-index: 1; }

/* ========== Header ========== */
.hiw__header {
  text-align: center;
  margin-bottom: 56px;
}
.hiw__title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hiw__subtitle {
  font-size: 17px;
  color: var(--c-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== TIMELINE ========== */
.hiw__timeline-block {
  margin-bottom: 56px;
}

.hiw__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Horizontal progress line */
.hiw__progress-line {
  position: absolute;
  top: 32px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  z-index: 0;
  overflow: hidden;
}
.hiw__progress-fill {
  height: 100%;
  width: var(--fill, 0%);
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.5s ease-out;
}

/* Step */
.hiw__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  /* Reveal initial */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.hiw__step--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dot / icon area */
.hiw__step-dot {
  margin-bottom: 20px;
}
.hiw__step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hiw__step-icon--blue    { background: #eff6ff; color: #2563eb; }
.hiw__step-icon--violet  { background: #f5f3ff; color: #7c3aed; }
.hiw__step-icon--fuchsia { background: #fdf4ff; color: #c026d3; }
.hiw__step-icon--emerald { background: #ecfdf5; color: #059669; }

.hiw__step-icon--pulse {
  transform: scale(1.12);
  box-shadow: 0 8px 28px -6px rgba(124,58,237,0.25);
}

/* Card under icon */
.hiw__step-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  background: var(--c-bg);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  width: 100%;
}
.hiw__step:hover .hiw__step-card {
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Badge */
.hiw__badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
  background: #f5f3ff;
  border-radius: var(--radius-full);
  width: fit-content;
  align-self: center;
  letter-spacing: 0.02em;
}
.hiw__badge--green {
  color: var(--c-emerald);
  background: #ecfdf5;
}

.hiw__step-name {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.hiw__step-text {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.5;
}

/* ========== CTA BLOCK ========== */
.hiw__cta-block {
  position: relative;
  padding: 36px 44px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: var(--radius-xl);
  margin-bottom: 72px;
  overflow: hidden;
}

/* Dot patterns */
.hiw__cta-dots {
  position: absolute;
  opacity: 0.6;
}
.hiw__cta-dots--left {
  top: 8px;
  left: 12px;
}
.hiw__cta-dots--right {
  bottom: 8px;
  right: 12px;
}

.hiw__cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hiw__cta-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  max-width: 480px;
}

/* CTA button group */
.hiw__cta-btns {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

/* Base CTA button */
.hiw__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Primary — gradient, single CTA */
.hiw__cta-btn--primary {
  padding: 0 36px;
  min-height: 58px;
  font-size: 18px;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 10px 40px -10px rgba(124,58,237,0.45);
  animation: hiw-pulse-primary 2.5s ease-in-out infinite;
}
.hiw__cta-btn--primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -8px rgba(124,58,237,0.55);
}

/* Label visibility */
.hiw__btn-label--mobile  { display: none; }
.hiw__btn-label--desktop { display: inline; }

@keyframes hiw-pulse-primary {
  0%, 100% { box-shadow: 0 10px 40px -10px rgba(124,58,237,0.45); }
  50%       { box-shadow: 0 10px 48px -8px  rgba(124,58,237,0.65); }
}

/* ========== FAQ ========== */
.hiw__faq-section {
  margin-bottom: 48px;
}

.hiw__faq-heading {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.hiw__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.hiw__faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ item */
.hiw__faq-item {
  border-radius: var(--radius-md);
  background: var(--c-bg-alt);
  border: 1.5px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}
.hiw__faq-item--open {
  background: var(--c-bg);
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 4px 20px -4px rgba(124,58,237,0.08);
}

/* Question button */
.hiw__faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.35;
  transition: color var(--transition-fast);
}
.hiw__faq-item--open .hiw__faq-q {
  color: #7c3aed;
}

/* Chevron */
.hiw__faq-chevron {
  flex-shrink: 0;
  color: var(--c-text-secondary);
  transition: transform 0.3s ease-out, color 0.2s;
}
.hiw__faq-item--open .hiw__faq-chevron {
  transform: rotate(180deg);
  color: #7c3aed;
}

/* Answer */
.hiw__faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
.hiw__faq-a p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ========== MICRO CTA ========== */
.hiw__micro-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.hiw__micro-text {
  font-size: 15px;
  color: var(--c-text-secondary);
}
.hiw__micro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.hiw__micro-btn--tg {
  color: #2563eb;
}
.hiw__micro-btn--tg:hover {
  color: #7c3aed;
}
.hiw__micro-btn--max {
  color: #7c3aed;
}
.hiw__micro-btn--max:hover {
  color: #2563eb;
}

/* ========== Reveal helper ========== */
.hiw__reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hiw__revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .hiw__steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hiw__progress-line {
    display: none;
  }
  .hiw__faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hiw__cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .hiw__cta-text {
    max-width: none;
  }
  .hiw__cta-btns {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hiw__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Horizontal card layout on mobile */
  .hiw__step {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .hiw__step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hiw__step-icon {
    width: 52px;
    height: 52px;
  }
  .hiw__step-icon svg {
    width: 22px;
    height: 22px;
  }
  .hiw__step-card {
    padding: 16px 18px;
  }
  .hiw__badge {
    align-self: flex-start;
  }
  .hiw__header {
    margin-bottom: 40px;
  }
  .hiw__cta-block {
    padding: 28px 24px;
    margin-bottom: 52px;
  }
  .hiw__cta-text {
    font-size: 16px;
  }
  /* Mobile: кнопка полная ширина */
  .hiw__cta-btns {
    width: 100%;
  }
  .hiw__cta-btn--primary {
    width: 100%;
    justify-content: center;
    padding: 0 24px;
    min-height: 52px;
    font-size: 16px;
  }
  /* Переключение лейблов */
  .hiw__btn-label--desktop { display: none; }
  .hiw__btn-label--mobile  { display: inline; }
  /* Micro CTA: столбиком */
  .hiw__micro-cta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .hiw__micro-btn--tg,
  .hiw__micro-btn--max {
    justify-content: center;
  }
  .hiw__faq-q {
    padding: 14px 16px;
    font-size: 15px;
  }
  .hiw__faq-a p {
    padding: 0 16px 14px;
    font-size: 15px;
  }
  .hiw__blob--1 { width: 300px; height: 300px; }
  .hiw__blob--2 { width: 260px; height: 260px; }
}

@media (max-width: 479px) {
  .hiw__title {
    font-size: 24px;
  }
  .hiw__subtitle {
    font-size: 15px;
  }
  .hiw__step-icon {
    width: 46px;
    height: 46px;
  }
  .hiw__step-icon svg {
    width: 20px;
    height: 20px;
  }
  .hiw__step-name {
    font-size: 15px;
  }
  .hiw__step-text {
    font-size: 14px;
  }
  .hiw__cta-block {
    padding: 24px 18px;
  }
  .hiw__cta-text {
    font-size: 15px;
  }
  .hiw__faq-heading {
    font-size: 22px;
    margin-bottom: 28px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hiw__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hiw__cta-btn--primary {
    animation: none;
  }
  .hiw__reveal-init {
    opacity: 1;
    transform: none;
  }
}
/*#endregion SECTION: HOW-IT-WORKS */

/*#region ==================SECTION: FOOTER================== */
.ftr {
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

/* Background blobs */
.ftr__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.ftr__blob--1 {
  width: 480px;
  height: 480px;
  background: rgba(124,58,237,0.18);
  top: 10%;
  right: -80px;
}
.ftr__blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(37,99,235,0.15);
  bottom: 10%;
  right: 80px;
}

.ftr .container { position: relative; z-index: 1; }

/* ========== Grid ========== */
.ftr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ========== LEFT COLUMN ========== */
.ftr__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Eyebrow badge */
.ftr__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7c3aed;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}

.ftr__title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.ftr__lead {
  font-size: 17px;
  color: var(--c-text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
}

/* ========== CTA Button ========== */
.ftr__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  height: 64px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 40px -8px rgba(124,58,237,0.45);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  animation: ftr-btn-glow 3s ease-in-out infinite;
  margin-bottom: 14px;
}
.ftr__cta-btn:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -8px rgba(124,58,237,0.6);
}
.ftr__cta-btn svg {
  flex-shrink: 0;
}

@keyframes ftr-btn-glow {
  0%, 100% { box-shadow: 0 12px 40px -8px rgba(124,58,237,0.45); }
  50%       { box-shadow: 0 12px 48px -6px rgba(124,58,237,0.65); }
}

/* Label switching */
.ftr__btn-label--mobile  { display: none; }
.ftr__btn-label--desktop { display: inline; }

/* Trust note */
.ftr__trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-text-secondary);
  margin-bottom: 28px;
}

/* QR Block */
.ftr__qr-block {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ftr__qr-frame {
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px -2px rgba(0,0,0,0.05);
  flex-shrink: 0;
  line-height: 0;
}
.ftr__qr-img {
  width: 120px;
  height: 120px;
  display: block;
}
.ftr__qr-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.4;
}
.ftr__qr-icon {
  font-size: 20px;
  line-height: 1;
}

/* ========== RIGHT COLUMN: Report Preview Card ========== */
.ftr__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ftr__report-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 24px 64px -16px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient top accent strip */
.ftr__report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Card Header */
.ftr__report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ftr__report-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: 0.02em;
}

.ftr__report-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-emerald);
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.ftr__report-ready-dot {
  width: 7px;
  height: 7px;
  background: var(--c-emerald);
  border-radius: 50%;
  animation: ftr-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ftr-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Company row */
.ftr__report-company {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ftr__report-company-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  border: 1px solid rgba(124,58,237,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7c3aed;
}

.ftr__report-company-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ftr__report-company-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ftr__report-company-inn {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  color: var(--c-text-secondary);
}

.ftr__report-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-emerald);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Divider */
.ftr__report-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0 0 20px;
}

/* ========== Metrics 2×2 grid ========== */
.ftr__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.ftr__metric {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ftr__metric--emerald { background: #ecfdf5; }
.ftr__metric--violet  { background: #f5f3ff; }
.ftr__metric--red     { background: #fff1f2; }
.ftr__metric--blue    { background: #eff6ff; }

.ftr__metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ftr__metric-value {
  font-family: Consolas, "Courier New", monospace;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.ftr__metric--emerald .ftr__metric-value { color: var(--c-emerald); }
.ftr__metric--violet  .ftr__metric-value { color: #7c3aed; }
.ftr__metric--red     .ftr__metric-value { color: var(--c-red); }
.ftr__metric--blue    .ftr__metric-value { color: #2563eb; }

/* ========== Progress bars ========== */
.ftr__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.ftr__bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  align-items: center;
  gap: 10px;
}

.ftr__bar-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

.ftr__bar-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ftr__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.ftr__bar-fill--violet  { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.ftr__bar-fill--blue    { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.ftr__bar-fill--emerald { background: linear-gradient(90deg, #059669, #34d399); }
.ftr__bar-fill--fuchsia { background: linear-gradient(90deg, #c026d3, #e879f9); }

.ftr__bar-score {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  text-align: right;
}

/* Card footer */
.ftr__report-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--c-text-secondary);
  font-weight: 500;
}
.ftr__report-foot svg {
  flex-shrink: 0;
  color: #7c3aed;
}

/* ========== BOTTOM BAR ========== */
.ftr__bottom {
  border-top: 1px solid #e2e8f0;
  background: var(--c-bg);
  padding: 24px 0;
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.ftr__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ftr__copy {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.4;
}

.ftr__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ftr__link {
  font-size: 14px;
  color: var(--c-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.ftr__link:hover { color: #7c3aed; }
.ftr__links-sep  { font-size: 14px; color: #cbd5e1; }
.ftr__link-text  { font-size: 14px; color: var(--c-text-secondary); }

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .ftr__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .ftr__left {
    align-items: center;
    order: 1;
  }
  .ftr__right {
    order: 2;
  }
  .ftr__lead {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .ftr__cta-btn {
    max-width: 420px;
  }
  .ftr__qr-block {
    justify-content: center;
  }
  .ftr__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .ftr__report-card {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .ftr__cta-btn {
    max-width: 100%;
    height: 56px;
    font-size: 16px;
  }
  .ftr__btn-label--desktop { display: none; }
  .ftr__btn-label--mobile  { display: inline; }
  .ftr__qr-block {
    display: none;
  }
  .ftr__blob--1 { width: 300px; height: 300px; }
  .ftr__blob--2 { width: 260px; height: 260px; }
  .ftr__title {
    font-size: 26px;
  }
  .ftr__lead {
    font-size: 16px;
  }
  .ftr__report-card {
    padding: 22px 18px;
  }
  .ftr__metric-value {
    font-size: 22px;
  }
  .ftr__bar-row {
    grid-template-columns: 72px 1fr 28px;
    gap: 8px;
  }
  .ftr__links {
    justify-content: center;
  }
  .ftr__bottom {
    margin-top: 52px;
  }
}

@media (max-width: 479px) {
  .ftr__title {
    font-size: 22px;
  }
  .ftr__lead {
    font-size: 15px;
  }
  .ftr__cta-btn {
    height: 52px;
    font-size: 15px;
    border-radius: var(--radius-md);
  }
  .ftr__report-card {
    padding: 18px 14px;
  }
  .ftr__report-company-name {
    font-size: 14px;
  }
  .ftr__metrics {
    gap: 8px;
  }
  .ftr__metric {
    padding: 12px 12px;
  }
  .ftr__metric-value {
    font-size: 20px;
  }
  .ftr__metric-label {
    font-size: 11px;
  }
  .ftr__bar-label {
    font-size: 14px;
  }
  .ftr__bar-score {
    font-size: 14px;
  }
  .ftr__report-foot {
    font-size: 14px;
  }
  .ftr__copy,
  .ftr__link,
  .ftr__link-text {
    font-size: 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ftr__cta-btn {
    animation: none;
  }
  .ftr__report-ready-dot {
    animation: none;
  }
  .ftr__bar-fill {
    transition: none;
  }
}
/*#endregion SECTION: FOOTER */
