/*
Theme Name: Spininfluence 2027 Realtor Series
Theme URI: https://www.spininfluenceconsulting.com
Author: Spininfluence Management Consulting Limited
Author URI: https://www.spininfluenceconsulting.com
Description: Single-page executive sales and learning platform for the 2027 Realtor Competitive Advantage Series™ by Spininfluence Management Consulting Limited.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spinfluence-2027
*/

:root {
  --bg-white: #FFFFFF;
  --bg-light: #F5F8FC;
  --navy: #102B50;
  --navy-dark: #091B34;
  --fb-blue: #1877F2;
  --fb-blue-hover: #125EC4;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-subtle: #E2E8F0;
  --gold-accent: #D9A441;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 68px; /* Space for mobile sticky bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Attention-grabbing button animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 25px -5px rgba(24, 119, 242, 0.45), 0 0 0 0 rgba(24, 119, 242, 0.45);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 14px 30px -5px rgba(24, 119, 242, 0.6), 0 0 0 8px rgba(24, 119, 242, 0);
    transform: translateY(-2px);
  }
}

@keyframes sheenSweep {
  0% {
    left: -120%;
  }
  45%, 100% {
    left: 160%;
  }
}

.btn-primary-anim {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fb-blue);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  animation: pulseGlow 2.8s infinite ease-in-out;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-primary-anim::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-22deg);
  animation: sheenSweep 3.4s infinite ease-in-out;
  pointer-events: none;
}

.btn-primary-anim:hover {
  background: var(--fb-blue-hover);
  transform: translateY(-2px) scale(1.015);
}

.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: var(--bg-light);
}

/* Announcement Bar */
.announcement-bar {
  background: var(--navy-dark);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  text-align: center;
  letter-spacing: 0.01em;
}

.announcement-bar span.badge {
  background: var(--fb-blue);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-right: 8px;
  font-weight: 700;
}

/* Sticky White Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(16, 43, 80, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  height: 52px;
  background: #FFFFFF;
  padding: 4px 8px;
  border-radius: 6px;
}

.brand-logo-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fb-blue);
}

.header-cta {
  padding: 11px 18px;
  font-size: 0.88rem;
}

/* Hero Banner with Training Room Background & Blue Overlay */
.hero-banner {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 68px 0 78px;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 29, 58, 0.90) 0%,
    rgba(16, 43, 80, 0.82) 52%,
    rgba(24, 119, 242, 0.48) 100%
  );
  z-index: 1;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.eyebrow-light {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 14px;
}

.eyebrow-dark {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fb-blue);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.15rem, 4.3vw, 3.35rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-title .accent-blue {
  color: #60A5FA;
  display: block;
  margin-top: 4px;
}

.hero-lead {
  font-size: 1.05rem;
  color: #E2E8F0;
  margin-bottom: 14px;
  max-width: 600px;
}

.price-callout-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0;
  backdrop-filter: blur(8px);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.price-strike {
  font-size: 1rem;
  color: #CBD5E1;
  text-decoration: line-through;
}

.price-launch {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.save-pill {
  background: var(--fb-blue);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.trust-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  font-size: 0.86rem;
  color: #F1F5F9;
}

@media (min-width: 640px) {
  .trust-pills {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-pill-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60A5FA;
  flex-shrink: 0;
}

/* 6 Standing Course Mockups Arrangement */
.hero-mockups-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.hero-mockup-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 24px rgba(9, 27, 52, 0.28);
  transition: transform 0.25s ease;
}

.hero-mockup-card:hover {
  transform: translateY(-5px);
}

.hero-mockup-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}

/* Sections */
.section-pad {
  padding: 76px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-light {
  background: var(--bg-light);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-navy {
  background: var(--navy);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.section-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-heading.light {
  color: #FFFFFF;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 24px;
}

/* Problem Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--navy);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(16, 43, 80, 0.04);
}

.card-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--fb-blue);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Course Sections */
.course-block {
  padding: 68px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .course-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 48px;
  }
  .course-grid.reverse .course-visual {
    order: 2;
  }
  .course-grid.reverse .course-details {
    order: 1;
  }
}

.course-visual {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(16, 43, 80, 0.07);
  text-align: center;
}

.course-visual img {
  margin: 0 auto;
  max-height: 420px;
  width: auto;
  object-fit: contain;
}

.course-badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--navy);
  border: 1px solid #CBD5E1;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.course-title {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.course-subtitle {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fb-blue);
  margin-bottom: 14px;
}

.course-question {
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-light);
  border-left: 3px solid var(--fb-blue);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 18px 0;
}

@media (min-width: 640px) {
  .course-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.course-meta-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.course-meta-box ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.course-meta-box li {
  margin-bottom: 4px;
}

.course-footer-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.course-footer-note strong {
  color: var(--navy);
}

/* Process 6-stage & Why Choose 8-pillar grids */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(16, 43, 80, 0.04);
}

.info-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Pricing & Payment */
.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 45px rgba(16, 43, 80, 0.1);
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 860px) {
  .payment-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.bank-box {
  background: var(--bg-light);
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  padding: 26px;
}

.bank-row {
  margin-bottom: 14px;
}

.bank-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.bank-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
}

.form-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(16, 43, 80, 0.05);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #FFFFFF;
}

.form-control:focus {
  outline: none;
  border-color: var(--fb-blue);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}

/* FAQ Accordion */
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: none;
  padding: 18px 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #E2E8F0;
  padding: 52px 0 36px;
  font-size: 0.9rem;
}

.footer-logo-box {
  display: inline-block;
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-logo-box img {
  height: 44px;
  width: auto;
}

/* Floating WhatsApp & Mobile Sticky Bottom Bar */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 920;
  background: #16A34A;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.38);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 24px;
  }
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 910;
  background: var(--navy);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* Policy Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 27, 52, 0.72);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  color: var(--text-main);
  max-width: 640px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
