/* ===== VARIABLES & RESETS ===== */
:root {
  /* Colors */
  --c-blue-primary: #054cf7; /* Request quote button */
  --c-blue-dark: #0b1a30; /* Header top, prefooter */
  --c-blue-darker: #071526; /* Main footer */
  --c-teal: #089b8d; /* Book discovery call */
  --c-cyan: #0fa2b5; /* Grow your business text */
  --c-text-main: #2b3543;
  --c-text-light: #5f6c82;
  --c-bg-light: #f8fafc;
  --c-border: #e2e8f0;

  /* Card Colors */
  --cr-red-bg: #fff1f2;
  --cr-red-border: #fca5a5;
  --cr-red-text: #ef4444;

  --sol-teal-bg: #e6f7f6;
  --sol-teal-text: #0d9488;
  --sol-blue-bg: #eff6ff;
  --sol-blue-text: #3b82f6;
  --sol-purple-bg: #f5f3ff;
  --sol-purple-text: #8b5cf6;
  --sol-yellow-bg: #fefce8;
  --sol-yellow-text: #eab308;
  --sol-green-bg: #ecfdf5;
  --sol-green-text: #10b981;

  /* Fonts */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--c-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-sans);
  font-weight: 700;
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img,
svg {
  max-width: 100%;
}

.page-wrapper {
  width: 100%;
}

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

/* Utilities */
.text-cyan {
  color: var(--c-cyan);
}
.text-teal {
  color: var(--sol-teal-text);
}
.text-blue {
  color: var(--sol-blue-text);
}
.text-purple {
  color: var(--sol-purple-text);
}
.text-yellow {
  color: var(--sol-yellow-text);
}
.text-green {
  color: var(--sol-green-text);
}
.text-red {
  color: var(--cr-red-text);
}
.text-white {
  color: #fff;
}

.bg-teal-solid {
  background-color: #0d9488;
}
.bg-blue-solid {
  background-color: #3b82f6;
}
.bg-purple-solid {
  background-color: #8b5cf6;
}
.bg-orange-solid {
  background-color: #f97316;
}
.bg-green-solid {
  background-color: #10b981;
}

.bg-teal {
  background: var(--sol-teal-text);
  color: white;
}
.bg-blue {
  background: var(--sol-blue-text);
  color: white;
}
.bg-yellow {
  background: var(--sol-yellow-text);
  color: white;
}
.bg-dark-blue {
  background: var(--c-blue-dark);
  color: white;
}
.bg-orange {
  background: #f97316;
  color: white;
}
.bg-gray {
  background: #64748b;
  color: white;
}

.bg-teal-light {
  background: var(--sol-teal-bg);
}
.bg-blue-light {
  background: var(--sol-blue-bg);
}
.bg-purple-light {
  background: var(--sol-purple-bg);
}
.bg-yellow-light {
  background: var(--sol-yellow-bg);
}
.bg-green-light {
  background: var(--sol-green-bg);
}

.mb-12 {
  margin-bottom: 3rem;
}
.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--c-blue-primary);
  color: #fff;
  border: 2px solid var(--c-blue-primary);
}
.btn-primary:hover {
  background-color: #043ac2;
  border-color: #043ac2;
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--c-teal);
  border: 2px solid var(--c-teal);
}
.btn-outline-teal:hover {
  background-color: var(--c-teal);
  color: #fff;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-white:hover {
  background-color: #fff;
  color: var(--c-blue-dark);
}

.btn-primary-light {
  background-color: var(--c-blue-primary);
  color: #fff;
  border: 2px solid var(--c-blue-primary);
}

/* ===== TOP BAR & NAV ===== */
.top-bar {
  background-color: var(--c-blue-dark);
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: flex-start;
}
.top-contact {
  display: flex;
  gap: 32px;
}
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.top-contact a:hover {
  color: var(--c-cyan);
}

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  z-index: 50;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000;
  line-height: 1.2;
}
.brand-text span {
  font-size: 0.75rem;
  color: var(--c-text-light);
  margin-top: 2px;
  font-weight: 500;
}
.brand-text.text-white strong {
  color: #fff;
}
.brand-text.text-white span {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a.active {
  color: var(--c-blue-primary);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--c-blue-primary);
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--c-blue-primary);
}
.nav-arrow {
  font-size: 0.7rem;
  margin-left: 4px;
}

/* Dropdown styling */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 240px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  border: 1px solid var(--c-border);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  list-style: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 24px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: none;
}
.dropdown li a::after {
  display: none;
}
.dropdown li a:hover {
  background-color: #f8fafc;
  color: var(--c-blue-primary);
}

.nav-buttons {
  display: flex;
  gap: 20px;
}

/* Mobile Nav Toggle */
#mobile-menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 0 60px 0;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  flex: 1.2;
  max-width: 850px;
  padding-right: 20px;
}
.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-blue-primary);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--c-blue-dark);
  letter-spacing: -0.5px;
}
.hero-description {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1e293b;
}
.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--c-blue-primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 2.2rem;
}

/* Hero Visual Diagram */
.hero-visual {
  flex: 0.8;
  position: relative;
  aspect-ratio: 1/1;
  max-width: 550px;
  margin-left: auto;
}
.hero-lines {
  pointer-events: none;
}
.main-envelope {
  pointer-events: none;
}

.floating-item {
  position: absolute;
  z-index: 5;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.floating-item .avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.floating-item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-float {
  position: absolute;
  z-index: 6;
  background: #fff;
  padding: 12px 20px;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}
.badge-red {
  border: 1.5px solid var(--cr-red-border);
}

/* ===== PROBLEM SECTION ===== */
.problems-section { background-color: var(--c-bg-light); padding: 50px 0; }
.problems-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}
.problems-content {
  flex: 1;
  max-width: 480px;
  margin-top: 10px;
}
.problems-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.problems-content p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
}

.problems-grid {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.problem-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 20px;
  background: transparent;
  padding: 32px;
}
.problem-card:nth-child(1) {
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.problem-card:nth-child(2) {
  border-bottom: 1px solid var(--c-border);
}
.problem-card:nth-child(3) {
  border-right: 1px solid var(--c-border);
}
.problem-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  border: 2px solid #fecaca;
  background-color: #fff;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.problem-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section { padding: 50px 0 20px; }
.section-subtitle {
  color: #0d9488;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--c-blue-dark);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.solution-card {
  background-color: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.sol-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px auto;
  color: #fff;
}
.sol-content h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.2;
}
.sol-content p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* ===== PROCESS SECTION ===== */
.process-section { padding: 50px 0 60px 0; background-color: #fff; }
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 60px;
}
.process-line {
  position: absolute;
  top: 16px;
  left: 10%;
  width: 80%;
  height: 2px;
  border-top: 2px dashed #0d9488;
  z-index: 1;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}
.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 32px;
  height: 32px;
  background-color: #0d9488;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
}
.step-icon {
  font-size: 2.8rem;
  color: #0d9488;
  margin-bottom: 0px;
}
.process-step h4 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}
.process-step p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ===== CTA BOX ===== */
.cta-box-section { padding: 20px 0 70px 0; }
.cta-banner {
  background-color: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner-visual {
  flex: 0 0 auto;
}
.cta-banner-text {
  flex: 1;
}
.cta-banner-text h3 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #1e293b;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .cta-banner-text h3 {
    white-space: nowrap;
    font-size: 2rem;
  }
}
.cta-banner-text p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
}
.cta-banner-action {
  flex: 0 0 auto;
}

/* ===== PRE-FOOTER ===== */
.pre-footer {
  background-color: var(--c-blue-dark);
  color: #fff;
  padding: 48px 0;
}
.pre-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.pre-footer-content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  text-align: left;
}
.pf-icon {
  font-size: 4.5rem;
  color: var(--c-cyan);
}
.pre-footer-content h2 {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.pre-footer-content p {
  color: #cbd5e1;
  max-width: 600px;
  font-size: 1.15rem;
  line-height: 1.6;
}
.pre-footer-actions {
  display: flex;
  gap: 24px;
  flex: 0 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--c-blue-darker);
  color: #94a3b8;
  padding-top: 80px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #1e293b;
}

.footer-col {
  flex: 1;
  min-width: 150px;
}
.brand-col {
  flex: 2;
  min-width: 300px;
}
.flex-double {
  flex: 1.5;
  display: flex;
  gap: 40px;
}
.flex-double .sub-col {
  flex: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.brand-desc {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 320px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #334155;
  color: #fff;
  font-size: 1.1rem;
}
.social-icons a:hover {
  background-color: var(--c-blue-primary);
  border-color: var(--c-blue-primary);
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: #fff;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-list i {
  margin-top: 4px;
  color: #fff;
  font-size: 1.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 32px 40px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1250px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }
  .hamburger {
    display: block;
  }
  #mobile-menu-toggle:checked ~ .nav-menu {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 10px 0 0 20px;
    display: none;
  }
  .has-dropdown:hover .dropdown {
    display: block;
  }
  .nav-buttons {
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }
  .hero-content {
    max-width: 100%;
    padding-right: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-stats {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero-visual {
    width: 100%;
    margin: 40px auto 0 auto;
  }

  .problems-inner {
    flex-direction: column;
  }
  .problems-content {
    max-width: 100%;
    text-align: center;
  }
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pre-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .pre-footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  .problems-grid {
    grid-template-columns: 1fr;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 32px;
  }
  .process-line {
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    border-top: none;
    border-left: 2px dashed #0d9488;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding-left: 0;
  }
  .step-content {
    align-items: flex-start;
  }
  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .cta-banner-visual {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto;
  }
  .cta-banner-text {
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
  }
  .flex-double {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ===== CUSTOMER ENGAGEMENT PAGE SPECIFIC ===== */

.ce-hero {
  padding-top: 140px;
  padding-bottom: 60px;
}

.ce-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ce-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-pill {
  background: white;
  border: 1px solid #bae6fd;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.hero-pill i {
  color: var(--c-blue);
  font-size: 1rem;
}

.ce-feature-pill {
  background: white;
  border: 1px solid #bae6fd;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.ce-feature-pill i {
  font-size: 1rem;
  color: var(--c-blue);
}

.ce-hero-visual {
  flex: 1;
  position: relative;
  aspect-ratio: 1/1;
  max-width: 550px;
  margin-left: auto;
}
.ce-diagram-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ce-diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ce-node {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 3;
}
.ce-node-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  border: 2px solid;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.ce-node-label strong {
  color: var(--c-blue-dark);
  font-size: 0.95rem;
  line-height: 1.2;
  display: block;
}
.border-blue {
  border-color: var(--c-blue-primary);
}
.border-green {
  border-color: #10b981;
}
.border-orange {
  border-color: #f97316;
}
.border-purple {
  border-color: #a855f7;
}
.border-teal {
  border-color: #0fa2b5;
}
.border-red {
  border-color: #ef4444;
}
.text-red {
  color: #ef4444;
}

/* Right Solution Bar */
.ce-right-solution {
  background-color: #f8fafc;
}
.ce-rs-inner {
  display: flex;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  align-items: center;
  padding: 30px;
  gap: 20px;
}
.ce-rs-title h2 {
  margin: 0;
  line-height: 1.2;
  font-size: 2rem;
}
.ce-rs-list {
  display: flex;
  flex: 1;
  border-left: 1px solid var(--c-border);
}
.ce-rs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--c-border);
}
.ce-rs-item:last-child {
  border-right: none;
}
.ce-rs-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.ce-rs-check {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.ce-rs-item p {
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--c-blue-dark);
  font-weight: 500;
  margin: 0;
}

/* Split Features Grid */
.ce-split-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ce-split-col {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 40px;
}
.ce-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
}
.ce-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ce-fc-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.ce-fc-content h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--c-blue-dark);
  margin-bottom: 8px;
  line-height: 1.2;
  font-weight: 700;
}
.ce-fc-content p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* Utilities */
.bg-light-gray {
  background-color: #f8fafc;
}
.py-100 {
  padding: 50px 0;
}
.py-60 {
  padding: 40px 0;
}
.text-lg {
  font-size: 1.15rem;
  line-height: 1.6;
}
.style-serif {
  font-family: var(--font-sans);
}
.ms-2 {
  margin-left: 0.5rem;
}
.italic {
  font-style: italic;
}
.text-gray {
  color: #64748b;
}
.bg-purple {
  background-color: #a855f7;
}
.bg-orange {
  background-color: #f97316;
}
.bg-green {
  background-color: #10b981;
}
.bg-blue-dark {
  background-color: var(--c-blue-dark);
  color: #fff;
}
.bg-blue-light {
  background-color: #3b82f6;
}
.text-purple {
  color: #a855f7;
}
.text-orange {
  color: #f97316;
}
.text-green {
  color: #10b981;
}
.text-blue-dark {
  color: var(--c-blue-dark);
}

/* Solutions Hero */
.solutions-hero {
  padding-top: 140px;
  padding-bottom: 60px;
}
.align-start {
  align-items: flex-start;
}
.diagram-container {
  flex: 1;
  position: relative;
  aspect-ratio: 1/1;
  max-width: 500px;
  margin-left: auto;
}
.diagram-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2;
  text-align: center;
  font-weight: 600;
  color: var(--c-blue-dark);
}
.center-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}
.diagram-node {
  position: absolute;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.node-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.node-label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.2;
}
.node-label strong {
  color: var(--c-blue-dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.node-label span {
  color: #64748b;
}
.label-left {
  text-align: right;
}

.node-top { top: 15%; left: 50%; transform: translate(-50%, -50%); flex-direction: column; text-align: center; }
.node-top-right { top: 30%; left: 85%; transform: translate(-50%, -50%); }
.node-bottom-right { top: 75%; left: 85%; transform: translate(-50%, -50%); }
.node-bottom-left { top: 75%; left: 15%; transform: translate(-50%, -50%); flex-direction: row-reverse; }
.node-top-left { top: 30%; left: 15%; transform: translate(-50%, -50%); flex-direction: row-reverse; }

/* Challenge Section */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.challenge-box {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 32px 16px;
  text-align: center;
  position: relative;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.cb-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.cb-icon i {
  width: 65px;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}
.challenge-box h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--c-blue-dark);
  font-weight: 700;
  min-height: 60px;
}
.challenge-box p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* SP Section */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sp-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}
.sp-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.sp-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.sp-content h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--c-blue-dark);
}
.sp-content p {
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.6;
}
.sp-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-link:hover {
  opacity: 0.8;
}

/* Flow Section */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}
.flow-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}
.flow-step h4 {
  font-size: 1.1rem;
  color: var(--c-blue-dark);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}
.flow-connector {
  flex: 0 0 auto;
  font-size: 1.5rem;
  color: #cbd5e1;
}

/* Decision Section */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: stretch;
}
.decision-box {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 40px;
}
.decision-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.decision-row:last-child {
  border-bottom: none;
}
.decision-desc {
  color: #475569;
  flex: 1;
  padding-right: 20px;
}
.decision-chip {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: transparent;
  border: none;
  padding: 0;
}
.combo-row {
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.combo-row:last-child {
  margin-bottom: 0;
}
.combo-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.combo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.combo-plus {
  font-weight: 700;
  font-size: 1.2rem;
}
.combo-text h4 {
  font-size: 1.05rem;
  color: var(--c-blue-dark);
  margin-bottom: 4px;
}
.combo-text p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* FAQ CTA Split Section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 12px;
  cursor: pointer;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--c-blue-dark);
  margin: 0;
}
.not-sure-cta {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 30px;
  border: 1px solid var(--c-border);
}
.not-sure-content p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}
.not-sure-actions {
  display: flex;
  gap: 16px;
}
.not-sure-visual {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .decision-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .flow-container {
    flex-direction: column;
    gap: 20px;
  }
  .flow-connector {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  .diagram-container {
    display: none;
  }
}
@media (max-width: 768px) {
  .challenges-grid,
  .sp-grid {
    grid-template-columns: 1fr;
  }
  .decision-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .combo-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .not-sure-actions {
    flex-direction: column;
  }
}

/* Realtors Page Specific Grids */
.grid-5-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-visual-realtors {
  position: relative;
  max-width: 600px;
  height: 600px;
  right: 0;
}
.pf-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1024px) {
  .grid-5-col {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pf-actions-vertical {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  .grid-5-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual-realtors {
    display: none;
  }
  .pf-actions-vertical {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .grid-5-col {
    grid-template-columns: 1fr;
  }
}

/* Hospitality Timeline */
.timeline-stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.timeline-line {
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #cbd5e1;
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

/* Hospitality Stronger Stats */
.stats-banner {
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.stats-banner-container {
  display: flex;
  gap: 40px;
  align-items: center;
}
.stats-left {
  flex: 1;
  padding-right: 40px;
  border-right: 1px solid #cbd5e1;
}
.stats-right {
  flex: 2;
}

@media (max-width: 992px) {
  .stats-banner-container {
    flex-direction: column;
    text-align: center;
  }
  .stats-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .timeline-stepper {
    flex-wrap: wrap;
    gap: 40px;
  }
  .timeline-line {
    display: none;
  }
  .timeline-step {
    flex: 1 1 30%;
  }
}
@media (max-width: 600px) {
  .stats-banner {
    flex-wrap: wrap;
    gap: 30px;
  }
  .stats-banner > div {
    flex: 1 1 40%;
  }
  .timeline-step {
    flex: 1 1 100%;
  }
}

/* Hospitality Extra Grids */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
@media (max-width: 1024px) {
  .grid-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-3-col {
    grid-template-columns: 1fr;
  }
}

/* Ecommerce Specific Grids */
@media (max-width: 1024px) {
  .grid-6-col {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .grid-6-col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .grid-6-col {
    grid-template-columns: 1fr !important;
  }
}

/* Timeline/Lifecycle stepper specific to Ecommerce */
@media (max-width: 900px) {
  .lifecycle-stepper {
    flex-direction: column;
    gap: 40px;
  }
  .lifecycle-stepper > div[style*="position: absolute"] {
    display: none; /* Hide dashed line on mobile */
  }
}

@media (max-width: 991px) {
  .sp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
