/* SOFTWARE INTEGRATIONS PAGE STYLES */

.int-hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
  padding: calc(var(--h-head) + 60px) 0 85px;
  overflow: hidden;
}

.int-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.int-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
}

.int-hero h1 span {
  display: block;
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.int-hero p.sub {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 640px;
}

/* Central hub visual widget */
.int-hub-widget {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(24, 104, 251, 0.05);
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hub-center {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 30px rgba(24, 104, 251, 0.4);
  z-index: 10;
  position: relative;
}

.hub-center::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--blue-25);
  animation: spin 30s linear infinite;
}

.hub-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line);
}

.hub-orbit.o1 {
  width: 210px;
  height: 210px;
}

.hub-orbit.o2 {
  width: 320px;
  height: 320px;
}

.hub-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* Category tab styles */
.cat-navigator-section {
  padding: 90px 0;
  background: #fff;
}

.cat-desc-col h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cat-desc-col p {
  color: var(--slate);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* No-code Workflow builder mockup */
.workflow-builder {
  background: var(--bg-tint);
  border: 1.5px dashed var(--line);
  border-radius: 20px;
  padding: 34px;
  margin-top: 40px;
}

.builder-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.builder-column {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.builder-column h4 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--blue-08);
  padding-bottom: 8px;
}

.builder-item {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.builder-item:hover {
  border-color: var(--blue);
  background: var(--blue-04);
}

.builder-item.selected {
  background: var(--blue-08);
  border-color: var(--blue);
  color: var(--blue);
}

.flow-connector-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  gap: 12px;
}

.flow-step-bubble {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
}

.flow-step-arrow {
  color: var(--blue);
}

/* Category panel content */
.cat-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  margin-top: 30px;
}

/* Catalog section */
.catalog-section {
  padding: 90px 0;
  background: var(--bg-tint);
}

.catalog-search-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 34px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 6px 16px;
  box-shadow: var(--shadow-soft);
}

.catalog-search-bar input {
  border: none;
  outline: none;
  font-size: 1rem;
  width: 100%;
  padding: 10px 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}

.catalog-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.catalog-card .cat-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 12px;
  font-weight: 700;
}

.catalog-card p {
  font-size: 0.86rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 18px;
}

.catalog-card .service-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.catalog-card .service-badge {
  font-size: 0.74rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--blue);
  font-weight: 600;
}

.catalog-modal {
  max-width: 600px;
  width: 100%;
}

/* Security benefits & parameters */
.security-parameters-section {
  padding: 90px 0;
  background: #fff;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.security-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}

.security-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.security-card p {
  font-size: 0.86rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Responsive configurations */
@media (max-width: 1024px) {
  .int-hero-grid,
  .cat-panel-grid,
  .builder-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .catalog-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .catalog-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .int-hero h1 {
    font-size: 2.1rem;
  }
  .int-hero h1 span {
    font-size: 1.35rem;
  }
}
