/* ============================================================
   GROWTH PAGES (Campaign Content) — template styles.
   Used with ai-agent / qa / dm / seo modern CSS + warm-theme.css.
   Palette tokens (--w-*) come from warm-theme.css.
   ============================================================ */

.gv-hero h1 {
  max-width: 640px;
}

/* Hero tags */
.gv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--ag-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ag-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px -6px rgba(68, 44, 18, 0.18);
}
.gv-tags svg {
  color: var(--w-green);
}

/* ── Hero visual: AI image + sample dashboard ─────────── */
.gv-visual {
  position: relative;
  width: min(100%, 570px);
  justify-self: center;
  padding: 16px 0 60px;
}
.gv-frame {
  position: relative;
  overflow: hidden;
  margin: 0 0 0 40px;
  border: 6px solid #fff;
  border-radius: 30px;
  background: #f3ece2;
  box-shadow: 0 50px 90px -40px rgba(154, 74, 18, 0.45);
}
.gv-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ec-motion .gv-visual.is-in .gv-frame img {
  animation: gvZoom 16s ease-in-out infinite alternate;
}
.gv-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: gvSweep 7s ease-in-out infinite;
  pointer-events: none;
}
.gv-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 270px;
  padding: 16px;
  border: 1px solid var(--ag-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 60px -26px rgba(68, 44, 18, 0.45);
  backdrop-filter: blur(8px);
}
.ec-motion .gv-visual.is-in .gv-panel {
  animation: gvRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}
.gv-panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.gv-panel-top > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--w-orange), var(--w-green));
  color: #fff;
}
.gv-panel-top strong {
  color: var(--ag-ink);
  font-size: 13.5px;
}
.gv-panel-top small {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--w-blue-s);
  color: #0369a1;
  font-size: 10.5px;
  font-weight: 700;
}
.gv-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-panel li small {
  display: block;
  margin-bottom: 4px;
  color: var(--ag-muted);
  font-size: 11.5px;
  font-weight: 600;
}
.gv-panel li i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3ece2;
}
.gv-panel li b {
  display: block;
  width: calc(88% - var(--i) * 14%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--w-orange), #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  animation: gvBar 5s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-delay: calc(var(--i) * 0.25s + 0.6s);
}
.gv-panel li:nth-child(2) b {
  background: linear-gradient(90deg, var(--w-green), #4ade80);
}
.gv-panel li:nth-child(3) b {
  background: linear-gradient(90deg, var(--w-blue), #7dd3fc);
}
.gv-panel li:nth-child(4) b {
  background: linear-gradient(90deg, #fb923c, var(--w-green));
}

.gv-chip {
  align-items: center;
  z-index: 3;
}
.gv-chip > svg {
  padding: 6px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--w-orange-s);
  color: var(--w-orange-d);
}
.gv-chip--2 > svg {
  background: var(--w-green-s);
  color: var(--w-green);
}
.gv-chip strong {
  display: block;
  font-size: 13.5px;
}
.gv-chip small {
  color: var(--ag-muted);
  font-size: 11.5px;
  font-weight: 500;
}
.gv-chip--1 {
  top: -4px;
  right: -12px;
}
.gv-chip--2 {
  right: 10px;
  bottom: 14px;
  animation-delay: -2s;
}

@keyframes gvBar {
  0% {
    transform: scaleX(0);
  }
  35%,
  85% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
    opacity: 0.6;
  }
}
@keyframes gvZoom {
  to {
    transform: scale(1.07);
  }
}
@keyframes gvSweep {
  0%,
  30% {
    background-position: 150% 0;
  }
  70%,
  100% {
    background-position: -50% 0;
  }
}
@keyframes gvRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gv-highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Consultation extras ─────────────────────────────── */
.gv-consult-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-consult-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e7efe9;
  font-size: 15px;
  font-weight: 600;
}
.gv-consult-points svg {
  color: #86efac;
}
.gv-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px !important;
  color: #fdba74;
  font-size: 15px;
}
.gv-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.gv-contact span {
  color: rgba(255, 255, 255, 0.4);
}

/* ── Engine (4 stages) ───────────────────────────────── */
.gv-engine {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-engine::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fdba74 0 8px, transparent 8px 16px);
}
.gv-engine > li {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--ag-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ag-shadow);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.gv-engine > li:hover {
  border-color: #fdba74;
  box-shadow: 0 24px 50px -24px rgba(234, 88, 12, 0.35);
  transform: translateY(-6px);
}
.gv-engine-ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--w-orange), #fb923c);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(234, 88, 12, 0.6);
}
.gv-engine > li:nth-child(2) .gv-engine-ico {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.gv-engine > li:nth-child(3) .gv-engine-ico {
  background: linear-gradient(135deg, var(--w-green), #22c55e);
  box-shadow: 0 12px 24px -10px rgba(22, 163, 74, 0.6);
}
.gv-engine > li:nth-child(4) .gv-engine-ico {
  background: linear-gradient(135deg, var(--w-blue), #38bdf8);
  box-shadow: 0 12px 24px -10px rgba(14, 165, 233, 0.6);
}
.gv-engine small {
  display: block;
  margin-top: 16px;
  color: var(--w-orange-d);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gv-engine h3 {
  margin-top: 4px !important;
  color: var(--ag-ink);
  font-size: 19px;
}
.gv-engine p {
  margin-top: 6px !important;
  color: var(--ag-muted);
  font-size: 14px;
  line-height: 1.6;
}
.gv-engine ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px dashed var(--ag-line);
  list-style: none;
}
.gv-engine ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ag-ink);
  font-size: 13.5px;
  line-height: 1.45;
}
.gv-engine ul svg {
  flex: none;
  margin-top: 2px;
  color: var(--w-green);
}

/* ── Segments ────────────────────────────────────────── */
.gv-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-segments li {
  padding: 12px 20px;
  border: 1px solid var(--ag-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ag-ink);
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.gv-segments li:nth-child(3n + 1) {
  border-color: #fed7aa;
}
.gv-segments li:nth-child(3n + 2) {
  border-color: #bbf7d0;
}
.gv-segments li:nth-child(3n) {
  border-color: #bae6fd;
}
.gv-segments li:hover {
  background: var(--w-orange);
  border-color: var(--w-orange);
  color: #fff;
  transform: translateY(-3px);
}

/* ── AI (light) ──────────────────────────────────────── */
.gv-ai {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.gv-ai-media {
  position: relative;
  margin: 0;
}
.gv-ai-media img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 8;
  border: 6px solid #fff;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 40px 80px -36px rgba(14, 116, 144, 0.45);
}
.gv-ai-media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--w-blue-s), var(--w-green-s));
}
.gv-ai-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0369a1;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(14, 116, 144, 0.5);
}
.gv-ai-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-ai-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ag-line);
  border-radius: 16px;
  background: #fff;
  color: var(--ag-ink);
  font-size: 14.5px;
  line-height: 1.45;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.gv-ai-list li:hover {
  border-color: #7dd3fc;
  transform: translateX(6px);
}
.gv-ai-list li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--w-blue-s);
  color: #0284c7;
}

/* ── KPIs ────────────────────────────────────────────── */
.gv-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gv-kpis li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--ag-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ag-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.gv-kpis li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--w-orange-s);
  color: var(--w-orange-d);
}
.gv-kpis li:nth-child(4n + 2) > span {
  background: var(--w-green-s);
  color: var(--w-green);
}
.gv-kpis li:nth-child(4n + 3) > span {
  background: var(--w-blue-s);
  color: #0284c7;
}

/* ── Process & why ───────────────────────────────────── */
.gv-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gv-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gv-why-card h3 {
  margin-top: 14px !important;
  font-size: 18px;
}
.gv-why-card p {
  margin-top: 6px !important;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .gv-engine,
  .gv-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gv-engine::before {
    display: none;
  }
}
@media (max-width: 900px) {
  .gv-ai {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .gv-steps,
  .gv-why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gv-visual {
    padding-bottom: 150px;
  }
  .gv-frame {
    margin-left: 0;
  }
  .gv-panel {
    width: 178px;
    padding: 12px;
  }
  .gv-panel-top small {
    display: none;
  }
  .gv-chip {
    max-width: 146px;
  }
  .gv-chip small {
    display: none;
  }
  .gv-chip--1 {
    top: auto;
    right: 0;
    bottom: 104px;
  }
  .gv-chip--2 {
    right: 0;
    bottom: 22px;
  }
  .gv-engine,
  .gv-kpis,
  .gv-steps,
  .gv-why,
  .gv-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
  .gv-segments li {
    padding: 10px 16px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gv-panel li b,
  .gv-shine,
  .gv-frame img {
    animation: none !important;
    transform: none !important;
  }
}
