/* ===================================================
   THE MARKETING SYSTEMS COLLECTIVE – Design System
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Varela+Round&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --navy:        #0C1B33;
  --navy-light:  #1A2F4F;
  --navy-mid:    #1D2736;
  --orange:      #F9841A;
  --orange-hover:#e0740f;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --light-bg:    #EEF2F7;
  --text-dark:   #333333;
  --text-muted:  #666666;
  --text-light:  rgba(255,255,255,0.92);
  --border-light:#E0E6ED;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 4px 16px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.14);
  --glow-orange: 0 0 40px rgba(249,132,26,.15);
  --section-divider: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);

  /* Typography */
  --font-heading: 'Varela Round', sans-serif;
  --font-body:    'Manrope', sans-serif;

  /* Sizing */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 80px;
  --radius:  12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s var(--ease); }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ---------- Container ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
.subtitle { color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #e06a0a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  transition: left .5s var(--ease);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-hover) 0%, #c45e08 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,132,26,.4), var(--glow-orange);
}
.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-link {
  color: var(--orange);
  font-weight: 700;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s var(--ease);
}
.btn-link:hover { gap: 10px; }
.btn-link::after { content: '→'; }

/* ===================================================
   HEADER / NAV
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(12,27,51,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo img { height: 50px; }
.nav-main { display: flex; align-items: center; gap: 8px; }
.nav-main > li { position: relative; }
.nav-main > li > a {
  color: var(--text-light);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.nav-main > li > a:hover { background: rgba(255,255,255,.08); }
.nav-main > li > a .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  margin-top: -2px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s var(--ease);
  z-index: 1001;
}
.nav-main > li:hover > .dropdown,
.nav-main > li.dropdown-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text-dark);
  font-size: .88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .15s var(--ease);
}
.dropdown a:hover { background: var(--off-white); color: var(--orange); }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-right .btn {
  padding: 10px 24px;
  font-size: .85rem;
}
.social-icons { display: flex; gap: 8px; }
.social-icons a {
  width: 36px;
  height: 36px;
  background: #1877F2;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: transform .2s var(--ease);
}
.social-icons a.linkedin { background: #0A66C2; }
.social-icons a:hover { transform: scale(1.1); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Tagline bar */
.header-tagline {
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-top: -4px;
}

/* ===================================================
   HERO SECTIONS
   =================================================== */
.hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249,132,26,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26,47,79,.6) 0%, transparent 50%),
    linear-gradient(160deg, #080e1e 0%, var(--navy) 40%, var(--navy-mid) 100%);
  color: var(--text-light);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero h1 .text-orange { display: block; }
.hero p { max-width: 680px; margin: 0 auto 28px; font-size: 1.05rem; opacity: .9; }

/* Pill badges */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }
.pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pill .check { color: var(--orange); font-weight: 700; }

/* ===================================================
   SECTIONS
   =================================================== */
.section { padding: 80px 0; }
.section-dark {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(249,132,26,.08) 0%, transparent 50%),
    linear-gradient(160deg, #080e1e 0%, var(--navy) 40%, var(--navy-light) 100%);
  color: var(--text-light);
}
.section-light {
  background: linear-gradient(180deg, var(--off-white) 0%, #edf1f6 100%);
  position: relative;
}
.section-lighter { background: var(--light-bg); }
.section h2 { margin-bottom: 16px; }
.section .lead { max-width: 720px; margin: 0 auto 40px; text-align: center; font-size: 1.05rem; color: var(--text-muted); }
.section-dark .lead { color: rgba(255,255,255,.8); }

/* ===================================================
   CARDS
   =================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid rgba(0,0,0,.04);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover), var(--glow-orange);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  font-size: 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 16px; }

/* Service tier cards on homepage */
.tier-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--orange);
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.tier-card .tier-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tier-card .card-icon { color: var(--orange); }
.tier-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.tier-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }

/* Dashed border cards (System Check pain points) */
.card-dashed {
  border: 2px dashed var(--orange);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  background: rgba(249,132,26,.03);
}
.card-dashed .emoji { font-size: 36px; margin-bottom: 12px; }
.card-dashed h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-dashed p { color: var(--text-muted); font-size: .88rem; margin-bottom: 12px; }
.card-dashed .tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ===================================================
   GRIDS
   =================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }

/* ===================================================
   CHECKMARK LIST
   =================================================== */
.check-list { list-style: none; }
.check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Check bullets (inline style from homepage) */
.check-bullet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--orange);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 12px;
}
.check-bullet .check-icon { color: var(--orange); font-weight: 700; }
.section-light .check-bullet,
.section .check-bullet:not(.section-dark .check-bullet) {
  background: var(--white);
  border-color: var(--border-light);
  color: var(--text-dark);
}

/* ===================================================
   LOGO CAROUSEL (infinite scroll)
   =================================================== */
.logo-carousel-section { padding: 48px 0 40px; text-align: center; }
.logo-carousel-section .subtitle { margin-bottom: 24px; }

.logo-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  /* Edge fade masks */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 60s linear infinite;
}
.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-slide-set {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 32px;
}

.logo-slide-set img {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: all .4s var(--ease);
  flex-shrink: 0;
}
.logo-slide-set img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   SERVICES CAROUSEL
   =================================================== */
.services-carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform .5s var(--ease);
}
.carousel-track .card {
  min-width: 200px;
  max-width: 220px;
  flex-shrink: 0;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.carousel-track .card .card-icon { margin-bottom: 10px; font-size: 24px; }
.carousel-track .card h3 { font-size: .88rem; margin-bottom: 6px; }
.carousel-track .card h3 a { color: var(--text-dark); }
.carousel-track .card h3 a:hover { color: var(--orange); }
.carousel-track .card p { font-size: .78rem; margin-bottom: 10px; line-height: 1.5; }
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.carousel-dot.active { background: var(--orange); }
.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--card-shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
  cursor: pointer;
  border: none;
  z-index: 2;
  transition: all .2s var(--ease);
}
.carousel-arrow:hover { box-shadow: var(--card-shadow-hover); }
.carousel-arrow.prev { left: -4px; }
.carousel-arrow.next { right: -4px; }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials-section {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(249,132,26,.1) 0%, transparent 50%),
    linear-gradient(160deg, #060c1a 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0;
}
.testimonials-section h2 { text-align: center; margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,132,26,.4);
}
.testimonial-card .stars { color: #FFB400; margin-bottom: 12px; font-size: .9rem; }
.testimonial-card::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
  opacity: .5;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 8px;
}
.testimonial-card p { font-size: .88rem; opacity: .9; margin-bottom: 16px; font-style: italic; line-height: 1.7; }
.testimonial-card .google-icon { float: right; margin-top: -32px; }
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.testimonial-card .author-name { font-weight: 700; font-size: .9rem; color: var(--orange); }

/* ===================================================
   BLOG PREVIEW
   =================================================== */
.blog-preview { padding: 80px 0; text-align: center; }
.blog-preview h2 { margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.blog-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--card-shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--orange); }
.blog-card h3 a:hover { text-decoration: underline; }
.blog-card .meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }

/* ===================================================
   STEP / PROCESS SECTIONS
   =================================================== */
.step-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--orange);
}

/* Process numbered list */
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
}
.process-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   PRICING / PARTNERSHIP TIERS
   =================================================== */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 1.4rem; font-weight: 800; color: var(--orange); margin-bottom: 16px; }
.pricing-card .features { flex: 1; margin-bottom: 24px; }
.pricing-card .features li { padding: 6px 0; font-size: .88rem; padding-left: 20px; position: relative; }
.pricing-card .features li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ===================================================
   FAQ SECTION
   =================================================== */
.faq-section { padding: 80px 0; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.faq-question .toggle {
  font-size: 1.4rem;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-top: 16px;
}

/* ===================================================
   "FIT" COMPARISON (Partnership)
   =================================================== */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fit-col h3 { margin-bottom: 16px; }
.fit-col.good h3 { color: #2ecc71; }
.fit-col.bad h3 { color: #e74c3c; }
.fit-col ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .92rem;
}
.fit-col.good ul li::before { content: '✓'; position: absolute; left: 0; color: #2ecc71; font-weight: 700; }
.fit-col.bad ul li::before  { content: '✕'; position: absolute; left: 0; color: #e74c3c; font-weight: 700; }

/* ===================================================
   FLOATING CTA
   =================================================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 4px 20px rgba(249,132,26,.4);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249,132,26,.5);
}
.floating-cta .emoji { font-size: 1.1rem; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 60px 0 24px;
  text-align: center;
}
.footer-logo { margin: 0 auto 24px; height: 80px; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 24px 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer-links a { color: rgba(255,255,255,.6); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-links .sep { color: rgba(255,255,255,.3); }
.footer-copy { font-size: .78rem; margin-top: 8px; color: rgba(255,255,255,.4); }

/* ===================================================
   ABOUT PAGE – BIO
   =================================================== */
.bio-section .bio-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.bio-section .bio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================
   PAGE HERO WITH BG IMAGE
   =================================================== */
.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,27,51,.8);
}
.hero-bg .hero-content { position: relative; z-index: 1; }

/* ===================================================
   RESULTS GRID (homepage)
   =================================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: center;
  border: 1px solid rgba(0,0,0,.04);
  border-top: 3px solid var(--orange);
  position: relative;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover), var(--glow-orange);
}
.result-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
}
.result-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.result-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   PAIN POINTS (Who This Is For)
   =================================================== */
.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pain-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: .92rem;
  font-weight: 400;
  width: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  text-align: left;
  line-height: 1.6;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.pain-point:hover {
  transform: translateX(6px);
  box-shadow: var(--card-shadow);
  border-left-color: var(--orange-hover);
}
.pain-point strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}
.pain-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

/* ===================================================
   PACKAGES TABLE (homepage)
   =================================================== */
.packages-table-wrap {
  max-width: 560px;
  margin: 32px auto 0;
}
.packages-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.packages-table th {
  text-align: left;
  padding: 14px 20px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.packages-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.packages-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; text-align: right; }
.packages-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}
.packages-table td:last-child {
  text-align: right;
  font-weight: 700;
}
.packages-table tbody tr:hover {
  background: var(--off-white);
}
.packages-table tbody tr:last-child td { border-bottom: none; }

/* ===================================================
   TESTIMONIAL SPOTLIGHT
   =================================================== */
.testimonial-spotlight {
  max-width: 700px;
  margin: 0 auto 40px;
}
.testimonial-card.spotlight {
  background: rgba(249,132,26,.12);
  border: 2px solid var(--orange);
  text-align: center;
  padding: 40px 32px;
}
.testimonial-card.spotlight .quote-icon {
  font-size: 36px;
}
.spotlight-quote {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

/* ===================================================
   GROWTH STAGES (homepage roadmap)
   =================================================== */
.growth-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 32px auto 0;
  text-align: left;
}
.stage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--orange);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid rgba(0,0,0,.04);
  border-top: 4px solid var(--orange);
}
.stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover), var(--glow-orange);
}
.stage-number {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.stage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.stage-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.stage-card p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===================================================
   ENGINE CARDS (growth-blueprint 5-step grid)
   =================================================== */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
.engine-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
  border-top: 4px solid var(--orange);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.engine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover), var(--glow-orange);
}
/* Center bottom row of 2 cards */
.engine-card:nth-child(4) { grid-column-start: 1; }
.engine-card:nth-child(5) { grid-column-start: 2; }

.engine-card-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--orange) 0%, #e06a0a 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 16px rgba(249,132,26,.3);
}
.engine-card .engine-label {
  display: inline-block;
  background: var(--off-white);
  color: var(--orange);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.engine-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.engine-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===================================================
   COMPARISON TABLE (system-over-chaos)
   =================================================== */
.comparison-table {
  max-width: 800px;
  margin: 32px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
}
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.comparison-header .comparison-col { padding: 16px 24px; }
.comparison-col-highlight { background: rgba(249,132,26,.15); }
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-light);
  transition: background .2s var(--ease);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row:hover { background: var(--off-white); }
.comparison-col { padding: 18px 24px; font-size: .92rem; text-align: left; }
.comparison-old {
  color: var(--text-muted);
  font-style: italic;
  position: relative;
}
.comparison-old::before {
  content: '✕';
  color: #d44;
  font-weight: 700;
  margin-right: 8px;
  font-style: normal;
}
.comparison-new { background: rgba(249,132,26,.04); }
.comparison-new strong { color: var(--orange); }

/* ===================================================
   BLUEPRINT LEAD MAGNET FORM
   =================================================== */
.glow-text {
  animation: glowText 2s ease-in-out infinite alternate;
}
@keyframes glowText {
  from { text-shadow: 0 0 10px rgba(249,132,26,.3); }
  to   { text-shadow: 0 0 24px rgba(249,132,26,.7); }
}

.blueprint-form-wrap {
  max-width: 520px;
  margin: 32px auto 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.blueprint-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.blueprint-form .form-group {
  flex: 1;
}
.blueprint-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.blueprint-form input::placeholder {
  color: rgba(255,255,255,.45);
}
.blueprint-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,.12);
}
.blueprint-form input.input-error {
  border-color: #e74c3c;
  background: rgba(231,76,60,.08);
}
.btn-form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px 32px;
}
.btn-form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}
.form-disclaimer {
  margin-top: 12px;
  font-size: .82rem;
  opacity: .5;
}
.form-feedback {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
}
.form-feedback.success {
  background: rgba(46,204,113,.15);
  border: 1px solid rgba(46,204,113,.4);
  color: #2ecc71;
}
.form-feedback.error {
  background: rgba(231,76,60,.15);
  border: 1px solid rgba(231,76,60,.4);
  color: #e74c3c;
}

/* Blueprint chips */
.blueprint-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.blueprint-chip {
  background: linear-gradient(135deg, var(--orange), #FF7043);
  border: 2px solid rgba(255,255,255,.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249,132,26,.3);
}

/* Blueprint about section */
.blueprint-about {
  max-width: 640px;
  margin: 0 auto;
}
.blueprint-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--orange);
  box-shadow: 0 4px 20px rgba(249,132,26,.2);
}
.blueprint-about h3 {
  margin-bottom: 12px;
}
.blueprint-about p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .growth-stages { grid-template-columns: repeat(3, 1fr); }
  .carousel-track .card { min-width: calc(50% - 8px); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .hamburger { display: flex; }
  .nav-main {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav-main.open { transform: translateX(0); }
  .nav-main > li > a { padding: 14px 16px; font-size: 1rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    margin: 4px 0;
    border-radius: var(--radius-sm);
    display: none;
  }
  .nav-main > li.dropdown-open > .dropdown { display: block; }
  .dropdown a { color: var(--text-light); }
  .dropdown a:hover { background: rgba(255,255,255,.08); color: var(--orange); }
  .header-right .social-icons { display: none; }

  .hero { padding: 120px 0 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .growth-stages { grid-template-columns: 1fr; }
  .pain-points { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
  .engine-card:nth-child(4),
  .engine-card:nth-child(5) { grid-column-start: auto; }
  .comparison-header,
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-old { border-bottom: 1px solid var(--border-light); }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .carousel-track .card { min-width: 100%; max-width: 100%; }
  .fit-grid { grid-template-columns: 1fr; }
  .pills { flex-direction: column; align-items: center; }
  .blueprint-form .form-row { flex-direction: column; }
  .blueprint-chips { flex-direction: column; align-items: center; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: .88rem; }
  .floating-cta { padding: 12px 18px; font-size: .82rem; bottom: 16px; right: 16px; }
}
