/* ═════════ SECTION 1 · HERO (centered, particle emblem behind) ═════════ */
.section1 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) 0 180px;
  overflow: hidden;
  text-align: center;
}

/* soft blue light rising from below */
.section1::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 90vw;
  height: 70vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 99, 243, 0.32), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.s1-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* big thin arc behind the headline */
.s1-arc {
  position: absolute;
  left: 50%;
  top: 13%;
  width: min(1080px, 125vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(157, 187, 255, 0.18);
  box-shadow: inset 0 60px 90px -60px rgba(20, 99, 243, 0.35);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 42%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 42%);
  pointer-events: none;
}

/* center content */
.s1-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s1-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  box-shadow: var(--highlight);
  margin-bottom: 26px;
}

.s1-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--blue-soft);
  background: rgba(20, 99, 243, 0.15);
  border: 1px solid rgba(91, 149, 255, 0.35);
}

.s1-badge-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue-light);
}

.s1-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.8vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px rgba(120, 160, 255, 0.18));
}

.s1-lead {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 540px;
  margin-bottom: 32px;
}

.s1-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ─── workflow strip ─── */
.s1-flow {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
}

.s1-flow::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  border-top: 1px dashed rgba(157, 187, 255, 0.3);
  z-index: -1;
}

.s1-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.s1-node > span:last-child {
  color: var(--text-dim);
}

.s1-node em {
  font-style: normal;
  color: var(--text);
}

.s1-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--blue-soft);
}

.s1-ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s1-pill {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 500;
  background: #EEF2FA;
  color: #0B1430;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.s1-pill.is-blue {
  background: var(--blue);
  color: #fff;
}

.s1-flow-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 70px;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
  box-shadow: 0 0 12px var(--blue-light);
  z-index: -1;
  animation: s1-pulse 4.5s linear infinite;
}

@keyframes s1-pulse {
  0% { left: 0; opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { left: calc(100% - 70px); opacity: 0; }
}

/* ─── bottom corners ─── */
.s1-foot {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text);
}

.s1-foot span:first-child {
  color: var(--text-dim);
}

.s1-foot em {
  font-style: normal;
  color: var(--text-dim);
}

@media (max-width: 1080px) {
  .s1-pill,
  .s1-flow .s1-node:nth-of-type(4) { display: none; }
}

@media (max-width: 760px) {
  .section1 { padding-bottom: 120px; }
  .s1-flow,
  .s1-foot { display: none; }
}
