/* ===== Campaign Page Styles ===== */

/* Hero */
.cp-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

/* Hero — image variant */
.cp-hero--image {
  min-height: unset;
  padding: 80px 24px 40px;
}

.cp-hero__img-link {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.cp-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.cp-hero__cta-wrap {
  margin-top: 28px;
}

/* Referral hero image */
.cp-referral-hero__img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  margin: 0 auto 40px;
}

.cp-hero__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.cp-hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.cp-hero__title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cp-hero__lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cp-hero__cta {
  font-size: 16px;
  padding: 18px 40px;
}

/* Section */
.cp-section {
  padding: 80px 0 100px;
}

/* Block */
.cp-block {
  padding: 48px 0;
}

.cp-block__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.cp-block__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}

.cp-block__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.cp-block__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-block__list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.cp-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.cp-block__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(8px);
}

/* Divider */
.cp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.25), transparent);
}

/* Steps */
.cp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cp-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cp-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.cp-step__body {
  flex: 1;
  padding-top: 10px;
}

.cp-step__body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.cp-step__body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* CTA section */
.cp-cta-section {
  padding: 0 0 100px;
}

@media (max-width: 768px) {
  .cp-hero {
    padding: 100px 20px 60px;
  }

  .cp-block {
    padding: 36px 0;
  }

  .cp-step {
    gap: 14px;
  }

  .cp-step__num {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
}

/* ===== Referral Campaign Section ===== */
.cp-referral-section {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding-top: 80px;
}

.cp-referral-hero {
  text-align: center;
  margin-bottom: 56px;
}

.cp-referral-hero__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.cp-referral-hero__title span {
  background: linear-gradient(135deg, #ff4fa3 0%, #ffd84d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cp-referral-hero__lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

/* Cards layout */
.cp-referral-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 56px;
}

.cp-referral-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.cp-referral-card--introducer {
  border-top: 3px solid var(--accent-2);
}

.cp-referral-card--referred {
  border-top: 3px solid var(--accent);
}

.cp-referral-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cp-referral-card__title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}

.cp-referral-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cp-referral-card__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cp-referral-card__step-num {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-dark) 100%);
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 2px;
}

.cp-referral-card__step-body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.cp-referral-card__step-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.cp-referral-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Arrow between cards */
.cp-referral-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  opacity: 0.7;
}

/* How to refer */
.cp-referral-how {
  margin-top: 48px;
}

.cp-referral-how__title {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .cp-referral-cards {
    grid-template-columns: 1fr;
  }

  .cp-referral-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

/* ===== Campaign page: SP hamburger menu ===== */
@media (max-width: 767px) {
  .site-header__inner {
    min-height: 62px;
    gap: 12px;
  }

  .site-logo__image {
    height: 34px;
    max-width: 160px;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.64);
    transition: max-height 0.3s ease, padding 0.3s ease;
    backdrop-filter: blur(16px);
  }

  .mobile-nav.is-open {
    max-height: 420px;
  }

  .mobile-nav__inner {
    width: min(calc(100% - 28px), var(--container));
    margin: 0 auto;
    padding: 10px 0 16px;
    display: grid;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 4px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    border-bottom: 1px solid rgba(101, 95, 121, 0.1);
    background: transparent;
  }

  .mobile-nav a:first-child {
    border-top: 1px solid rgba(101, 95, 121, 0.1);
  }

  .mobile-nav__cta {
    margin-top: 14px;
    display: inline-flex !important;
    justify-content: center;
    min-height: 50px;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(255, 79, 163, 0.22);
  }

  .mobile-nav__sns {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
}
