/* Brand pages — CursePro & CurseSolar */

.brand-page {
  padding-top: 88px;
}

.brand-nav-links a.active {
  color: var(--white);
}

.brand-nav-links a.active::after {
  width: 100%;
}

/* ---- Hero ---- */
.brand-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 65%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
  z-index: 1;
  pointer-events: none;
}

.brand-hero__inner {
  position: relative;
  z-index: 2;
}

.brand-hero--solar {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--black) center / cover no-repeat;
}

.brand-hero--solar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.72);
  z-index: 0;
}

.brand-hero--pro .brand-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.brand-hero__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 3;
}

.brand-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-hero__card {
  padding: 40px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
}

.brand-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.brand-hero h1 {
  margin-bottom: 20px;
}

.brand-hero__lead {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.brand-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.brand-hero__meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white-dim);
}

.brand-hero__meta a {
  color: var(--gold);
}

.brand-hero__meta i {
  width: 20px;
  color: var(--gold);
  margin-right: 8px;
}

/* Solar hero icons row */
.brand-hero-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.brand-hero-icon {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(12px);
}

.brand-hero-icon i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.brand-hero-icon img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.brand-hero-icon h3 {
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* ---- Sections ---- */
.brand-section {
  padding: 88px 0;
}

.brand-section--alt {
  background: linear-gradient(180deg, transparent, rgba(20, 23, 39, 0.45) 50%, transparent);
}

.brand-section__header {
  max-width: 720px;
  margin-bottom: 48px;
}

.brand-section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.brand-section__header h2 {
  margin-bottom: 12px;
}

.brand-section__header h3 {
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.brand-split__visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.brand-split__visual img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.brand-offer-visual {
  position: relative;
}

.brand-offer-saving {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--gold-border);
}

.brand-offer-saving span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.2;
}

.brand-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-contact-strip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
}

.brand-contact-strip i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 2px;
}

.brand-contact-strip a {
  color: var(--gold);
  font-weight: 600;
}

/* Solution cards */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition), transform var(--transition);
}

.brand-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.brand-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.brand-card__icon--img {
  background: transparent;
  width: auto;
  height: auto;
}

.brand-card__icon--img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-card h4 {
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--white);
}

.brand-card p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.65;
}

/* Process steps */
.brand-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-step {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.brand-step__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.brand-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-step__body {
  padding: 20px 22px;
}

.brand-step__num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.brand-step h3 {
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  margin: 0;
}

/* Services (CursePro) */
.brand-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-service {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
}

.brand-service h3 {
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.brand-service ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.brand-service li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white-dim);
  margin-bottom: 12px;
  line-height: 1.5;
}

.brand-service li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.brand-service .btn-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-service .btn-link:hover {
  color: var(--gold-light);
}

/* FAQ */
.brand-faq {
  max-width: 800px;
  margin: 0 auto;
}

.brand-faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.brand-faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

.brand-faq-item button i {
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.brand-faq-item.open button i {
  transform: rotate(180deg);
}

.brand-faq-item .brand-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.brand-faq-item.open .brand-faq-body {
  max-height: 400px;
}

.brand-faq-body p {
  padding-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* CTA band */
.brand-cta {
  padding: 72px 0;
  text-align: center;
}

.brand-cta__box {
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse at top, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    var(--glass-bg);
  backdrop-filter: blur(16px);
}

.brand-cta h2 {
  margin-bottom: 12px;
}

.brand-cta p {
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Solar energy panel bg section */
.brand-panel {
  padding: 72px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 55%),
    var(--navy);
}

@media (max-width: 1024px) {
  .brand-hero--pro .brand-hero__grid,
  .brand-split,
  .brand-cards,
  .brand-steps,
  .brand-services {
    grid-template-columns: 1fr 1fr;
  }

  .brand-hero-icons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand-hero--pro .brand-hero__grid,
  .brand-split,
  .brand-cards,
  .brand-steps,
  .brand-services,
  .brand-hero-icons {
    grid-template-columns: 1fr;
  }

  .brand-hero--solar {
    min-height: auto;
    padding-bottom: 48px;
  }

  .brand-section {
    padding: 64px 0;
  }

  .brand-panel {
    padding: 40px 24px;
  }
}
