/* Стили для лендингов направлений (vibecoding/content/ads/automation) */

/* ===== Hero (унифицированный для всех направлений) ===== */
.lhero {
  position: relative;
  padding: 96px 24px 64px;
  overflow: hidden;
}
.lhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 80% -10%, var(--lhero-tint, rgba(6,182,212,0.08)), transparent 60%),
    radial-gradient(600px 380px at 10% 110%, rgba(126,164,149,0.06), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.lhero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .lhero { padding: 72px 20px 48px; }
  .lhero__inner { grid-template-columns: 1fr; gap: 32px; }
}

.lhero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  animation: fadeUp 0.6s ease both;
}
.lhero__label__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lhero-accent, #06b6d4);
  box-shadow: 0 0 0 3px var(--lhero-accent-glow, rgba(6,182,212,0.2));
  animation: pulse 2.2s ease-in-out infinite;
}

.lhero__h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.lhero__h1 .accent { color: var(--lhero-accent, #06b6d4); }
.lhero__h1 .muted { color: var(--muted); font-weight: 500; }
.lhero__sub {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.lhero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Hero visual — универсальная стеклянная плашка справа */
.lhero__visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(155deg, #fff 0%, #f5f5f7 100%);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 28px;
  min-height: 340px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  animation: fadeUp 0.8s ease 0.4s both;
}

/* ===== Section с унифицированными отступами для лендингов ===== */
.l-section { padding: 72px 24px; }
.l-section--tight { padding: 48px 24px; }
.l-section--alt { background: var(--bg-soft); }

@media (max-width: 768px) {
  .l-section { padding: 56px 20px; }
  .l-section--tight { padding: 36px 20px; }
}

.l-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-align: center;
  margin-bottom: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.l-title .muted { color: var(--muted); font-weight: 500; }
.l-title .accent { color: var(--lhero-accent, #06b6d4); }
.l-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-soft);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* ===== What's inside — Bento ===== */
.inside-bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  max-width: 1200px;
  margin: 0 auto;
}
.inside-cell {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 26px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.inside-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,0.14);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.inside-cell--wide { grid-column: span 8; }
.inside-cell--third { grid-column: span 4; }
.inside-cell--half { grid-column: span 6; }
.inside-cell--full { grid-column: span 12; }
.inside-cell--dark {
  background: linear-gradient(155deg, #1d1d1f, #0f172a);
  color: #fff;
  border-color: transparent;
}
.inside-cell--accent {
  background: linear-gradient(155deg, var(--lhero-accent-soft, #ecfeff), #fff);
  border-color: transparent;
}

@media (max-width: 900px) {
  .inside-bento { grid-template-columns: repeat(2, 1fr); }
  .inside-cell { grid-column: auto !important; }
  .inside-cell--wide, .inside-cell--half, .inside-cell--full { grid-column: span 2 !important; }
}

.inside-cell__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 8px;
}
.inside-cell__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.inside-cell__desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  opacity: 0.9;
}
.inside-cell--dark .inside-cell__desc { color: rgba(255,255,255,0.78); }

/* ===== Plans (3 тарифа) ===== */
.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 26px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.plan--featured {
  background: linear-gradient(165deg, #1d1d1f 0%, #2d2d2f 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 13px;
  border-radius: 980px;
  background: var(--lhero-accent, #06b6d4);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.plan__level {
  font-size: 12px;
  font-weight: 600;
  color: var(--lhero-accent, #06b6d4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan--featured .plan__level {
  color: #7ea495;
}

.plan__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.plan__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}
.plan--featured .plan__desc { color: rgba(255,255,255,0.72); }

.plan__price {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan__price-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.plan--featured .plan__price-sub { color: rgba(255,255,255,0.6); }

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__feat {
  font-size: 13.5px;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.plan--featured .plan__feat { color: rgba(255,255,255,0.85); }
.plan__feat::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2306b6d4'%3E%3Cpath d='M6 11.5L2.5 8l1-1 2.5 2.5 6-6 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.plan--featured .plan__feat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237ea495'%3E%3Cpath d='M6 11.5L2.5 8l1-1 2.5 2.5 6-6 1 1z'/%3E%3C/svg%3E");
}

.plan__cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 980px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--text);
  color: #fff;
  letter-spacing: -0.01em;
}
.plan__cta:hover { background: var(--lhero-accent, #06b6d4); }
.plan--featured .plan__cta {
  background: #fff;
  color: #1d1d1f;
}
.plan--featured .plan__cta:hover {
  background: var(--lhero-accent, #06b6d4);
  color: #fff;
}

.plan__cta--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.plan__cta--ghost:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ===== Segments (для кого подходит) ===== */
.seg-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}
.seg-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
}
.seg-card__emoji {
  font-size: 24px;
  margin-bottom: 10px;
}
.seg-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.seg-card__desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ===== Steps (как это работает) ===== */
.l-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}
.l-step {
  padding: 26px 26px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
}
.l-step__num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lhero-accent, #06b6d4);
  margin-bottom: 18px;
}
.l-step__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.l-step__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Big CTA block ===== */
.big-cta {
  background: linear-gradient(155deg, #1d1d1f, #0f172a);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(6,182,212,0.25), transparent 55%),
    radial-gradient(400px 280px at 15% 95%, rgba(126,164,149,0.15), transparent 60%);
  pointer-events: none;
}
.big-cta > * { position: relative; z-index: 1; }
.big-cta__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.big-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 26px;
  line-height: 1.5;
}
.big-cta .btn { background: #fff; color: #1d1d1f; }
.big-cta .btn:hover { background: var(--lhero-accent, #06b6d4); color: #fff; }

/* ===== Product card (для Architention / AdAlgo) ===== */
.product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 32px;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .product-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }

.product-card__logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lhero-accent, #06b6d4);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-card__name {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.product-card__desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 20px;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lhero-accent, #06b6d4);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.product-card__link:hover { text-decoration: underline; }
.product-card__viz {
  background: linear-gradient(155deg, var(--lhero-accent-soft, #ecfeff), #f5f5f7);
  border-radius: 18px;
  padding: 26px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

/* ===== Pain strip для лендингов ===== */
.l-pain-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 900px) { .l-pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .l-pain-grid { grid-template-columns: 1fr; } }

.l-pain {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.l-pain__emoji { font-size: 20px; margin-bottom: 8px; display: block; }
.l-pain__title { font-weight: 600; color: #1d1d1f; margin-bottom: 4px; font-size: 15px; }
