/* =========================================================
 * BizKids — Landing CSS  (bizkids.com.ua)
 * ========================================================= */

:root {
  --bg:           #fbfaff;
  --bg-soft:      #f1efff;
  --bg-card:      #ffffff;
  --bg-dark:      #131127;
  --bg-dark-2:    #1c1a3a;

  --text:         #1d1c33;
  --text-soft:    #4a4866;
  --text-muted:   #7a78a0;
  --text-light:   #ddd9ff;

  --primary:      #5b48e8;
  --primary-2:    #7a6bff;
  --primary-glow: rgba(91, 72, 232, .35);

  --accent:       #ff7a45;
  --accent-2:     #ffb547;
  --mint:         #2ec27e;
  --pink:         #ff5d8f;

  --border:       rgba(91, 72, 232, .14);
  --border-soft:  rgba(91, 72, 232, .08);

  --radius:       18px;
  --radius-lg:    24px;
  --radius-sm:    12px;

  --shadow-sm:    0 4px 14px rgba(91, 72, 232, .08);
  --shadow:       0 14px 40px rgba(91, 72, 232, .14);
  --shadow-lg:    0 30px 70px rgba(91, 72, 232, .22);

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

  --grad:         linear-gradient(120deg, #5b48e8 0%, #7a6bff 35%, #ff7a45 100%);
  --grad-light:   linear-gradient(120deg, #ffb547 0%, #ff7a45 50%, #ff5d8f 100%);
}

/* ============ RESET ============ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
button { font-family: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--text-soft); }

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-light {
  background: var(--grad-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px var(--primary-glow); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 255, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(251, 250, 255, .96); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.logo-icon span { transform: translateY(-1px); }
.logo-text { font-weight: 800; font-size: 1.05rem; }
.logo-text span { color: var(--accent); font-weight: 700; }
.logo-sub { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 14px;
  font-weight: 600; font-size: .92rem;
  color: var(--text-soft);
  border-radius: 10px;
  text-decoration: none;
}
.nav-link:hover { color: var(--primary); background: var(--bg-soft); }
.nav-link--accent {
  background: linear-gradient(110deg, rgba(255, 181, 71, .25), rgba(255, 122, 69, .18));
  color: var(--accent) !important;
  border: 1px solid rgba(255, 122, 69, .35);
}
.nav-link--accent:hover { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.header-cta { font-size: .9rem; padding: 11px 18px; }
.hamburger {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 0;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(251, 250, 255, .98);
  backdrop-filter: blur(14px);
  z-index: 49;
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-weight: 600;
}
.mobile-nav a.mobile-cta { background: var(--grad); color: #fff; border-color: transparent; text-align: center; }

/* ============ SECTIONS ============ */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--gradient {
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 107, 255, .35), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 122, 69, .35), transparent 55%),
    linear-gradient(140deg, #2a256b 0%, #1c1a3a 100%);
  color: #fff;
}
.section--gradient h2,
.section--gradient h3,
.section--gradient .biz-quote { color: #fff; }
.section--gradient p, .section--gradient li { color: #d8d4ff; }
.section--dark {
  background: linear-gradient(165deg, #1c1a3a 0%, #131127 100%);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-light); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header p { font-size: 1.05rem; }
.section-label {
  display: inline-block;
  padding: 6px 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(91, 72, 232, .1);
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-label--light {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 120px);
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(122, 107, 255, .22), transparent 70%),
    radial-gradient(700px 460px at 0% 100%, rgba(255, 122, 69, .15), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.float-tag {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .82rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  animation: float 7s ease-in-out infinite;
}
.float-tag.tag-1 { top: 12%; left: 4%;  animation-delay: 0s; }
.float-tag.tag-2 { top: 24%; right: 6%; animation-delay: 1.2s; color: var(--mint); }
.float-tag.tag-3 { top: 60%; left: 7%;  animation-delay: 2.1s; color: var(--accent); }
.float-tag.tag-4 { top: 78%; right: 12%; animation-delay: .8s; color: var(--accent-2); font-size: 1.1rem; }
.float-tag.tag-5 { top: 8%;  right: 28%; animation-delay: 1.6s; font-size: 1.2rem; }
.float-tag.tag-6 { top: 70%; right: 4%; animation-delay: 2.6s; color: var(--pink); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700; font-size: .82rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge .hb-brand {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -.01em;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.hero-stat .hs-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat .hs-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: .02em;
}

/* hero card visual */
.hero-card-wrap { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f6f2ff 100%);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  transform: rotate(-1.2deg);
}
.hc-screen {
  background: #1c1a3a;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
}
.hc-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #131127;
}
.hc-bar > span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff5d8f;
}
.hc-bar > span:nth-child(2) { background: var(--accent-2); }
.hc-bar > span:nth-child(3) { background: var(--mint); }
.hc-url {
  margin-left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: #adaad6;
}
.hc-body { padding: 18px; }
.hc-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-weight: 700;
}
.hc-pill {
  padding: 6px 12px;
  background: rgba(46, 194, 126, .15);
  color: #5be29e;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.hc-pill b { color: #fff; }
.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.hc-tile {
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
}
.hc-tile.hc-tile--green { background: rgba(46, 194, 126, .12); border-color: rgba(46, 194, 126, .25); }
.hc-tile.hc-tile--accent { background: rgba(255, 122, 69, .12); border-color: rgba(255, 122, 69, .25); }
.hc-tile .t-label {
  font-size: .72rem;
  color: #adaad6;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hc-tile .t-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 4px;
}
.hc-chart {
  height: 80px;
  display: flex; align-items: flex-end;
  gap: 6px;
  padding: 8px 6px;
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  margin-bottom: 14px;
}
.hc-chart > div {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(to top, var(--primary-2), var(--accent));
  border-radius: 4px 4px 2px 2px;
  animation: barUp .8s ease forwards;
  transform: scaleY(0); transform-origin: bottom;
}
.hc-chart > div:nth-child(1) { animation-delay: .1s; }
.hc-chart > div:nth-child(2) { animation-delay: .2s; }
.hc-chart > div:nth-child(3) { animation-delay: .3s; }
.hc-chart > div:nth-child(4) { animation-delay: .4s; }
.hc-chart > div:nth-child(5) { animation-delay: .5s; }
.hc-chart > div:nth-child(6) { animation-delay: .6s; }
.hc-chart > div:nth-child(7) { animation-delay: .7s; }
@keyframes barUp { to { transform: scaleY(1); } }
.hc-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.hc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(122, 107, 255, .2);
  color: #c4bbff;
  font-weight: 700;
}

.hc-orbit {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hc-orbit--1 { top: -22px; left: -22px; animation-delay: .2s; }
.hc-orbit--2 { bottom: 30px; left: -28px; animation-delay: 1.2s; }
.hc-orbit--3 { top: 30%; right: -28px; animation-delay: 2.1s; }

/* ============ CARDS GRID ============ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: #fff;
}
.ic-purple { background: linear-gradient(135deg, #5b48e8, #7a6bff); }
.ic-mint   { background: linear-gradient(135deg, #2ec27e, #5be29e); }
.ic-orange { background: linear-gradient(135deg, #ff7a45, #ffb547); }

.card-highlight {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: linear-gradient(110deg, rgba(255, 181, 71, .18), rgba(255, 122, 69, .12));
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--text);
  font-size: .94rem;
  font-weight: 500;
}
.card-highlight b { color: var(--accent); font-weight: 800; }

.quote-bar {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px 32px 84px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.quote-bar i {
  position: absolute;
  left: 32px; top: 28px;
  font-size: 1.8rem;
  color: var(--primary);
  opacity: .6;
}
.quote-bar p {
  font-size: 1.2rem;
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

/* ============ BUSINESS BLOCK ============ */
.biz-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 1.02rem;
}
.check-list li i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 181, 71, .25);
  color: var(--accent-2);
  display: grid; place-items: center;
  font-size: .8rem;
  margin-top: 4px;
}
.section--gradient .check-list li { color: #f0eeff; }
.check-list--accent li i { background: rgba(91, 72, 232, .15); color: var(--primary); }

.biz-quote {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 32px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .08);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.biz-visual { position: relative; min-height: 480px; }
.biz-screens { position: relative; height: 100%; }
.biz-screen {
  position: absolute;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #1c1a3a;
}
.biz-screen--back {
  width: 78%;
  top: 0;
  right: 0;
  transform: rotate(3deg);
}
.biz-screen--front {
  width: 64%;
  bottom: 0;
  left: 0;
  transform: rotate(-4deg);
}

/* ============ PROGRAM ============ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prog-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prog-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.prog-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.prog-card ul {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.prog-card ul li {
  font-size: .9rem;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
}
.prog-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============ RESULT ============ */
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.res-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-ic {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 22px var(--primary-glow);
}

/* ============ FORMAT / PRICE ============ */
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.format-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 24px;
}
.format-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-weight: 500;
  color: var(--text);
}
.format-list li i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.price-card {
  background: linear-gradient(155deg, #ffffff 0%, #f3efff 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, .25), transparent 70%);
}
.price-tag {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--grad-light);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}
.price-month {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.price-num {
  display: flex; align-items: baseline; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  margin-bottom: 6px;
}
.price-num span { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.price-num sup { font-size: 1rem; color: var(--text-soft); }
.price-num small { font-size: .9rem; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.price-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.price-feats {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.price-feats li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.price-feats li i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: grid; place-items: center;
  font-size: .7rem;
  flex-shrink: 0;
}
.price-note { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

/* ============ TEACHER ============ */
.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.teacher-photo { position: relative; }
.teacher-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.teacher-badges {
  position: absolute;
  bottom: -16px; left: 16px; right: 16px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.t-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
}
.t-badge i { color: var(--accent); }
.teacher-lead { font-size: 1.05rem; color: var(--text); }
.teacher-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s;
  font-size: .82rem;
}
.faq-item[open] summary i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item p { padding: 0 24px 22px; margin: 0; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info p { font-size: 1.05rem; }
.contact-links {
  display: flex; flex-direction: column; gap: 12px;
  margin: 28px 0;
}
.contact-link-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}
.contact-link-item:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); transform: translateY(-2px); color: #fff; }
.contact-link-item i { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.cli-label { font-size: .72rem; color: var(--text-light); margin-bottom: 2px; opacity: .8; }

.contact-trust {
  display: flex; flex-direction: column; gap: 10px;
  font-size: .85rem;
  color: var(--text-light);
  opacity: .85;
  margin-top: 24px;
}
.contact-trust i { color: var(--accent-2); margin-right: 6px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  color: var(--text);
}
.contact-form h3 { margin-bottom: 22px; color: var(--text); }
.form-group { margin-bottom: 16px; }
.form-group--check { margin-top: 12px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.form-label .req { color: var(--accent); }
.form-label .optional { color: var(--text-muted); font-weight: 400; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 72, 232, .15);
}
textarea.form-control { resize: vertical; min-height: 80px; }
.captcha-input { max-width: 140px; }
.form-control.is-invalid { border-color: #ff5d8f; background: #fff5f8; }

.form-field-error {
  display: none;
  color: #d6326e;
  font-size: .8rem;
  margin-top: 6px;
}
.form-field-error.visible { display: block; }

.form-check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem;
  color: var(--text-soft);
  cursor: pointer;
}
.form-check-label input { margin-top: 3px; flex-shrink: 0; }
.form-check-label.is-invalid { color: #d6326e; }
.form-check-label a { color: var(--primary); }

.honeypot { position: absolute; left: -9999px; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.form-success.show { display: block; animation: pop .4s ease; }
@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
  box-shadow: 0 12px 30px rgba(46, 194, 126, .35);
}
.form-success h3 { color: var(--text); }
.form-success p { color: var(--text-soft); }

.form-error-toast {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff5f8;
  border: 1px solid #ffd4e0;
  color: #d6326e;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 14px;
  font-size: .9rem;
}
.form-error-toast.show { display: flex; }
.form-error-close {
  margin-left: auto;
  background: transparent; border: 0;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer; color: #d6326e;
}

/* ============ PAGE HERO (privacy / inner) ============ */
.page-hero {
  padding: 80px 0 56px;
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(122, 107, 255, .2), transparent 70%),
    var(--bg);
}
.page-hero-content { max-width: 720px; margin: 0 auto; }
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 32px; font-size: 1.2rem; }
.legal-content ul { padding-left: 22px; list-style: disc; margin-bottom: 1em; color: var(--text-soft); }
.legal-content ul li { margin-bottom: 6px; }

/* ============ FOOTER ============ */
.site-footer {
  background: #131127;
  color: var(--text-light);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-light); opacity: .75; margin-top: 16px; max-width: 320px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: #adaad6; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-col a {
  display: block;
  color: var(--text-light);
  opacity: .75;
  padding: 4px 0;
  font-size: .9rem;
}
.footer-col a:hover { color: #fff; opacity: 1; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--text-light); opacity: .6; }
.footer-bottom a { color: var(--text-light); opacity: .8; }
.footer-bottom a:hover { color: #fff; opacity: 1; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s, transform .15s;
}
.social-btn:hover { background: var(--primary); transform: translateY(-2px); color: #fff; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============ DEMO SHOP («Дрібнички») ============ */
.demo-hero {
  padding: 64px 0 32px;
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(255, 181, 71, .25), transparent 70%),
    radial-gradient(600px 360px at 100% 100%, rgba(122, 107, 255, .18), transparent 70%),
    var(--bg);
}
.demo-hero h1 { max-width: 820px; margin: 12px auto 18px; }
.demo-hero p  { max-width: 720px; margin: 0 auto 28px; font-size: 1.05rem; }
.demo-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.demo-app { padding-top: 32px; }
.demo-shop {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* шапка магазину */
.shop-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 22px;
}
.shop-brand { display: flex; align-items: center; gap: 14px; }
.shop-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffb547, #ff7a45);
  display: grid; place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(255, 122, 69, .35);
}
.shop-name { font-weight: 800; font-size: 1.4rem; color: var(--text); }
.shop-slug { font-size: .82rem; color: var(--text-muted); }

.shop-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.ss-item {
  background: var(--bg-soft);
  padding: 10px 16px;
  border-radius: 12px;
  min-width: 150px;
}
.ss-item--accent {
  background: linear-gradient(135deg, rgba(46, 194, 126, .15), rgba(91, 72, 232, .12));
}
.ss-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ss-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 2px;
}
.ss-item--accent .ss-val { color: var(--mint); }

/* фільтр категорій */
.shop-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.cat-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-btn span {
  font-size: .72rem;
  background: rgba(91, 72, 232, .15);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.cat-btn:hover { color: var(--primary); }
.cat-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.cat-btn.active span { background: rgba(255, 255, 255, .25); color: #fff; }

/* грід магазину */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* картки товарів */
.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.product {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}
.product.pulse { animation: cardPulse .5s ease; }
@keyframes cardPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 194, 126, .55); }
  60%  { box-shadow: 0 0 0 14px rgba(46, 194, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 194, 126, 0); }
}

.prod-img {
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, #fdf6ff 0%, #f0ecff 100%);
  display: grid; place-items: center;
}
.prod-emoji { font-size: 3.4rem; line-height: 1; }
.prod-tag {
  position: absolute;
  top: 10px; right: 10px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.prod-tag--hit { background: linear-gradient(135deg, #ff5d8f, #ff7a45); }
.prod-tag--new { background: linear-gradient(135deg, #2ec27e, #5be29e); }

.prod-name {
  padding: 14px 16px 8px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  flex: 1;
}
.prod-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 16px 16px;
}
.prod-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}
.prod-add {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 0;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.prod-add:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--primary-glow); }
.prod-add:active { transform: scale(.92); }

/* кошик */
.shop-cart {
  background: linear-gradient(160deg, #ffffff 0%, #f6f2ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-sm);
}
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.cart-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; }
.cart-head h3 i { color: var(--primary); }
.cart-count {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
}

.cart-empty { text-align: center; padding: 24px 8px; }
.ce-emoji { font-size: 2.6rem; margin-bottom: 8px; }
.cart-empty p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.cart-list { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; }
.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}
.ci-emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ci-price { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.ci-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ci-btn {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  font-size: .9rem;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.ci-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ci-qty { font-family: 'JetBrains Mono', monospace; font-weight: 700; min-width: 18px; text-align: center; font-size: .85rem; }

.cart-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.cart-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  font-size: .95rem;
}
.cart-row b { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; color: var(--text); }
.cart-row--small { font-size: .82rem; color: var(--text-muted); }
.cart-row--profit {
  background: rgba(46, 194, 126, .12);
  margin: 8px -10px 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.cart-row--profit b { color: var(--mint); }
.btn-checkout { margin-top: 14px; padding: 13px; }
.cart-clear {
  display: block;
  width: 100%;
  background: transparent; border: 0;
  color: var(--text-muted);
  font-size: .82rem;
  padding: 10px 0 4px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}
.cart-clear:hover { color: var(--accent); }

/* toast */
.shop-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #131127;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
}
.shop-toast i { color: var(--mint); font-size: 1.1rem; }
.shop-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-wrap { max-width: 540px; margin: 0 auto; }
  .biz-grid, .format-grid, .teacher-grid, .contact-grid {
    grid-template-columns: 1fr; gap: 48px;
  }
  .biz-visual { min-height: 380px; }
  .cards-3, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-cart { position: static; }
  .nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .cards-3, .program-grid, .result-grid { grid-template-columns: 1fr; }
  .demo-shop { padding: 18px; }
  .shop-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-img { height: 110px; }
  .prod-emoji { font-size: 2.8rem; }
  .ss-item { min-width: 130px; flex: 1; }
  .contact-form { padding: 24px; }
  .price-card { padding: 32px 24px 24px; }
  .biz-visual { min-height: 320px; }
  .biz-screen--back { width: 86%; }
  .biz-screen--front { width: 70%; }
  .float-tag { font-size: .72rem; padding: 4px 10px; }
  .float-tag.tag-1, .float-tag.tag-2 { display: none; }
  .hc-orbit { display: none; }
  .hero-card { transform: none; }
  .quote-bar { padding: 28px 22px 28px 22px; }
  .quote-bar i { display: none; }
  .faq-item summary { padding: 18px 18px; font-size: .98rem; }
  .faq-item p { padding: 0 18px 18px; }
  h1 br { display: none; }
}
