/* ===================================================================
   BAIBEKOV.RU — Design System
   =================================================================== */

/* --- Tokens --- */
:root {
  --color-bg-dark: #0F0F0F;
  --color-bg-dark-blue: #1A1A2E;
  --color-bg-section: #F4F4F2;
  --color-bg-card: #FFFFFF;
  --color-accent: #E8B84B;
  --color-accent-hover: #D4A032;
  --color-accent-light: #FFF8E7;
  --color-success: #1D7A55;
  --color-success-light: #E4F5EC;
  --color-text-primary: #141414;
  --color-text-body: #444444;
  --color-text-muted: #888888;
  --color-text-on-dark: #FFFFFF;
  --color-border: #E8E8E4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font: 'Manrope', sans-serif;
  --container: 1140px;
  --container-narrow: 780px;
  --header-h: 64px;
  --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-bg-card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

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

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1, .h1 { font-size: 56px; font-weight: 700; line-height: 1.1;  letter-spacing: -0.02em; color: var(--color-text-primary); }
h2, .h2 { font-size: 36px; font-weight: 600; line-height: 1.2;  letter-spacing: -0.01em; color: var(--color-text-primary); }
h3, .h3 { font-size: 24px; font-weight: 600; line-height: 1.3;  color: var(--color-text-primary); }
h4, .h4 { font-size: 18px; font-weight: 600; line-height: 1.4;  color: var(--color-text-primary); }

.text-body  { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--color-text-body); }
.text-small { font-size: 15px; line-height: 1.5; color: var(--color-text-muted); }
.text-label {
  font-size: 11px; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Dark section text overrides */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-dark-blue h1, .section-dark-blue h2, .section-dark-blue h3, .section-dark-blue h4,
.section-dark .h1, .section-dark .h2, .section-dark .h3,
.section-dark-blue .h1, .section-dark-blue .h2, .section-dark-blue .h3 {
  color: var(--color-text-on-dark);
}
.section-dark .text-body, .section-dark-blue .text-body,
.section-dark p, .section-dark-blue p {
  color: rgba(255,255,255,0.75);
}
.section-dark .text-label, .section-dark-blue .text-label {
  color: rgba(255,255,255,0.45);
}

/* ===================================================================
   SECTIONS
   =================================================================== */
.section         { padding: 96px 0; }
.section-dark    { background: var(--color-bg-dark);      color: var(--color-text-on-dark); }
.section-dark-blue { background: var(--color-bg-dark-blue); color: var(--color-text-on-dark); }
.section-light   { background: var(--color-bg-section);   color: var(--color-text-body); }
.section-white   { background: var(--color-bg-card);      color: var(--color-text-body); }
.section-gold    { background: var(--color-accent);        color: var(--color-text-primary); }

.section__header { margin-bottom: 48px; }
.section__title  { margin-bottom: 12px; }
.section__text   { font-size: 18px; line-height: 1.6; max-width: 620px; opacity: 0.85; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 36px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-accent); color: var(--color-text-primary); border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover); border-color: var(--color-accent-hover);
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,184,75,0.3);
}

.btn-outline {
  background: transparent; color: var(--color-text-primary); border-color: var(--color-text-primary);
}
.btn-outline:hover {
  background: var(--color-text-primary); color: var(--color-text-on-dark);
  transform: translateY(-2px);
}
.section-dark .btn-outline, .section-dark-blue .btn-outline {
  color: var(--color-text-on-dark); border-color: rgba(255,255,255,0.3);
}
.section-dark .btn-outline:hover, .section-dark-blue .btn-outline:hover {
  background: rgba(255,255,255,0.1); color: var(--color-text-on-dark);
}

.btn-success {
  background: var(--color-success); color: #fff; border-color: var(--color-success);
}
.btn-success:hover {
  background: #166943; border-color: #166943;
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(29,122,85,0.25);
}

.btn-dark {
  background: var(--color-bg-dark); color: var(--color-text-on-dark); border-color: var(--color-bg-dark);
}
.btn-dark:hover {
  background: #222; border-color: #222; transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 44px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--icon-only { padding: 12px; width: 44px; height: 44px; }

.btn-danger { background: #c0392b; color: #fff; border-color: #c0392b; }
.btn-danger:hover { background: #a93226; border-color: #a93226; }

/* ===================================================================
   TAGS / BADGES
   =================================================================== */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; line-height: 1.4;
}
.tag-accent { background: var(--color-accent-light); color: #9A7118; }
.tag-success { background: var(--color-success-light); color: var(--color-success); }
.tag-dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }

/* ===================================================================
   CARDS
   =================================================================== */
.card {
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.section-dark .card, .section-dark-blue .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .card:hover, .section-dark-blue .card:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  background: var(--color-accent-light); color: var(--color-accent);
}
.section-dark .card__icon, .section-dark-blue .card__icon {
  background: rgba(232,184,75,0.12);
}

.card__title {
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  color: var(--color-text-primary);
}
.section-dark .card__title, .section-dark-blue .card__title {
  color: var(--color-text-on-dark);
}

.card__text {
  font-size: 15px; line-height: 1.6;
  color: var(--color-text-muted);
}
.section-dark .card__text, .section-dark-blue .card__text {
  color: rgba(255,255,255,0.55);
}

.card__tag { margin-top: 16px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Case card — colored stripe top */
.card--case {
  padding: 0; overflow: hidden;
}
.card--case .card__stripe {
  height: 4px; width: 100%;
}
.card--case .card__stripe--gold   { background: var(--color-accent); }
.card--case .card__stripe--green  { background: var(--color-success); }
.card--case .card__stripe--blue   { background: #3B82F6; }
.card--case .card__stripe--purple { background: #8B5CF6; }
.card--case .card__body { padding: 28px 32px 32px; }

/* ===================================================================
   TRUST / STATS
   =================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item {}
.trust-value {
  font-size: 44px; font-weight: 800; line-height: 1.1;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.trust-label {
  font-size: 14px; font-weight: 500;
  color: var(--color-text-muted);
}
.section-dark .trust-label, .section-dark-blue .trust-label {
  color: rgba(255,255,255,0.5);
}

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--color-bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header-h);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header__logo {
  font-size: 20px; font-weight: 800; color: var(--color-accent);
  letter-spacing: -0.01em;
}
.header__nav {
  display: flex; align-items: center; gap: 32px;
}
.header__link {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  position: relative;
}
.header__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--color-accent);
  transition: width var(--transition);
}
.header__link:hover, .header__link.active { color: var(--color-text-on-dark); }
.header__link.active::after, .header__link:hover::after { width: 100%; }

.header__cta {
  margin-left: 16px;
}

.header__burger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px;
  cursor: pointer;
}
.header__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text-on-dark);
  border-radius: 2px; transition: all 0.3s;
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Space for fixed header */
body { padding-top: var(--header-h); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  padding: 80px 0 72px;
}
.hero--lg { padding: 100px 0 88px; }
.hero--sm { padding: 52px 0 36px; }
.hero__title {
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 20px; line-height: 1.5; max-width: 560px;
  margin-bottom: 36px;
}
.section-dark .hero__subtitle { color: rgba(255,255,255,0.7); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===================================================================
   FORMS / INPUTS
   =================================================================== */
.input, .textarea {
  display: block; width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  font-family: var(--font);
  font-size: 15px; line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.15);
}
.input::placeholder, .textarea::placeholder {
  color: var(--color-text-muted);
}
.textarea { resize: vertical; min-height: 120px; }

/* Dark section inputs */
.section-dark .input, .section-dark-blue .input,
.section-dark .textarea, .section-dark-blue .textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--color-text-on-dark);
}
.section-dark .input::placeholder, .section-dark-blue .input::placeholder {
  color: rgba(255,255,255,0.35);
}
.section-dark .input:focus, .section-dark-blue .input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.12);
}

.form-group { margin-bottom: 16px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--color-text-muted);
}
.section-dark .form-label { color: rgba(255,255,255,0.5); }

.contact-form { max-width: 480px; }

/* ===================================================================
   QUIZ
   =================================================================== */
.quiz { max-width: 540px; }

/* Progress bar */
.quiz__progress-bar {
  width: 100%; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.1); margin-bottom: 8px;
  overflow: hidden;
}
.section-light .quiz__progress-bar { background: var(--color-border); }
.quiz__progress-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}
.quiz__progress-text {
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
  color: rgba(255,255,255,0.4);
}
.section-light .quiz__progress-text { color: var(--color-text-muted); }

/* Step animations */
.quiz__step--enter {
  opacity: 0; transform: translateX(30px);
}
.quiz__step--active {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.quiz__step--exit {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quiz__question {
  font-size: 22px; font-weight: 700; margin-bottom: 20px;
  color: var(--color-text-primary);
}
.section-dark .quiz__question { color: var(--color-text-on-dark); }

.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer; background: none;
  font-size: 15px; font-weight: 500;
  text-align: left; width: 100%;
  transition: all var(--transition);
}
.section-dark .quiz__option {
  border-color: rgba(255,255,255,0.12);
  color: var(--color-text-on-dark);
}
.quiz__option:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-text-primary);
}
.section-dark .quiz__option:hover {
  background: rgba(232,184,75,0.1);
  color: var(--color-text-on-dark);
}
.quiz__option.selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-text-primary);
  pointer-events: none;
}

/* Contact step */
.quiz__contact { display: flex; flex-direction: column; gap: 4px; }
.quiz__contact-title {
  font-size: 20px; font-weight: 700; margin-bottom: 16px;
  color: var(--color-text-primary);
}
.section-dark .quiz__contact-title { color: var(--color-text-on-dark); }

.quiz__hint {
  font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 8px; text-align: center;
}
.section-light .quiz__hint { color: var(--color-text-muted); }

/* Disabled button state */
.btn--disabled {
  opacity: 0.45; cursor: not-allowed;
  pointer-events: none;
}

/* Final screen */
.quiz__final-inner { text-align: center; padding: 32px 0; }
.quiz__final-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.quiz__final-title {
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
  color: var(--color-text-primary);
}
.section-dark .quiz__final-title { color: var(--color-text-on-dark); }
.quiz__final-text {
  font-size: 16px; line-height: 1.6;
  color: var(--color-text-muted); max-width: 400px; margin: 0 auto;
}
.section-dark .quiz__final-text { color: rgba(255,255,255,0.6); }

/* ===================================================================
   THANK-YOU LINKS
   =================================================================== */
.thankyou-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.thankyou-link {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; border-radius: var(--radius-lg);
  border: 0.5px solid var(--color-border);
  background: var(--color-bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.thankyou-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.thankyou-link__icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.thankyou-link__title {
  font-size: 16px; font-weight: 700; margin-bottom: 4px;
  color: var(--color-text-primary);
}
.thankyou-link__text {
  font-size: 14px; color: var(--color-text-muted); line-height: 1.4;
}

/* ===================================================================
   ARTICLE CARDS
   =================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.article-card__img {
  width: 100%; height: 200px; object-fit: cover;
}
.article-card__body { padding: 24px 28px 28px; }
.article-card__title {
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  color: var(--color-text-primary); line-height: 1.3;
}
.article-card__excerpt {
  font-size: 15px; color: var(--color-text-muted);
  margin-bottom: 14px; line-height: 1.5;
}
.article-card__date {
  font-size: 13px; color: var(--color-text-muted); opacity: 0.7;
}

/* Article body content */
.article-content { font-size: 17px; line-height: 1.8; }
.article-content h2 { margin: 40px 0 16px; font-size: 28px; }
.article-content h3 { margin: 32px 0 12px; font-size: 22px; }
.article-content p  { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 12px 20px; margin: 24px 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-body);
}
.article-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

/* Article cover */
.article-cover {
  width: 100%; border-radius: var(--radius-lg);
  margin-top: 32px;
}

/* CTA block inside article */
.article-cta {
  background: #0F0F0F; color: #fff;
  border-left: 4px solid #E8B84B;
  border-radius: 12px; padding: 28px 32px; margin: 40px 0;
}
.article-cta h3 {
  font-size: 22px; font-weight: 600; margin-bottom: 8px; color: #fff;
}
.article-cta .article-cta__desc {
  font-size: 15px; color: #888; margin-bottom: 20px; line-height: 1.5;
}
.article-cta__fields {
  display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.article-cta__fields.article-cta__fields--row { flex-wrap: nowrap; }
.article-cta__fields .article-cta__input {
  flex: 1; min-width: 0;
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1A1A2E; color: #fff;
  font-family: var(--font); font-size: 14px;
}
.article-cta__fields .article-cta__input::placeholder { color: #666; }
.article-cta__fields .article-cta__input:focus {
  outline: none; border-color: #E8B84B;
  box-shadow: 0 0 0 2px rgba(232,184,75,0.15);
}
.article-cta__btn {
  display: block; width: 100%; padding: 13px 20px;
  background: #E8B84B; color: #0F0F0F;
  border: none; border-radius: 7px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s, opacity 0.2s, transform 0.2s;
  margin-top: 12px;
}
.article-cta__btn:hover:not(:disabled) {
  background: #D4A032;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,184,75,0.25);
}
.article-cta__btn:disabled,
.article-cta__btn.btn--disabled {
  opacity: 0.4; cursor: not-allowed;
  background: #E8B84B; transform: none;
  box-shadow: none;
}
.article-cta__hint {
  font-size: 12px; color: #555; margin-top: 10px; text-align: center;
}
.article-cta__success {
  text-align: center; padding: 16px 0;
}
.article-cta__success h4 {
  font-size: 18px; font-weight: 700; color: #E8B84B; margin-bottom: 6px;
}
.article-cta__success p {
  font-size: 14px; color: #888;
}

@media (max-width: 768px) {
  .article-cta { padding: 20px; }
  .article-cta__fields--row { flex-wrap: wrap !important; }
  .article-cta__fields .article-cta__input { min-width: 100%; }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer__logo {
  font-size: 20px; font-weight: 800; color: var(--color-accent);
  display: block; margin-bottom: 10px;
}
.footer__text { font-size: 15px; line-height: 1.6; max-width: 280px; }
.footer__col h4 {
  color: var(--color-text-on-dark); font-size: 14px; font-weight: 600;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer__col a {
  display: block; margin-bottom: 8px; font-size: 15px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px; padding: 20px 0;
  font-size: 14px;
}

/* ===================================================================
   FLOATING MOBILE CTA
   =================================================================== */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-cta .btn { width: 100%; }

/* ===================================================================
   TWO COLUMNS (For whom / Not for whom)
   =================================================================== */
.two-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.col-header {
  font-size: 16px; font-weight: 700; margin-bottom: 20px;
  padding: 14px 20px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 10px;
}
.col-header--green { background: var(--color-success-light); color: var(--color-success); }
.col-header--red   { background: #FDE8E8; color: #B91C1C; }
.col-icon { font-size: 20px; font-weight: 700; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  padding-left: 28px; position: relative;
  font-size: 15px; line-height: 1.5; color: var(--color-text-body);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
}
.check-list--green li::before { background: var(--color-success-light); border: 2px solid var(--color-success); }
.check-list--red li::before   { background: #FDE8E8; border: 2px solid #B91C1C; }

/* ===================================================================
   PAINS GRID
   =================================================================== */
.pains-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.pain-card {
  padding: 28px;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  transition: transform var(--transition);
}
.pain-card:hover { transform: translateY(-3px); }
.pain-card__num {
  font-size: 13px; font-weight: 700; color: var(--color-accent);
  margin-bottom: 12px;
}
.pain-card__title {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  color: var(--color-text-primary);
}
.pain-card__text {
  font-size: 15px; line-height: 1.5; color: var(--color-text-muted);
}

/* ===================================================================
   STEPS (vertical)
   =================================================================== */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }
.step__num {
  font-size: 28px; font-weight: 800; color: var(--color-accent);
  min-width: 56px;
}
.step__title {
  font-size: 20px; font-weight: 700; margin-bottom: 6px;
  color: var(--color-text-primary);
}
.step__text {
  font-size: 15px; line-height: 1.6; color: var(--color-text-muted);
}

/* ===================================================================
   STEPS HORIZONTAL (How to start)
   =================================================================== */
.steps-horizontal {
  display: flex; align-items: flex-start; justify-content: center; gap: 16px;
}
.step-h {
  flex: 1; text-align: center; max-width: 280px;
}
.step-h__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-text-primary);
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-h__title {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  color: var(--color-text-primary);
}
.step-h__text {
  font-size: 14px; line-height: 1.5; color: var(--color-text-muted);
}
.step-h__arrow {
  font-size: 24px; color: var(--color-text-muted);
  margin-top: 12px; flex-shrink: 0;
}

/* ===================================================================
   ABOUT GRID
   =================================================================== */
.about-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start;
}
.about-photo__placeholder {
  width: 280px; height: 340px; border-radius: var(--radius-lg);
  background: var(--color-bg-dark); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 800;
}
.about-facts {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
}
.about-facts li {
  padding-left: 24px; position: relative;
  font-size: 15px; color: var(--color-text-body);
}
.about-facts li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
}

/* ===================================================================
   PRICING GRID / PRICE CARDS
   =================================================================== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.price-card {
  padding: 32px; border-radius: var(--radius-lg);
  border: 0.5px solid var(--color-border);
  background: var(--color-bg-card);
  display: flex; flex-direction: column;
}
.price-card--highlight {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
  position: relative;
}
.price-card__title {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
  color: var(--color-text-primary);
}
.price-card__price {
  font-size: 28px; font-weight: 800; color: var(--color-accent);
  margin-bottom: 4px; line-height: 1.2;
}
.price-card__period {
  font-size: 14px; font-weight: 500; color: var(--color-text-muted);
  margin-bottom: 20px;
}
.price-card__features {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px; flex-grow: 1;
}
.price-card__features li {
  padding-left: 22px; position: relative;
  font-size: 14px; color: var(--color-text-body);
}
.price-card__features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--color-success);
  font-weight: 700; font-size: 13px;
}

/* Format cards (simpler variant without price) */
.format-card {
  padding: 28px; border-radius: var(--radius-lg);
  border: 0.5px solid var(--color-border);
  background: var(--color-bg-card);
}
.format-card__title {
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  color: var(--color-text-primary);
}
.format-card__desc {
  font-size: 15px; line-height: 1.5; color: var(--color-text-muted);
  margin-bottom: 16px;
}
.format-card__features {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
}
.format-card__features li {
  padding-left: 20px; position: relative;
  font-size: 14px; color: var(--color-text-body);
}
.format-card__features li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--color-text-muted);
}

/* ===================================================================
   QUIZ SECTION (two-column layout)
   =================================================================== */
.quiz-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.quiz-info {}
.quiz-widget {}
.quiz-benefits { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.quiz-benefit {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.55);
}
.quiz-benefit__icon { font-size: 18px; }
.section-light .quiz-benefit { color: var(--color-text-muted); }

/* ===================================================================
   CASE FEATURED (startups detailed case)
   =================================================================== */
.case-featured {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.case-featured__header { margin-bottom: 24px; }
.case-featured__title {
  font-size: 28px; font-weight: 700; color: var(--color-text-on-dark);
  margin: 12px 0 4px;
}
.case-featured__url {
  font-size: 14px; color: var(--color-accent); font-weight: 500;
}
.case-featured__story {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.case-featured__subtitle {
  font-size: 16px; font-weight: 700; color: var(--color-text-on-dark);
  margin-bottom: 14px;
}
.case-featured__list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px;
}
.case-featured__list li {
  padding-left: 24px; position: relative;
  font-size: 15px; color: rgba(255,255,255,0.65);
}
.case-featured__list li::before {
  content: '→'; position: absolute; left: 0; color: var(--color-accent);
}

/* Case quote */
.case-quote {
  border-left: 3px solid var(--color-accent);
  padding: 16px 24px; margin-top: 24px;
  background: rgba(232,184,75,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.case-quote p {
  font-size: 16px; font-style: italic; color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.case-quote cite {
  font-size: 14px; color: rgba(255,255,255,0.45); font-style: normal;
}

/* ===================================================================
   RESULTS LIST (in case cards)
   =================================================================== */
.results-list { display: flex; flex-direction: column; gap: 6px; }
.results-list li {
  padding-left: 20px; position: relative;
  font-size: 14px; font-weight: 600;
  color: var(--color-success);
}
.section-dark .results-list li, .section-dark-blue .results-list li {
  color: #5CD89A;
}
.results-list li::before {
  content: '↑'; position: absolute; left: 0; font-weight: 700;
}

/* ===================================================================
   ARTICLE CARD extras
   =================================================================== */
.article-card__link {
  display: inline-block; margin-top: 4px;
  font-size: 14px; font-weight: 600; color: var(--color-accent);
}
.article-card__date {
  display: block; margin-bottom: 8px;
}

/* ===================================================================
   THANK YOU
   =================================================================== */
.thankyou-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--color-success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 28px;
}

/* ===================================================================
   PRIVACY PAGE
   =================================================================== */
.privacy-content { font-size: 16px; line-height: 1.7; color: var(--color-text-body); }
.privacy-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; color: var(--color-text-primary); }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { margin-bottom: 12px; }
.privacy-content ul { margin: 0 0 16px 24px; list-style: disc; }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a { color: var(--color-accent); }

/* ===================================================================
   CONSENT CHECKBOX
   =================================================================== */
.consent-group {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 4px; cursor: pointer;
}
.consent-group input[type="checkbox"] {
  width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--color-accent); cursor: pointer;
}
.consent-group .consent-text {
  font-size: 12px; line-height: 1.5; color: var(--color-text-muted);
}
.section-dark .consent-group .consent-text { color: rgba(255,255,255,0.4); }
.consent-group .consent-text a { color: var(--color-accent); }
.consent-group.consent-error .consent-text { color: #E74C3C; }
.consent-group.consent-error input[type="checkbox"] { outline: 2px solid #E74C3C; outline-offset: 1px; }
.consent-error-msg {
  font-size: 12px; color: #E74C3C; margin-top: 4px; display: none;
}
.consent-error-msg.show { display: block; }

/* ===================================================================
   COOKIE BANNER
   =================================================================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1A1A2E; z-index: 1001;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner__inner {
  max-width: 1140px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cookie-banner__text {
  font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; flex: 1;
}
.cookie-banner__text a { color: var(--color-accent); }
.cookie-banner__btn {
  padding: 10px 24px; border-radius: 6px;
  background: var(--color-accent); color: #0F0F0F;
  border: none; font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  font-family: var(--font);
}
.cookie-banner__btn:hover { background: var(--color-accent-hover); }

/* ===================================================================
   FOOTER LEGAL
   =================================================================== */
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 32px; padding: 16px 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
}
.footer__legal a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--color-accent); }
.footer__legal-info {
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer__legal-info a { color: rgba(255,255,255,0.4); }

/* ===================================================================
   FIELD VALIDATION HINTS
   =================================================================== */
.field-hint {
  font-size: 12px; margin-top: 4px; line-height: 1.4;
  animation: hintIn 0.2s ease;
}
.field-hint--error { color: #E84040; }
.field-hint--success { color: #1D7A55; }
input.field-error, textarea.field-error {
  border-color: #E84040 !important;
  background: rgba(232,64,64,0.04);
}
.section-dark input.field-error { background: rgba(232,64,64,0.08); }
input.field-success {
  border-color: #1D7A55 !important;
}
.section-dark input.field-success { border-color: #1D7A55 !important; }
/* CTA dark inputs */
.article-cta__input.field-error { border-color: #E84040 !important; background: rgba(232,64,64,0.1); }
.article-cta__input.field-success { border-color: #1D7A55 !important; }
@keyframes hintIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   VIDEO EMBED (inline in articles)
   =================================================================== */
.video-embed { margin: 28px 0; }
.video-embed__wrapper {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: var(--radius-lg); background: #000;
}
.video-embed__wrapper iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border-radius: var(--radius-lg);
}
.video-embed__caption {
  margin-top: 8px; font-size: 13px;
  color: var(--color-text-muted); text-align: center; font-style: italic;
}

/* ===================================================================
   VIDEO BLOCK
   =================================================================== */
.video-block__title { margin-bottom: 12px; }
.video-block__desc {
  color: var(--color-text-body); font-size: 16px; line-height: 1.7;
  margin-bottom: 24px; max-width: 640px;
}
.video-block__wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0F0F0F; aspect-ratio: 16 / 9; width: 100%;
}
.video-block__player {
  width: 100%; height: 100%; display: block;
  object-fit: cover; border-radius: var(--radius-lg);
}
.video-block__placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: #0F0F0F; border-radius: var(--radius-lg);
}
.video-block__placeholder-text { color: #555; font-size: 14px; }

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-list {
  display: flex; flex-direction: column;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 0.5px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; text-align: left;
  padding: 18px 24px; background: #fff; border: none;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  color: var(--color-text-primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--color-bg-section); }
.faq-question::after {
  content: '+'; font-size: 22px; font-weight: 400;
  color: var(--color-accent); flex-shrink: 0;
  transition: transform 0.25s; line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 24px 20px;
  font-size: 15px; color: var(--color-text-body); line-height: 1.7;
  background: #fff;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faqOpen 0.2s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   SCROLL TO TOP
   =================================================================== */
.btn-scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-accent); color: #0F0F0F;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  z-index: 999; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.btn-scroll-top.visible { opacity: 1; visibility: visible; }
.btn-scroll-top:hover {
  transform: translateY(-3px);
  background: var(--color-accent-hover);
  box-shadow: 0 4px 20px rgba(232,184,75,0.3);
}

/* ===================================================================
   UTILITIES
   =================================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ===================================================================
   MOBILE — max 768px
   =================================================================== */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  h1, .h1 { font-size: 36px; }
  h2, .h2 { font-size: 28px; }
  h3, .h3 { font-size: 20px; }

  .section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .hero--lg { padding: 56px 0 48px; }

  .header__nav {
    display: none; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--color-bg-dark);
    padding: 32px 24px; gap: 20px;
    overflow-y: auto;
  }
  .header__nav.open { display: flex; }
  .header__nav .header__link { font-size: 18px; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-value { font-size: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .articles-grid { grid-template-columns: 1fr; }

  .two-columns { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo__placeholder { width: 100%; height: 240px; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .quiz-section { grid-template-columns: 1fr; gap: 40px; }

  .steps-horizontal { flex-direction: column; align-items: center; }
  .step-h__arrow { transform: rotate(90deg); }

  .case-featured { padding: 24px; }
  .thankyou-links { grid-template-columns: 1fr; }
  .btn-scroll-top { bottom: 80px; right: 20px; }
  .cookie-banner { bottom: 64px; }
  .cookie-banner__inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }

  .mobile-cta { display: block; }
  body { padding-bottom: 72px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* Tablet tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
  h1, .h1 { font-size: 44px; }
  .trust-grid { gap: 16px; }
  .trust-value { font-size: 36px; }
}
