/* ============================================================
   ONEDAY · Страница-манифест "О компании"
   ============================================================ */

.manifesto-page {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  overflow: hidden;
}

/* ================= 1. HERO ================= */
.m-hero {
  padding-bottom: 120px;
}

.m-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.m-title {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 24px 0;
}

.m-title span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 40px;
}

.m-hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.m-hero-visual {
  position: relative;
}

.m-hero-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
  display: block;
}

.m-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79,107,255,0.3) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 1;
}

/* ================= 2. ПРОБЛЕМА ================= */
.m-problem {
  padding: 120px 0;
}

.m-statement {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
  max-width: 1000px;
}

.m-statement span {
  color: var(--text-muted);
}

.m-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.m-problem-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-list-bad, .m-list-good {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m-list-bad li, .m-list-good li {
  font-size: 18px;
  line-height: 1.5;
  position: relative;
  padding-left: 32px;
  color: var(--text-soft);
}

.m-list-bad li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: bold;
}

.m-list-good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22C55E;
  font-weight: bold;
}

/* ================= 3. ФИЛОСОФИЯ ================= */
.m-philosophy {
  position: relative;
  padding: 180px 0;
  text-align: center;
  background: var(--bg-soft); /* Адаптивный фон */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.m-bg-horizon {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 150vw;
  height: 400px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at bottom, rgba(79,107,255,0.15) 0%, transparent 60%);
  box-shadow: 0 -20px 100px rgba(79,107,255,0.1);
  pointer-events: none;
}

.m-philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.m-giant-title {
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text); /* Адаптивный цвет */
}

.m-giant-subtitle {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  margin: 10px 0 40px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-philosophy-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft); /* Адаптивный цвет */
  max-width: 680px;
  margin: 0 auto;
}

/* ================= 4. ДВА ПУТИ ================= */
.m-paths {
  padding: 120px 0;
}

.m-paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.m-path-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 500px;
  display: flex;
}

.m-path-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.m-path-card--b2c .m-path-bg {
  background: radial-gradient(circle at 10% 10%, rgba(168,85,247,0.15), transparent 70%), var(--card);
}
.m-path-card--b2c:hover .m-path-bg {
  background: radial-gradient(circle at 10% 10%, rgba(168,85,247,0.25), transparent 70%), var(--card);
}

.m-path-card--b2b .m-path-bg {
  background: radial-gradient(circle at 90% 10%, rgba(79,107,255,0.15), transparent 70%), var(--card);
}
.m-path-card--b2b:hover .m-path-bg {
  background: radial-gradient(circle at 90% 10%, rgba(79,107,255,0.25), transparent 70%), var(--card);
}

.m-path-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.m-path-content h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  margin: 20px 0;
  letter-spacing: -0.02em;
}

.m-path-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 400px;
}

/* ================= 5. ПРИНЦИПЫ ================= */
.m-principles {
  padding: 80px 0 120px;
}

.m-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.m-principle h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.m-principle p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

/* ================= 6. ФИНАЛ ================= */
.m-final {
  padding: 160px 0;
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(79,107,255,0.15) 0%, transparent 60%), var(--bg);
  border-top: 1px solid var(--line);
}

.m-final-title {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.m-final-text {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.m-final-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ================= АДАПТИВ ================= */
@media (max-width: 1024px) {
  .m-principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .m-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .manifesto-page { padding-top: 100px; }

  .m-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .m-hero-visual { order: -1; }

  .m-problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .m-paths-grid { grid-template-columns: 1fr; }
  
  .m-philosophy { padding: 120px 0; }
}

@media (max-width: 620px) {
  .m-hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .m-problem { padding: 80px 0; }
  .m-path-content { padding: 32px; }
  .m-principles-grid { grid-template-columns: 1fr; gap: 32px; }
  .m-final { padding: 100px 0; }
  .m-final-actions { flex-direction: column; align-items: center; width: 100%; }
  .m-final-actions .button { width: 100%; }
}