/* EOND home v2 — 실제 제작·운영 흐름을 제품 UI로 보여주는 시각 레이어 */
.eh-hero {
  position: relative;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 107, 53, .13), transparent 24%),
    radial-gradient(circle at 92% 52%, rgba(255, 196, 137, .18), transparent 21%),
    linear-gradient(180deg, #fff 0%, #fff 70%, #fbfaf8 100%);
}

.eh-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(33, 33, 33, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(33, 33, 33, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent 35%, #000 78%, transparent);
  content: "";
}

.eh-system-stage {
  min-height: 610px;
  padding: 54px 0 48px;
  isolation: isolate;
}

.eh-system-stage::before {
  top: 5%;
  right: -12%;
  width: 84%;
  height: 88%;
  border-radius: 42% 58% 46% 54% / 58% 42% 58% 42%;
  background: rgba(255, 244, 235, .72);
  transform: rotate(-8deg);
}

.eh-orbit {
  position: absolute;
  z-index: 0;
  top: -2%;
  right: -5%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 107, 53, .18);
  border-radius: 48% 52% 46% 54%;
  transform: rotate(18deg);
}

.eh-orbit::before,
.eh-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 107, 53, .11);
  border-radius: inherit;
  content: "";
}

.eh-orbit::before { inset: 48px -32px; transform: rotate(24deg); }
.eh-orbit::after { inset: 105px -58px; transform: rotate(-32deg); }
.eh-orbit span { position: absolute; color: rgba(232, 90, 38, .55); font: 700 10px/1 ui-monospace, monospace; }
.eh-orbit span:nth-child(1) { top: 12%; left: 14%; }
.eh-orbit span:nth-child(2) { top: 16%; right: 8%; }
.eh-orbit span:nth-child(3) { right: 2%; bottom: 20%; }
.eh-orbit span:nth-child(4) { bottom: 4%; left: 18%; }

.eh-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(590px, 100%);
  margin-left: auto;
  border: 1px solid rgba(33, 33, 33, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 35px 90px rgba(81, 54, 37, .16), 0 4px 16px rgba(33, 33, 33, .05);
  backdrop-filter: blur(18px);
}

.eh-console-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid #ecebe7;
}

.eh-console-top img { width: 58px; height: auto; }
.eh-console-top > span { padding-left: 13px; border-left: 1px solid #dddcd7; color: #92918b; font: 650 8px/1 ui-monospace, monospace; letter-spacing: .1em; }
.eh-console-top i { display: flex; align-items: center; gap: 6px; color: #686861; font-size: 9px; font-style: normal; font-weight: 650; }
.eh-console-top i b { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, .1); }

.eh-console-body { display: grid; grid-template-columns: 106px 1fr; min-height: 352px; }
.eh-console-body nav { display: flex; flex-direction: column; gap: 7px; padding: 25px 12px; border-right: 1px solid #efeee9; background: #faf9f6; }
.eh-console-body nav span { padding: 9px 10px; border-radius: 6px; color: #8a8983; font-size: 9px; font-weight: 650; }
.eh-console-body nav span.is-current { color: #252523; background: #fff; box-shadow: 0 2px 10px rgba(33, 33, 33, .06); }
.eh-console-main { padding: 26px 24px 24px; }
.eh-console-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.eh-console-heading > div { display: flex; flex-direction: column; gap: 8px; }
.eh-console-heading small,
.eh-console-grid small,
.eh-float-card small { color: #9a9993; font: 650 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.eh-console-heading strong { max-width: 270px; font-size: 17px; line-height: 1.35; letter-spacing: -.035em; }
.eh-console-heading > span { padding: 5px 8px; border-radius: 999px; color: #c94c21; background: #fff0e9; font-size: 8px; font-weight: 750; }

.eh-flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0; }
.eh-flow-track::before { position: absolute; top: 9px; right: 9%; left: 9%; height: 1px; background: #dddcd7; content: ""; }
.eh-flow-track div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #999892; font-size: 8px; font-weight: 650; }
.eh-flow-track b { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #d8d7d2; border-radius: 50%; background: #fff; font: 650 6px/1 ui-monospace, monospace; }
.eh-flow-track .is-done b { color: #fff; border-color: #2c2c29; background: #2c2c29; }
.eh-flow-track .is-live { color: #272724; }
.eh-flow-track .is-live b { color: #fff; border-color: var(--eh-orange); background: var(--eh-orange); box-shadow: 0 0 0 5px rgba(255, 107, 53, .12); }

.eh-console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eh-console-grid article { min-height: 112px; padding: 16px; border: 1px solid #ebeae5; border-radius: 10px; background: #fff; }
.eh-console-grid article:last-child { background: #f8f7f3; }
.eh-console-grid strong { display: block; margin-top: 10px; font-size: 11px; letter-spacing: -.02em; }
.eh-console-grid p { margin: 7px 0 0; color: #888781; font-size: 9px; line-height: 1.55; word-break: keep-all; }

.eh-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(33, 33, 33, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 18px 45px rgba(48, 36, 26, .13);
  backdrop-filter: blur(16px);
}
.eh-float-card > div { display: flex; flex-direction: column; gap: 5px; }
.eh-float-card strong { font-size: 10px; letter-spacing: -.02em; }
.eh-float-product { top: 19px; left: -24px; width: 235px; padding: 13px 14px; }
.eh-float-product > b { margin-left: auto; font-size: 12px; }
.eh-float-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; color: #fff; background: var(--eh-orange); font: 800 12px/1 ui-monospace, monospace; }
.eh-float-live { right: -26px; bottom: 92px; width: 210px; padding: 14px 15px; }
.eh-system-caption { position: relative; z-index: 3; display: flex; align-items: center; gap: 15px; width: min(590px, 100%); margin: 18px 0 0 auto; color: #aaa9a3; font: 650 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.eh-system-caption::before { flex: 1; height: 1px; background: #d7d5cf; content: ""; }
.eh-system-caption b { color: var(--eh-orange-deep); font-weight: 750; }

.eh-proof { background: linear-gradient(180deg, #fff 0%, #faf9f6 100%); }
.eh-project-image { border-radius: 14px; box-shadow: 0 16px 38px rgba(33, 33, 30, .08); }
.eh-project-meta { padding-right: 12px; padding-left: 4px; }
.eh-path { position: relative; }
.eh-path::before { position: absolute; top: 18%; bottom: 18%; left: 0; width: 2px; background: var(--eh-orange); transform: scaleY(0); transition: transform .25s; content: ""; }
.eh-path:hover::before { transform: scaleY(1); }

@media (max-width: 980px) {
  .eh-system-stage { width: min(760px, 94%); min-height: 590px; }
  .eh-float-product { left: -16px; }
}

@media (max-width: 680px) {
  .eh-hero { padding-bottom: 42px; }
  .eh-system-stage { width: 100%; min-height: 505px; padding: 44px 0 32px; }
  .eh-orbit { top: 0; right: -48%; width: 390px; height: 390px; }
  .eh-console { border-radius: 14px; }
  .eh-console-top { grid-template-columns: auto 1fr; min-height: 48px; padding: 0 12px; }
  .eh-console-top i { display: none; }
  .eh-console-body { grid-template-columns: 72px 1fr; min-height: 326px; }
  .eh-console-body nav { padding: 18px 7px; }
  .eh-console-body nav span { padding: 8px 6px; font-size: 7px; }
  .eh-console-main { padding: 20px 13px 16px; }
  .eh-console-heading strong { font-size: 13px; }
  .eh-flow-track { margin: 25px 0; }
  .eh-flow-track div { font-size: 6px; }
  .eh-console-grid { grid-template-columns: 1fr; }
  .eh-console-grid article { min-height: 89px; padding: 13px; }
  .eh-console-grid article:last-child { display: none; }
  .eh-float-product { top: 12px; left: -5px; width: 205px; padding: 10px; }
  .eh-float-live { right: -7px; bottom: 55px; width: 190px; padding: 11px 12px; }
  .eh-system-caption { gap: 9px; margin-top: 13px; font-size: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .eh-orbit { animation: eh-orbit-drift 12s ease-in-out infinite alternate; }
  .eh-float-product { animation: eh-float 5s ease-in-out infinite; }
  .eh-float-live { animation: eh-float 5s 1.4s ease-in-out infinite; }
}

@keyframes eh-orbit-drift { to { transform: rotate(26deg) translate3d(-8px, 12px, 0); } }
@keyframes eh-float { 50% { transform: translateY(-7px); } }
