/* ═══════════════════════════════════════════════════════
   AGENT V2 — Redesigned agent detail pages
═══════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────── */
.av2-hero {
  background: #0a0a0a;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.av2-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.av2-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  margin-bottom: 24px;
}

.av2-hero__title {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.av2-hero__sub {
  font-size: 18px;
  color: #6b7280;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.av2-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.av2-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #22c55e;
  color: #000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.av2-btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.av2-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: #555;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #333;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.av2-hero__stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid #1f1f1f;
}

.av2-stat__val {
  font-size: 22px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 5px;
}

.av2-stat__label {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.av2-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

/* ── PROBLEM ──────────────────────────────────────────── */
.av2-problem {
  background: #fafafa;
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
}

.av2-problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.av2-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #22c55e;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.av2-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.av2-problem__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.av2-problem__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.av2-problem__icon {
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
}

.av2-problem__text {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.av2-problem__stats {
  margin-top: 36px;
  display: flex;
  gap: 12px;
}

.av2-problem__stat-item {
  flex: 1;
  padding: 16px 18px;
  background: #fff8f8;
  border: 1px solid #fecaca;
  border-top: 3px solid #ef4444;
  border-radius: 10px;
}

.av2-problem__stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.av2-problem__stat-label {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}

/* ── TIMELINE ─────────────────────────────────────────── */
.av2-timeline {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
}

.av2-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.av2-section-header .av2-section-label {
  display: block;
  margin-bottom: 12px;
}

.av2-section-header .av2-section-title {
  font-size: 36px;
}

.av2-timeline__steps {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.av2-timeline__line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, #22c55e, #e5e5e5);
  z-index: 0;
}

.av2-timeline__step {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.av2-timeline__step:last-child { padding-bottom: 0; }

.av2-timeline__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.av2-timeline__content {
  padding-top: 8px;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.av2-timeline__body { flex: 1; }

.av2-timeline__step-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.2;
}

.av2-timeline__step-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.av2-timeline__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── KPIs ─────────────────────────────────────────────── */
.av2-kpis {
  background: #0a0a0a;
  padding: 80px 0;
  border-top: 1px solid #1f1f1f;
}

.av2-kpis__header {
  text-align: center;
  margin-bottom: 56px;
}

.av2-kpis__header .av2-section-label { color: rgba(34, 197, 94, 0.8); display: block; margin-bottom: 12px; }
.av2-kpis__header .av2-section-title { color: #fff; }

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

.av2-kpi {
  padding: 48px 40px;
  text-align: center;
}

.av2-kpi + .av2-kpi {
  border-left: 1px solid #1f1f1f;
}

.av2-counter {
  display: block;
  font-size: 64px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.av2-kpi__label {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* ── FEATURES ─────────────────────────────────────────── */
.av2-features {
  background: #fafafa;
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
}

.av2-features__header {
  text-align: center;
  margin-bottom: 48px;
}

.av2-features__header .av2-section-label { display: block; margin-bottom: 12px; }

.av2-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.av2-feature-card {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.av2-feature-card:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
}

.av2-feature-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.av2-feature-card__icon { flex-shrink: 0; display: flex; }

.av2-feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.av2-feature-card__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  padding-left: 30px;
}

/* ── CTA ──────────────────────────────────────────────── */
.av2-cta {
  background: #0a0a0a;
  padding: 80px 0;
  border-top: 1px solid #1f1f1f;
}

.av2-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.av2-cta__title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.av2-cta__sub {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
}

.av2-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: #22c55e;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease;
}

.av2-cta__btn:hover { background: #16a34a; }

.av2-cta__note {
  font-size: 13px;
  color: #4b5563;
  margin-top: -8px;
}

/* ══════════════════════════════════════════════════════════
   SECTION A — WHY IT MATTERS
══════════════════════════════════════════════════════════ */
.av2-why {
  background: #ffffff;
  padding: 60px 0 0;
}

.av2-why__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.av2-why__label {
  display: block;
  font-size: 11px;
  color: var(--gruen-primary);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.av2-why__text {
  font-size: 20px;
  color: #374151;
  line-height: 1.7;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════
   SECTION B — FEATURE SPOTLIGHT
══════════════════════════════════════════════════════════ */
.av2-spotlight {
  background: #ffffff;
  padding: 60px 0;
}

.av2-spotlight__header {
  text-align: center;
  margin-bottom: 56px;
}

.av2-spotlight__label {
  display: block;
  font-size: 11px;
  color: var(--gruen-primary);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.av2-spotlight__title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  letter-spacing: -1px;
}

.av2-spotlight__row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 36px 0;
  border-bottom: 1px solid #f0f0f0;
}

.av2-spotlight__row:last-child { border-bottom: none; }

.av2-spotlight__left {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.av2-spotlight__icon-box {
  width: 52px;
  height: 52px;
  background: var(--gruen-tint);
  border: 1px solid var(--gruen-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av2-spotlight__icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--gruen-primary);
}

.av2-spotlight__row-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.av2-spotlight__right { flex: 0 0 60%; }

.av2-spotlight__desc {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

.av2-spotlight__highlight {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gruen-primary);
  font-weight: 500;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   SECTION C — INTEGRATIONS
══════════════════════════════════════════════════════════ */
.av2-integrations {
  background: #111111;
  padding: 60px 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  text-align: center;
}

.av2-integrations__label {
  display: block;
  font-size: 11px;
  color: rgba(34, 197, 94, 0.85);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.av2-integrations__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.av2-int-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1c1c1e;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 10px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.av2-int-item:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.1);
}

.av2-int-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.av2-int-item span {
  font-size: 13px;
  font-weight: 500;
  color: #d1d5db;
}

.av2-int-item--text {
  background: #161618;
}

.av2-integrations__note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 24px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .av2-hero__title { font-size: 44px; }
  .av2-hero__inner { gap: 48px; }
}

@media (max-width: 768px) {
  .av2-hero {
    min-height: auto;
    padding: 60px 0;
  }
  .av2-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .av2-hero__title { font-size: 36px; letter-spacing: -0.5px; }
  .av2-hero__sub   { font-size: 16px; max-width: 100%; }
  .av2-hero__visual { display: none; }
  .av2-hero__stats { gap: 24px; flex-wrap: wrap; }

  .av2-problem { padding: 60px 0; }
  .av2-problem__inner { grid-template-columns: 1fr; gap: 36px; }
  .av2-section-title  { font-size: 28px; }

  .av2-timeline { padding: 60px 0; }
  .av2-timeline__content { flex-direction: column; gap: 8px; }
  .av2-section-header .av2-section-title { font-size: 28px; }

  .av2-kpis { padding: 60px 0; }
  .av2-kpis__grid { grid-template-columns: 1fr; }
  .av2-kpi + .av2-kpi { border-left: none; border-top: 1px solid #1f1f1f; }
  .av2-counter { font-size: 48px; }
  .av2-kpis__header .av2-section-title { font-size: 28px; }

  .av2-features { padding: 60px 0; }
  .av2-features__grid { grid-template-columns: 1fr; }
  .av2-features__header .av2-section-title { font-size: 28px; }

  .av2-cta { padding: 60px 0; }
  .av2-cta__title { font-size: 30px; }

  .av2-spotlight__row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .av2-spotlight__left,
  .av2-spotlight__right { flex: none; width: 100%; }
  .av2-why__text { font-size: 17px; }
  .av2-spotlight__title { font-size: 30px; }
  .av2-why__inner { padding: 0 20px; }
}
