/* ============================================================
   SALES-OPPORTUNITIES.CSS
   Page-specific styles — base/shared styles live in styles.css
   ============================================================ */

/* Body override for this page */
body {
  background-color: var(--hubpro-navy);
  color: white;
}

/* Section diagonal clip (top) */
.section-divider-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -5rem;
  padding-top: 8rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR additions ───────────────────────────────────────── */
.nav-badge-free {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 6px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 9999px; white-space: nowrap; line-height: 1;
  background-color: var(--hubpro-orange); color: white;
}
.join-btn {
  padding: 10px 20px;
  background-color: var(--hubpro-orange); color: white;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.025em; border-radius: 4px; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.join-btn:hover { background-color: var(--hubpro-orange-dark); box-shadow: 0 10px 25px rgba(255,106,0,0.2); }

/* Mobile menu additions */
.mobile-nav-badge {
  padding: 2px 8px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 9999px; background-color: var(--hubpro-orange); color: white;
}
.mobile-cta-section {
  padding-top: 1rem; margin-top: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.mobile-login {
  text-align: center; padding: 0.75rem; color: var(--hubpro-steel);
  font-weight: 500; text-decoration: none; display: block; transition: color 0.2s;
}
.mobile-login:hover { color: white; }
.mobile-join-btn {
  text-align: center; padding: 0.75rem;
  background-color: var(--hubpro-orange); color: white;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.025em; border-radius: 4px;
  text-decoration: none; display: block; transition: background-color 0.2s;
}
.mobile-join-btn:hover { background-color: var(--hubpro-orange-dark); }

/* ── HERO ───────────────────────────────────────────────────── */
.so-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
@media (min-width: 1024px) { .so-hero { padding-top: 72px; } }

.so-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--hubpro-navy-dark), var(--hubpro-navy), rgba(42,79,122,0.3));
}
.so-hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,106,0,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}
.so-hero-inner {
  position: relative;
  z-index: 10;
  padding:0 0 4rem ;
  width: 100%;
}
.so-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .so-hero-grid { grid-template-columns: 1fr 1fr; } }

.so-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,106,0,0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  color: var(--hubpro-orange);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
}
.so-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .so-h1 { font-size: clamp(3.5rem, 7vw, 6rem); } }
.so-h1 span { color: var(--hubpro-orange); }

.so-hero-desc {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.so-hero-desc strong { color: white; font-weight: 600; }

.so-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.so-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  background-color: var(--hubpro-orange);
  color: white;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.125rem; letter-spacing: 0.025em;
  border-radius: 0.5rem; text-decoration: none;
  transition: all 0.3s;
}
.so-btn-primary:hover {
  background-color: var(--hubpro-orange-dark);
  box-shadow: 0 20px 40px rgba(255,106,0,0.25);
}
.so-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.125rem; letter-spacing: 0.025em;
  border-radius: 0.5rem; text-decoration: none;
  transition: all 0.3s;
}
.so-btn-outline:hover {
  border-color: rgba(255,106,0,0.5);
  background-color: rgba(255,255,255,0.05);
}

.so-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 14px;
}
.so-hero-perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
}
.so-perk-icon { color: var(--hubpro-green); flex-shrink: 0; }

/* Calculator card (desktop right column) */
.so-calc-card {
  display: none;
  background-color: rgba(33,71,110,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
}
@media (min-width: 1024px) { .so-calc-card { display: block; } }

.so-calc-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: white; text-align: center;
  margin-bottom: 1.5rem;
}
.so-calc-rows { display: flex; flex-direction: column; gap: 0; }
.so-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(26,58,92,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.so-calc-label { color: white; font-weight: 600; }
.so-calc-sub { color: var(--hubpro-steel); font-size: 12px; display: block; }
.so-calc-amount {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--hubpro-orange);
}
.so-calc-divider {
  border-top: 2px solid rgba(255,106,0,0.3);
  padding-top: 1rem; margin-top: 0.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.so-calc-total-label { color: white; font-weight: 700; font-size: 1.125rem; }
.so-calc-total-amount {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  color: var(--hubpro-orange);
}
.so-calc-note {
  color: var(--hubpro-steel);
  font-size: 12px; text-align: center; margin-top: 0.5rem;
}
.so-calc-banner {
  margin-top: 1.5rem;
  background-color: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 0.5rem;
  padding: 1rem; text-align: center;
}
.so-calc-banner p { color: var(--hubpro-orange); font-weight: 600; font-size: 14px; }

/* ── STATS BAR ──────────────────────────────────────────────── */
.so-stats-bar {
  background-color: var(--hubpro-navy-light);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.so-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .so-stats-grid { grid-template-columns: repeat(4, 1fr); } }

.so-stat { text-align: center; }
.so-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--hubpro-orange);
  line-height: 1.1;
}
.so-stat-label {
  color: var(--hubpro-steel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ── SHARED SECTION PATTERNS ────────────────────────────────── */
.so-section-navy { background-color: var(--hubpro-navy); padding: 6rem 0; }
.so-section-navy-light { background-color: var(--hubpro-navy-light); padding: 6rem 0; }

.so-section-header { text-align: center; margin-bottom: 4rem; }
.so-overline {
  display: block;
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--hubpro-orange);
  margin-bottom: 1rem;
}
.so-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700; color: white;
  margin-bottom: 1rem; line-height: 1.1;
}
.so-h2 span { color: var(--hubpro-orange); }
.so-section-sub {
  color: var(--hubpro-steel);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── COMMISSION BREAKDOWN ───────────────────────────────────── */
.so-commission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .so-commission-grid { grid-template-columns: repeat(2, 1fr); } }

.so-comm-card {
  background-color: var(--hubpro-navy-light);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.so-comm-orange { border: 1px solid rgba(255,106,0,0.2); }
.so-comm-orange:hover { border-color: rgba(255,106,0,0.4); }
.so-comm-green { border: 1px solid rgba(34,197,94,0.2); }
.so-comm-green:hover { border-color: rgba(34,197,94,0.4); }

.so-comm-head {
  padding: 2rem;
}
.so-comm-head-orange {
  background: linear-gradient(to right, rgba(255,106,0,0.2), transparent);
  border-bottom: 1px solid rgba(255,106,0,0.2);
}
.so-comm-head-green {
  background: linear-gradient(to right, rgba(34,197,94,0.2), transparent);
  border-bottom: 1px solid rgba(34,197,94,0.2);
}

.so-comm-icon-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.so-comm-icon-orange {
  width: 3rem; height: 3rem;
  background-color: rgba(255,106,0,0.2);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.so-comm-icon-green {
  width: 3rem; height: 3rem;
  background-color: rgba(34,197,94,0.2);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.so-comm-tag-orange {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--hubpro-orange);
}
.so-comm-tag-green {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--hubpro-green);
}
.so-comm-title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: white; }
.so-comm-subtitle { color: var(--hubpro-steel); margin-top: 0.5rem; }

.so-comm-body { padding: 2rem; }
.so-comm-big-orange {
  font-family: var(--font-display);
  font-size: 3.75rem; font-weight: 700;
  color: var(--hubpro-orange);
  display: block; text-align: center;
}
.so-comm-big-green {
  font-family: var(--font-display);
  font-size: 3.75rem; font-weight: 700;
  color: var(--hubpro-green);
  display: block; text-align: center;
}
.so-comm-per {
  color: var(--hubpro-steel);
  font-size: 1.125rem; display: block;
  text-align: center; margin-top: 0.25rem; margin-bottom: 1.5rem;
}
.so-comm-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.so-comm-list li { display: flex; align-items: center; gap: 0.75rem; color: #d1d5db; font-size: 15px; }
.so-comm-check { color: var(--hubpro-orange); flex-shrink: 0; }

.so-plan-row {
  display: flex; justify-content: space-between; align-items: center;
  background-color: rgba(26,58,92,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.5rem; padding: 1rem; margin-bottom: 0.75rem;
}
.so-plan-name { color: white; font-weight: 500; }
.so-plan-price { color: var(--hubpro-steel); }
.so-plan-free { color: var(--hubpro-green); font-weight: 600; }

/* ── WHY SELL HUBPRO ────────────────────────────────────────── */
.so-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .so-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .so-why-grid { grid-template-columns: repeat(4, 1fr); } }

.so-why-card {
  background-color: rgba(26,58,92,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: border-color 0.3s;
}
.so-why-card:hover { border-color: rgba(255,106,0,0.2); }
.so-why-icon {
  width: 3.5rem; height: 3.5rem;
  background-color: rgba(255,106,0,0.1);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color 0.3s;
}
.so-why-card:hover .so-why-icon { background-color: rgba(255,106,0,0.2); }
.so-why-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.so-why-desc { color: var(--hubpro-steel); font-size: 14px; line-height: 1.7; }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.so-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .so-how-grid { grid-template-columns: repeat(3, 1fr); } }

.so-step { position: relative; text-align: center; padding: 2rem; }
.so-step-connector {
  display: none;
  position: absolute;
  top: 5rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255,106,0,0.3), transparent);
  z-index: 0;
}
@media (min-width: 768px) { .so-step-connector { display: block; } }

.so-step-icon-box {
  width: 5rem; height: 5rem;
  background-color: rgba(255,106,0,0.1);
  border: 2px solid rgba(255,106,0,0.3);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative; z-index: 1;
}
.so-step-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: rgba(255,106,0,0.2);
  display: block; margin-bottom: 0.5rem; line-height: 1;
}
.so-step-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.so-step-desc { color: var(--hubpro-steel); line-height: 1.7; }

/* ── EARNINGS SCENARIOS ─────────────────────────────────────── */
.so-earnings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) { .so-earnings-grid { grid-template-columns: repeat(3, 1fr); } }

.so-tier {
  background-color: rgba(26,58,92,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.so-tier.featured {
  border-color: rgba(255,106,0,0.4);
  box-shadow: 0 0 0 1px rgba(255,106,0,0.2);
  transform: scale(1.05);
}
.so-tier-badge {
  display: inline-block;
  background-color: var(--hubpro-orange);
  color: white;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 9999px;
  margin-bottom: 1rem;
}
.so-tier-level { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.so-tier-monthly {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  display: block; margin: 1.5rem 0 0.25rem;
}
.so-tier-period { color: var(--hubpro-steel); font-size: 14px; display: block; margin-bottom: 1.5rem; }
.so-tier-yearly-box {
  background-color: rgba(33,71,110,0.6);
  border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem;
}
.so-tier-yearly { color: white; font-weight: 600; font-size: 1.125rem; display: block; }
.so-tier-yearly-sub { color: var(--hubpro-steel); font-size: 12px; }
.so-tier-sales { color: var(--hubpro-steel); font-size: 14px; }
.c-steel  { color: var(--hubpro-steel); }
.c-orange { color: var(--hubpro-orange); }
.c-green  { color: var(--hubpro-green); }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.so-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .so-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.so-testimonial {
  background-color: var(--hubpro-navy-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s;
}
.so-testimonial:hover { border-color: rgba(255,106,0,0.2); }

.so-stars { display: flex; gap: 4px; margin-bottom: 1rem; }
.so-quote { color: #d1d5db; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.so-t-footer { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1rem; }
.so-agent-name { color: white; font-weight: 600; display: block; }
.so-agent-role { color: var(--hubpro-steel); font-size: 14px; display: block; }
.so-agent-earnings { color: var(--hubpro-orange); font-family: var(--font-display); font-weight: 700; font-size: 14px; display: block; margin-top: 0.5rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.so-faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.so-faq-item {
  background-color: rgba(26,58,92,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.3s;
}
.so-faq-item:hover { border-color: rgba(255,106,0,0.2); }
.so-faq-q { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.so-faq-a { color: var(--hubpro-steel); line-height: 1.7; }

/* ── FINAL CTA ──────────────────────────────────────────────── */
.so-cta-section { background-color: var(--hubpro-navy); padding: 7rem 0; text-align: center; }
.so-cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700; color: white;
  margin-bottom: 1.5rem; line-height: 1.1;
}
.so-cta-h2 span { color: var(--hubpro-orange); }
.so-cta-desc { color: var(--hubpro-steel); font-size: 1.25rem; max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.7; }
.so-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 3rem;
  background-color: var(--hubpro-orange); color: white;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; letter-spacing: 0.025em;
  border-radius: 0.5rem; text-decoration: none;
  transition: all 0.3s;
}
.so-cta-btn:hover { background-color: var(--hubpro-orange-dark); box-shadow: 0 20px 40px rgba(255,106,0,0.25); }
.so-cta-note { color: var(--hubpro-steel); font-size: 14px; margin-top: 1.5rem; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.so-footer { background-color: var(--hubpro-navy-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.so-footer-inner { padding: 4rem 0 2rem; }
.so-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px)  { .so-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .so-footer-grid { grid-template-columns: repeat(4, 1fr); } }

.so-footer-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin-bottom: 1rem; }
.so-footer-logo-icon { width: 32px; height: 32px; background-color: var(--hubpro-orange); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: white; font-size: 14px; flex-shrink: 0; }
.so-footer-logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: white; letter-spacing: 0.05em; }
.so-footer-desc { color: var(--hubpro-steel); font-size: 14px; line-height: 1.7; }
.so-footer-heading { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.so-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.so-footer-links a { font-size: 14px; color: var(--hubpro-steel); text-decoration: none; transition: color 0.2s; display: block; }
.so-footer-links a:hover { color: var(--hubpro-orange); }
.so-footer-links li { font-size: 14px; color: var(--hubpro-steel); }
.so-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
@media (min-width: 768px) { .so-footer-bottom { flex-direction: row; justify-content: space-between; } }
.so-footer-copy { font-size: 12px; color: var(--hubpro-steel); }
.so-footer-badges { display: flex; align-items: center; gap: 1.5rem; }
.so-footer-badge { font-size: 12px; color: var(--hubpro-steel); display: flex; align-items: center; gap: 0.5rem; }
.so-footer-pulse { width: 8px; height: 8px; background-color: var(--hubpro-green); border-radius: 50%; animation: so-pulse 2s infinite; }
@keyframes so-pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
