/* ================================================================
   SEO Modules — MyEveLab
   v1.0 | 30.05.2026
   Чистый CSS, совместимость с seo-styles.css и Kadence theme.
   Путь: /wp-content/uploads/seo-modules/seo-modules.css
   ================================================================ */

/* ── Общий контейнер модуля ── */
.eve-module {
  margin: 2.5rem 0;
  border-radius: 0;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
}

.eve-module * {
  box-sizing: border-box;
}

/* ── Внутренний layout ── */
.eve-module__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

.eve-module__content {
  flex: 1;
  min-width: 0;
}

.eve-module:last-child {
  margin-bottom: 0;
}

.entry-content > div[data-seo-module]:last-child {
  margin-bottom: 0;
}

.entry-content > div[data-seo-module]:last-child .eve-module {
  margin-bottom: 0;
}

.eve-module__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Типографика ── */
.eve-module__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.eve-module__title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.eve-module__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

/* ── Статистика (ряд мини-метрик) ── */
.eve-module__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.eve-module__stat {
  text-align: center;
}

.eve-module__stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.eve-module__stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.65;
  margin-top: 0.15rem;
}

.eve-module__content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.eve-module__stats {
  justify-content: center;
}

.eve-module__actions {
  justify-content: center;
}

/* ── CTA-кнопки ── */
.eve-module__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.eve-module__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.eve-module__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

.eve-module__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── ТЕМА: Market Pulse (зелёный градиент) ── */
.eve-module--market-pulse {
  background: linear-gradient(135deg, #0d1f12 0%, #132a15 50%, #1a3a1c 100%);
  color: #e8f5e9;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.eve-module--market-pulse .eve-module__badge {
  background: rgba(76, 175, 80, 0.2);
  color: #81c784;
}

.eve-module--market-pulse .eve-module__title {
  color: #ffffff;
}

.eve-module--market-pulse .eve-module__stat-value {
  color: #4caf50;
}

.eve-module--market-pulse .eve-module__btn--primary {
  background: #4caf50;
  color: #ffffff;
}

.eve-module--market-pulse .eve-module__btn--secondary {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

/* ── ТЕМА: Big Trader 2 (тёмный с оранжевым акцентом) ── */
.eve-module--bt2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  color: #ccd6f6;
  border: 1px solid rgba(255, 152, 0, 0.2);
}

.eve-module--bt2 .eve-module__badge {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
}

.eve-module--bt2 .eve-module__title {
  color: #ffffff;
}

.eve-module--bt2 .eve-module__stat-value {
  color: #ff9800;
}

.eve-module--bt2 .eve-module__btn--primary {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #ffffff;
}

.eve-module--bt2 .eve-module__btn--secondary {
  background: rgba(255, 152, 0, 0.1);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.25);
}

/* ── ТЕМА: ECB Monitor (янтарный) ── */
.eve-module--ecb {
  background: linear-gradient(135deg, #1a1506 0%, #2a2008 50%, #1f1a0a 100%);
  color: #f5e6c8;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.eve-module--ecb .eve-module__badge {
  background: rgba(255, 193, 7, 0.15);
  color: #ffd54f;
}

.eve-module--ecb .eve-module__title {
  color: #ffffff;
}

.eve-module--ecb .eve-module__stat-value {
  color: #ffc107;
}

.eve-module--ecb .eve-module__btn--primary {
  background: linear-gradient(135deg, #ffc107, #ffa000);
  color: #1a1506;
}

.eve-module--ecb .eve-module__btn--secondary {
  background: rgba(255, 193, 7, 0.1);
  color: #ffd54f;
  border: 1px solid rgba(255, 193, 7, 0.25);
}

/* ── ТЕМА: Confluence Scanner (голубой/циан) ── */
.eve-module--cscanner {
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a1a30 100%);
  color: #b3d4fc;
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.eve-module--cscanner .eve-module__badge {
  background: rgba(33, 150, 243, 0.15);
  color: #64b5f6;
}

.eve-module--cscanner .eve-module__title {
  color: #ffffff;
}

.eve-module--cscanner .eve-module__stat-value {
  color: #2196f3;
}

.eve-module--cscanner .eve-module__btn--primary {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: #ffffff;
}

.eve-module--cscanner .eve-module__btn--secondary {
  background: rgba(33, 150, 243, 0.1);
  color: #64b5f6;
  border: 1px solid rgba(33, 150, 243, 0.25);
}

/* ── Визуал: иконка-графика (SVG placeholder) ── */
.eve-module__icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eve-module--market-pulse .eve-module__icon-circle {
  background: rgba(76, 175, 80, 0.12);
}

.eve-module--bt2 .eve-module__icon-circle {
  background: rgba(255, 152, 0, 0.12);
}

.eve-module--ecb .eve-module__icon-circle {
  background: rgba(255, 193, 7, 0.12);
}

.eve-module--cscanner .eve-module__icon-circle {
  background: rgba(33, 150, 243, 0.12);
}

.eve-module__icon-circle svg {
  width: 36px;
  height: 36px;
}

/* ── Адаптив ── */
@media (max-width: 768px) {
  .eve-module__inner {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }

  .eve-module__stats {
    justify-content: center;
  }

  .eve-module__actions {
    justify-content: center;
  }

  .eve-module__visual {
    order: -1;
  }

  .eve-module__title {
    font-size: 1.2rem;
  }
}

/* ============================================
   ТЕМА: ХЕОПС (золотая/янтарная)
   ============================================ */

.eve-module--heops {
  background: linear-gradient(145deg, #1a0e07 0%, #0f0a06 100%);
  border: 1px solid rgba(245, 197, 66, 0.12);
}

.eve-module--heops .eve-module__badge {
  background: rgba(245, 197, 66, 0.08);
  border-color: rgba(245, 197, 66, 0.15);
  color: #f5c542;
}

.eve-module--heops .eve-module__feature {
  background: rgba(255,255,255,0.03);
  border-color: rgba(245, 197, 66, 0.06);
}

.eve-module--heops .eve-module__feature-icon {
  background: rgba(245, 197, 66, 0.1);
  color: #f5c542;
}

.eve-module--heops .eve-module__stat-value {
  background: linear-gradient(135deg, #f5c542 0%, #e8a317 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eve-module--heops .eve-module__title span {
  background: linear-gradient(135deg, #f5c542 0%, #e8a317 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eve-module--heops .eve-module__btn--primary {
  background: linear-gradient(135deg, #f5c542 0%, #e8a317 100%);
  color: #1a0e07;
  box-shadow: 0 4px 20px rgba(245, 197, 66, 0.25);
}

.eve-module--heops .eve-module__btn--primary:hover {
  box-shadow: 0 6px 28px rgba(245, 197, 66, 0.4);
  transform: translateY(-1px);
}

.eve-module--heops .eve-module__btn--secondary {
  border: 1.5px solid rgba(245, 197, 66, 0.3);
  color: #f5c542;
}

.eve-module--heops .eve-module__btn--secondary:hover {
  border-color: #f5c542;
  background: rgba(245, 197, 66, 0.06);
}

/* ========== СХЕМА: СРАВНЕНИЕ MT4 vs MT5 ========== */
.schema-compare {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 1.5rem 0;
  background: #f8faf9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.schema-col {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.schema-col--left { background: #f1f5f9; }
.schema-col--right { background: #ecfdf5; }
.schema-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #22c55e;
  width: 48px;
  flex-shrink: 0;
}
.schema-col__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}
.schema-col__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.schema-col--left .schema-col__icon { background: #e2e8f0; color: #475569; }
.schema-col--right .schema-col__icon { background: #bbf7d0; color: #16a34a; }
.schema-col__title { font-size: 1.1rem; font-weight: 700; }
.schema-col__year { font-size: 0.75rem; color: #94a3b8; margin-left: auto; }
.schema-col__items { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.schema-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.schema-item__tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.schema-item__tag--mt4 { background: #e2e8f0; color: #475569; }
.schema-item__tag--mt5 { background: #bbf7d0; color: #16a34a; }
.schema-item__value { color: #374151; }
.schema-col__footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}
.schema-col--left .schema-col__footer { color: #475569; }
.schema-col--right .schema-col__footer { color: #16a34a; }

/* ========== СХЕМА: ЦИКЛ СОВЕТНИКА ========== */
.schema-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem;
  background: #f8faf9;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.schema-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  min-width: 80px;
}
.schema-flow__step-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  color: #6b7280;
  margin-bottom: 0.4rem;
}
.schema-flow__step--decision .schema-flow__step-icon {
  border-color: #f59e0b; color: #f59e0b; background: #fffbeb;
}
.schema-flow__step--success .schema-flow__step-icon {
  border-color: #22c55e; color: #22c55e; background: #f0fdf4;
}
.schema-flow__step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}
.schema-flow__step-sub {
  font-size: 0.6rem;
  color: #9ca3af;
  white-space: nowrap;
}
.schema-flow__arrow {
  color: #22c55e;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .schema-flow { flex-direction: column; }
  .schema-flow__arrow { transform: rotate(90deg); }
}

/* ========== СХЕМА: КАРТОЧКИ КРИТЕРИЕВ ========== */
.schema-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.schema-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
}
.schema-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #ecfdf5;
  border-radius: 10px;
  color: #22c55e;
  margin-bottom: 0.75rem;
}
.schema-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.35rem;
}
.schema-card__text {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .schema-cards { grid-template-columns: 1fr; }
}

/* ========== СХЕМА: КАРТОЧКИ ПРОДУКТОВ ========== */
.schema-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.schema-product {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.schema-product__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.schema-product__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
}
.schema-product__plat {
  font-size: 0.65rem;
  font-weight: 600;
  color: #22c55e;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.schema-product__body {
  padding: 0.75rem 1rem 1rem;
}
.schema-product__type {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}
.schema-product__metric {
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 0.35rem;
}
.schema-product__metric-val {
  font-weight: 700;
  color: #f59e0b;
}
.schema-product__desc {
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* ========== БЛОК РЕКОМЕНДАЦИИ ========== */
.schema-rec-block {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.schema-rec-block__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.schema-rec-block__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.schema-rec-block__products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.schema-rec-block__product {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
}
.schema-rec-block__product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 0.25rem;
}
.schema-rec-block__product-desc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
}
.schema-rec-block__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.schema-rec-block__feature {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}
.schema-rec-block__feature svg {
  stroke: #22c55e;
  flex-shrink: 0;
}


@media (max-width: 640px) {
  .schema-products { grid-template-columns: 1fr; }
}

