/* =============================================================================
   Rusov Academy — Landing v1 (paid funnel, 7-day за 10€)
   Mobile-first, vanilla CSS, no frameworks.
   Tokens частично импортированы из intel/landing_research/03_design_tokens.css.
   ============================================================================= */

/* ----------------------------------------------------------------------------
   01 — Tokens
   ---------------------------------------------------------------------------- */
:root {
  /* Палитра */
  --bg-primary: #0f0d0a;
  --bg-secondary: #1a1714;
  --bg-card: rgba(26, 23, 20, 0.7);
  --accent: #C2703E;
  --accent-light: #E8A87C;
  --accent-gold: #D4A84B;
  --text: #F5F0EB;
  --text-muted: #A09888;
  --glass-border: rgba(194, 112, 62, 0.15);
  --glass-border-hover: rgba(194, 112, 62, 0.4);

  /* Градиенты */
  --grad-cta: linear-gradient(135deg, #C2703E 0%, #d4854a 100%);
  --grad-accent-line: linear-gradient(90deg, #C2703E, #D4A84B);
  --grad-hero-veil: linear-gradient(180deg, rgba(15,13,10,0.55) 0%, rgba(15,13,10,0.7) 50%, rgba(15,13,10,0.95) 90%, rgba(15,13,10,1) 100%);
  --grad-hero-bg: radial-gradient(ellipse at top, #2a1a10 0%, #1a1310 40%, #0f0d0a 100%);

  /* Тени */
  --shadow-cta: 0 4px 28px rgba(194,112,62,0.35);
  --shadow-cta-hover: 0 8px 44px rgba(194,112,62,0.55);
  --shadow-card-hover: 0 12px 44px rgba(0,0,0,0.3);
  --shadow-sticky: 0 -4px 24px rgba(0,0,0,0.5);

  /* Радиусы */
  --radius-pill: 50px;
  --radius-md: 16px;
  --radius-sm: 12px;

  /* Шрифты */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  /* Прочее */
  --transition: 0.3s ease;
  --container-max: 1100px;
  --container-pad: 20px;
  --sticky-cta-height: 76px;
}

/* ----------------------------------------------------------------------------
   02 — Reset / base
   ---------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  /* На mobile — резерв под sticky CTA, чтобы он не закрывал последнюю секцию */
  padding-bottom: var(--sticky-cta-height);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

p { line-height: 1.7; }

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

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

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

ul { list-style: none; }

/* ----------------------------------------------------------------------------
   03 — Layout
   ---------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  font-family: var(--font-ui);
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: 0.98rem;
}

.section__accent-line {
  width: 60px;
  height: 3px;
  margin: 0 auto 40px;
  background: var(--grad-accent-line);
  border-radius: 2px;
}

/* ----------------------------------------------------------------------------
   04 — Header (минимальный, без nav на mobile)
   ---------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 20px;
  background: rgba(15, 13, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.logo__accent { color: var(--accent); }
.logo__rest { color: var(--text); }

.header__cta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--grad-cta);
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-cta);
  white-space: nowrap;
}
.header__cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); }

/* ----------------------------------------------------------------------------
   05 — Buttons
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 52px;
  width: 100%;
}

.btn--primary {
  background: var(--grad-cta);
  color: var(--text);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }

.btn--ghost {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--accent);
}
.btn--ghost:hover { background: rgba(194, 112, 62, 0.1); }

/* ----------------------------------------------------------------------------
   06 — Hero
   ---------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 64px 0 40px;
  display: flex;
  align-items: flex-start;
  background: var(--grad-hero-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero-veil);
  pointer-events: none;
}

/* Лёгкое декоративное «сияние» сверху-справа — копирует aurora с dev-сайта */
.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(194, 112, 62, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  padding: 6px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: rgba(26, 23, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero__title-accent { color: var(--accent); }

.hero__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero__cta {
  margin-bottom: 32px;
}

.hero__price-note {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -16px;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   07 — «Что внутри 7-day» — list of 7 bullets
   ---------------------------------------------------------------------------- */
.inside-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.inside-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition);
}
.inside-item:hover { border-color: var(--glass-border-hover); }

.inside-item__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.inside-item__body {
  flex: 1;
}

.inside-item__title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.inside-item__text {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   08 — About Костя
   ---------------------------------------------------------------------------- */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.about__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2018 0%, #1a1410 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  border: 3px solid var(--accent);
  flex-shrink: 0;
}

.about__body p {
  font-family: var(--font-body);
  margin-bottom: 14px;
  color: var(--text);
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.about__chip {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--accent-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ----------------------------------------------------------------------------
   09 — Method (3 потока)
   ---------------------------------------------------------------------------- */
.method__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.method-card {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), transform var(--transition);
}
.method-card:hover { border-color: var(--glass-border-hover); transform: translateY(-3px); }

.method-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.method-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.method-card__sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.method-card__text {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------------------------
   10 — Cases
   ---------------------------------------------------------------------------- */
.cases__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.case-card {
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-card__quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-card__quote::before {
  content: '«';
  color: var(--accent);
  font-size: 1.4rem;
  margin-right: 2px;
}
.case-card__quote::after {
  content: '»';
  color: var(--accent);
  font-size: 1.4rem;
  margin-left: 2px;
}

.case-card__meta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------------------
   11 — Mini-ladder
   ---------------------------------------------------------------------------- */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.ladder-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ladder-step--current {
  border-color: var(--accent);
  background: rgba(194, 112, 62, 0.12);
}

.ladder-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C2703E, #8a4e1b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

.ladder-step__body {
  flex: 1;
}

.ladder-step__title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.ladder-step__sub {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.ladder-step__price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.95rem;
  white-space: nowrap;
}

.ladder__note {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------------------
   12 — FAQ
   ---------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--glass-border-hover); }

.faq__summary {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__summary::-webkit-details-marker { display: none; }

.faq__summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item[open] .faq__summary::after { transform: rotate(45deg); }

.faq__answer {
  padding: 0 22px 18px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------------------------
   13 — Final CTA
   ---------------------------------------------------------------------------- */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(194,112,62,0.06) 50%, transparent 100%);
  padding: 80px 0;
}

.final-cta__title {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  margin-bottom: 16px;
}

.final-cta__text {
  font-family: var(--font-ui);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 0.98rem;
}

.final-cta__guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--accent-light);
}

/* ----------------------------------------------------------------------------
   14 — Sticky bottom CTA (mobile)
   ---------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(15, 13, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sticky);
}

.sticky-cta .btn {
  width: 100%;
  margin: 0;
}

/* ----------------------------------------------------------------------------
   15 — Footer
   ---------------------------------------------------------------------------- */
.footer {
  padding: 40px 0 30px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer__copy {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer__links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent-light); }

/* ----------------------------------------------------------------------------
   16 — Tablet/Desktop breakpoints
   ---------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
  }

  .btn {
    width: auto;
    padding: 16px 44px;
  }

  .hero__cta { display: inline-flex; }
}

@media (min-width: 768px) {
  .section { padding: 90px 0; }

  .section__title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }

  .method__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 900px;
  }

  .about__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    text-align: left;
  }

  .about__chips { justify-content: flex-start; }

  /* На desktop sticky-cta не нужен — всегда есть header CTA */
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .hero { padding: 120px 0 80px; }
  .hero__title { font-size: 3.4rem; }
}

/* ----------------------------------------------------------------------------
   17 — Reduced-motion / a11y
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}
