:root {
  --bg: #05070d;
  --bg-soft: #09121b;
  --panel: rgba(13, 28, 38, 0.72);
  --panel-strong: rgba(18, 37, 47, 0.9);
  --line: rgba(129, 234, 211, 0.2);
  --text: #f4fbfb;
  --muted: #a7bdbe;
  --teal: #45e5cb;
  --emerald: #20c58a;
  --gold: #d7b46a;
  --blue: #84b7ff;
  --rose: #ff8fa6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 4%, rgba(69, 229, 203, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(215, 180, 106, 0.12), transparent 24rem),
    linear-gradient(135deg, #04060b 0%, #08131c 46%, #05070d 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(132, 183, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 183, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(129, 234, 211, 0.14);
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(69, 229, 203, 0.45);
  border-radius: 50%;
  color: var(--teal);
  background: linear-gradient(145deg, rgba(69, 229, 203, 0.12), rgba(215, 180, 106, 0.08));
  box-shadow: 0 0 28px rgba(69, 229, 203, 0.18);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(69, 229, 203, 0.11);
  transform: translateY(-1px);
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  min-height: 92svh;
  padding-top: 148px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.ambient-grid {
  position: absolute;
  inset: 110px -18vw 36px auto;
  width: 56vw;
  z-index: -1;
  opacity: 0.7;
  background:
    radial-gradient(circle, rgba(69, 229, 203, 0.16) 1px, transparent 2px),
    conic-gradient(from 90deg, transparent, rgba(69, 229, 203, 0.14), transparent, rgba(215, 180, 106, 0.14), transparent);
  background-size: 26px 26px, 100% 100%;
  border-radius: 48%;
  filter: blur(0.2px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.28;
}

.subtitle {
  max-width: 720px;
  color: #d9f5ef;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-weight: 700;
}

.hero-text,
.section-heading p,
.vision-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #02120f;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  box-shadow: 0 16px 34px rgba(32, 197, 138, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(32, 197, 138, 0.38);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(215, 180, 106, 0.35);
  background: rgba(215, 180, 106, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.glass-card {
  border: 1px solid rgba(129, 234, 211, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.scan-card {
  position: relative;
  width: min(100%, 410px);
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.scan-card::before,
.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.09) 44%, transparent 48%);
  transform: translateX(-110%);
  animation: sheen 7s ease-in-out infinite;
}

@keyframes sheen {
  0%,
  38% {
    transform: translateX(-110%);
  }
  62%,
  100% {
    transform: translateX(110%);
  }
}

.scan-header,
.metric-row,
.metric-card div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scan-header {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.scan-header strong {
  color: var(--teal);
  font-size: 0.76rem;
}

.face-map {
  position: relative;
  min-height: 250px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(69, 229, 203, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.face-outline {
  position: relative;
  width: 132px;
  height: 178px;
  border: 1px solid rgba(69, 229, 203, 0.72);
  border-radius: 48% 48% 44% 44%;
  box-shadow: inset 0 0 40px rgba(69, 229, 203, 0.12), 0 0 48px rgba(69, 229, 203, 0.12);
}

.face-outline::before,
.face-outline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 1px;
  background: rgba(215, 180, 106, 0.55);
}

.face-outline::before {
  top: 68px;
}

.face-outline::after {
  top: 112px;
  width: 42px;
}

.point {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
}

.p1 { left: 31px; top: 62px; }
.p2 { right: 31px; top: 62px; }
.p3 { left: 61px; top: 91px; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.p4 { left: 42px; top: 130px; }
.p5 { right: 42px; top: 130px; }

.meridian-line {
  position: absolute;
  width: 1px;
  height: 70%;
  top: 15%;
  background: linear-gradient(transparent, rgba(69, 229, 203, 0.58), transparent);
}

.line-a { left: 35%; transform: rotate(16deg); }
.line-b { left: 50%; }
.line-c { left: 65%; transform: rotate(-16deg); }

.orbital-rings {
  position: absolute;
  width: 470px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: rotateSlow 18s linear infinite;
}

.orbital-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(69, 229, 203, 0.13);
  border-radius: 50%;
}

.orbital-rings span:nth-child(2) {
  inset: 44px;
  border-color: rgba(215, 180, 106, 0.16);
  transform: rotate(28deg) scaleY(0.78);
}

.orbital-rings span:nth-child(3) {
  inset: 86px;
  transform: rotate(-38deg) scaleX(0.8);
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

.mini-bar,
.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-bar span,
.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.diagnostic-grid div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.diagnostic-grid small,
.recommendation small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.diagnostic-grid b {
  display: block;
  margin-top: 5px;
  color: var(--text);
}

.content-band {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(69, 229, 203, 0.035));
  border-top: 1px solid rgba(129, 234, 211, 0.1);
  border-bottom: 1px solid rgba(129, 234, 211, 0.1);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 620px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.program-card,
.timeline-step,
.metric-card {
  border: 1px solid rgba(129, 234, 211, 0.16);
  border-radius: 8px;
  background: rgba(13, 28, 38, 0.66);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.info-card,
.program-card {
  padding: 24px;
}

.info-card:hover,
.program-card:hover,
.timeline-step:hover,
.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 229, 203, 0.42);
  background: rgba(17, 42, 49, 0.82);
}

.info-card p,
.program-card p,
.timeline-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 24px var(--teal);
}

.icon-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(215, 180, 106, 0.86);
}

.icon-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 24px rgba(132, 183, 255, 0.86);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 229, 203, 0.5), rgba(215, 180, 106, 0.45), transparent);
}

.timeline-step {
  position: relative;
  padding: 70px 22px 24px;
}

.timeline-step span {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #00120e;
  background: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.dashboard-section {
  width: min(1120px, calc(100% - 40px));
}

.dashboard-shell {
  position: relative;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
}

.profile-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.profile-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(129, 234, 211, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.profile-btn:hover,
.profile-btn.active {
  color: #03130f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  transform: translateY(-1px);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.radar-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(4, 12, 17, 0.36);
}

.radar {
  position: relative;
  width: min(230px, 76vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border: 1px solid rgba(69, 229, 203, 0.28);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 32px, rgba(69, 229, 203, 0.16) 33px 34px),
    conic-gradient(from 25deg, rgba(69, 229, 203, 0.32), rgba(215, 180, 106, 0.16), transparent 56%, rgba(132, 183, 255, 0.18));
  overflow: hidden;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 229, 203, 0.9), transparent);
  transform-origin: 0 0;
  animation: radarSweep 4s linear infinite;
}

.radar-core,
.radar-pulse {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.radar-core {
  width: 20px;
  height: 20px;
  background: var(--teal);
  box-shadow: 0 0 30px var(--teal);
}

.radar-pulse {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(215, 180, 106, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

.recommendation {
  margin-top: 22px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(69, 229, 203, 0.08);
  border: 1px solid rgba(69, 229, 203, 0.16);
}

.recommendation strong {
  display: block;
  margin-top: 5px;
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-card strong {
  color: var(--teal);
  font-size: 1.3rem;
}

.progress {
  margin-top: 14px;
}

.program-card {
  min-height: 100%;
}

.program-number {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.program-card b {
  color: #dffaf5;
}

.vision {
  padding-top: 84px;
}

.vision-card {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 42px;
  padding: 40px;
  border-radius: 8px;
}

.vision-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vision-list li {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid rgba(215, 180, 106, 0.16);
  border-radius: 8px;
  color: #dceeed;
  background: rgba(255, 255, 255, 0.045);
}

.vision-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(215, 180, 106, 0.7);
}

.prompt-record {
  padding-top: 72px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prompt-box {
  margin: 22px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  color: #f3ead5;
  background: rgba(215, 180, 106, 0.09);
}

.footer {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 42px 20px 54px;
  border-top: 1px solid rgba(129, 234, 211, 0.12);
  color: var(--muted);
  text-align: center;
}

.footer strong {
  color: var(--text);
  font-size: 1.15rem;
}

.footer small {
  max-width: 720px;
}

@media (max-width: 980px) {
  .hero,
  .dashboard-layout,
  .vision-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .card-grid.three,
  .timeline,
  .card-grid.four,
  .record-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 138px;
  }

  .nav {
    width: min(calc(100% - 28px), 1180px);
    min-height: 120px;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    padding: 8px 6px;
    text-align: center;
    font-size: 0.84rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .section {
    width: min(calc(100% - 28px), 1180px);
    padding: 76px 0;
  }

  .hero {
    padding-top: 168px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .scan-card {
    padding: 18px;
  }

  .orbital-rings {
    width: 330px;
  }

  .diagnostic-grid,
  .metric-list,
  .card-grid.three,
  .timeline,
  .card-grid.four,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .content-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dashboard-shell,
  .vision-card {
    padding: 18px;
  }

  .profile-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
