/* --------------------------------------------------------------------------
   Brand page foundation
   -------------------------------------------------------------------------- */

.brand-home {
  background: #f3f0f8;
  color: #0b0b12;
}

.brand-home .page-glow {
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(139, 92, 246, 0.15),
      transparent 32%
    ),
    radial-gradient(
      circle at 7% 62%,
      rgba(168, 85, 247, 0.065),
      transparent 25%
    );
}

.brand-home .nav {
  border-bottom-color: rgba(109, 40, 217, 0.08);
  background: rgba(247, 244, 252, 0.9);
}

.brand-home .mode-switch {
  border-color: #dcd2ef;
  background: #ebe5f5;
}

.brand-home .mode-switch a.active {
  background: #8b5cf6;
  box-shadow: 0 8px 19px -11px rgba(139, 92, 246, 0.58);
}

/* --------------------------------------------------------------------------
   Hero copy and layout
   -------------------------------------------------------------------------- */

.brand-hero {
  padding: 72px 0 78px;
  overflow: hidden;
  border-bottom: 0;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 255, 255, 0.74),
      transparent 34%
    ),
    linear-gradient(180deg, #f3f0f8 0%, #ece7f4 100%);
  box-shadow: inset 0 -1px #ddd4ec;
}

.brand-hero > .container {
  width: min(1280px, calc(100% - 48px));
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.84fr) minmax(610px, 1.16fr);
  align-items: center;
  gap: 52px;
}

.brand-hero-copy {
  width: auto;
  text-align: left;
}

.brand-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: #0b0b12;
  font-size: var(--hero-title-size);
  line-height: 0.98;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.brand-hero-copy h1 span {
  color: #6d28d9;
}

.brand-hero-copy > p {
  max-width: 570px;
  margin: 27px 0 0;
  color: #625d6c;
  font-size: var(--hero-description-size);
  line-height: 1.65;
}

.brand-hero .hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   Interactive dashboard visual
   -------------------------------------------------------------------------- */

.brand-visual {
  position: relative;
  width: 720px;
  height: 500px;
  min-width: 0;
}

.brand-visual-stage {
  position: relative;
  width: 720px;
  height: 600px;
  padding: 28px 0 62px;
  perspective: 1400px;
  perspective-origin: 0 300px;
}

.brand-visual-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -8px;
  top: 300px;
  width: 720px;
  height: 510px;
  margin-top: -262px;
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(109, 40, 217, 0.18),
    rgba(11, 11, 18, 0.08)
  );
  box-shadow: -22px 34px 74px rgba(58, 34, 99, 0.18);
  transform: skewY(0.8deg);
  pointer-events: none;
}

.brand-console {
  position: relative;
  left: -3px;
  z-index: 2;
  width: 720px;
  height: 510px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 26px;
  background: #0b0b12;
  box-shadow:
    -20px 38px 82px rgba(35, 18, 61, 0.28),
    0 0 0 10px rgba(69, 35, 111, 0.18);
  transform: rotateY(-5deg) rotateX(1deg);
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.brand-console:hover {
  transform: rotateY(-11deg) rotateX(1.5deg);
  border-color: rgba(168, 85, 247, 0.38);
  box-shadow:
    -16px 42px 86px rgba(35, 18, 61, 0.32),
    0 0 0 10px rgba(69, 35, 111, 0.22);
}

.brand-console::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(139, 92, 246, 0.48),
    transparent
  );
  box-shadow: 6px 0 24px rgba(109, 40, 217, 0.16);
  pointer-events: none;
}

.brand-console::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 240px;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.16);
  filter: blur(45px);
  pointer-events: none;
}

.brand-console iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  pointer-events: auto;
}

.brand-bubble {
  position: absolute;
  z-index: 3;
  display: block;
  border: 1px solid rgba(216, 180, 254, 0.38);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 28% 22%,
    #d8b4fe,
    #a855f7 28%,
    #6d28d9 67%,
    #35106f 100%
  );
  box-shadow:
    inset -9px -11px 22px rgba(27, 8, 59, 0.34),
    0 14px 35px rgba(72, 25, 132, 0.3);
  animation: creatorBubbleFloat 5.6s ease-in-out infinite;
  will-change: transform;
}

.bubble-one {
  width: 56px;
  height: 56px;
  right: -4px;
  top: 18px;
}

.bubble-two {
  z-index: 1;
  width: 32px;
  height: 32px;
  left: -17px;
  top: 34%;
  animation-delay: -1.7s;
}

.bubble-three {
  width: 42px;
  height: 42px;
  right: 7%;
  bottom: 4px;
  animation-delay: -3.1s;
}

.bubble-four {
  z-index: 1;
  width: 18px;
  height: 18px;
  right: 22%;
  top: 3px;
  animation-delay: -4.2s;
  opacity: 0.76;
}

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.brand-benefits {
  background: #f7f4ff;
}

.brand-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.brand-benefit {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border: 1px solid #e6ddf8;
  border-radius: 20px;
  background: #fff;
}

.brand-benefit > span {
  position: absolute;
  right: 24px;
  top: 22px;
  color: #aaa3b7;
  font-size: 0.69rem;
  font-weight: 800;
}

.brand-benefit > i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 45px;
  border-radius: 15px;
  color: #6d28d9;
  background: #f1eaff;
  font-size: 1.2rem;
  font-style: normal;
}

.brand-benefit h3 {
  font-size: 1.32rem;
}

.brand-benefit p {
  margin-top: 12px;
  color: #777181;
  font-size: 0.84rem;
  line-height: 1.7;
}

.brand-benefit.featured {
  color: #fff;
  border-color: #6d28d9;
  background: linear-gradient(145deg, #8b5cf6, #6d28d9);
  box-shadow: 0 24px 50px rgba(109, 40, 217, 0.18);
}

.brand-benefit.featured > i {
  color: #6d28d9;
  background: #fff;
}

.brand-benefit.featured > span,
.brand-benefit.featured p {
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   Campaign process
   -------------------------------------------------------------------------- */

.brand-process {
  background: #fff;
}

.brand-process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.brand-process .section-head {
  position: sticky;
  top: 120px;
}

.brand-process .section-head .btn {
  margin-top: 28px;
}

.brand-process-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.brand-process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 27px;
  border: 1px solid #e6ddf8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(45, 28, 75, 0.045);
}

.brand-process-list li > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #6d28d9;
  background: #f7f4ff;
  font-size: 0.75rem;
  font-weight: 800;
}

.brand-process-list h3 {
  font-size: 1.08rem;
}

.brand-process-list p {
  margin-top: 7px;
  color: #777181;
  font-size: 0.8rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Final call to action
   -------------------------------------------------------------------------- */

.brand-final {
  padding: 94px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(255, 255, 255, 0.18),
      transparent 36%
    ),
    linear-gradient(135deg, #6d28d9, #8b5cf6);
}

.brand-final h2 {
  max-width: 760px;
  margin: auto;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.brand-final p {
  margin: 15px 0 28px;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Responsive layout
   -------------------------------------------------------------------------- */

@media (min-width: 1001px) {
  .brand-hero {
    display: grid;
    grid-template-columns: minmax(420px, 0.84fr) minmax(610px, 1.16fr);
    align-items: center;
    min-height: 735px;
    padding: 40px max(48px, calc((100% - 1280px) / 2)) 86px;
    gap: 52px;
  }
  .brand-hero > .brand-hero-grid {
    display: contents;
  }
  .brand-home .brand-hero-copy {
    text-align: left !important;
  }
  .brand-home .brand-hero-copy > p {
    margin-left: 0 !important;
  }
  .brand-home .brand-hero .hero-actions {
    justify-content: flex-start !important;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .brand-hero {
    grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
    gap: 36px;
  }
  .brand-visual,
  .brand-visual-stage {
    width: 600px;
  }
  .brand-visual-stage::before {
    width: 600px;
  }
  .brand-console {
    width: 600px;
    height: 510px;
    margin-top: -11.25px;
  }
}

@media (max-width: 1000px) {
  .brand-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }
  .brand-hero-copy {
    width: min(760px, 100%);
    text-align: left;
  }
  .brand-hero-copy > p {
    margin-left: 0;
  }
  .brand-hero .hero-actions {
    justify-content: flex-start;
  }
  .brand-visual {
    width: min(790px, 100%);
  }
  .brand-visual-stage {
    width: 100%;
  }
  .brand-console {
    width: 100%;
    transform: none;
  }
  .brand-process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .brand-process .section-head {
    position: static;
  }
  .brand-benefit-grid {
    grid-template-columns: 1fr;
  }
  .brand-benefit {
    min-height: 250px;
  }
  .brand-benefit > i {
    margin-bottom: 30px;
  }
}

@media (max-width: 760px) {
  .brand-hero .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .brand-hero {
    padding: 55px 0 58px;
  }
  .brand-hero-copy h1 {
    font-size: var(--hero-title-size-mobile);
  }
  .brand-hero-copy > p {
    font-size: var(--hero-description-size-mobile);
  }
  .brand-hero .hero-actions {
    flex-direction: column;
  }
  .brand-visual {
    width: 108%;
    height: 592px;
    margin-left: -4%;
  }
  .brand-visual-stage {
    width: 100%;
    height: 592px;
    padding: 24px 8px 38px;
  }
  .brand-visual-stage::before {
    inset: 35px 16px 30px 8px;
  }
  .brand-console {
    width: 100%;
    height: 530px;
    transform: none;
    clip-path: none;
    border-radius: 20px;
  }
  .brand-console:hover {
    transform: none;
  }
  .bubble-one {
    right: 0;
  }
  .bubble-two {
    left: -4px;
  }
  .brand-process-list li {
    grid-template-columns: 48px 1fr;
    padding: 20px;
    gap: 14px;
  }
  .brand-process-list li > span {
    width: 44px;
    height: 44px;
  }
}
