/* account-intro.css — 통합 계정 안내 전용. 색·글자·버튼·카드·안내 상자는 core-ui.css 를 따른다.
   그라데이션은 브랜드 영역(계정 연결도의 선)에만 쓴다. */

/* ── 소개 ── */
.cu-main h2, .cu-main h3 { word-break: keep-all; }
.ai-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 24px 0 56px; }
/* 소개 페이지 큰 제목은 글자 체계(페이지 제목 28)의 예외로 크게 쓴다 */
.ai-catch { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.18; letter-spacing: -.05em; font-weight: 800; }
.ai-lead { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 520px; word-break: keep-all; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ai-note { margin-top: 12px; }

/* 장식 그림 — 가운데 계정에서 서비스로 선이 이어진다. 그라데이션은 브랜드 영역이라 허용 */
.ai-visual { position: relative; padding: 32px 56px 76px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.ai-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.ai-orbit { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; }
.ai-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--border); transform: translate(-50%, -50%); }
.ai-ring--outer { width: 88%; height: 88%; }
.ai-ring--inner { width: 52%; height: 52%; border-style: solid; }
.ai-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-lines line { vector-effect: non-scaling-stroke; stroke-width: 1.5; stroke-linecap: round; }
.ai-lines-base line { stroke: var(--border); }
.ai-lines-flow line { stroke: var(--brand); stroke-dasharray: 6 60; animation: ai-flow 3.2s linear infinite; opacity: .9; }
@keyframes ai-flow { from { stroke-dashoffset: 66; } to { stroke-dashoffset: 0; } }

.ai-core {
  position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 50%;
  border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 10%, transparent), 0 12px 32px rgba(13, 148, 136, .18);
}
.ai-core img { width: 36%; height: auto; }
.ai-core strong { font-size: 13px; font-weight: 700; }

.ai-pill {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel);
  font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-h);
  animation: ai-float 6s ease-in-out infinite; animation-delay: calc(var(--d) * -1);
}
.ai-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@keyframes ai-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

.ai-signed {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; white-space: nowrap; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel);
  font-size: 12px; font-weight: 600; box-shadow: var(--shadow-h);
}
.ai-signed [data-icon] { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--success); color: #fff; }
.ai-signed svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: reduce) { .ai-lines-flow, .ai-pill { animation: none; } .ai-lines-flow { display: none; } }

/* ── 이점 ── */
.ai-section { padding: 48px 0; border-top: 1px solid var(--border); }
.ai-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.ai-head p, .ai-security-intro p { font-size: 16px; word-break: keep-all; }
.ai-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.ai-benefits h3 { margin-top: 16px; }
.ai-benefits p { margin-top: 8px; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.ai-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--soft); color: var(--focus); }
.ai-icon svg { width: 20px; height: 20px; }

/* ── 보안 ── */
.ai-security { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.ai-security-intro { position: sticky; top: calc(var(--header) + 24px); }
.ai-security-intro p { margin-top: 12px; }
.ai-text-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--focus); text-underline-offset: 4px; }
.ai-text-link:hover { text-decoration: underline; }
.ai-security-list { display: grid; gap: 24px; }
.ai-security-list article { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.ai-security-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.ai-security-list p { margin-top: 8px; font-size: 16px; word-break: keep-all; }
.ai-security-list .note { margin-top: 12px; }

/* ── 마무리 ── */
.ai-closing { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; background: var(--surface); }
.ai-closing p { margin-top: 8px; font-size: 16px; }
.ai-closing .ai-actions { margin-top: 0; flex-shrink: 0; }

@media (max-width: 800px) {
  .ai-hero, .ai-head, .ai-security { grid-template-columns: 1fr; gap: 24px; }
  .ai-hero { padding: 8px 0 40px; }
  .ai-benefits { grid-template-columns: 1fr; margin-top: 24px; }
  .ai-section { padding: 40px 0; }
  .ai-security-intro { position: static; }
  .ai-closing { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .ai-catch { font-size: 34px; }
  .ai-visual { padding: 28px 40px 68px; }
  .ai-pill { padding: 6px 10px; font-size: 12px; }
  .ai-actions .button { flex: 1 1 100%; }
  .ai-closing .ai-actions { flex-direction: column-reverse; }
}
