/* Client Hub marketing page styles.
   Uses the same design tokens + base components from css/home.css. */

.ch-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
}

.ch-section{
  padding: 6rem 0;
  background: transparent;
}

.ch-section-dark{
  background: var(--bg-dark);
  color: #fff;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

/* HERO */
.ch-hero{
  background: var(--bg-dark);
  min-height: 82svh;
  padding-top: 96px;
  border-bottom: 1px solid var(--border-dark);
}

.ch-hero-inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.ch-hero-copy{
  color: #fff;
}

.ch-hero-eyebrow{
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.6rem;
}

.ch-hero-h1{
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .95;
  margin-bottom: 1.3rem;
}

.ch-hero-accent{
  color: var(--red);
  font-style: italic;
  font-weight: 700;
}

.ch-hero-sub{
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  font-size: .95rem;
  max-width: 56ch;
  margin-bottom: 2.2rem;
}

.ch-hero-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ch-hero-visual{
  display: flex;
  justify-content: center;
  align-items: center;
}

.ch-dashboard-showcase{
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ch-dashboard-img{
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 
    0 4px 6px rgba(0,0,0,.1),
    0 20px 60px rgba(0,0,0,.3),
    0 0 1px rgba(204,0,0,.2);
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.ch-dashboard-img:hover{
  box-shadow: 
    0 8px 12px rgba(0,0,0,.15),
    0 30px 80px rgba(0,0,0,.4),
    0 0 20px rgba(204,0,0,.25);
  transform: translateY(-4px);
}

.ch-dashboard-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  background: rgba(204,0,0,.1);
  border: 1px solid rgba(204,0,0,.3);
  border-radius: 50px;
  color: rgba(255,255,255,.8);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.ch-dashboard-badge::before{
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse{
  0%{
    box-shadow: 0 0 0 0 var(--red);
    opacity: 1;
  }
  70%{
    box-shadow: 0 0 0 6px rgba(204,0,0,0);
    opacity: 0.8;
  }
  100%{
    box-shadow: 0 0 0 0 rgba(204,0,0,0);
    opacity: 0;
  }
}

/* WHAT IS HUB */
.ch-epigraph{
  color: var(--ink);
}

.ch-eyebrow-dark{
  color: rgba(255,255,255,.4);
}

.ch-h2{
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.02;
  font-size: clamp(2.1rem, 4vw, 4rem);
  margin: .8rem 0 1.1rem;
}

.ch-h2.light{
  color: #fff;
}

.ch-lead{
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: .85rem;
  max-width: 62ch;
  font-size: .95rem;
}

.ch-lead:not(.light){
  color: var(--muted);
}

.ch-epigraph .ch-lead{ color: var(--muted); }

.ch-three{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.7rem;
}

.ch-three-col{
  background: linear-gradient(135deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.02) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.4rem 1.6rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.ch-three-col::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ch-three-col:hover{
  border-color: rgba(204,0,0,.2);
  background: linear-gradient(135deg, rgba(204,0,0,.05) 0%, rgba(10,10,10,.05) 100%);
  box-shadow: 0 4px 20px rgba(204,0,0,.1);
  transform: translateY(-2px);
}

.ch-three-col:hover::before{
  opacity: 1;
}

.ch-three-icon{
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
}

.ch-three-col:hover .ch-three-icon{
  transform: scale(1.1) translateX(2px);
}

.ch-three-title{
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
  font-size: 1.15rem;
}

.ch-three-body{
  color: var(--muted);
  line-height: 1.75;
  font-size: .9rem;
}

/* MODULES */
.ch-header{
  margin-bottom: 2.2rem;
  position: relative;
}
.ch-header .eyebrow{ margin-bottom: 1.2rem; }

.ch-modules{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.ch-module{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.6rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.ch-module::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,.1), transparent);
  transition: left 0.3s ease;
}

.ch-module:hover{
  border-color: rgba(204,0,0,.2);
  box-shadow: 0 8px 32px rgba(204,0,0,.15);
  transform: translateY(-4px);
}

.ch-module:hover::before{
  left: 100%;
}

.ch-module h3{
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
  color: #fff;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.ch-module p{
  color: rgba(255,255,255,.52);
  line-height: 1.75;
  font-size: .9rem;
  position: relative;
  z-index: 1;
}

/* SCORE */
.ch-score-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: start;
}

.ch-score-copy{
  background: transparent;
}

.ch-eyebrow-dark{ color: rgba(255,255,255,.4); }

.ch-score-ring{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--red) 0 94%, rgba(255,255,255,.10) 94% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ch-score-ring::after{
  content:'';
  position:absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
.ch-score-ring-num{
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 900;
  color: #fff;
  font-size: 2.1rem;
}
.ch-score-ring-num span{ color: var(--red); font-size: 1.05rem; }
.ch-score-ring-label{
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.55);
  margin-top: -8px;
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ch-breakdown{
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  color: #fff;
}
.ch-break-item{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: .85rem 1rem;
  border-radius: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.35;
  font-size: .9rem;
}

.ch-quote{
  margin-top: 1.1rem;
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  line-height: 1.7;
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  max-width: 48ch;
  font-style: italic;
}

/* ROLES */
.ch-role-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.ch-role{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.6rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.ch-role:hover{
  border-color: rgba(204,0,0,.2);
  box-shadow: 0 8px 32px rgba(204,0,0,.15);
  transform: translateY(-4px);
  background: rgba(255,255,255,.05);
}

.ch-role h3{
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
.ch-role ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
  color: rgba(255,255,255,.55);
}
.ch-role ul li{
  font-size: .95rem;
  line-height: 1.6;
  transition: all 0.2s ease;
  padding-left: 1.4rem;
}

.ch-role ul li::before{
  content:'→';
  color: var(--red);
  margin-right: .6rem;
  font-weight: 900;
  position: absolute;
  margin-left: -1.4rem;
  transition: transform 0.2s ease;
}

.ch-role:hover ul li::before{
  transform: translateX(3px);
}

.ch-availability{
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  background: rgba(204,0,0,.08);
  border: 1px solid rgba(204,0,0,.15);
  border-radius: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-size: .95rem;
}

.ch-availability strong{
  color: rgba(255,255,255,.85);
}

/* ROADMAP */
.ch-roadmap-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: 1.8rem;
}
.ch-road-item{
  background: rgba(10,10,10,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2.8rem;
}

.ch-road-item::before{
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ch-road-item:hover{
  border-color: var(--red);
  background: rgba(204,0,0,.05);
  padding-left: 3.2rem;
}

.ch-road-item:hover::before{
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 12px rgba(204,0,0,.4);
}

.ch-footnote{
  color: var(--muted);
  margin-top: 1.7rem;
  line-height: 1.7;
}

/* CTA */
.ch-cta{
  padding: 5rem 0 7rem;
  background: var(--bg-dark);
  color: #fff;
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.ch-cta::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(204,0,0,.1) 0%, transparent 50%);
  pointer-events: none;
}

.ch-cta-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

.ch-cta-h2{
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.045em;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.ch-cta-sub{
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  max-width: 62ch;
}

.ch-cta-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.ch-cta-contact{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}

.ch-inline-link{
  color: var(--red);
  font-weight: 800;
  transition: all 0.2s ease;
}

.ch-inline-link:hover{
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media(max-width: 980px){
  .ch-hero-inner{ grid-template-columns: 1fr; }
  .ch-hero-actions{ justify-content: flex-start; }
  .ch-hero-visual{ margin-top: 2rem; }
  .ch-three{ grid-template-columns: 1fr; }
  .ch-modules{ grid-template-columns: 1fr; }
  .ch-score-grid{ grid-template-columns: 1fr; }
  .ch-role-grid{ grid-template-columns: 1fr; }
}

@media(max-width: 640px){
  .ch-hero-h1{
    font-size: 2rem;
  }
  .ch-hero-sub{
    font-size: .9rem;
  }
  .ch-hero-actions{
    flex-direction: column;
    width: 100%;
  }
  .ch-hero-actions a{
    width: 100%;
    text-align: center;
  }
  .ch-dashboard-img{
    border-radius: 16px;
    max-width: 100%;
  }
  .ch-modules{
    grid-template-columns: 1fr;
  }
  .ch-three{
    grid-template-columns: 1fr;
  }
}

