/* ════════════════════════════════════════════════
   FRAMEY — общая таблица стилей
   index.html + privacy.html
════════════════════════════════════════════════ */

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #F97316;
  --accent-dark: #EA6A00;
  --dark:        #0D0F14;
  --dark2:       #161920;
  --dark3:       #1E2230;
  --card:        #1A1D27;
  --border:      rgba(255,255,255,0.08);
  --text:        #E8EAF0;
  --muted:       #8A90A2;
  --white:       #ffffff;
  --radius:      12px;
  --max:         1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

/* ─── UTILS ──────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

.tag {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 20px;
}

/* ─── LOGO (общий) ───────────────────────────── */
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--accent); }

/* ─── FOOTER (общий) ─────────────────────────── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
footer p { font-size: 14px; color: var(--muted); }


/* ════════════════════════════════════════════════
   INDEX.HTML
════════════════════════════════════════════════ */

/* ─── HEADER ─────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(13,15,20,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-dark); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,15,20,0.92) 0%,
    rgba(13,15,20,0.75) 50%,
    rgba(13,15,20,0.6) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-content h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  color: rgba(232,234,240,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-proof {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.proof-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ─── FORM CARD ──────────────────────────────── */
.form-card {
  background: rgba(26,29,39,0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(16px);
}
.form-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-card .form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,144,162,0.5); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.upload-area {
  border: 1.5px dashed rgba(249,115,22,0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.upload-area:hover { border-color: var(--accent); background: rgba(249,115,22,0.04); }
.upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 28px; margin-bottom: 6px; }
.upload-area p { font-size: 14px; color: var(--muted); }
.upload-area strong { color: var(--accent); }

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: scale(0.99); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.form-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.form-note a:hover { color: var(--accent); }

/* ─── SECTION BASE ───────────────────────────── */
section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── PAIN ───────────────────────────────────── */
.pain { background: var(--dark2); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.pain-emoji { font-size: 36px; margin-bottom: 16px; }
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.pain-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ─── HOW IT WORKS ───────────────────────────── */
.how { background: var(--dark); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 40%, var(--accent) 60%, transparent);
  opacity: 0.3;
}
.step { text-align: center; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(249,115,22,0.1);
  border: 2px solid rgba(249,115,22,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: var(--accent);
  margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ─── SAMPLE REPORT ─────────────────────────── */
.sample { background: var(--dark3); }

.sample-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sample-text h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sample-text > p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.sample-features {
  list-style: none;
  margin-bottom: 36px;
}
.sample-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
.sample-features li:last-child { border-bottom: none; }
.sf-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-download:hover {
  background: var(--accent);
  color: var(--white);
}

.sample-preview {
  display: flex;
  justify-content: center;
}
.sample-preview-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 420px;
  width: 100%;
}
.sample-preview-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.sample-preview-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.sample-preview-wrap a {
  display: block;
  cursor: zoom-in;
}

.sample-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px 5px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ─── FOR WHOM ───────────────────────────────── */
.forwhom { background: var(--dark3); }
.whom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.whom-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.whom-card:hover { border-color: rgba(249,115,22,0.4); transform: translateY(-4px); }
.whom-icon { font-size: 40px; margin-bottom: 14px; }
.whom-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.whom-card p { font-size: 14px; color: var(--muted); }

/* ─── RESULTS ────────────────────────────────── */
.results { background: var(--dark2); }
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.results-list { list-style: none; }
.results-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.results-list li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(249,115,22,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 13px;
  margin-top: 2px;
}
.results-list li div strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.results-list li div span { font-size: 14px; color: var(--muted); }

.results-stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
}
.big-number {
  font-size: 80px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.big-number-label {
  font-size: 17px;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 32px;
}
.stat-row {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}
.stat-item span { font-size: 13px; color: var(--muted); }

/* ─── CTA SECTION ────────────────────────────── */
.cta-section { background: var(--dark); }
.cta-inner {
  background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(249,115,22,0.02) 100%);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-text h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-text p { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.cta-bullets { list-style: none; }
.cta-bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; margin-bottom: 10px;
}
.cta-bullets li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* ─── FAQ ────────────────────────────────────── */
.faq { background: var(--dark2); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: var(--card);
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: var(--card);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ─── FINAL SECTION ──────────────────────────── */
.final { background: var(--dark); }
.final-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.final-inner h2 {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.final-inner p { font-size: 17px; color: var(--muted); }
.final-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

/* ─── SUCCESS STATE ──────────────────────────── */
.form-success {
  text-align: center;
  padding: 32px 0;
}
.form-success .success-icon { font-size: 48px; margin-bottom: 12px; }
.form-success h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--muted); }

/* ─── RESPONSIVE (index) ─────────────────────── */
@media (max-width: 960px) {
  .hero .container    { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid          { grid-template-columns: 1fr; }
  .steps              { grid-template-columns: 1fr; }
  .steps::before      { display: none; }
  .whom-grid          { grid-template-columns: 1fr 1fr; }
  .results-grid       { grid-template-columns: 1fr; }
  .cta-inner          { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
  .sample-inner       { grid-template-columns: 1fr; gap: 40px; }
  .sample-preview     { order: -1; }
}
@media (max-width: 600px) {
  section             { padding: 64px 0; }
  .whom-grid          { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-card          { padding: 24px 18px; }
  .hero-proof         { gap: 20px; }
}


/* ════════════════════════════════════════════════
   PRIVACY.HTML
════════════════════════════════════════════════ */

/* ─── HEADER (privacy) ───────────────────────── */
.privacy-header {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.back-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* ─── CONTENT ────────────────────────────────── */
.privacy-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.page-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.page-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.privacy-main h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--white);
}
.privacy-main h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.privacy-main p {
  font-size: 15px;
  color: rgba(232,234,240,0.85);
  margin-bottom: 14px;
}
.privacy-main ul {
  list-style: none;
  margin-bottom: 14px;
}
.privacy-main ul li {
  font-size: 15px;
  color: rgba(232,234,240,0.85);
  padding: 5px 0 5px 20px;
  position: relative;
}
.privacy-main ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.privacy-main a {
  color: var(--accent);
  text-decoration: none;
}
.privacy-main a:hover { text-decoration: underline; }

.highlight-box {
  background: rgba(249,115,22,0.06);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: rgba(232,234,240,0.9);
}

/* ─── FOOTER (privacy) ───────────────────────── */
.privacy-footer {
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  background: var(--dark2);
}
