/* ===========================================================================
   GENIEBOX — inner page patterns (CRM / Academy / Contact / Solutions).
   Pairs with base.css + home.css.
   =========================================================================== */

/* ---- Page hero ----------------------------------------------------------- */
.phero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 84px;
  text-align: center;
}

.phero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.phero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}

.phero__blob.a {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -160px;
  background: radial-gradient(circle, #E6157C, transparent 70%);
  animation: drift 18s ease-in-out infinite;
}

.phero__blob.b {
  width: 480px;
  height: 480px;
  right: -130px;
  top: -40px;
  background: radial-gradient(circle, #7A2EA8, transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}

.phero .ribbons {
  opacity: .55;
}

.phero__in {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

.phero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: var(--gb-r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.phero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--gb-magenta-bright);
}

.phero h1 {
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}

.phero h1 .grad {
  background: linear-gradient(100deg, #FF4DA6, #FFC233);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phero p {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
  max-width: 600px;
  margin: 0 auto 32px;
}

.phero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.phero__crumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 22px;
}

.phero__crumbs a:hover {
  color: #fff;
}

.phero__crumbs svg {
  width: 13px;
  height: 13px;
}

/* ---- Generic feature grid ------------------------------------------------ */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fcell {
  position: relative;
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: 20px;
  padding: 28px;
  transition: .35s var(--ease-out);
  overflow: hidden;
}

.fcell:hover {
  transform: translateY(-6px);
  box-shadow: var(--gb-shadow-lg);
  border-color: transparent;
}

.fcell__ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--gb-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform .35s var(--ease-spring);
}

.fcell:hover .fcell__ic {
  transform: scale(1.08) rotate(-5deg);
}

.fcell__ic svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.fcell h4 {
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--gb-ink);
  margin: 0 0 8px;
}

.fcell p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gb-fg2);
  margin: 0;
}

/* ---- Split feature ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--flip .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gb-line);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  box-shadow: var(--gb-shadow-lg);
  aspect-ratio: 1/.78;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.split__media .ribbons {
  opacity: .5;
}

.split__media .big {
  position: relative;
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: 62px;
  background: linear-gradient(120deg, #FF4DA6, #FFC233);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.split ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--gb-fg1);
  line-height: 1.5;
}

.list-dark{
  color: rgba(255, 255, 255, .6) !important;
}

.split ul li svg {
  width: 22px;
  height: 22px;
  color: var(--gb-magenta);
  flex: none;
  margin-top: 1px;
}

/* ---- Steps --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: s;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--gb-line);
}

.step__n {
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  background: var(--gb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.step h4 {
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gb-ink);
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--gb-fg2);
  line-height: 1.55;
  margin: 0;
}

/* ---- Pricing / plan cards ------------------------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1.5px solid var(--gb-line);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: .3s var(--ease-out);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--gb-shadow-lg);
}

.plan--pop {
  position: relative;
  border-color: transparent;
  background: linear-gradient(170deg, var(--ink-700), var(--ink-850));
  color: #fff;
  box-shadow: var(--gb-shadow-lg);
}

.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gb-magenta);
  color: #fff;
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--gb-r-pill);
}

.plan h4 {
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--gb-ink);
}

.plan--pop h4 {
  color: #fff;
}

.plan__price {
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--gb-ink);
  margin: 8px 0;
}

.plan--pop .plan__price {
  color: #fff;
}

.plan__price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--gb-fg2);
}

.plan--pop .plan__price span {
  color: rgba(255, 255, 255, .6);
}

.plan ul {
  list-style: none;
  margin: 18px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  flex: 1;
}

.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--gb-fg1);
}

.plan--pop ul li {
  color: rgba(255, 255, 255, .82);
}

.plan ul li svg {
  width: 18px;
  height: 18px;
  color: var(--gb-magenta);
  flex: none;
  margin-top: 1px;
}

.plan--pop ul li svg {
  color: var(--gb-magenta-bright);
}

/* ---- Logos / stat band --------------------------------------------------- */
.band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--gb-magenta), var(--gb-violet));
  color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.band .ribbons {
  opacity: .8;
}

.band .stat b {
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  display: block;
}

.band .stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
}

/* ---- Industries / mini cards -------------------------------------------- */
.inds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ind {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: .3s var(--ease-out);
}

.ind:hover {
  transform: translateY(-4px);
  box-shadow: var(--gb-shadow-lg);
  border-color: transparent;
}

.ind__ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 21, 124, .12), rgba(122, 46, 168, .12));
}

.ind__ic svg {
  width: 21px;
  height: 21px;
  color: var(--gb-magenta);
}

.ind b {
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--gb-ink);
}

/* ---- FAQ accordion ------------------------------------------------------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.faq__item[open] {
  border-color: transparent;
  box-shadow: var(--gb-shadow-lg);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--gb-ink);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q i {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--gb-magenta);
  transition: transform .3s var(--ease-out);
}

.faq__item[open] .faq__q i {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--gb-fg2);
  max-width: 660px;
}

@media (max-width:980px) {
  .inds {
    grid-template-columns: 1fr 1fr;
  }

  .fgrid,
  .steps,
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .split--flip .split__media {
    grid-template-columns: 1fr;
    order: 0;
  }

  .band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:600px) {
  .inds {
    grid-template-columns: 1fr;
  }

  .fgrid,
  .steps,
  .plans,
  .band {
    grid-template-columns: 1fr;
  }
}