:root {
  --primary: #0c1f4d;
  --primary-2: #123a88;
  --secondary: #2e7df6;
  --accent: #6dc1ff;
  --bg: #edf3ff;
  --bg-strong: #dfe9ff;
  --text: #10213d;
  --muted: #5e6d88;
  --card: rgba(255, 255, 255, 0.76);
  --line: rgba(12, 31, 77, 0.1);
  --shadow: 0 30px 60px rgba(5, 17, 42, 0.12);
  /* 상단 고정 헤더 높이. 화면 폭에 따라 달라져서 script.js가 실제 값으로 갱신한다 */
  --header-height: 91px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 고정 헤더가 앵커로 이동한 섹션의 제목을 덮지 않도록 위쪽 여백을 확보한다 */
section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff5ff 100%);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(19, 58, 136, 0.04), rgba(19, 58, 136, 0.08));
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 31, 77, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}

/* 로고는 진한 파랑이라 어두운 헤더에 묻힌다. 흰 바탕을 깔아 대비를 확보한다 */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(5, 17, 42, 0.28);
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 28px 20px 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  color: #fff;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 220px;
  padding: 14px 0;
  list-style: none;
  margin: 0;
  background: rgba(10, 18, 34, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(6, 14, 30, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.submenu li + li {
  margin-top: 4px;
}

.submenu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(109, 193, 255, 0.15);
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(46, 125, 246, 0.24);
}

.hero {
  background:
    radial-gradient(circle at 76% 42%, rgba(46, 125, 246, 0.14), transparent 32%),
    linear-gradient(90deg, rgba(6, 17, 42, 0.98) 0%, rgba(8, 27, 62, 0.9) 42%, rgba(8, 24, 51, 0.28) 68%, rgba(5, 15, 34, 0.38) 100%),
    url("assets/images/hero-wind-ai.png") center / cover no-repeat;
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.live-dashboard {
  position: absolute;
  top: 4px;
  right: -24px;
  z-index: 4;
  width: min(112%, 660px);
  aspect-ratio: 1056 / 524;
  overflow: hidden;
  border: 1px solid rgba(130, 205, 255, 0.32);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 35, 78, 0.96), rgba(5, 23, 55, 0.96));
  box-shadow: 0 34px 90px rgba(0, 7, 24, 0.58), 0 0 46px rgba(47, 143, 255, 0.12);
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 0.18s ease-out;
}

.hero-visual {
  min-height: 590px;
}

.hero-visual .energy-graph-panel {
  right: -24px;
  bottom: 0;
  width: min(76%, 390px);
}

.live-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.06), transparent 24% 76%, rgba(69,178,255,0.06));
}

.live-dashboard > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-dashboard > canvas {
  z-index: 2;
  pointer-events: none;
}

.dashboard-readout,
.dashboard-sync {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(118, 199, 255, 0.22);
  background: rgba(4, 22, 54, 0.82);
  box-shadow: 0 8px 24px rgba(0, 8, 28, 0.3);
  backdrop-filter: blur(8px);
}

.dashboard-readout {
  top: 3.6%;
  padding: 5px 8px;
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.48rem, 0.75vw, 0.68rem);
}

.dashboard-readout span { color: rgba(194, 226, 255, 0.7); }
.dashboard-readout strong { color: #fff; font-variant-numeric: tabular-nums; }
.dashboard-readout-a { left: 2.1%; }
.dashboard-readout-b { left: 13.5%; }

.dashboard-sync {
  right: 2.2%;
  bottom: 3.5%;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(222, 241, 255, 0.86);
  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dashboard-sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28f05b;
  box-shadow: 0 0 0 5px rgba(40,240,91,0.1), 0 0 14px rgba(40,240,91,0.9);
  animation: dashboard-live-pulse 1.25s ease-in-out infinite;
}

@keyframes dashboard-live-pulse {
  50% { opacity: 0.35; transform: scale(0.72); }
}

@media (max-width: 900px) {
  .hero-visual { min-height: 570px; }
  .live-dashboard { right: 0; width: min(100%, 680px); }
  .hero-visual .energy-graph-panel { right: 0; }
}

@media (max-width: 600px) {
  .hero-video { object-position: 58% center; }
  .hero-visual { min-height: 500px; }
  .live-dashboard { top: 0; }
  .hero-visual .energy-graph-panel { width: 82%; bottom: -6px; }
  .dashboard-readout { display: none; }
  .dashboard-sync { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .dashboard-sync i { animation: none; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(109, 193, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 193, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 72%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.hero-copy .lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-btn {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  box-shadow: 0 20px 40px rgba(46, 125, 246, 0.3);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.hero-metrics li {
  min-width: 120px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.rolling-number {
  min-width: 3ch;
  font-family: "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
  transform-origin: 50% 50%;
}

.rolling-number.is-rolling {
  animation: number-roll 0.11s linear infinite;
}

.rolling-number.has-landed {
  animation: number-land 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes number-roll {
  0% { transform: translateY(-3px) skewY(-2deg); filter: blur(0); opacity: 1; }
  50% { transform: translateY(4px) skewY(2deg); filter: blur(1.4px); opacity: 0.68; }
  100% { transform: translateY(-3px) skewY(-2deg); filter: blur(0); opacity: 1; }
}

@keyframes number-land {
  0% { transform: translateY(-8px) scale(1.1); filter: blur(2px); opacity: 0.55; }
  65% { transform: translateY(2px) scale(1.03); filter: blur(0); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 510px;
  perspective: 1000px;
  --pointer-x: 0px;
  --pointer-y: 0px;
}

.dashboard-card {
  width: min(100%, 520px);
  border-radius: 28px;
  border: 1px solid rgba(145, 211, 255, 0.22);
  background: linear-gradient(145deg, rgba(7, 18, 40, 0.74), rgba(11, 35, 74, 0.42));
  backdrop-filter: blur(20px) saturate(1.18);
  box-shadow: 0 36px 90px rgba(2, 9, 24, 0.46), inset 0 1px 0 rgba(255,255,255,0.08);
}

.main-card {
  position: relative;
  z-index: 3;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 0.18s ease-out;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff6464; }
.dot-yellow { background: #ffbf5f; }
.dot-green { background: #5ed687; }

.card-body {
  padding: 28px 20px 20px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 200px;
  padding: 14px 12px 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.chart-bars span {
  display: inline-block;
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(109, 193, 255, 1), rgba(46, 125, 246, 0.52));
  box-shadow: 0 0 24px rgba(109, 193, 255, 0.14);
  transition: height 1.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-bars span:nth-child(1) {
  background: linear-gradient(180deg, #4e7dff, #1d3f9e);
  box-shadow: 0 0 24px rgba(78, 125, 255, 0.2);
}

.chart-bars span:nth-child(2) {
  background: linear-gradient(180deg, #5b9cff, #2e61d8);
  box-shadow: 0 0 24px rgba(91, 156, 255, 0.2);
}

.chart-bars span:nth-child(3) {
  background: linear-gradient(180deg, #6dc1ff, #318bd8);
  box-shadow: 0 0 24px rgba(109, 193, 255, 0.22);
}

.chart-bars span:nth-child(4) {
  background: linear-gradient(180deg, #48d7d0, #178d9d);
  box-shadow: 0 0 24px rgba(72, 215, 208, 0.22);
}

.chart-bars span:nth-child(5) {
  background: linear-gradient(180deg, #69e2b6, #219b7a);
  box-shadow: 0 0 24px rgba(105, 226, 182, 0.22);
}

.chart-bars span:nth-child(6) {
  background: linear-gradient(180deg, #ffc66d, #dc8129);
  box-shadow: 0 0 26px rgba(255, 198, 109, 0.25);
}

.chart-bars span:hover {
  filter: brightness(1.2) saturate(1.12);
  transform: translateY(-5px);
  box-shadow: 0 0 34px currentColor;
}

.chart-line {
  position: relative;
  height: 120px;
  margin-top: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.chart-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trend-area {
  fill: url(#trendFill);
  transition: d 1.4s ease;
}

.trend-polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(109, 193, 255, 0.86));
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw-trend 2.2s 0.3s ease forwards;
}

@keyframes draw-trend {
  to { stroke-dashoffset: 0; }
}

.chart-line span {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(109, 193, 255, 0), var(--accent), rgba(109, 193, 255, 0));
  transform: rotate(-8deg);
  box-shadow: 0 0 22px rgba(109, 193, 255, 0.8);
}

.floating-panel {
  position: absolute;
  bottom: 20px;
  left: -18px;
  z-index: 5;
  background: rgba(7, 22, 49, 0.72);
  border: 1px solid rgba(145, 211, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 18px 22px;
  color: #fff;
  box-shadow: var(--shadow);
  transform: translate3d(calc(var(--pointer-x) * -0.7), calc(var(--pointer-y) * -0.7), 40px);
  transition: transform 0.22s ease-out;
}

.floating-panel p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.floating-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.7rem;
}

.hero-data-network {
  position: absolute;
  inset: -4% -8%;
  z-index: 1;
  width: 116%;
  height: 108%;
  overflow: visible;
  pointer-events: none;
  transform: translate3d(calc(var(--pointer-x) * -0.38), calc(var(--pointer-y) * -0.38), 0);
  transition: transform 0.28s ease-out;
  opacity: 0.42;
}

.network-path {
  fill: none;
  stroke: rgba(109, 193, 255, 0.54);
  stroke-width: 1.4;
  stroke-dasharray: 8 13;
  filter: drop-shadow(0 0 5px rgba(109, 193, 255, 0.7));
  animation: data-flow 7s linear infinite;
}

.path-b { animation-duration: 9s; animation-direction: reverse; }
.path-c { animation-duration: 11s; }

.network-node {
  fill: #9bd9ff;
  stroke: rgba(109, 193, 255, 0.25);
  stroke-width: 12;
  animation: node-pulse 2.6s ease-in-out infinite;
}

.node-b { animation-delay: -0.8s; }
.node-c { animation-delay: -1.6s; }

@keyframes data-flow {
  to { stroke-dashoffset: -210; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.48; transform: scale(0.82); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.18); transform-origin: center; }
}

.hero-status {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(145, 211, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 18, 42, 0.7);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.84);
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 18px 40px rgba(2, 9, 24, 0.25);
}

.hero-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62e79b;
  box-shadow: 0 0 0 5px rgba(98, 231, 155, 0.1), 0 0 16px rgba(98, 231, 155, 0.9);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.status-live {
  top: 12px;
  right: -10px;
  transform: translate3d(calc(var(--pointer-x) * -0.55), calc(var(--pointer-y) * -0.55), 30px);
}

.status-ai {
  right: -36px;
  bottom: 102px;
  transform: translate3d(calc(var(--pointer-x) * -0.9), calc(var(--pointer-y) * -0.9), 55px);
}

.status-ai span { background: var(--accent); box-shadow: 0 0 0 5px rgba(109,193,255,0.1), 0 0 16px rgba(109,193,255,0.9); }

@keyframes status-pulse {
  50% { opacity: 0.45; }
}

.command-center,
.status-ai,
.hero-visual > .floating-panel {
  display: none;
}

.energy-graph-panel {
  position: absolute;
  right: -52px;
  bottom: -18px;
  z-index: 5;
  width: min(74%, 370px);
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(145, 211, 255, 0.15);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(5, 18, 42, 0.58), rgba(8, 38, 70, 0.28));
  backdrop-filter: blur(10px) saturate(0.85);
  box-shadow: 0 20px 54px rgba(1, 9, 24, 0.26), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translate3d(calc(var(--pointer-x) * -0.55), calc(var(--pointer-y) * -0.55), 40px);
  transition: transform 0.2s ease-out, border-color 0.25s ease;
}

.energy-graph-panel:hover {
  border-color: rgba(109, 193, 255, 0.28);
}

.energy-graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.energy-graph-header > div {
  display: grid;
  gap: 5px;
}

.energy-graph-header span {
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.energy-graph-header strong {
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.energy-graph-header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62e79b;
  box-shadow: 0 0 0 6px rgba(98, 231, 155, 0.08), 0 0 16px rgba(98, 231, 155, 0.8);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.energy-chart {
  position: relative;
  height: 155px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 15px;
  background:
    linear-gradient(rgba(109, 193, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 193, 255, 0.055) 1px, transparent 1px),
    rgba(1, 10, 28, 0.34);
  background-size: 100% 42px, 55px 100%, auto;
}

.energy-bars {
  position: absolute;
  inset: 22px 18px 14px;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 12px;
}

.energy-bars span {
  flex: 1;
  min-width: 0;
  border-radius: 7px 7px 2px 2px;
  opacity: 0.42;
  transition: height 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease, opacity 0.3s ease;
}

.energy-bars span:nth-child(1),
.energy-bars span:nth-child(4),
.energy-bars span:nth-child(7) {
  background: linear-gradient(180deg, #5b9cff, #264db5);
  box-shadow: 0 0 18px rgba(91, 156, 255, 0.24);
}

.energy-bars span:nth-child(2),
.energy-bars span:nth-child(5),
.energy-bars span:nth-child(8) {
  background: linear-gradient(180deg, #54e1cf, #168f92);
  box-shadow: 0 0 18px rgba(84, 225, 207, 0.24);
}

.energy-bars span:nth-child(3),
.energy-bars span:nth-child(6) {
  background: linear-gradient(180deg, #ffc66d, #d9782a);
  box-shadow: 0 0 18px rgba(255, 198, 109, 0.24);
}

.energy-graph-panel:hover .energy-bars span {
  opacity: 0.62;
  filter: brightness(1.06) saturate(0.8);
}

.energy-lines {
  position: absolute;
  inset: 17px 14px 12px;
  z-index: 2;
  width: calc(100% - 28px);
  height: calc(100% - 29px);
  overflow: visible;
}

.energy-line {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9 7;
  animation: energy-line-flow 8s linear infinite;
  opacity: 0.5;
}

.line-cyan {
  stroke: #6dc1ff;
  filter: drop-shadow(0 0 5px rgba(109, 193, 255, 0.8));
}

.line-mint {
  stroke: #63dfbd;
  filter: drop-shadow(0 0 5px rgba(99, 223, 189, 0.72));
  animation-duration: 10s;
  animation-direction: reverse;
}

.line-amber {
  stroke: #ffbd66;
  filter: drop-shadow(0 0 5px rgba(255, 189, 102, 0.65));
  animation-duration: 12s;
}

@keyframes energy-line-flow {
  to { stroke-dashoffset: -192; }
}

.command-content {
  padding: 24px;
}

.result-heading {
  display: grid;
  gap: 8px;
}

.result-heading > span {
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.result-heading > strong {
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.result-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.6;
}

.result-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.result-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(109, 193, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.result-row:hover {
  border-color: rgba(109, 193, 255, 0.32);
  background: rgba(46, 125, 246, 0.1);
  transform: translateX(4px);
}

.result-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(46, 125, 246, 0.17);
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
}

.result-before,
.result-after {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.result-before small,
.result-after small {
  font-family: "Inter", sans-serif;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.result-before small { color: rgba(255, 255, 255, 0.36); }
.result-after small { color: #8aefb7; }

.result-before strong,
.result-after strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-before strong { color: rgba(255, 255, 255, 0.55); }
.result-after strong { color: rgba(255, 255, 255, 0.94); }

.result-arrow {
  color: var(--accent);
  font-size: 1.05rem;
  text-align: center;
  text-shadow: 0 0 13px rgba(109, 193, 255, 0.75);
}

.result-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(109, 193, 255, 0.1);
}

.result-summary span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62e79b;
  box-shadow: 0 0 0 6px rgba(98, 231, 155, 0.08), 0 0 15px rgba(98, 231, 155, 0.6);
}

.result-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.55;
}

.command-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.command-heading > div {
  display: grid;
  gap: 7px;
}

.command-heading > div > span {
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.command-heading > div > strong {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.system-health {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(98, 231, 155, 0.2);
  border-radius: 999px;
  background: rgba(98, 231, 155, 0.07);
  color: #8aefb7;
  font-family: "Inter", sans-serif;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.system-health i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62e79b;
  box-shadow: 0 0 10px rgba(98, 231, 155, 0.9);
}

.operation-flow {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  align-items: center;
  margin-top: 24px;
}

.operation-step {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 92px;
  align-content: center;
  gap: 5px;
  padding: 14px 10px;
  border: 1px solid rgba(109, 193, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.operation-step.is-active {
  border-color: rgba(109, 193, 255, 0.5);
  background: linear-gradient(145deg, rgba(46, 125, 246, 0.24), rgba(109, 193, 255, 0.08));
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(1, 12, 30, 0.32), inset 0 0 22px rgba(109, 193, 255, 0.05);
}

.step-index {
  color: rgba(109, 193, 255, 0.62);
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.operation-step strong {
  overflow: hidden;
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operation-step small {
  color: rgba(255,255,255,0.42);
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.flow-connector {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(109, 193, 255, 0.2);
}

.flow-connector::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -40%;
  width: 40%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: connector-flow 2.2s linear infinite;
}

@keyframes connector-flow {
  to { left: 120%; }
}

.command-insight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(109, 193, 255, 0.14);
  border-radius: 17px;
  background: rgba(2, 12, 30, 0.36);
}

.insight-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(46,125,246,0.34), rgba(109,193,255,0.08));
}

.insight-icon span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(109,193,255,0.08), 0 0 16px rgba(109,193,255,0.5);
  animation: node-pulse 2.6s ease-in-out infinite;
}

.command-insight > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.command-insight > div:nth-child(2) > span {
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.command-insight strong {
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-insight p {
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,0.54);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-state {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(98, 231, 155, 0.09);
  color: #8aefb7;
  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.outcome-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255,255,255,0.035);
}

.outcome-grid span {
  color: rgba(109,193,255,0.56);
  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outcome-grid strong {
  font-size: 0.68rem;
  line-height: 1.45;
}

.partners {
  background: #0b1433;
  color: rgba(255, 255, 255, 0.82);
  padding: 26px 0;
}

.partners-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.partners-inner > span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.58);
}

.partners-inner > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.8rem;
}

.about-grid,
.solutions-grid,
.case-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.solution-card,
.case-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(16, 33, 61, 0.05);
}

.feature-card {
  padding: 28px 24px 26px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3,
.solution-card h3,
.case-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-card p,
.solution-card p,
.case-card p,
.contact-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  padding: 28px 24px 30px;
}

.solution-card,
.case-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover,
.case-card:hover,
.solution-card:focus-within,
.case-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(46, 125, 246, 0.28);
  box-shadow: 0 24px 48px rgba(16, 33, 61, 0.12);
}

.card-jump-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.card-jump-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 125, 246, 0.08);
  color: var(--primary-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  padding: 30px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,240,255,0.8));
}

.detail-list {
  display: grid;
  gap: 32px;
  margin-top: 72px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 460px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 54px rgba(16, 33, 61, 0.09);
}

.detail-card:nth-child(even) .detail-media {
  order: 2;
}

.detail-card:nth-child(even) .detail-content {
  order: 1;
}

.detail-media {
  min-height: 100%;
  overflow: hidden;
  background: #0b1433;
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.detail-card:hover .detail-media img {
  transform: scale(1.035);
}

.detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 68px);
}

.detail-number {
  margin-bottom: 30px;
  color: rgba(12, 31, 77, 0.42);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--secondary);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-content h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.detail-content > p:not(.detail-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.detail-points {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.detail-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.detail-points li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 0 0 5px rgba(46, 125, 246, 0.09);
}

.case-details .detail-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,240,255,0.9));
}

.contact-wrap {
  display: grid;
  gap: 28px;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  padding: 30px 24px;
}

.contact-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--primary-2);
}

.contact-email {
  margin-top: 18px !important;
  color: var(--primary-2) !important;
  font-weight: 700;
}

.site-footer {
  background: #091529;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px 0 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand img {
  display: block;
  width: 138px;
  height: auto;
}

.footer-info {
  text-align: right;
  line-height: 1.8;
  font-size: 0.82rem;
}

.footer-info p {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 26px;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .solutions-grid,
  .case-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  /* flex-basis가 0이면 width 100%가 먹지 않아 메뉴가 아랫줄로 안 내려간다 */
  .main-nav {
    flex-basis: 100%;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-list {
    width: 100%;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card:nth-child(even) .detail-media,
  .detail-card:nth-child(even) .detail-content {
    order: initial;
  }

  .detail-media,
  .detail-media img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .brand {
    padding: 6px 9px;
  }

  .brand img {
    width: 112px;
  }

  .footer-brand img {
    width: 112px;
  }

  .hero {
    padding-top: 80px;
    background-position: 62% center;
  }

  .hero-visual {
    min-height: 420px;
  }

  .status-live { right: 0; }
  .status-ai { right: 0; bottom: 74px; }

  .energy-graph-panel {
    right: -12px;
    bottom: -6px;
    width: 76%;
    padding: 12px;
    border-radius: 15px;
  }

  .energy-chart {
    height: 122px;
  }

  .energy-bars {
    gap: 8px;
  }

  .command-content {
    padding: 20px;
  }

  .command-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .operation-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .flow-connector {
    display: none;
  }

  .operation-step {
    min-height: 76px;
  }

  .command-insight {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .insight-state {
    grid-column: 2;
    justify-self: start;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .solutions-grid,
  .case-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .partners-inner,
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .detail-list {
    margin-top: 48px;
    gap: 22px;
  }

  .detail-card {
    border-radius: 22px;
  }

  .detail-media,
  .detail-media img {
    min-height: 240px;
  }

  .detail-content {
    padding: 30px 24px 34px;
  }

  .detail-number {
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-path,
  .network-node,
  .hero-status span,
  .trend-polyline {
    animation: none;
  }

  .flow-connector::after,
  .insight-icon span,
  .energy-line,
  .energy-graph-header i {
    animation: none;
  }

  .main-card,
  .floating-panel,
  .hero-data-network,
  .chart-bars span {
    transition: none;
    transform: none;
  }

  .energy-graph-panel {
    transform: none;
    transition: none;
  }

}

/* Final hero dashboard layout overrides */
.live-dashboard {
  opacity: 0.9;
  filter: saturate(0.9) contrast(0.94);
}

.hero-visual .energy-graph-panel {
  border-color: rgba(145, 211, 255, 0.28);
  background: linear-gradient(145deg, rgba(7, 25, 58, 0.84), rgba(9, 43, 79, 0.66));
  backdrop-filter: blur(8px) saturate(1);
  box-shadow: 0 22px 58px rgba(1, 9, 24, 0.38), inset 0 1px 0 rgba(255,255,255,0.07);
}

.hero-visual .energy-bars span {
  opacity: 0.62;
}

.hero-visual .energy-line {
  opacity: 0.82;
  stroke-width: 2.6;
}

@media (max-width: 980px) {
  .hero-visual { min-height: 570px; }
  .live-dashboard { top: 0; right: 0; }
  .hero-visual .energy-graph-panel { right: 0; bottom: 0; }
}

@media (max-width: 720px) {
  .hero-visual { min-height: 530px; }
  .live-dashboard { width: 100%; }
  .hero-visual .energy-graph-panel { width: 82%; bottom: 0; }
}
