/* =========================================================
   BRAND PAGE STYLE INDEX
   1. Page Background
   2. Hero
   3. Metrics
   4. Trust + Steps
   5. Campaign Cards
   6. Testimonials + Tools + CTA
   7. Light Mode
   8. Responsive
   ========================================================= */

body.brand-page {
  background:
    radial-gradient(circle at 18% 4%, rgba(79, 134, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(91, 128, 255, 0.12), transparent 24%),
    var(--page-bg);
}

.brand-main {
  position: relative;
  overflow: hidden;
  padding: 26px 0 92px;
}

.brand-main::before,
.brand-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

.brand-main::before {
  top: 420px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.16), transparent 70%);
}

.brand-main::after {
  right: -160px;
  bottom: 360px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(79, 134, 255, 0.14), transparent 72%);
}

.brand-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.brand-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.22, 1, .36, 1);
}

.brand-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-hero-section {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 28px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-hero-grid,
.brand-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.brand-split-grid.reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fb0ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-hero-copy h1,
.brand-info-card h2,
.brand-section-head h2,
.brand-cta-copy h2 {
  margin: 14px 0 16px;
  color: #fff;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.brand-hero-copy h1 {
  max-width: 520px;
  font-size: clamp(38px, 5.4vw, 78px);
}

.brand-hero-copy p,
.brand-info-card p {
  max-width: 540px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
}

.brand-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.brand-primary-btn,
.brand-secondary-btn,
.brand-link-btn,
.brand-creator-card button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-primary-btn,
.brand-creator-card button {
  background: linear-gradient(180deg, #4f86ff 0%, #2563ff 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 255, 0.34);
}

.brand-secondary-btn,
.brand-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.brand-primary-btn:hover,
.brand-secondary-btn:hover,
.brand-link-btn:hover,
.brand-creator-card button:hover {
  transform: translateY(-2px);
  color: #fff;
}

.brand-logo-cloud {
  position: relative;
  min-height: 390px;
}

.brand-cloud-line {
  position: absolute;
  inset: 16% 8%;
  border: 1px solid rgba(143, 176, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.brand-cloud-line.line-two {
  inset: 28% 18%;
  transform: rotate(12deg);
}

.brand-cloud-card {
  position: absolute;
  width: clamp(92px, 10vw, 142px);
  height: clamp(70px, 8vw, 108px);
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  animation: brandFloat 6s ease-in-out infinite;
}

.brand-cloud-card strong {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -0.04em;
}

.card-nfl { left: 8%; top: 38%; animation-delay: -0.4s; }
.card-intel { left: 40%; top: 42%; animation-delay: -1.2s; }
.card-nbc { right: 10%; top: 46%; animation-delay: -1.8s; }
.card-ibm { right: 4%; top: 4%; animation-delay: -0.8s; }
.card-att { left: 12%; top: 8%; animation-delay: -2.1s; }
.card-spotify { right: 30%; top: 8%; animation-delay: -2.8s; }

.brand-metrics-section,
.brand-trust-section,
.brand-how-section,
.brand-campaign-section,
.brand-testimonials-section,
.brand-tools-section,
.brand-final-cta {
  padding-top: 72px;
}

.brand-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.brand-section-head.centered {
  display: block;
  text-align: center;
}

.brand-section-head h2,
.brand-info-card h2,
.brand-cta-copy h2 {
  font-size: clamp(30px, 3.4vw, 54px);
}

.brand-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.brand-metric-card,
.brand-info-card,
.brand-step-card,
.brand-creator-card,
.brand-testimonial-card,
.brand-tool-visual,
.brand-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.brand-metric-card {
  min-height: 126px;
  padding: 18px 14px;
  border-radius: 20px;
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.brand-metric-card i {
  color: #65a8ff;
  font-size: 24px;
}

.brand-metric-card strong {
  color: #fff;
  font-size: 22px;
}

.brand-metric-card span,
.brand-step-card p,
.brand-testimonial-card span,
.brand-creator-body p {
  color: var(--text-muted);
}

.brand-trust-orbit {
  position: relative;
  min-height: 360px;
}

.trust-orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(143, 176, 255, 0.12);
  border-radius: 50%;
}

.trust-orbit-ring.ring-small {
  inset: 26%;
}

.trust-logo {
  position: absolute;
  min-width: 82px;
  min-height: 82px;
  padding: 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  animation: brandFloat 7s ease-in-out infinite;
}

.logo-core { left: 38%; top: 34%; width: 118px; height: 118px; background: rgba(87, 180, 104, 0.22); }
.logo-one { left: 2%; top: 38%; }
.logo-two { right: 8%; top: 22%; }
.logo-three { right: 22%; bottom: 4%; width: 108px; height: 108px; }
.logo-four { left: 22%; bottom: 8%; }
.logo-five { left: 26%; top: 6%; }

.brand-info-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 30px;
}

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

.brand-check-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.7;
}

.brand-check-list i {
  color: #65a8ff;
  margin-top: 4px;
}

.brand-step-grid,
.brand-campaign-grid,
.brand-testimonial-grid {
  display: grid;
  gap: 20px;
}

.brand-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-step-card {
  padding: 24px;
  border-radius: 26px;
}

.brand-step-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(79, 134, 255, 0.12);
  color: #65a8ff;
  font-size: 24px;
}

.brand-step-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 20px;
}

.brand-campaign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-creator-card {
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.brand-creator-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 134, 255, 0.32);
}

.brand-creator-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.brand-creator-body {
  padding: 16px;
}

.brand-creator-body h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.brand-creator-body p {
  margin: 4px 0 14px;
  font-size: 13px;
}

.brand-creator-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

.brand-creator-meta strong {
  color: #fff;
}

.brand-creator-card button {
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
}

.brand-testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-testimonial-card {
  padding: 24px;
  border-radius: 24px;
}

.brand-testimonial-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

.brand-testimonial-card strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.brand-tool-visual {
  overflow: hidden;
  border-radius: 30px;
}

.brand-tool-visual img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.brand-cta-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 32px;
  display: grid;
  place-items: center;
  padding: 42px;
  background:
    radial-gradient(circle at 18% 28%, rgba(94, 173, 255, 0.28), transparent 30%),
    radial-gradient(circle at 82% 28%, rgba(132, 98, 255, 0.26), transparent 30%),
    linear-gradient(135deg, #1d4fff 0%, #5935f4 100%);
}

.brand-cta-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.brand-cta-copy h2 {
  color: #fff;
}

.cta-brand-logo {
  position: absolute;
  z-index: 1;
  min-width: 86px;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.logo-adidas { left: 8%; bottom: 22%; }
.logo-vw { right: 16%; top: 16%; border-radius: 50%; min-width: 70px; min-height: 70px; }
.logo-nbc { right: 8%; bottom: 18%; }
.logo-shell { left: 24%; top: 20%; }

html[data-theme="light"] body.brand-page {
  background:
    radial-gradient(circle at 18% 4%, rgba(37, 99, 255, 0.12), transparent 28%),
    #eef3fb;
}

html[data-theme="light"] .brand-hero-copy h1,
html[data-theme="light"] .brand-info-card h2,
html[data-theme="light"] .brand-section-head h2,
html[data-theme="light"] .brand-step-card h3,
html[data-theme="light"] .brand-creator-body h3,
html[data-theme="light"] .brand-testimonial-card strong,
html[data-theme="light"] .brand-metric-card strong {
  color: #0f172a;
}

html[data-theme="light"] .brand-metric-card,
html[data-theme="light"] .brand-info-card,
html[data-theme="light"] .brand-step-card,
html[data-theme="light"] .brand-creator-card,
html[data-theme="light"] .brand-testimonial-card,
html[data-theme="light"] .brand-tool-visual {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .brand-cloud-card,
html[data-theme="light"] .trust-logo {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

html[data-theme="light"] .brand-cloud-card strong {
  color: #0f172a;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@media (max-width: 1199.98px) {
  .brand-metric-grid,
  .brand-step-grid,
  .brand-campaign-grid,
  .brand-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .brand-hero-grid,
  .brand-split-grid,
  .brand-split-grid.reverse {
    grid-template-columns: 1fr;
  }

  .brand-logo-cloud,
  .brand-trust-orbit {
    min-height: 330px;
  }

  .brand-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .brand-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand-main {
    padding-top: 12px;
  }

  .brand-hero-section {
    min-height: auto;
    padding: 34px 0 46px;
  }

  .brand-logo-cloud {
    min-height: 290px;
  }

  .brand-cloud-card {
    width: 92px;
    height: 68px;
  }

  .brand-metric-grid,
  .brand-step-grid,
  .brand-campaign-grid,
  .brand-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .brand-metrics-section,
  .brand-trust-section,
  .brand-how-section,
  .brand-campaign-section,
  .brand-testimonials-section,
  .brand-tools-section,
  .brand-final-cta {
    padding-top: 50px;
  }

  .brand-cta-card {
    padding: 34px 18px;
  }

  .cta-brand-logo {
    opacity: 0.34;
  }
}
