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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

/* ─── SECTIONS ───────────────────────────────── */
section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
section.full-width {
  max-width: none;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-dim);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(224, 0, 77, 0.2);
}

h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 18px;
  font-weight: 600;
}

.accent {
  color: var(--brand);
}

/* ─── FADE IN ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 {
  transition-delay: 0.1s;
}
.fade-up.delay-2 {
  transition-delay: 0.2s;
}
.fade-up.delay-3 {
  transition-delay: 0.3s;
}
.fade-up.delay-4 {
  transition-delay: 0.4s;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    opacity 0.2s,
    box-shadow 0.3s,
    transform 0.2s;
  box-shadow: 0 0 0 rgba(224, 0, 77, 0);
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 32px rgba(224, 0, 77, 0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─── SECTION 1: HERO ────────────────────────── */
#hero {
  padding-top: 140px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(224, 0, 77, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(224, 0, 77, 0.04) 0%, transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-text {
  max-width: 900px;
  margin-bottom: 48px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 24px 0 40px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Split UI */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-top: 64px;
}
.ui-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.ui-panel.ai-panel {
  border-color: rgba(224, 0, 77, 0.3);
  box-shadow:
    0 0 40px var(--brand-dim),
    inset 0 0 40px rgba(224, 0, 77, 0.03);
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
/* macOS 윈도우 컨트롤 색상 (red/yellow/green 순서) */
.panel-dot:nth-child(1) {
  background: #ff5f57;
}
.panel-dot:nth-child(2) {
  background: #febc2e;
}
.panel-dot:nth-child(3) {
  background: #28c840;
}
.panel-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: auto;
  letter-spacing: 0.05em;
}
.ai-panel .panel-title {
  color: var(--brand);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.search-icon {
  color: var(--text-muted);
  font-size: 14px;
}
.search-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.search-results {
  padding: 8px 16px 16px;
}
.search-result {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background 0.2s;
  position: relative;
}
.search-result.highlighted {
  background: rgba(224, 0, 77, 0.06);
  border-left: 2px solid var(--brand);
}
.result-url {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.result-title {
  font-size: 13px;
  font-weight: 500;
  color: #6aabf7;
  margin-bottom: 3px;
}
.result-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.result-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-dim);
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 0;
}
.ai-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--brand), #ff6688);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.ai-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.ai-body {
  padding: 12px 16px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.ai-highlight {
  display: inline;
  background: rgba(224, 0, 77, 0.15);
  color: #ff6688;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(224, 0, 77, 0.3);
}

.ai-sources {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 16px 16px;
}
.source-chip {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 20px;
}
.source-chip.active {
  color: var(--brand);
  border-color: rgba(224, 0, 77, 0.3);
  background: var(--brand-dim);
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--brand);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ─── SECTION 2: EVOLUTION ───────────────────── */
.evolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 48px 0;
  position: relative;
}
.evo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
}
.evo-card:first-child {
  border-radius: 14px 0 0 14px;
}
.evo-card:last-child {
  border-radius: 0 14px 14px 0;
  border-color: var(--brand-glow);
}
.evo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.evo-card:last-child .evo-icon {
  background: var(--brand-dim);
  border-color: rgba(224, 0, 77, 0.3);
}
.evo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.evo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.evo-card:last-child .evo-tag {
  color: var(--brand);
  background: var(--brand-dim);
}
.evo-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.evo-point {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.evo-card:last-child .evo-point {
  color: var(--brand);
}
.evo-arrow {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evolution-question {
  text-align: center;
  padding: 56px 24px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}
.evolution-question strong {
  color: var(--text);
}
.evolution-question .highlight {
  color: var(--brand);
}

/* ─── SECTION 3: CORE MESSAGE ────────────────── */
#core {
  position: relative;
}

/* ─── SECTION 4: FRAMEWORK ───────────────────── */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 48px 0;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.fw-card {
  background: var(--bg-card);
  padding: 36px 28px;
  transition: background 0.3s;
}
.fw-card:hover {
  background: var(--bg-card2);
}
.fw-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
}
.fw-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 3px;
}
.fw-title {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.fw-subtitle {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text);
}
.fw-list {
  list-style: none;
}
.fw-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fw-list li:last-child {
  border-bottom: none;
}
.fw-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

.framework-keyline {
  text-align: center;
  padding: 32px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-top: 2px solid var(--brand);
}
.framework-keyline strong {
  color: var(--text);
}

/* ─── SECTION 5: PROBLEM ─────────────────────── */
.problem-body {
  font-size: 17px;
  color: var(--text);
  line-height: 1.85;
  margin: 32px 0 10px;
  max-width: 640px;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.2s;
}
.problem-item:hover {
  border-color: rgba(224, 0, 77, 0.3);
  background: rgba(224, 0, 77, 0.04);
  transform: translateX(4px);
}
.problem-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    border-color 0.3s;
  margin-top: 1px;
}
.problem-item:hover .problem-check {
  background: var(--brand);
  border-color: var(--brand);
}
.check-mark {
  display: none;
}
.problem-item:hover .check-mark {
  display: block;
}
.problem-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.problem-item:hover .problem-text {
  color: var(--text);
}

/* ─── SECTION 6: SERVICES ────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:last-child {
  grid-column: 1 / -1;
}
.service-card:hover {
  border-color: rgba(224, 0, 77, 0.3);
  box-shadow: 0 0 32px rgba(224, 0, 77, 0.08);
}
.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.service-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-impact {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.02);
}

.services-note {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(224, 0, 77, 0.24);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
}

/* Mini data viz */

/* ─── SECTION 6A: AGENT OPS ENHANCEMENTS ─────── */
#agent-ops {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#agent-ops > * {
  position: relative;
  z-index: 1;
}
.agent-ops-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.agent-ops-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 18%,
    rgba(0, 0, 0, 0.9) 82%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 18%,
    rgba(0, 0, 0, 0.9) 82%,
    transparent 100%
  );
  opacity: 0.22;
}
.agent-ops-bg::after {
  content: '';
  position: absolute;
  inset: 6% 18% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 0, 77, 0.1) 0%,
    rgba(224, 0, 77, 0.04) 26%,
    transparent 68%
  );
  filter: blur(18px);
  opacity: 0.55;
}
.agent-pulse {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(224, 0, 77, 0.14);
  box-shadow: 0 0 0 1px rgba(224, 0, 77, 0.04) inset;
}
.agent-pulse::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 1px solid rgba(224, 0, 77, 0.08);
}
.agent-pulse.pulse-1 {
  width: 180px;
  height: 180px;
  left: -34px;
  top: 120px;
}
.agent-pulse.pulse-2 {
  width: 240px;
  height: 240px;
  right: -72px;
  bottom: 140px;
}
.agent-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.agent-float-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(224, 0, 77, 0.7);
  box-shadow: 0 0 12px rgba(224, 0, 77, 0.45);
}
.agent-workflow {
  position: relative;
  margin-top: 48px;
}
.agent-workflow-chips {
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 0;
  pointer-events: none;
  z-index: 2;
}
.agent-workflow .agent-float-chip {
  top: 0;
  transform: translate3d(-50%, 0, 0);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border);
}
.agent-workflow .agent-float-chip.chip-1 {
  left: calc(16.666% + 2px);
}
.agent-workflow .agent-float-chip.chip-2 {
  left: 50%;
}
.agent-workflow .agent-float-chip.chip-3 {
  left: calc(83.333% - 2px);
}

.agent-workflow-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  pointer-events: none;
  z-index: 0;
}
.agent-rail-line {
  position: absolute;
  left: calc(16.666% + 30px);
  right: calc(16.666% + 30px);
  top: 11px;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--border) 0%,
    rgba(224, 0, 77, 0.32) 48%,
    var(--border) 100%
  );
}
.agent-rail-node {
  position: absolute;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(224, 0, 77, 0.46);
  box-shadow:
    0 0 0 4px rgba(224, 0, 77, 0.08),
    0 0 20px rgba(224, 0, 77, 0.1);
}
.agent-rail-node::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}
.agent-rail-node.node-1 {
  left: calc(16.666% - 6px);
}
.agent-rail-node.node-2 {
  left: calc(50% - 6px);
}
.agent-rail-node.node-3 {
  left: calc(83.333% - 6px);
}

#agent-ops .services-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}
#agent-ops .service-card:last-child {
  grid-column: auto;
}
#agent-ops .service-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--bg-card);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s,
    background 0.3s;
}
#agent-ops .service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(224, 0, 77, 0.07) 0%,
    transparent 26%,
    transparent 74%,
    rgba(255, 255, 255, 0.02) 100%
  );
  opacity: 0.8;
  pointer-events: none;
}
#agent-ops .service-card:hover {
  border-color: rgba(224, 0, 77, 0.48);
  box-shadow:
    0 0 0 1px rgba(224, 0, 77, 0.18),
    0 0 36px rgba(224, 0, 77, 0.1);
  transform: translateY(-3px);
}

.agent-ui {
  position: relative;
  margin: 20px 0 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.agent-ui::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}
.agent-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}
.agent-ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1;
}
.agent-ui-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(224, 0, 77, 0.35);
}

.agent-chip-row,
.agent-filter-row,
.agent-monitor-list,
.agent-report-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-chip-row span,
.agent-filter-row span,
.agent-monitor-list span,
.agent-report-list span {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1;
}
.agent-chip-row {
  margin-bottom: 10px;
}
.agent-chip-row span.active,
.agent-filter-row span.active,
.agent-monitor-list span.active,
.agent-report-list span.active {
  border-color: rgba(224, 0, 77, 0.28);
  background: var(--brand-dim);
  color: #fff;
}
.agent-cluster-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
  align-items: end;
  height: 36px;
}
.agent-cluster-bars span {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(224, 0, 77, 0.38) 0%, rgba(255, 255, 255, 0.08) 100%);
}
.agent-cluster-bars span:nth-child(1) {
  height: 42%;
}
.agent-cluster-bars span:nth-child(2) {
  height: 74%;
}
.agent-cluster-bars span:nth-child(3) {
  height: 58%;
}
.agent-cluster-bars span:nth-child(4) {
  height: 92%;
}
.agent-cluster-bars span:nth-child(5) {
  height: 48%;
}

.agent-monitor-top,
.agent-report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.agent-monitor-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.agent-monitor-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(224, 0, 77, 0.14);
}
.agent-monitor-wave {
  position: relative;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  overflow: hidden;
}
.agent-monitor-wave::before {
  content: '';
  position: absolute;
  inset: 50% 10px auto 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.agent-monitor-wave svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.agent-monitor-wave path {
  fill: none;
  stroke: rgba(224, 0, 77, 0.9);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(224, 0, 77, 0.22));
}
.agent-monitor-list {
  gap: 7px;
}
.agent-monitor-list span::before,
.agent-report-list span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(224, 0, 77, 0.7);
  margin-right: 7px;
}

.agent-report-sheet {
  padding: 12px;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.agent-report-top {
  margin-bottom: 12px;
}
.agent-report-progress {
  width: 62px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.agent-report-progress span {
  display: block;
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, rgba(224, 0, 77, 0.4) 0%, rgba(224, 0, 77, 0.95) 100%);
}
.agent-report-list {
  flex-direction: column;
  gap: 8px;
}
.agent-report-list span {
  width: 100%;
  justify-content: space-between;
  border-radius: 10px;
  padding: 8px 10px;
}
.agent-report-list span::after {
  content: 'Done';
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
}

/* ≤1023: agent-ops 카드 1col stack, floating chips/rail 수직화 */
@media (max-width: 1023px) {
  #agent-ops .services-grid {
    grid-template-columns: 1fr;
  }
  .agent-workflow {
    margin-top: 40px;
  }
  .agent-workflow-chips {
    display: none !important;
  }
  .agent-workflow-rail {
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translate3d(-50%, 0, 0) !important;
    width: 24px !important;
    height: auto !important;
  }
  .agent-rail-line {
    left: 11px !important;
    right: auto !important;
    top: 44px !important;
    bottom: 44px !important;
    width: 1px !important;
    height: auto !important;
    background: linear-gradient(
      180deg,
      var(--border) 0%,
      rgba(224, 0, 77, 0.32) 48%,
      var(--border) 100%
    ) !important;
  }
  .agent-rail-node.node-1 {
    left: 6px !important;
    top: 78px !important;
  }
  .agent-rail-node.node-2 {
    left: 6px !important;
    top: calc(50% - 6px) !important;
  }
  .agent-rail-node.node-3 {
    left: 6px !important;
    bottom: 78px !important;
    top: auto !important;
  }
}

@media (max-width: 480px) {
  .agent-ui {
    padding: 14px;
  }
  .agent-float-chip {
    font-size: 10px;
    padding: 7px 10px;
  }
  .agent-pulse.pulse-2 {
    width: 180px;
    height: 180px;
    right: -54px;
  }
}

/* ─── SECTION 7: CLIENTS ─────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0.55;
  transition:
    opacity 0.3s,
    border-color 0.3s;
}
.client-card:hover {
  opacity: 1;
  border-color: rgba(224, 0, 77, 0.3);
}

/* ─── SECTION 8: WHY NNT ─────────────────────── */
.why-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 32px 0 48px;
  max-width: 760px;
}
.why-body strong {
  color: var(--text);
}

/* ─── SECTION 9: CTA ─────────────────────────── */
#cta {
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(224, 0, 77, 0.08) 0%,
    transparent 70%
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
/* ─── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img {
  height: 24px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── DIVIDER LINE ───────────────────────────── */
/* ─── NEURAL SVG BG ──────────────────────────── */

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 767px) {
  nav {
    padding: 0 24px;
  }
  section {
    padding: 80px 24px;
  }
  .hero-visual {
    grid-template-columns: 1fr;
  }
  .evolution-grid {
    grid-template-columns: 1fr;
  }
  .evo-card:first-child,
  .evo-card:last-child {
    border-radius: 14px;
  }
  .evo-arrow {
    display: none;
  }
  .framework-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:last-child {
    grid-column: auto;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── LOGO MARQUEE ───────────────────────────── */
.logo-marquee-wrap {
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-marquee {
  display: flex;
  gap: 0;
  width: -moz-max-content;
  width: max-content;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 80px;
  padding: 20px 28px;
  flex-shrink: 0;
  background: var(--bg-card3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin: 0 8px;
  opacity: 1;
  transition:
    border-color 0.3s,
    transform 0.2s,
    box-shadow 0.2s;
}
.logo-item:hover {
  transform: translateY(-1px);
  border-color: var(--brand-glow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.logo-item img {
  max-width: 130px;
  max-height: 42px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
