/* CI HUB Page Specific Styles */

.ci-hub-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.ci-surface--dark {
  background-color: #03213D;
  color: #FFFFFF;
}

.ci-surface--light {
  background-color: #E2EEF4;
  color: #03213D;
}

.ci-surface--white {
  background-color: #FFFFFF;
  color: #03213D;
}

/* Typography */
.ci-hub-h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.ci-hub-h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.ci-hub-h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.ci-hub-body {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ci-hub-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: #54ABDF;
}

.ci-hub-accent-text {
  color: #54ABDF;
}

.ci-hub-text-center {
  text-align: center;
}

.ci-hub-max-width {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.ci-hub-hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.ci-hub-intro, .ci-hub-workflow, .ci-hub-migration, .ci-hub-office, .ci-hub-about, .ci-hub-contact {
  padding: 6rem 0;
}

.ci-hub-contact {
  border-top: 1px solid rgba(84, 171, 223, 0.3);
}

/* Layout Components */
.ci-hub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ci-hub-split--reverse {
  direction: rtl;
}

.ci-hub-split--reverse > * {
  direction: ltr;
}

.ci-hub-img-responsive {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.ci-hub-logo-main {
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Grid & Cards */
.ci-hub-connector-matrix {
  margin-top: 6rem;
}

.ci-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ci-hub-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #E2EEF4;
  display: flex;
  flex-direction: column;
}

.ci-hub-card__logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.ci-hub-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.33em;
  margin-bottom: 1rem;
  color: #03213D;
}

.ci-hub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ci-hub-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.ci-hub-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #54ABDF;
  font-weight: bold;
}

/* Actions */
.ci-hub-btn-primary {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.ci-hub-btn-primary:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 138, 61, 0.4);
}

.ci-hub-link {
  color: #03213D;
  text-decoration: underline;
  font-weight: 600;
}

.ci-surface--dark .ci-hub-link {
  color: #54ABDF;
}

.ci-hub-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 3rem;
}

/* Form Embed */
.ci-hub-form-container {
  max-width: 800px;
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1199px) {
  .ci-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ci-hub-split {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .ci-hub-split--reverse {
    direction: ltr;
  }
  .ci-hub-card__logo {
    align-self: center;
  }
  .ci-hub-list {
    text-align: left;
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .ci-hub-grid {
    grid-template-columns: 1fr;
  }
  .ci-hub-hero {
    padding: 6rem 0 4rem;
  }
  .ci-hub-form-container {
    padding: 1.5rem;
  }
  .ci-hub-cta-wrap {
    align-items: stretch;
    flex-direction: column;
  }
}
