/* ============================================================
   CLEARPEAK SERVICES — PeakCheck Website CSS
   Brand Colors: #1B6BBF (Blue) | #F5A623 (Gold) | #1A1A2E (Dark)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --blue:       #1B6BBF;
  --blue-dark:  #0F4A8A;
  --blue-light: #2D87D8;
  --gold:       #F5A623;
  --gold-dark:  #D4891A;
  --dark:       #0D0F1A;
  --dark-mid:   #141626;
  --dark-card:  #1A1D30;
  --grey-light: #F4F6F9;
  --grey-mid:   #CBD5E1;
  --white:      #FFFFFF;
  --text-muted: #94A3B8;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 32px rgba(27,107,191,0.18);
  --shadow-gold:0 4px 32px rgba(245,166,35,0.22);
  /* Theme tokens */
  --bg-body:       var(--dark);
  --bg-section:    #080A14;
  --bg-section-2:  linear-gradient(135deg, #0F1527 0%, #0D0F1A 100%);
  --bg-card:       var(--dark-card);
  --text-primary:  var(--white);
  --text-body:     var(--grey-mid);
  --border-card:   rgba(255,255,255,0.06);
  --nav-link:      rgba(255,255,255,0.75);
  --nav-link-hover:var(--white);
  --footer-bg:     #060810;
  --footer-border: rgba(255,255,255,0.06);
}

/* ── LIGHT THEME ──────────────────────────────────────────────── */
body.light-theme {
  --bg-body:       #F7F8FC;
  --bg-section:    #EEF1F7;
  --bg-section-2:  linear-gradient(135deg, #E8EDF8 0%, #F0F3FA 100%);
  --bg-card:       #FFFFFF;
  --text-primary:  #0F172A;
  --text-body:     #475569;
  --text-muted:    #64748B;
  --border-card:   rgba(27,107,191,0.12);
  --nav-link:      rgba(15,23,42,0.70);
  --nav-link-hover:#1B6BBF;
  --footer-bg:     #E8EDF8;
  --footer-border: rgba(27,107,191,0.15);
  --shadow:        0 4px 32px rgba(27,107,191,0.12);
}

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

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

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: all 0.4s ease;
}

/* Top utility bar */
.nav-topbar {
  width: 100%;
  max-height: 37px;
  background: rgba(5,8,20,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s ease;
  overflow: hidden;
}
body.light-theme .nav-topbar {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(27,107,191,0.14);
}
body.light-theme #navbar {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(15,23,42,0.06);
}
body.light-theme #navbar .nav-main {
  background: rgba(255,255,255,0.42);
  border-bottom: 1px solid rgba(27,107,191,0.08);
}
.nav-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* CRM Link */
.crm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  padding: 4px 14px 4px 10px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
  transition: all 0.25s ease;
}
.crm-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(245,166,35,0.1);
}
body.light-theme .crm-link {
  color: #0F172A;
  border-color: rgba(27,107,191,0.28);
  background: rgba(27,107,191,0.06);
}
body.light-theme .crm-link:hover {
  color: #1B6BBF;
  border-color: var(--blue);
  background: rgba(27,107,191,0.12);
}

/* Main nav row */
.nav-main {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.4s ease;
}
#navbar.scrolled .nav-main { height: 60px; }
#navbar.scrolled {
  background: rgba(13,15,26,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
#navbar.scrolled .nav-topbar {
  background: rgba(0,0,0,0.55);
  border-bottom-color: rgba(255,255,255,0.06);
}
body.light-theme #navbar.scrolled {
  background: rgba(247,248,252,0.97);
  box-shadow: 0 2px 30px rgba(27,107,191,0.1);
}
body.light-theme #navbar.scrolled .nav-topbar {
  background: rgba(27,107,191,0.06);
  border-bottom-color: rgba(27,107,191,0.12);
}

/* ── THEME TOGGLE BUTTON ─────────────────────────────────────── */
#themeToggle {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 4px 12px 4px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-family: 'Barlow', sans-serif;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
  height: 28px;
}
#themeToggle .theme-icon { font-size: 0.9rem; line-height: 1; }
#themeToggle:hover {
  background: rgba(245,166,35,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
body.light-theme #themeToggle {
  color: #0F172A;
  border-color: rgba(27,107,191,0.28);
  background: rgba(27,107,191,0.06);
}
body.light-theme #themeToggle:hover {
  background: rgba(27,107,191,0.12);
  border-color: var(--blue);
  color: #1B6BBF;
}
.nav-logo {
  margin-top: 8px;
}
.nav-logo img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
body.light-theme .nav-links a {
  color: rgba(15,23,42,0.72);
}
body.light-theme .nav-links a:hover {
  color: var(--blue);
}
body.light-theme .nav-links a::after {
  background: var(--blue);
}
body.light-theme .nav-links a:hover::after {
  transform: scaleX(1);
}
body.light-theme .hamburger span {
  background: var(--dark);
}
/* In light theme + scrolled: switch to dark text */
body.light-theme #navbar.scrolled .nav-links a {
  color: rgba(15,23,42,0.75);
}
body.light-theme #navbar.scrolled .nav-links a:hover {
  color: var(--blue);
}

body.light-theme #contact {
  background: linear-gradient(135deg, #0D1A32 0%, #0A1525 50%, #0D0F1A 100%);
}
body.light-theme #contact .contact-info h2,
body.light-theme #contact .contact-info p,
body.light-theme #contact .contact-bullets,
body.light-theme #contact .contact-bullet,
body.light-theme #contact .form-group label {
  color: var(--white);
}
body.light-theme #contact .contact-info h2 span {
  color: var(--gold);
}
body.light-theme #contact .form-group label span {
  color: rgba(255,255,255,0.7) !important;
}
body.light-theme #contact .contact-form {
  background: rgba(255,255,255,0.97);
}
body.light-theme #contact .contact-form .form-group label {
  color: #0F172A;
}
body.light-theme #contact .contact-form .form-group label span {
  color: #64748B !important;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.25s, transform 0.2s !important;
}
.btn-nav:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }
.btn-nav::after { display: none !important; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 5% 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D0F1A 0%, #101527 50%, #0F1E3A 100%);
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-image: url('../images/real-estate-market-growth-analysis-600nw-2691966915.webp');
  background-size: cover;
  background-position: center center;
  animation: heroBgDriftDark 30s ease-in-out infinite alternate;
  transform-origin: center;
  filter: brightness(0.34) saturate(0.72) contrast(1.02) hue-rotate(200deg);
  opacity: 0.95;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,15,26,0.92) 0%, rgba(13,15,26,0.70) 50%, rgba(13,15,26,0.88) 100%),
    radial-gradient(ellipse 65% 75% at 12% 50%, rgba(27,107,191,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 80%, rgba(245,166,35,0.10) 0%, transparent 60%);
  animation: heroOverlayPulseDark 9s ease-in-out infinite;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,107,191,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,107,191,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift { from { transform: translateY(0); } to { transform: translateY(60px); } }

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(27,107,191,0.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  bottom: 0; left: -100px;
  z-index: 1;
  animation: glowPulse 8s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes heroBgDriftDark {
  0%   { transform: scale(1.08) translate(0px, 0px); }
  33%  { transform: scale(1.11) translate(-1.2%, -0.5%); }
  66%  { transform: scale(1.10) translate(0.8%, -1%); }
  100% { transform: scale(1.13) translate(-1.5%, 0.5%); }
}

@keyframes heroOverlayPulseDark {
  0%, 100% { opacity: 0.84; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-content .tag { animation: fadeUp 0.6s ease both; }
.hero-content h1 { animation: fadeUp 0.6s 0.15s ease both; color: var(--white); }
.hero-content h1 span { color: var(--gold); }
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--grey-mid);
  max-width: 620px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  animation: fadeUp 0.6s 0.45s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  text-decoration: none; cursor: pointer;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }

.hero-trust {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeUp 0.6s 0.6s ease both;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Hero stat badges */
.hero-stats {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeLeft 0.8s 0.7s ease both;
}
@keyframes fadeLeft { from { opacity: 0; transform: translateY(-50%) translateX(40px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
.stat-badge {
  background: rgba(26, 29, 48, 0.85);
  border: 1px solid rgba(27,107,191,0.3);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s;
}
.stat-badge:hover { transform: translateX(-8px); border-color: var(--gold); }
.stat-badge .num,
.stat-badge .n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-badge .lbl,
.stat-badge .l {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ── SECTIONS ────────────────────────────────────────────────── */
section { padding: 100px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { margin-top: 1rem; font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin-inline: auto; margin-top: 1rem; }

/* ── PAIN SECTION ────────────────────────────────────────────── */
#pain { background: var(--bg-section); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(27,107,191,0.3); }
.pain-card:hover::before { transform: scaleX(1); }
.pain-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pain-card h3 { font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.75rem; }
.pain-card p { color: var(--text-body); font-size: 0.95rem; }

/* ── INTRO SECTION ───────────────────────────────────────────── */
#intro {
  background: var(--bg-section-2);
  position: relative;
  overflow: hidden;
}
#intro::before {
  content: 'PeakCheck';
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30vw;
  font-weight: 900;
  color: rgba(27,107,191,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-text h2 span { color: var(--gold); }
.intro-text p { color: var(--text-body); margin-top: 1.2rem; font-size: 1.05rem; }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-item {
  background: rgba(27,107,191,0.08);
  border: 1px solid rgba(27,107,191,0.2);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s;
}
.stat-item:hover { background: rgba(27,107,191,0.15); border-color: var(--blue); }
.stat-item .n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 900;
  color: var(--gold); display: block;
}
.stat-item .l { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.intro-visual {
  position: relative;
}
.score-card {
  background: var(--bg-card);
  border: 1px solid rgba(27,107,191,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.score-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.score-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem; font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.score-big span { font-size: 1.4rem; color: var(--text-muted); }
.score-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; margin-bottom: 1.5rem; }
.score-bar-list { display: flex; flex-direction: column; gap: 10px; }
.score-row { display: flex; flex-direction: column; gap: 4px; }
.score-row-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }
.score-row-label strong { color: var(--text-primary); }
.bar-track {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bar-fill.gold { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.bar-fill.green { background: linear-gradient(90deg, #0E9C52, #16C060); }

/* ── FRAMEWORK ───────────────────────────────────────────────── */
#framework {
  background: var(--bg-body);
  position: relative;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.fw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}
.fw-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,107,191,0.12), rgba(245,166,35,0.06));
  opacity: 0;
  transition: opacity 0.35s;
}
.fw-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(27,107,191,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow);
}
.fw-card:hover::after { opacity: 1; }
.fw-num {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.fw-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  position: relative; z-index: 1;
}
.fw-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
  position: relative; z-index: 1;
}
.fw-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.fw-expand {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
  position: relative; z-index: 1;
  transition: gap 0.25s;
}
.fw-card:hover .fw-expand { gap: 10px; }

/* Framework modal */
.fw-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.fw-modal-overlay.active { opacity: 1; pointer-events: all; }
.fw-modal {
  background: var(--bg-card);
  border: 1px solid rgba(27,107,191,0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 540px; width: 90%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
  position: relative;
}
.fw-modal-overlay.active .fw-modal { transform: translateY(0) scale(1); }
.fw-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.fw-modal-close:hover { color: var(--white); }
.fw-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.fw-modal-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.fw-modal-num {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.fw-modal h3 { font-family: 'Barlow', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.fw-modal p { color: var(--text-body); margin-bottom: 1rem; font-size: 0.95rem; }
.fw-modal ul { padding-left: 1.2rem; color: var(--text-muted); font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; }
.fw-modal ul li { color: var(--grey-mid); }
.fw-how-helps { margin-top: 1.2rem; padding: 1rem; background: rgba(27,107,191,0.1); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.fw-how-helps strong { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.fw-how-helps p { color: var(--grey-mid); font-size: 0.9rem; margin: 0; }
body.light-theme .fw-modal {
  background: #FFFFFF;
  border-color: rgba(27,107,191,0.16);
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}
body.light-theme .fw-modal-close {
  color: #64748B;
}
body.light-theme .fw-modal-close:hover {
  color: #0F172A;
}
body.light-theme .fw-modal-num {
  color: var(--gold-dark);
}
body.light-theme .fw-modal h3 {
  color: #0F172A;
}
body.light-theme .fw-modal p {
  color: #475569;
}
body.light-theme .fw-modal ul {
  color: #475569;
}
body.light-theme .fw-modal ul li {
  color: #475569;
}
body.light-theme .fw-modal ul li::marker {
  color: rgba(27,107,191,0.45);
}
body.light-theme .fw-how-helps {
  background: rgba(27,107,191,0.08);
  border-left-color: var(--gold);
}
body.light-theme .fw-how-helps strong {
  color: #B87412;
}
body.light-theme .fw-how-helps p {
  color: #334155;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
#process { background: var(--bg-section); }
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 0.5rem;
}
.steps-container::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 900;
  box-shadow: 0 0 0 4px rgba(27,107,191,0.15), var(--shadow);
  transition: transform 0.3s;
}
.step:hover .step-circle { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(27,107,191,0.2), var(--shadow); }
.step h3 { color: var(--gold); margin-bottom: 0.7rem; font-size: 1.2rem; }
.step p { font-size: 0.88rem; color: var(--text-body); }

/* ── WHO IT'S FOR ────────────────────────────────────────────── */
#personas {
  background: var(--bg-section-2);
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.persona-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.persona-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(27,107,191,0.4); }
.persona-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.persona-quote {
  font-style: italic;
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(27,107,191,0.05);
  border-radius: var(--radius);
  border-left: 2px solid var(--blue);
}
.persona-card p { font-size: 0.9rem; color: var(--text-body); }

/* ── SOCIAL PROOF ─────────────────────────────────────────────── */
#proof { background: var(--bg-body); }
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.proof-stat {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(27,107,191,0.2);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.proof-stat:hover { border-color: var(--gold); transform: translateY(-4px); }
.proof-stat .n,
.proof-stat .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem; font-weight: 900;
  color: var(--gold); display: block; line-height: 1;
}
.proof-stat .l,
.proof-stat .lbl {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-top: 6px;
  display: block;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(27,107,191,0.25);
  line-height: 1;
}
.testi-card blockquote {
  font-size: 1rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}
.testi-card cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.testi-card cite span { color: var(--gold); display: block; font-size: 0.75rem; }

/* ── CTA / FORM ──────────────────────────────────────────────── */
#contact {
  background: linear-gradient(135deg, #0D1A32 0%, #0A1525 50%, #0D0F1A 100%);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,107,191,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 span { color: var(--gold); }
.contact-info p { color: var(--text-muted); margin-top: 1rem; font-size: 1.05rem; margin-bottom: 2rem; }
.contact-bullets { display: flex; flex-direction: column; gap: 1rem; }
.contact-bullet {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--grey-mid);
}
.contact-bullet .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(27,107,191,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input, .form-group select {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Barlow', sans-serif;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-group input::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-group input:focus, .form-group select:focus {
  border-color: var(--blue);
  background: rgba(27,107,191,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-status {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-status--loading {
  background: rgba(27,107,191,0.10);
  border: 1px solid rgba(27,107,191,0.22);
  color: var(--blue-dark);
}
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px;
  border-radius: 8px;
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.btn-submit:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-submit:disabled {
  opacity: 0.82;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.btn-submit-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid rgba(26,15,0,0.25);
  border-top-color: rgba(26,15,0,0.85);
  display: none;
  animation: btnSpin 0.8s linear infinite;
}
.btn-submit.is-loading .btn-submit-spinner {
  display: inline-block;
}
.btn-submit.is-loading .btn-submit-text {
  opacity: 0.95;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .footer-logo img { height: 32px; }
footer .footer-links,
footer .footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-menu li { margin: 0; }
footer .footer-menu a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer .footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer .footer-menu a:hover,
footer .footer-links a:hover { color: var(--gold); }
footer .footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
footer .footer-copy .credit-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer .footer-copy .credit-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}
body.light-theme footer .footer-copy .credit-link {
  color: var(--gold-dark);
}
body.light-theme footer .footer-copy .credit-link:hover {
  color: var(--gold);
}
@media (max-width: 720px) {
  footer .footer-copy {
    align-items: center;
    text-align: center;
  }
}
@media (min-width: 721px) {
  footer .footer-copy {
    align-items: flex-end;
    text-align: right;
    margin-right: 70px; /* Prevent overlap with the floating chatbot button */
  }
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes countUp { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── SCROLL INDICATOR ─────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s 1.2s ease both;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBob 1.5s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 16px; opacity: 0.4; }
}
.scroll-label { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

body.light-theme #hero {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF3FB 55%, #E8EDF8 100%);
}
body.light-theme .hero-bg {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF3FB 55%, #E8EDF8 100%);
  overflow: hidden;
}
body.light-theme .hero-bg::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-image: url('../images/real-estate-market-growth-analysis-600nw-2691966915.webp');
  background-size: cover;
  background-position: center center;
  animation: heroBgDriftLight 30s ease-in-out infinite alternate;
  transform-origin: center;
  filter: brightness(1.12) saturate(0.84) contrast(0.98);
  opacity: 0.35;
}
body.light-theme .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(248,250,255,0.74) 0%, rgba(238,243,251,0.50) 52%, rgba(232,237,248,0.78) 100%),
    radial-gradient(ellipse 65% 75% at 12% 50%, rgba(27,107,191,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 80%, rgba(245,166,35,0.06) 0%, transparent 60%);
  animation: heroOverlayPulseLight 9s ease-in-out infinite;
}
body.light-theme .hero-grid {
  background-image:
    linear-gradient(rgba(27,107,191,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,107,191,0.07) 1px, transparent 1px);
}
body.light-theme .hero-glow {
  background: radial-gradient(circle, rgba(27,107,191,0.12) 0%, transparent 70%);
}
body.light-theme .hero-glow-2 {
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
}
body.light-theme .hero-content h1 {
  color: #0F172A;
}
body.light-theme .hero-sub {
  color: #475569;
}
body.light-theme .hero-content .tag {
  background: rgba(27,107,191,0.06);
  color: var(--blue-dark);
  border-color: rgba(27,107,191,0.28);
}
body.light-theme .btn-secondary {
  color: #0F172A;
  border-color: rgba(27,107,191,0.20);
  background: rgba(255,255,255,0.76);
}
body.light-theme .btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(27,107,191,0.08);
}
body.light-theme .hero-trust {
  color: #475569;
}
body.light-theme .trust-item {
  color: #64748B;
}
body.light-theme .trust-dot {
  background: var(--blue);
}
body.light-theme .stat-badge {
  background: rgba(255,255,255,0.88);
  border-color: rgba(27,107,191,0.14);
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
}
body.light-theme .stat-badge:hover {
  border-color: rgba(245,166,35,0.50);
}
body.light-theme .stat-badge .lbl,
body.light-theme .stat-badge .l {
  color: #64748B;
}
body.light-theme .scroll-mouse {
  border-color: rgba(15,23,42,0.22);
}
body.light-theme .scroll-label {
  color: rgba(15,23,42,0.35);
}
body.light-theme .scroll-mouse::before {
  background: var(--blue);
}

@keyframes heroBgDriftLight {
  0%   { transform: scale(1.05) translate(0px, 0px); }
  33%  { transform: scale(1.08) translate(-1.1%, -0.5%); }
  66%  { transform: scale(1.07) translate(0.8%, -1%); }
  100% { transform: scale(1.10) translate(-1.3%, 0.5%); }
}

@keyframes heroOverlayPulseLight {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-stats { display: none; }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .steps-container::before { display: none; }
  .persona-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: repeat(3,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-topbar-inner {
    justify-content: space-between;
  }
  .nav-logo img {
    height: 40px;
  }
  .nav-main {
    height: 60px;
  }
  #navbar.scrolled .nav-topbar {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
    pointer-events: none;
  }
  #navbar.scrolled .nav-main {
    height: 54px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13,15,26,0.97);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  body.light-theme .nav-links { background: rgba(247,248,252,0.98); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .framework-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 70px 5%; }
  footer { flex-direction: column; text-align: center; padding-bottom: 140px; }
  footer .footer-menu {
    gap: 1rem 1.8rem;
    justify-content: center;
    padding: 0.5rem 0;
  }
}

/* ============================================================
   CHATBOT WIDGET STYLING
   ============================================================ */
.cp-chatbot-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  cursor: pointer;
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold), 0 8px 24px rgba(245,166,35,0.25);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s, box-shadow 0.3s;
}
.cp-chatbot-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background: var(--gold-dark);
  box-shadow: 0 12px 28px rgba(245,166,35,0.4);
}
.cp-chatbot-btn svg {
  transition: transform 0.3s ease;
}
.cp-chatbot-btn:hover svg {
  transform: rotate(8deg);
}
.cp-chatbot-btn-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16C060;
  border: 2px solid var(--gold);
  animation: cpDotPulse 2s infinite;
}
@keyframes cpDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 192, 96, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 192, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 192, 96, 0); }
}

.cp-chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  height: 520px;
  max-height: calc(100vh - 140px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), var(--shadow);
  z-index: 1901;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cp-chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.cp-chatbot-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cp-chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cp-chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cp-chatbot-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.cp-chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}
.cp-chatbot-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16C060;
  display: inline-block;
}
.cp-chatbot-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
  line-height: 0.6;
  transition: color 0.2s;
}
.cp-chatbot-close:hover {
  color: var(--white);
}

.cp-chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.02);
}
body.light-theme .cp-chatbot-body {
  background: rgba(27, 107, 191, 0.02);
}
.cp-chat-message {
  display: flex;
  max-width: 85%;
  animation: cpBubbleFadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes cpBubbleFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cp-chat-message.bot {
  align-self: flex-start;
}
.cp-chat-message.user {
  align-self: flex-end;
}
.cp-chat-bubble {
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cp-chat-message.bot .cp-chat-bubble {
  background: var(--bg-section);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  border-radius: 16px 16px 16px 4px;
}
.cp-chat-message.user .cp-chat-bubble {
  background: var(--blue);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
}

.cp-chatbot-replies {
  padding: 14px 20px;
  border-top: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-reply-btn {
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--blue-light);
  color: var(--blue-light);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
body.light-theme .cp-reply-btn {
  border-color: var(--blue);
  color: var(--blue);
}
.cp-reply-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 107, 191, 0.15);
}
body.light-theme .cp-reply-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.cp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  text-decoration: none;
  transition: all 0.25s;
}
.cp-cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* Typing Indicator Animation */
.cp-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
}
.cp-typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: cpTypingPulse 1.4s infinite ease-in-out both;
}
.cp-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.cp-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes cpTypingPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .cp-chatbot-window {
    bottom: 138px;
    right: 20px;
    left: 20px;
    width: auto;
    height: 440px;
    max-height: calc(100vh - 160px);
  }
  .cp-chatbot-btn {
    width: 48px;
    height: 42px;
    bottom: 80px;
    right: 20px;
  }
}

/* ── NEWSLETTER SUBSCRIPTION SECTION ─────────────────────────── */
.newsletter-sec {
  background: var(--dark-mid);
  border-top: 1px solid var(--footer-border);
  padding: 3.5rem 5%;
}
.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.newsletter-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
}
#newsletterForm {
  flex-grow: 1;
  max-width: 480px;
  width: 100%;
}
.newsletter-form-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.newsletter-form-group input {
  flex: 1;
  background: var(--bg-body);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}
.newsletter-form-group input:focus {
  border-color: var(--blue);
  background: rgba(27, 107, 191, 0.07);
}
.btn-subscribe-submit {
  background: var(--gold);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-subscribe-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-subscribe-submit:disabled {
  opacity: 0.82;
  cursor: wait;
}
.btn-spinner {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 2px solid rgba(26,15,0,0.25);
  border-top-color: rgba(26,15,0,0.85);
  display: none;
  animation: btnSpin 0.8s linear infinite;
}
.btn-subscribe-submit.is-loading .btn-spinner {
  display: inline-block;
}
.newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 8px 12px;
}
.newsletter-status.success {
  background: rgba(22, 192, 96, 0.12);
  border: 1px solid rgba(22, 192, 96, 0.3);
  color: #16C060;
}
.newsletter-status.error {
  background: rgba(229, 62, 62, 0.12);
  border: 1px solid rgba(229, 62, 62, 0.3);
  color: #E53E3E;
}

/* ── LIGHT THEME COMPATIBILITY ───────────────────────────────── */
body.light-theme .newsletter-sec {
  background: #E8EDF8;
  border-top-color: rgba(27,107,191,0.15);
}
body.light-theme .newsletter-info h3 {
  color: #0F172A;
}
body.light-theme .newsletter-info p {
  color: #475569;
}
body.light-theme .newsletter-form-group input {
  background: #FFFFFF;
  border-color: rgba(27,107,191,0.2);
}
body.light-theme .newsletter-form-group input:focus {
  background: #FFFFFF;
  border-color: var(--blue);
}















