:root {
  --bg-dark: #02020b;
  --bg-card: rgba(13, 13, 35, 0.6);
  --border-neon-cyan: rgba(0, 242, 254, 0.3);
  --border-neon-pink: rgba(253, 38, 121, 0.3);
  --text-cyan: #00f2fe;
  --text-pink: #fd2679;
  --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.5);
  --glow-pink: 0 0 15px rgba(253, 38, 121, 0.5);
}

.header-project .content {
  z-index: 2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    "Pretendard",
    -apple-system,
    sans-serif;
  scroll-behavior: smooth; /* 부드러운 스크롤 이동 */
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.15) 0%, transparent 50%), radial-gradient(circle at 0% 50%, rgba(253, 38, 121, 0.08) 0%, transparent 40%), radial-gradient(circle at 100% 80%, rgba(189, 0, 255, 0.08) 0%, transparent 40%);
  color: #ffffff;
  min-height: 100vh;
  padding: 80px 20px;
}

/* 등장 애니메이션 기초 정의 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* 좌우 등장 거리 확대 (화면 끝에서 등장하는 느낌) */
.reveal-left {
  transform: translateX(-120px);
}
.reveal-right {
  transform: translateX(120px);
}

/* 신규: 중앙에서 확대되며 등장 (Zoom In) */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.6);
  transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}
.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* 신규: 3D 회전하며 위로 등장 (Flip Up) */
.reveal-flip {
  opacity: 0;
  transform: perspective(1200px) rotateX(-30deg) translateY(60px);
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}
.reveal-flip.active {
  opacity: 1;
  transform: perspective(1200px) rotateX(0) translateY(0);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* [1] 대시보드 메인 헤더 */
.top-header {
  text-align: center;
  margin-bottom: 60px;
}

.top-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #e0e5ff, var(--text-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-header p {
  font-size: 1.3rem;
  color: #a5a9cc;
  font-weight: 400;
}

/* 메인 상단 2단 레이아웃 */
.main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  margin-bottom: 100px;
}

/* 12개 아이콘 그리드 박스 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-nav-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-nav-card.cyan {
  border-color: var(--border-neon-cyan);
}
.feature-nav-card.pink {
  border-color: var(--border-neon-pink);
}

.feature-nav-card:hover {
  transform: translateY(-10px); /* 조금 더 역동적으로 상승 */
  transition-delay: 0s !important; /* 인라인으로 설정된 staggered delay를 무효화하여 즉시 반응 */
}
.feature-nav-card.cyan:hover {
  box-shadow: var(--glow-cyan);
  border-color: var(--text-cyan);
}
.feature-nav-card.pink:hover {
  box-shadow: var(--glow-pink);
  border-color: var(--text-pink);
}

.icon-box {
  margin-bottom: 12px;
  width: 42px;
  height: 42px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-nav-card:hover .icon-box {
  transform: scale(1.2) rotate(5deg);
}

.icon-box svg {
  width: 100%;
  height: 100%;
}
.cyan .icon-box {
  color: var(--text-cyan);
  filter: drop-shadow(0 0 6px var(--text-cyan));
}
.pink .icon-box {
  color: var(--text-pink);
  filter: drop-shadow(0 0 6px var(--text-pink));
}

.feature-nav-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.feature-nav-card p {
  font-size: 0.85rem;
  color: #8fa0dd;
  line-height: 1.4;
}

/* 우측 혜택 배너 */
.side-benefit {
  background: linear-gradient(135deg, rgba(16, 24, 58, 0.8) 0%, rgba(7, 8, 24, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.benefit-free {
  font-size: 3.5rem;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(180deg, #a3e6ff 0%, #3894ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  filter: drop-shadow(0 0 10px rgba(56, 148, 255, 0.4));
  animation: freePulse 2s infinite;
}
@keyframes freePulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(56, 148, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(56, 148, 255, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(56, 148, 255, 0.4));
  }
}
.benefit-sub {
  font-size: 1.05rem;
  color: #d1d5ff;
  margin-bottom: 20px;
  font-weight: 600;
}
.benefit-plus {
  font-size: 2.2rem;
  color: var(--text-pink);
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: var(--glow-pink);
}
.benefit-discount {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 35px;
}
.benefit-discount span {
  font-size: 1.8rem;
  margin-left: -5px;
}

.cta-btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.15) 0%, rgba(253, 38, 121, 0.15) 100%);
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, #00f2fe, #fd2679);
  border-image-slice: 1;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 15px 0;
  text-decoration: none;
  transition: all 0.4s ease;
}
.cta-btn:hover {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.3) 0%, rgba(253, 38, 121, 0.3) 100%);
  box-shadow: 0 0 25px rgba(189, 0, 255, 0.5);
  text-shadow: 0 0 5px #ffffff;
}

/* [2] 대망의 상세 설명 섹션 영역 (웹트렌드 지그재그 스타일) */
.detail-section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
  letter-spacing: -1px;
}
.detail-section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--text-cyan), var(--text-pink));
  margin: 15px auto 0;
}

.detail-section {
  margin-bottom: 150px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  gap: 60px;
}
/* 지그재그 교차 배치 */
.detail-row:nth-child(even) {
  flex-direction: row-reverse;
}

.detail-text-box {
  flex: 1;
}
.detail-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cyan-tag {
  background: rgba(0, 242, 254, 0.15);
  color: var(--text-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}
.pink-tag {
  background: rgba(253, 38, 121, 0.15);
  color: var(--text-pink);
  border: 1px solid rgba(253, 38, 121, 0.3);
}

.detail-text-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.detail-text-box p.main-desc {
  font-size: 1.15rem;
  color: #ced4f0;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* 상세 스펙 리스트 요약 박스 */
.spec-list {
  list-style: none;
}
.spec-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #a2a8c7;
}
.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}
.cyan-tag ~ .spec-list li::before {
  color: var(--text-cyan);
}
.pink-tag ~ .spec-list li::before {
  color: var(--text-pink);
}

/* 우측 비주얼 그래픽 모형 (UI 템플릿 영역) */
.detail-graphic-box {
  flex: 1;
  background: linear-gradient(145deg, #0b0d24 0%, #050614 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 그래픽 박스 내부 네온 아우라 데코 */
.graphic-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}
.cyan-glow-bg {
  background: var(--text-cyan);
  left: -20px;
  top: -20px;
}
.pink-glow-bg {
  background: var(--text-pink);
  right: -20px;
  bottom: -20px;
}

/* 가상 대시보드 UI 요소 */
.mock-ui {
  width: 80%;
  height: 60%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px; /* Adjust padding for chart */
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex; /* Enable flexbox for internal layout */
  flex-direction: column; /* Stack items vertically */
  justify-content: space-between; /* Space out chart and accent */
  align-items: center;
}

.mock-chart-wrapper {
  width: 100%;
  flex-grow: 1; /* Take available space */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px; /* Space between chart and accent */
}

.mock-chart-svg {
  width: 90%;
  height: 90%;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.8s ease-out;
}

.mock-chart-wrapper.chart-active .mock-chart-svg {
  opacity: 1;
}

.chart-line {
  stroke-dasharray: 180; /* Approximate length of the path */
  stroke-dashoffset: 180;
  animation: drawLine 2s ease-out forwards;
  animation-delay: 0.5s;
}

.chart-point {
  fill: white;
  stroke-width: 1;
  opacity: 0;
  animation: pulsePoint 1.5s infinite alternate;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulsePoint {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

.mock-accent {
  height: 35px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: clamp(0.65rem, 2.5vw, 0.8rem); /* 화면 너비에 따라 0.65rem~0.8rem 사이로 자동 조절 */
  padding: 0 10px; /* 텍스트가 테두리에 붙지 않도록 여백 추가 */
  letter-spacing: -0.03em; /* 자간을 줄여 좁은 폭에서도 텍스트 유실 방지 */
  font-weight: 700;
}
.cyan-accent {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--text-cyan);
  color: var(--text-cyan);
  box-shadow:
    0 0 15px rgba(0, 242, 254, 0.2),
    inset 0 0 10px rgba(0, 242, 254, 0.1);
}
.pink-accent {
  background: rgba(253, 38, 121, 0.1);
  border: 1px solid var(--text-pink);
  color: var(--text-pink);
  box-shadow:
    0 0 15px rgba(253, 38, 121, 0.2),
    inset 0 0 10px rgba(253, 38, 121, 0.1);
}

/* 반응형 스타일 정의 */
@media (max-width: 960px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-row,
  .detail-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 8px;
  }
  .detail-graphic-box {
    width: 100%;
    height: 280px;
  }
  .top-header h1 {
    font-size: 2.1rem;
  }
}

.detail-section {
  margin-bottom: 150px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  gap: 60px;
}
/* 지그재그 교차 배치 */
.detail-row:nth-child(even) {
  flex-direction: row-reverse;
}

.detail-text-box {
  flex: 1;
}
.detail-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cyan-tag {
  background: rgba(0, 242, 254, 0.15);
  color: var(--text-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}
.pink-tag {
  background: rgba(253, 38, 121, 0.15);
  color: var(--text-pink);
  border: 1px solid rgba(253, 38, 121, 0.3);
}

.detail-text-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.detail-text-box p.main-desc {
  font-size: 1.15rem;
  color: #ced4f0;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* 상세 스펙 리스트 요약 박스 */
.spec-list {
  list-style: none;
}
.spec-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #a2a8c7;
}
.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}
.cyan-tag ~ .spec-list li::before {
  color: var(--text-cyan);
}
.pink-tag ~ .spec-list li::before {
  color: var(--text-pink);
}

/* 우측 비주얼 그래픽 모형 (UI 템플릿 영역) */
.detail-graphic-box {
  flex: 1;
  background: linear-gradient(145deg, #0b0d24 0%, #050614 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 그래픽 박스 내부 네온 아우라 데코 */
.graphic-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}
.cyan-glow-bg {
  background: var(--text-cyan);
  left: -20px;
  top: -20px;
}
.pink-glow-bg {
  background: var(--text-pink);
  right: -20px;
  bottom: -20px;
}

/* 가상 대시보드 UI 요소 */
.mock-ui {
  width: 80%;
  height: 60%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.mock-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  border-radius: 4px;
}
.mock-line.short {
  width: 40%;
}
.mock-line.mid {
  width: 70%;
}
.mock-accent {
  height: 35px;
  border-radius: 6px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: clamp(0.65rem, 2.5vw, 0.8rem);
  padding: 0 10px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.cyan-accent {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--text-cyan);
  color: var(--text-cyan);
  box-shadow:
    0 0 15px rgba(0, 242, 254, 0.2),
    inset 0 0 10px rgba(0, 242, 254, 0.1);
}
.pink-accent {
  background: rgba(253, 38, 121, 0.1);
  border: 1px solid var(--text-pink);
  color: var(--text-pink);
  box-shadow:
    0 0 15px rgba(253, 38, 121, 0.2),
    inset 0 0 10px rgba(253, 38, 121, 0.1);
}

/* 반응형 스타일 정의 */
@media (max-width: 960px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-row,
  .detail-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 8px;
  }
  .detail-graphic-box {
    width: 100%;
    height: 280px;
  }
  .top-header h1 {
    font-size: 2.1rem;
  }
}
