/* ===== Мастер-класс «Подключаем нейросеть Claude» · стиль soft-pro ===== */

:root {
  --accent:        #c96b4a;
  --accent-soft:   #b9816f;
  --accent-hover:  #b95f40;
  --dark:          #2c4a6e;
  --text:          #1a1a1a;
  --text-mid:      #555;
  --text-light:    #888;
  --bg:            #fff;
  --bg-warm:       #faf7f4;
  --bg-warmer:     #f9f1ec;
  --bg-gradient:   linear-gradient(180deg, #fff 0%, #fbf7f2 100%);
  --border:        #ede8e3;
  --border-warm:   #e7d7cf;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

#hero, #program, #pricing, #faq { scroll-margin-top: 70px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 18px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent); transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 18px 34px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(201,107,74,0.24);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ===== Секции ===== */
.section { padding: 80px 20px; box-sizing: border-box; }
.section-white    { background: #fff; }
.section-warm     { background: var(--bg-warm); }
.section-warmer   { background: var(--bg-warmer); }
.section-gradient { background: var(--bg-gradient); }
.container        { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { font-size: 19px; color: var(--text-mid); line-height: 1.75; max-width: 760px; }

/* ===== Навигация ===== */
.sticky-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.sticky-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 32px; height: 56px; align-items: center;
}
.sticky-nav a {
  color: var(--text-mid); text-decoration: none;
  font-size: 15px; font-weight: 600; opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.sticky-nav a:hover { opacity: 1; color: var(--accent); }
.sticky-nav .nav-cta {
  margin-left: auto;
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; opacity: 1;
}
.sticky-nav .nav-cta:hover { background: var(--accent-hover); color: #fff; }

/* ===== Баннер акции ===== */
.promo-banner {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 1.5;
}
.promo-banner a {
  color: #ffc9b3;
  font-weight: 700;
  text-decoration: underline;
}
.promo-banner a:hover { color: #fff; }

/* ===== Hero ===== */
.hero {
  background: #fff;
  padding: 56px 20px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #f5ede4 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 26px;
}
.hero-tag::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--accent);
}
.hero-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700; color: var(--text);
  line-height: 1.15; margin-bottom: 18px;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 19px; color: #666; line-height: 1.7; margin-bottom: 26px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-bottom: 30px;
  font-size: 16px; color: var(--text-mid);
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-note { font-size: 15px; color: var(--text-light); margin-top: 16px; }

.hero-card {
  background: #fff;
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 18px 46px rgba(56,34,21,0.09);
}
.hero-card h3 {
  font-size: 17px; color: var(--dark);
  margin-bottom: 18px;
}
.hero-card ol {
  list-style: none;
  counter-reset: step;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-card li {
  counter-increment: step;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; line-height: 1.5; color: var(--text-mid);
}
.hero-card li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--bg-warmer);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

/* ===== Карточки ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  padding: 32px 30px;
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative; overflow: hidden;
  transition: transform 0.32s, box-shadow 0.32s, border-color 0.32s;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #e4b3a2);
  transition: width 0.36s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(39,23,15,0.09);
  border-color: var(--accent);
}
.card:hover::before { width: 100%; }
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); }
.card p { font-size: 16px; color: var(--text-mid); line-height: 1.65; }
.card-icon { font-size: 28px; display: block; margin-bottom: 14px; }

.card-warm {
  background: #fff;
  border: 2px solid var(--accent);
  border-left: 6px solid var(--accent);
  padding: 26px 28px;
  border-radius: 6px;
}
.card-accent {
  background: #fff;
  border: 2px solid var(--dark);
  border-left: 6px solid var(--dark);
  padding: 26px 28px;
  border-radius: 6px;
}

/* ===== Список с точками ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  font-size: 17px; line-height: 1.7; color: var(--text-mid);
  padding-left: 22px; position: relative;
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}

/* ===== Программа: шаги ===== */
.steps { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  background: #fff;
  border: 1.5px solid var(--border-warm);
  border-radius: 16px;
  padding: 30px 32px;
  align-items: start;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-warmer);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.step h3 { font-size: 21px; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 17px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.step p:last-child { margin-bottom: 0; }
.step-do {
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 18px 22px;
}
.step-do strong {
  display: block;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 10px;
}
.step-do ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step-do li {
  font-size: 16px; color: var(--text-mid); line-height: 1.55;
  padding-left: 20px; position: relative;
}
.step-do li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ===== Таблица сервисов ===== */
.svc-table-wrap { overflow-x: auto; margin-top: 32px; }
.svc-table {
  width: 100%; border-collapse: collapse;
  background: #fff; font-size: 17px;
  min-width: 560px;
}
.svc-table th {
  text-align: left; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-soft);
  padding: 14px 18px; border-bottom: 2px solid var(--border-warm);
  font-weight: 600;
}
.svc-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid); line-height: 1.55;
}
.svc-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.svc-cost { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ===== Цена ===== */
.price-box {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  max-width: 560px;
  margin: 36px auto 0;
  box-shadow: 0 18px 46px rgba(201,107,74,0.14);
}
.price-name { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.price-sub { font-size: 16px; color: var(--text-light); margin-bottom: 22px; }
.price-old {
  font-size: 20px; color: var(--text-light);
  text-decoration: line-through; margin-bottom: 2px;
}
.price-now {
  font-size: 54px; font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 20px;
}
.price-list {
  list-style: none; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 auto 26px; max-width: 400px;
}
.price-list li {
  font-size: 16px; color: var(--text-mid); line-height: 1.55;
  padding-left: 24px; position: relative;
}
.price-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
.price-note { font-size: 15px; color: var(--text-light); margin-top: 18px; }

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 26px;
  font-size: 18px; font-weight: 600; color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--accent);
  line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { color: var(--accent); }
.faq-answer { padding: 0 26px 24px; font-size: 17px; color: var(--text-mid); line-height: 1.7; }
.faq-answer p + p { margin-top: 12px; }

/* ===== Автор ===== */
.author-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 48px; align-items: center; margin-top: 36px;
}
.author-photo img {
  width: 100%; border-radius: 16px; display: block;
  box-shadow: 0 14px 40px rgba(56,34,21,0.14);
}
.author-text p { font-size: 18px; color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.author-text p:last-child { margin-bottom: 0; }

/* ===== Анимация ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Футер ===== */
.footer {
  background: #1a3d52; color: rgba(255,255,255,0.5);
  padding: 48px 20px 32px; font-size: 14px; line-height: 1.7;
}
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.footer-top {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; margin-bottom: 24px;
}
.footer-logo { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer-logo span { color: var(--accent); font-weight: 700; }
.footer-logo a { display: block; }
.footer-social { display: flex; gap: 16px; justify-content: center; }
.footer-social a {
  display: inline-block; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 16px;
}
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: var(--accent); }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.25); max-width: 480px; line-height: 1.6; }

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .author-grid { grid-template-columns: 1fr; gap: 28px; }
  .author-photo { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .section { padding: 56px 18px; }
  .hero { padding: 40px 18px 48px; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .step-num { width: 52px; height: 52px; font-size: 21px; }
  .price-box { padding: 34px 22px; }
  .price-now { font-size: 44px; }
  .sticky-nav-inner { gap: 18px; overflow-x: auto; }
  .sticky-nav a { font-size: 14px; white-space: nowrap; }
  .sticky-nav .nav-cta { padding: 7px 14px; }
  .btn, .btn-accent { display: block; text-align: center; }
}
