@charset "UTF-8";
/* =====================================================================
 *  DESIGNART AI — AI Website Autopilot
 *  (주)디자인아트플러스 designart.co.kr 과 같은 밝은 블루/화이트 톤
 * ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --bg:            #ffffff;
  --bg-soft:       #f4f8fd;
  --bg-tint:       #eef4fc;
  --bg-elev:       #ffffff;

  --line:          rgba(16, 42, 92, .10);
  --line-strong:   rgba(16, 42, 92, .20);

  --txt:           #0d1c38;
  --txt-dim:       #4b5c7b;
  --txt-mute:      #8290ab;

  --bl:            #1a5cf5;   /* 주조색 */
  --bl-deep:       #0b3ec4;
  --bl-soft:       #e8f0ff;
  --cy:            #00a8e8;
  --sky:           #4fc3f7;
  --lm:            #12b76a;
  --am:            #f59e0b;
  --rd:            #e5484d;

  --grad:          linear-gradient(100deg, var(--bl), var(--cy) 62%, var(--sky));
  --grad-soft:     linear-gradient(135deg, rgba(26, 92, 245, .10), rgba(0, 168, 232, .10));

  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --pad:   clamp(20px, 5vw, 40px);
  --max:   1180px;

  --ease:  cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --sh-sm: 0 2px 10px rgba(16, 42, 92, .06);
  --sh:    0 10px 30px -12px rgba(16, 42, 92, .18);
  --sh-lg: 0 30px 70px -28px rgba(16, 42, 92, .35);
  --sh-bl: 0 14px 34px -12px rgba(26, 92, 245, .45);
}

/* ------------------------------ Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* hidden 속성은 브라우저 기본 display:none 으로 동작하므로,
   .modal{display:grid} 같은 저자 규칙에 우선순위를 빼앗긴다. 명시적으로 되살린다. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(26, 92, 245, .18); color: var(--txt); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--bl), var(--cy));
  border-radius: 99px;
  border: 3px solid var(--bg-soft);
}

/* --------------------------- Primitives ----------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tint { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bl);
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(26, 92, 245, .22);
  border-radius: 99px;
  background: var(--bl-soft);
}
.eyebrow .spark {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bl);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(26, 92, 245, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(26, 92, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 92, 245, 0); }
}

h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.035em; font-weight: 750; color: var(--txt); }

.h2 { font-size: clamp(30px, 4.8vw, 52px); }
.h3 { font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -.028em; }

.lead {
  color: var(--txt-dim);
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  line-height: 1.8;
  max-width: 56ch;
}

.grad-txt {
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 220% 50%; } }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5.5vw, 66px); }
.sec-head .h2 { margin: 18px 0 16px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ----------------------------- Buttons ------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 99px;
  font-weight: 680;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s ease, border-color .3s ease, color .3s ease;
  will-change: transform;
}
.btn svg { flex: none; transition: transform .4s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 180% 100%;
  box-shadow: var(--sh-bl);
  animation: shimmer 8s linear infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(26, 92, 245, .6);
}

.btn-ghost {
  color: var(--txt);
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  color: var(--bl);
  border-color: rgba(26, 92, 245, .45);
  box-shadow: 0 10px 24px -12px rgba(26, 92, 245, .4);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ------------------------------- Nav -------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(160%);
}
.nav.stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -14px rgba(16, 42, 92, .3);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.03em;
  margin-right: auto;
  color: var(--txt);
}
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .mark .ring1 { transform-origin: 50% 50%; animation: spin 9s linear infinite; }
.brand .mark .ring2 { transform-origin: 50% 50%; animation: spin 6s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--txt-dim);
  border-radius: 99px;
  transition: color .3s ease, background .3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--bl); }
.nav-links a:hover::after { transform: scaleX(1); }

/* 상단 강조 메뉴 — "AI가 하는 일 보기" */
.nav-links a.nav-hot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  background-size: 200% 100%;
  box-shadow: var(--sh-bl);
  animation: shimmer 7s linear infinite;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-links a.nav-hot:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(26, 92, 245, .65);
}
.nav-links a.nav-hot::after { display: none; }
.nav-hot .hot-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: ping2 1.6s ease-in-out infinite;
}
.nav-links a.nav-hot.is-active { box-shadow: 0 0 0 3px rgba(26, 92, 245, .18), var(--sh-bl); }
@media (max-width: 900px) {
  .nav-links a.nav-hot { justify-content: center; margin-bottom: 8px; }
}

.nav .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: 10px;
  color: var(--txt);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--pad) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; font-size: 16px; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
}

/* ------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #f2f7ff 0%, #ffffff 72%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-canvas.gl-ready { opacity: 1; }
.hero-canvas.gl-unsupported + .hero-fallback { opacity: 1; }

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(55% 50% at 50% 38%, rgba(26, 92, 245, .16), transparent 70%),
    radial-gradient(45% 40% at 20% 70%, rgba(0, 168, 232, .14), transparent 70%),
    radial-gradient(50% 45% at 82% 28%, rgba(79, 195, 247, .16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.12) translate3d(2%, -2%, 0); } }

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, #fff 90%);
  pointer-events: none;
}

/* 회전 궤도 SVG */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: min(112vh, 1000px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: .55;
  pointer-events: none;
  mask-image: radial-gradient(closest-side, #000 55%, transparent 85%);
}
.orbit .o-ring { transform-origin: 50% 50%; }
.orbit .o1 { animation: spin 60s linear infinite; }
.orbit .o2 { animation: spin 45s linear infinite reverse; }
.orbit .o3 { animation: spin 90s linear infinite; }

.hero-in { position: relative; width: 100%; text-align: center; }

.hero h1 {
  font-size: clamp(38px, 7.6vw, 84px);
  font-weight: 800;
  letter-spacing: -.045em;
  margin: 24px 0 22px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: riseIn 1.1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .28s; }
@keyframes riseIn { to { transform: none; } }

.hero .lead { margin: 0 auto; text-wrap: balance; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: clamp(44px, 6vw, 70px) auto 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh);
}
.hero-stats div { background: #fff; padding: 20px 12px; }
.hero-stats b {
  display: block;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 780;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--bl);
}
.hero-stats span { font-size: 12.5px; color: var(--txt-mute); }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--txt-mute);
  text-transform: uppercase;
}
.scroll-hint i {
  width: 2px; height: 40px;
  border-radius: 2px;
  background: linear-gradient(var(--bl), transparent);
  animation: fall 2.2s var(--ease-io) infinite;
}
@keyframes fall {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ----------------------------- Marquee ------------------------------ */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-dim);
  white-space: nowrap;
}
.marquee-track span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------------------------- Bento Grid ---------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%),
              rgba(26, 92, 245, .1), transparent 65%);
  opacity: 0;
  transition: opacity .45s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 92, 245, .3);
  box-shadow: var(--sh);
}
.card:hover::before { opacity: 1; }

.card .h3 { margin-bottom: 10px; }
.card p { color: var(--txt-dim); font-size: 14.8px; line-height: 1.75; }

.c-4 { grid-column: span 4; }
.c-3 { grid-column: span 3; }
.c-2 { grid-column: span 2; }
.c-6 { grid-column: span 6; }

.card-visual {
  position: relative;
  height: 190px;
  margin: -6px -10px 22px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(160deg, #f5f9ff, #eaf2ff);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--bl);
  padding: 5px 11px;
  border: 1px solid rgba(26, 92, 245, .2);
  border-radius: 99px;
  background: var(--bl-soft);
}

@media (max-width: 980px) { .c-4, .c-3, .c-2 { grid-column: span 6; } }

/* --------------------------- SVG Motions ---------------------------- */
.draw {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
}
.in-view .draw { animation: draw 1.9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.flowline {
  stroke-dasharray: 5 12;
  animation: flowdash 1.4s linear infinite;
}
@keyframes flowdash { to { stroke-dashoffset: -34; } }

.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 8s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

.pulse-node { transform-box: fill-box; transform-origin: center; animation: pulseNode 3s ease-in-out infinite; }
@keyframes pulseNode { 50% { transform: scale(1.35); opacity: .6; } }

.blink { animation: blink 1.15s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@keyframes ping2 { 50% { opacity: .35; } }

/* --------------------------- Pipeline ------------------------------- */
.pipeline {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh);
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
}
.pipeline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% -10%, rgba(26, 92, 245, .09), transparent 70%);
  pointer-events: none;
}
.pipe-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.step .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--txt-dim); line-height: 1.7; }
@media (max-width: 860px) { .pipe-steps { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }
@media (max-width: 520px) { .pipe-steps { grid-template-columns: 1fr; } }

/* --------------------------- Dashboard ------------------------------ */
.dash-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 940px) { .dash-grid { grid-template-columns: 1fr; } }

.browser {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform .9s var(--ease);
}
.browser:hover { transform: perspective(1600px) rotateY(0) rotateX(0) translateY(-4px); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
  flex: 1;
  margin-left: 8px;
  font-size: 11.5px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--txt-mute);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.browser-body { padding: 20px; display: grid; gap: 14px; background: #fff; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  background: var(--bg-soft);
}
.kpi small { display: block; font-size: 11px; color: var(--txt-mute); margin-bottom: 5px; }
.kpi b { font-size: 21px; font-weight: 780; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--lm); margin-left: 5px; }

.log {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #0d1c38;
  padding: 13px 15px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.95;
  min-height: 132px;
}
.log-line { display: flex; gap: 9px; opacity: 0; animation: logIn .5s var(--ease) forwards; }
@keyframes logIn { to { opacity: 1; transform: none; } }
.log-line time { color: #6b7ba0; flex: none; }
.log-line em { font-style: normal; color: #4fc3f7; flex: none; }
.log-line span { color: #c7d3ea; }

.checks { display: grid; gap: 16px; margin-top: 30px; }
.check { display: flex; gap: 13px; align-items: flex-start; }
.check .ic {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bl-soft);
  border: 1px solid rgba(26, 92, 245, .22);
}
.check b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 2px; }
.check p { font-size: 14px; color: var(--txt-dim); line-height: 1.68; }

/* ----------------------------- Agents ------------------------------- */
.agents-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 940px) { .agents-wrap { grid-template-columns: 1fr; } }

.orb-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-ring { position: absolute; inset: 0; pointer-events: none; }
.orb-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 92, 245, .16), transparent 62%);
  filter: blur(28px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.14); opacity: .7; } }

.agent-list { display: grid; gap: 11px; }
.agent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: .4s var(--ease);
}
.agent:hover {
  transform: translateX(6px);
  border-color: rgba(26, 92, 245, .35);
  box-shadow: var(--sh);
}
.agent .av {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--bl-soft);
  border: 1px solid rgba(26, 92, 245, .18);
}
.agent b { display: block; font-size: 15px; font-weight: 700; }
.agent span { font-size: 13.2px; color: var(--txt-mute); }
.agent .status {
  margin-left: auto;
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.agent .status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lm);
  animation: ping2 2s ease-in-out infinite;
}

/* ----------------------------- Pricing ------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow: 0 26px 60px -30px rgba(26, 92, 245, .55);
}
.plan .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: 99px;
  color: #fff;
  background: var(--grad);
  white-space: nowrap;
  box-shadow: var(--sh-bl);
}
.plan h3 { font-size: 19px; margin-bottom: 6px; }
.plan .desc { font-size: 13.8px; color: var(--txt-mute); min-height: 42px; }
.price { display: flex; align-items: flex-end; gap: 5px; margin: 18px 0 22px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--txt); }
.price span { font-size: 14px; color: var(--txt-mute); padding-bottom: 4px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; font-size: 14.2px; color: var(--txt-dim); }
.plan li svg { flex: none; margin-top: 4px; }
.plan .btn { width: 100%; }

/* ------------------------------- CTA -------------------------------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(54px, 8vw, 92px) var(--pad);
  border-radius: var(--r-xl);
  color: #fff;
  background: linear-gradient(120deg, #0b3ec4, #1a5cf5 45%, #00a8e8);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 70px -30px rgba(26, 92, 245, .7);
}
.cta-mesh { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.cta .h2 { margin-bottom: 18px; color: #fff; }
.cta .grad-txt {
  background: linear-gradient(100deg, #cfe4ff, #ffffff 60%, #a9dcff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta .lead { margin: 0 auto 32px; text-align: center; color: rgba(255, 255, 255, .88); }
.cta .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .3);
}
.cta .eyebrow .spark { background: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta .btn-primary {
  color: var(--bl-deep);
  background: #fff;
  animation: none;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
}
.cta .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}
.cta .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ------------------------------ Footer ------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 60px 0 40px;
  margin-top: clamp(70px, 10vw, 120px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px 24px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-bottom: 16px;
  font-weight: 700;
}
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid li a {
  font-size: 14.2px;
  color: var(--txt-dim);
  transition: color .3s ease, transform .3s ease;
  display: inline-block;
}
.foot-grid li a:hover { color: var(--bl); transform: translateX(3px); }
.foot-brand p { font-size: 14px; color: var(--txt-mute); max-width: 34ch; margin-top: 14px; }

/* 사업자 정보 */
.foot-corp {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12.8px;
  color: var(--txt-mute);
  line-height: 1.9;
}
.foot-corp span { white-space: nowrap; }
.foot-corp b { color: var(--txt-dim); font-weight: 600; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.8px;
  color: var(--txt-mute);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid rgba(18, 183, 106, .3);
  border-radius: 99px;
  background: rgba(18, 183, 106, .08);
  color: #0e8f55;
  font-weight: 700;
  font-size: 12px;
}
.live-badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lm);
  animation: ping2 1.8s ease-in-out infinite;
}

/* --------------------------- Scroll Reveal -------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view { opacity: 1; transform: none; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--grad);
  z-index: 200;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(26, 92, 245, .06), transparent 62%);
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.on { opacity: 1; } }

/* ------------------------ Reduced Motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
