.re-page .re-ai-automation {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
}

.re-page .re-ai-automation::before {
  position: absolute;
  top: 20px;
  right: -170px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .08), rgba(14, 165, 233, .035) 42%, transparent 70%);
  content: "";
  pointer-events: none;
}

.re-page .re-ai-automation > .re-wrap { position: relative; z-index: 1; }

.re-page .re-ai-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 50px;
}

.re-page .re-ai-copy { max-width: 480px; }
.re-page .re-ai-copy > label { color: #1769e0; }

.re-page .re-ai-copy h2 {
  margin: 12px 0 16px;
  color: #132238;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.03;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.re-page .re-ai-copy > p {
  max-width: 460px;
  margin: 0;
  color: #66778a;
  font-size: 14px;
  line-height: 1.75;
}

.re-page .re-ai-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 23px;
  color: #52647a;
  font-size: 10px;
  font-weight: 650;
}

.re-page .re-ai-summary span { display: inline-flex; align-items: center; gap: 7px; }
.re-page .re-ai-summary b { color: #1769e0; font-size: 14px; }

.re-page .re-ai-summary i,
.re-page .re-ai-live {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16b981;
  box-shadow: 0 0 0 4px rgba(22, 185, 129, .12);
}

.re-page .re-ai-showcase {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #dce5ed;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,244,249,.96));
  box-shadow: 0 24px 60px rgba(19, 45, 72, .12), inset 0 1px 0 #fff;
  animation: re-ai-enter .7s both, re-ai-float 7s ease-in-out 1s infinite;
}

.re-page .re-ai-halo {
  position: absolute;
  z-index: -1;
  inset: -15% -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, .16), rgba(20, 184, 166, .08) 48%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  animation: re-ai-glow 6s ease-in-out infinite alternate;
}

.re-page .re-ai-screen {
  overflow: hidden;
  border: 1px solid #e1e7ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 34, 56, .12);
}

.re-page .re-ai-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.re-page .re-ai-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(208, 222, 235, .9);
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 24px rgba(15, 35, 58, .13);
  animation: re-ai-enter .6s both;
}

.re-page .re-ai-lead { top: 7%; right: -20px; animation-delay: .2s; }
.re-page .re-ai-match { bottom: 7%; left: -22px; animation-delay: .35s; }
.re-page .re-ai-float b,.re-page .re-ai-float small { display: block; letter-spacing: 0; }
.re-page .re-ai-float b { color: #132238; font-size: 10px; line-height: 1.3; }
.re-page .re-ai-float small { margin-top: 3px; color: #718198; font-size: 8px; line-height: 1.35; }

.re-page .re-ai-match-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: #1769e0;
  font-size: 18px;
  line-height: 1;
}

.re-page .re-ai-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: #65758a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.re-page .re-ai-section-label span:last-child { color: #1769e0; letter-spacing: .08em; }

.re-page .re-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
}

.re-page .re-ai-grid article {
  position: relative;
  min-width: 0;
  min-height: 66px;
  padding: 12px 12px 12px 24px;
  border-bottom: 1px solid #e2e8ef;
  background: transparent;
  transition: background-color .2s ease;
}

.re-page .re-ai-grid article::before {
  position: absolute;
  top: 21px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1769e0;
  content: "";
}

.re-page .re-ai-grid h3 {
  margin: 0 0 4px;
  color: #132238;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.re-page .re-ai-grid p {
  margin: 0;
  color: #66778a;
  font-size: 9px;
  line-height: 1.5;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .re-page .re-ai-grid article:hover {
    background: #f8fafc;
  }
}

@keyframes re-ai-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes re-ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes re-ai-glow { from { opacity: .72; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

@media (max-width: 900px) {
  .re-page .re-ai-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .re-page .re-ai-copy h2 { font-size: clamp(34px, 4.5vw, 46px); }
  .re-page .re-ai-showcase { padding: 10px; }
  .re-page .re-ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .re-page .re-ai-automation { min-height: 0; padding: 52px 0; }
  .re-page .re-ai-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 34px; }
  .re-page .re-ai-copy h2 { font-size: clamp(36px, 10vw, 46px); }
  .re-page .re-ai-copy > p { font-size: 13px; }
  .re-page .re-ai-showcase { width: calc(100% - 12px); justify-self: center; padding: 10px; border-radius: 15px; }
  .re-page .re-ai-screen img { height: auto; }
  .re-page .re-ai-lead { right: -7px; top: -15px; }
  .re-page .re-ai-match { left: -7px; bottom: -14px; }
  .re-page .re-ai-float { padding: 8px 10px; }
  .re-page .re-ai-grid { grid-template-columns: minmax(0, 1fr); }
  .re-page .re-ai-grid article { min-height: 60px; padding: 10px 12px 10px 24px; }
  .re-page .re-ai-grid h3 { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .re-page .re-ai-automation::before,
  .re-page .re-ai-showcase,
  .re-page .re-ai-halo,
  .re-page .re-ai-float,
  .re-page .re-ai-grid article { animation: none; transition: none; }
}

