/* ============================================================================
   CDLConnect - Global Styles
   HubSpot-Safe CSS (Scoped under #cdlconnect)
   ============================================================================ */

/* CSS Reset for #cdlconnect scope */
#cdlconnect *, 
#cdlconnect *::before, 
#cdlconnect *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Styles */
#cdlconnect {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000000;
  line-height: 1.5;
}

/* Color Variables (as regular properties) */
#cdlconnect {
  --cdl-color-dark: #1f1f1f;
  --cdl-color-white: #ffffff;
  --cdl-color-gray-light: #989aa2;
  --cdl-color-gray-medium: #737c82;
  --cdl-color-gray-dark: #474747;
  --cdl-color-border: #e1e1e1;
  --cdl-color-text-light: #e1e1e1;
  --cdl-gradient-purple: #896bee;
  --cdl-gradient-purple-alt: #7470ee;
  --cdl-gradient-blue: #2e5ff6;
}

/* Typography - Gradient Text */
#cdlconnect .gradient-text {
  background: linear-gradient(135deg, #896bee 0%, #2e5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding: 0 2px;
}

/* Layout Containers */
#cdlconnect .container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Header Navigation */
#cdlconnect .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1f1f1f;
  padding: 12px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#cdlconnect .header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* logo on the left, rest flows to the right */
  gap: 24px;
}

#cdlconnect .header-logo {
  height: 28px;
  width: auto;
}

#cdlconnect .header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

#cdlconnect .header-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#cdlconnect .header-nav-link {
  color: #989aa2;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

#cdlconnect .header-nav-link.active {
  color: #ffffff;
}

#cdlconnect .header-nav-link:hover {
  color: #ffffff;
}

#cdlconnect .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;      /* push the button group to the right */
}

#cdlconnect .header-login {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #896bee;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s;
  background: transparent;
  border: none;
}

#cdlconnect .header-login:hover {
  opacity: 0.8;
}

/* Buttons */
#cdlconnect .btn {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: all 0.3s;
}

#cdlconnect .btn-primary {
  background: linear-gradient(30deg, #896bee 0%, #7470ee 100%);
  color: #ffffff;
}

#cdlconnect .btn-primary:hover {
  background: linear-gradient(30deg, #7470ee 0%, #2e5ff6 100%);
}

#cdlconnect .btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

#cdlconnect .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

#cdlconnect .btn-outline-purple {
  background: transparent;
  color: #896bee;
  border: 1px solid #896bee;
}

#cdlconnect .btn-outline-purple:hover {
  background: rgba(137, 107, 238, 0.1);
}

#cdlconnect .btn-fixed-width {
  width: 278px;
}

/* Hero Section */
#cdlconnect .hero-section {
  background: #1f1f1f;
  color: #ffffff;
  padding: 48px 24px;
}

#cdlconnect .hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 64px;
  align-items: start;
}

#cdlconnect .hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#cdlconnect .hero-title {
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

#cdlconnect .hero-subtitle {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

#cdlconnect .hero-description {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  margin: 0;
}

#cdlconnect .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

#cdlconnect .hero-image {
  position: relative;
}

#cdlconnect .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Features Section */
#cdlconnect .features-section {
  padding: 48px 24px;
  background: #ffffff;
}

#cdlconnect .features-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 1240px;
  line-height: 1.3;
}

#cdlconnect .features-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

#cdlconnect .feature-card {
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
}

#cdlconnect .feature-icon {
  font-size: 54px;
  line-height: 1;
  padding: 16px 0;
}

#cdlconnect .feature-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

#cdlconnect .feature-description {
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
  margin: 0;
}

#cdlconnect .features-cta {
  text-align: center;
  margin-top: 24px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Clients Section */
#cdlconnect .clients-section {
  background: #1f1f1f;
  color: #ffffff;
  padding: 48px 24px;
  overflow: hidden;
}

#cdlconnect .clients-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 72px;
  line-height: 1.3;
}

#cdlconnect .clients-title-highlight {
  display: block;
  margin-bottom: 8px;
}

#cdlconnect .clients-logos {
  width: 100%;
  overflow: hidden;
  margin: 72px 0;
}

#cdlconnect .clients-logos-track {
  display: flex;
  align-items: center;
  animation: scroll-logos 32s linear infinite;
  width: fit-content;
}

#cdlconnect .clients-logos-track img {
  height: 56px;
  opacity: 0.7;
  filter: brightness(2);
  margin: 0 40px;
}

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

#cdlconnect .clients-content {
  text-align: center;
  max-width: 963px;
  margin: 72px auto 0;
}

#cdlconnect .clients-tagline {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 56px;
  line-height: 1.3;
}

#cdlconnect .clients-stats {
  display: grid;
  gap: 24px;
}

#cdlconnect .stat-card {
  border: 1px solid #474747;
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
}

#cdlconnect .stat-value {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  display: inline-block;
}

#cdlconnect .stat-label {
  font-size: 20px;
  font-weight: 500;
}

/* Support Section */
#cdlconnect .support-section {
  padding: 48px 24px;
  background: #ffffff;
}

#cdlconnect .support-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 64px;
  align-items: center;
}

#cdlconnect .support-image {
  position: relative;
}

#cdlconnect .support-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

#cdlconnect .support-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#cdlconnect .support-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

#cdlconnect .support-text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}



/* Carousel Section (Help Page) */
#cdlconnect .carousel-section {
  padding: 48px 24px;
  background: #ffffff;
}

#cdlconnect .carousel-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.3;
}

#cdlconnect .carousel-wrapper {
  position: relative;
  max-width: 1440px;
  margin: 0 auto 24px;
}

#cdlconnect .carousel-container {
  overflow: hidden;
  padding: 0 80px;
}

#cdlconnect .carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
}

#cdlconnect .carousel-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 283px;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 32px;
  height: 439px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
}

#cdlconnect .carousel-card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

#cdlconnect .carousel-card-description {
  font-size: 15px;
  color: #474747;
  line-height: 1.6;
  margin: 0;
}

#cdlconnect .carousel-card-visual {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#cdlconnect .carousel-card-visual img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 200px;
}

#cdlconnect .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(30deg, #896bee 0%, #7470ee 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

#cdlconnect .carousel-arrow:hover {
  background: linear-gradient(30deg, #7470ee 0%, #2e5ff6 100%);
}

#cdlconnect .carousel-arrow-left {
  left: 0;
}

#cdlconnect .carousel-arrow-right {
  right: 0;
}

#cdlconnect .carousel-fade-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 160px;
  background: linear-gradient(to right, #ffffff, transparent);
  z-index: 5;
  pointer-events: none;
}

#cdlconnect .carousel-fade-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 160px;
  background: linear-gradient(to left, #ffffff, transparent);
  z-index: 5;
  pointer-events: none;
}

#cdlconnect .carousel-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Journey Section (Help Page) */
#cdlconnect .journey-section {
  padding: 48px 24px;
  background: #ffffff;
}

#cdlconnect .journey-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 80px 0;
  line-height: 1.3;
}

#cdlconnect .journey-diagram {
  max-width: 1240px;
  margin: 0 auto 80px;
}

#cdlconnect .journey-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

#cdlconnect .journey-footer {
  max-width: 813px;
  margin: 0 auto;
  text-align: center;
}

#cdlconnect .journey-footer-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: #737c82;
  line-height: 1.3;
}

#cdlconnect .journey-footer-text {
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
  margin: 0;
}

/* Email Signup Section */
#cdlconnect .email-section {
  background: #1f1f1f;
  color: #ffffff;
  padding: 48px 24px;
  text-align: center;
}

#cdlconnect .email-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 64px 0;
  line-height: 1.3;
}

#cdlconnect .email-form {
  max-width: 540px;
  margin: 0 auto;
}

#cdlconnect .email-input-wrapper {
  background: #1f1f1f;
  border: 1px solid #474747;
  border-radius: 27px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
}

#cdlconnect .email-input-wrapper input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #e1e1e1;
  font-size: 18px;
  outline: none;
  font-family: inherit;
}

#cdlconnect .email-input-wrapper input::placeholder {
  color: #e1e1e1;
}

#cdlconnect .email-submit {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #474747;
  border: 1px solid rgba(0, 0, 0, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

#cdlconnect .email-submit:hover {
  background: linear-gradient(30deg, #896bee 0%, #7470ee 100%);
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  #cdlconnect .header {
    padding: 12px 48px;
  }

  #cdlconnect .hero-section {
    padding: 96px 48px;
  }

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

  #cdlconnect .features-section {
    padding: 96px 48px;
  }

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

  #cdlconnect .clients-section {
    padding: 96px 48px;
  }

  #cdlconnect .clients-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  #cdlconnect .support-section {
    padding: 96px 48px;
  }

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

  #cdlconnect .pro-cta {
    padding: 96px 48px;
  }

  #cdlconnect .carousel-section {
    padding: 96px 48px;
  }

  #cdlconnect .journey-section {
    padding: 96px 48px;
  }

  #cdlconnect .email-section {
    padding: 96px 48px;
  }
}

@media (min-width: 1024px) {
  #cdlconnect .header {
    padding: 12px 120px;
  }

  #cdlconnect .hero-section {
    padding: 96px 120px;
  }

  #cdlconnect .features-section {
    padding: 96px 120px;
  }

  #cdlconnect .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #cdlconnect .clients-section {
    padding: 96px 120px;
  }

  #cdlconnect .clients-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  #cdlconnect .support-section {
    padding: 96px 120px;
  }

  #cdlconnect .pro-cta {
    padding: 96px 120px;
  }

  #cdlconnect .carousel-section {
    padding: 96px 120px;
  }

  #cdlconnect .carousel-card {
    flex: 0 0 calc((100% - 48px) / 3);
  }

  #cdlconnect .journey-section {
    padding: 96px 120px;
  }

  #cdlconnect .email-section {
    padding: 96px 120px;
  }
}

@media (min-width: 875px) {
  /* restore desktop spacing */
  #cdlconnect .header-inner {
    justify-content: space-between;
  }

  #cdlconnect .header-actions {
    margin-left: 0; /* let nav sit between logo and actions on desktop */
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  #cdlconnect .carousel-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

/* Utility Classes */
#cdlconnect .text-center {
  text-align: center;
}

#cdlconnect .mb-18 {
  margin-bottom: 72px;
}

#cdlconnect .mt-18 {
  margin-top: 72px;
}

#cdlconnect .mb-14 {
  margin-bottom: 56px;
}
/* Pro CTA Section, single source of truth */
#cdlconnect .pro-cta {
  background: #1f1f1f;
  color: #fff;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 120px);
}

#cdlconnect .pro-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  #cdlconnect .pro-cta-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
  }
}

#cdlconnect .pro-cta-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#cdlconnect .pro-cta-title {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  margin: 0;
}

#cdlconnect .pro-cta-description {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

#cdlconnect .pro-cta-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#cdlconnect .pro-cta-image img {
  width: 100%;
  max-width: 420px; /* adjust 380–520 to line up with text/buttons */
  height: auto;
  display: block;
}
/* --- Pro CTA: center the two columns and the image --- */
@media (min-width: 1024px) {
  /* center both columns vertically within the row */
  #cdlconnect .pro-cta-grid {
    align-items: center;      /* was start */
    column-gap: 48px;         /* adjust if you want tighter or wider */
  }

  /* center the image inside its column */
  #cdlconnect .pro-cta-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;      /* was flex-start */
  }

  /* keep the artwork to a comfortable size so the centers line up visually */
  #cdlconnect .pro-cta-image img {
    max-width: 420px;         /* tweak 380–480 to taste */
    height: auto;
  }
}

/* ----- Mobile header / hamburger nav ----- */

/* base mobile menu styles */
#cdlconnect .mobile-menu {
  display: none;
}

#cdlconnect .mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 24px 16px;
}

#cdlconnect .mobile-menu-link {
  display: block;
  padding: 10px 0;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}



/* Mobile header base styles */
#cdlconnect .header-menu-toggle {
  display: none;                 /* shown only on small screens */
  width: 36px;
  height: 36px;
  margin-left: 12px;
  border: none;
  background: none;
  color: #ffffff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

#cdlconnect .header-menu-toggle svg {
  width: 28px;
  height: 28px;
}

#cdlconnect .mobile-menu {
  display: none;                 /* default hidden */
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #1f1f1f;
  padding: 12px 24px 16px;
  border-top: 1px solid #333333;
  z-index: 40;
}

#cdlconnect .mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cdlconnect .mobile-menu-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* mobile behavior */
@media (max-width: 874px) {

  /* Header layout */
  #cdlconnect .header {
    padding: 12px 16px;
  }

  #cdlconnect .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  /* hide desktop nav and show hamburger */
  #cdlconnect .header-nav {
    display: none;
  }

  #cdlconnect .header-menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 8px;
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
  }

  /* header actions: shrink CTA, hide LOGIN */
  #cdlconnect .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #cdlconnect .header-login {
    display: none;
  }

  #cdlconnect .header-actions .btn {
    width: auto;            /* keep Talk to Us from going full-width */
    padding: 10px 18px;
    font-size: 13px;
  }

  /* dropdown menu under header */
  #cdlconnect .mobile-menu {
    top: 100%;
  }

  #cdlconnect .mobile-menu.open {
    display: block;
  }

  /* Page layout below header */
  #cdlconnect .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #cdlconnect .features-grid {
    grid-template-columns: 1fr;
  }

  #cdlconnect .clients-stats {
    grid-template-columns: 1fr;
  }

  #cdlconnect .support-grid {
    grid-template-columns: 1fr;
  }

  #cdlconnect .hero-actions {
    flex-direction: column;
  }

  /* Only buttons inside main content go full width */
  #cdlconnect main .btn {
    text-align: center;
    width: 100%;
  }

    /* Keep header CTA *small* on mobile */
#cdlconnect .header {
    padding: 8px 12px;
  }

  #cdlconnect .header-inner {
    gap: 8px;
  }

  #cdlconnect .header-actions {
    gap: 4px;              /* less space between CTA and icon */
    margin-right: 0;
  }

  #cdlconnect .header-actions .btn {
    width: auto;           /* undo full-width just for header */
    padding: 4px 12px;     /* much smaller pill */
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  #cdlconnect .header-actions .btn-primary {
    border-radius: 6px;
  }

  #cdlconnect .header-menu-toggle {
    margin-left: 0;        /* snug up against the button */
  }

  #cdlconnect .carousel-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  #cdlconnect .carousel-container {
    padding: 0 20px;
  }

  #cdlconnect .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  #cdlconnect .btn-fixed-width {
    width: 100%;
  }
}

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* Make mobile menu items semibold */
.mobile-menu-link {
  font-weight: 600;   /* semibold */
  letter-spacing: 0.5px;
}
@media (max-width:874px){

#cdlconnect .header-logo{

height:20px;

}

.mobile-menu-link {
  font-weight: 600;
  letter-spacing: 0.5px;
}
  /* ==========================================
   HOW WE CAN HELP
   MOBILE OPTIMIZATION
========================================== */

@media (max-width:874px){

    /* new mobile styles go here */

}