/* ============================= */
/* Intro page */
/* ============================= */

:root {
  --intro-green: #006637;
  --intro-lime: #dadf00;
  --intro-blue: #036eb8;
  --intro-gray: #b2bfb9;
  --intro-dark: #414042;
  --intro-soft: #f5f5f5;
  --intro-light: #f1f3f3;
}

#content-intro {
  padding: 0;
  background: #ffffff;
}

#intro-container {
  width: 100%;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  scroll-behavior: smooth;
}

.intro-section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.intro-inner {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* ============================= */
/* Intro Hero */
/* ============================= */

.intro-hero {
  position: relative;
  height: 60vh;
  /* 핵심 */
  min-height: 60vh;
  margin-bottom: 120px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/about/hero_bg.png");
  background-position: center center;
  background-size: 700px auto;
  background-repeat: no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.intro-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 28%,
      rgba(255, 255, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.86) 72%,
      rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.intro-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100vw - 160px));
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: translateY(170px);
  /* 🔥 위로 살짝 올림 */
  gap: 48px;
}

.intro-description {
  background: #ffffff;
  padding: 0 0 50px 120px;
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.intro-feature-box {
  width: 720px;
  margin: 0 auto;
}

.intro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 90px;
  height: 90px;
  word-break: keep-all;
}

.intro-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #006637;
  border: 3px solid #dadf00;
  margin-top: 30px;
  margin-left: 80px;
}

.intro-feature-item p {
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1.4;
  color: #444;
  text-align: left;
}

.intro-feature-item strong {
  font-weight: 800;
}

.intro-seo-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================= */
/* Intro flip title */
/* ============================= */

.intro-flip-title {
  width: 820px;
  height: 130px;
  perspective: 1200px;
}

.intro-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: introFlipTitle 5s ease-in-out infinite;
}

.intro-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.intro-flip-front {
  color: var(--intro-green);
}

.intro-flip-back {
  color: var(--intro-blue);
  transform: rotateY(180deg);
}

.intro-flip-main {
  font-size: 76px;
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.07em;
}

.intro-flip-main strong {
  font-weight: 900;
}

.intro-flip-sub {
  margin-top: 8px;
  margin-left: 390px;
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: #67746d;
}

.intro-flip-back .intro-flip-main {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.intro-flip-back .intro-flip-sub {
  margin-left: 0;
  margin-top: 14px;
  font-size: 26px;
}

@keyframes introFlipTitle {

  0%,
  38% {
    transform: rotateY(0deg);
  }

  50%,
  88% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.intro-main-copy {
  margin: 42px 0 0 0;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: #333333;
}

.intro-main-copy span {
  font-weight: 700;
}

/* ============================= */
/* Intro preview section */
/* ============================= */

.intro-preview {
  min-height: 100vh;
  background: var(--intro-light);
}

.intro-preview-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 0 180px;
  text-align: center;
  background: transparent;
}

.intro-preview-kicker {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--intro-blue);
}

.intro-preview-title {
  margin: 17px 0 35px 0;
  font-size: 35px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--intro-dark);
}

.intro-preview-tabs {
  margin-top: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.intro-preview-tab {
  width: 210px;
  height: 48px;
  border: 1px solid #dfe4e1;
  border-radius: 10px;
  background: #ffffff;
  color: #b2bfb9;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.intro-preview-tab img {
  width: 22px;
  height: 22px;
  opacity: 0.35;
}

.intro-preview-tab.is-active {
  border: 1px solid var(--intro-green);
  box-shadow: 0 0 0 4px var(--intro-lime);
  color: var(--intro-green);
  font-weight: 700;
}

.intro-preview-tab.is-active img {
  opacity: 1;
}

.intro-preview-tab.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.intro-preview-tab.is-disabled img {
  opacity: 0.25;
}

/* ============================= */
/* Preview image slider */
/* ============================= */

.intro-preview-image-wrap {
  width: min(1320px, calc(100% - 160px));
  margin: 44px auto 0;
  position: relative;
  overflow: visible;
  background: transparent;
}

.intro-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.intro-preview-image.base {
  position: relative;
  z-index: 1;
}

.intro-preview-image.top {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.intro-preview-image.top.show {
  opacity: 1;
}

/* ============================= */
/* Preview nav buttons */
/* ============================= */

.intro-preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 30;
}

.intro-preview-nav--prev {
  left: -80px;
}

.intro-preview-nav--next {
  right: -80px;
}

.intro-preview-nav--prev::before,
.intro-preview-nav--next::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  background: url("../assets/home/arrow-down.png") no-repeat center;
  background-size: contain;
  opacity: 0.6;
}

.intro-preview-nav--prev::before {
  transform: rotate(90deg);
}

.intro-preview-nav--next::before {
  transform: rotate(-90deg);
}

.intro-preview-nav:hover::before {
  opacity: 1;
}

/* ============================= */
/* Click indicator */
/* ============================= */

.intro-click {
  position: absolute;
  top: 32%;
  left: 38%;
  z-index: 999;
  pointer-events: none;
}

.intro-click-dot {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: block;
  background: rgba(0, 102, 55, 0.5);
  border: 1.5px solid #ffffff;
  box-sizing: border-box;
}

.intro-click-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 2px solid var(--intro-green);
  opacity: 1;

  animation: clickPulse 2.5s ease-out infinite;
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  55% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ============================= */
/* Intro CTA */
/* ============================= */

.intro-cta {
  background: #ffffff;
  min-height: 520px;
  padding: 100px 0 34px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.intro-cta-inner {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-cta-kicker {
  margin: 0 0 20px 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--intro-blue);
}

.intro-cta-title {
  margin: 0;
  font-size: 35px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--intro-dark);
}

.intro-cta-buttons {
  margin-top: 70px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 120px);
  flex-wrap: nowrap;
}

.intro-cta-btn {
  width: clamp(180px, 24vw, 300px);
  height: clamp(56px, 5.2vw, 75px);
  padding: 0 clamp(20px, 3.2vw, 50px);
  border: 0;
  border-radius: 14px;
  background: var(--intro-green);
  color: #ffffff;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.intro-cta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.intro-cta-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 1200px) {
  .intro-hero-bg {
    background-size: 720px auto;
  }

  .intro-hero-copy {
    width: min(900px, calc(100vw - 100px));
  }

  .intro-flip-title {
    width: 720px;
    height: 110px;
  }

  .intro-flip-main {
    font-size: 62px;
  }

  .intro-flip-sub {
    margin-left: 300px;
    font-size: 30px;
  }

  .intro-flip-back .intro-flip-main {
    font-size: 46px;
  }

  .intro-main-copy {
    font-size: 26px;
  }

  .intro-preview-tabs {
    flex-wrap: wrap;
  }

  .intro-preview-image-wrap {
    width: min(1120px, calc(100% - 120px));
  }

  .intro-preview-nav--prev {
    left: -60px;
  }

  .intro-preview-nav--next {
    right: -60px;
  }

  .intro-cta-buttons {
    gap: 18px;
  }
}

/* =============================
   Intro Mobile
   ============================= */

@media (max-width: 768px) {
  #intro-container {
    height: calc(100dvh - var(--header-h));
    overflow-x: hidden;
  }

  .intro-hero {
    height: auto;
    min-height: 520px;
    margin-bottom: 0;
    padding: 30px 18px 54px;
    align-items: flex-start;
  }

  .intro-hero-bg {
    background-size: 430px auto;
    background-position: center 30px;
    opacity: 0.65;
  }

  .intro-hero-fade {
    background: radial-gradient(circle at center 28%,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.45) 34%,
        rgba(255, 255, 255, 0.82) 68%,
        rgba(255, 255, 255, 1) 100%);
  }

  .intro-hero-copy {
    width: 100%;
    min-height: auto;
    padding-top: 210px;
    display: block;
    text-align: center;
  }

  .intro-hero-text {
    transform: none;
    gap: 30px;
  }

  .intro-flip-title {
    width: 100%;
    height: 74px;
    perspective: 1000px;
  }

  .intro-flip-main {
    font-size: 31px;
    line-height: 1.05;
    letter-spacing: -0.07em;
    white-space: nowrap;
  }

  .intro-flip-sub {
    margin-top: 6px;
    margin-left: 118px;
    font-size: 16px;
    letter-spacing: -0.05em;
  }

  .intro-flip-back .intro-flip-main {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.07em;
    white-space: normal;
  }

  .intro-flip-back .intro-flip-sub {
    margin-left: 0;
    margin-top: 8px;
    font-size: 14px;
  }

  .intro-feature-box {
    width: 100%;
    margin: 0;
  }

  .intro-feature-item {
    height: auto;
    min-height: auto;
    gap: 9px;
    margin-bottom: 20px;
  }

  .intro-dot {
    width: 12px;
    height: 12px;
    border-width: 3px;
    margin-top: 6px;
    margin-left: 0;
    flex: 0 0 12px;
  }

  .intro-feature-item p {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: -0.05em;
    text-align: left;
  }

  .intro-preview {
    min-height: auto;
  }

  .intro-preview-inner {
    padding: 64px 18px 80px;
  }

  .intro-preview-kicker {
    font-size: 14px;
    line-height: 1.45;
  }

  .intro-preview-title {
    margin: 14px 0 24px;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.06em;
  }

  .intro-preview-tabs {
    margin-top: 28px;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 4px 8px;
    scrollbar-width: none;
  }

  .intro-preview-tabs::-webkit-scrollbar {
    display: none;
  }

  .intro-preview-tab {
    width: auto;
    min-width: 140px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    flex: 0 0 auto;
  }

  .intro-preview-tab img {
    width: 18px;
    height: 18px;
  }

  .intro-preview-tab.is-active {
    box-shadow: 0 0 0 3px var(--intro-lime);
  }

  .intro-preview-image-wrap {
    width: 100%;
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 16px;
  }

  .intro-preview-nav {
    display: none;
  }

  .intro-click {
    display: block;
    top: 25%;
    left: 10.5%;
  }

  .intro-cta {
    min-height: auto;
    padding: 70px 18px 80px;
  }

  .intro-cta-kicker {
    font-size: 14px;
  }

  .intro-cta-title {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.06em;
  }

  .intro-cta-buttons {
    margin-top: 34px;
    flex-direction: column;
    gap: 12px;
  }

  .intro-cta-btn {
    width: 80%;
    max-width: 240px;
    height: 52px;
    font-size: 16px;
  }

  .intro-preview-title {
    word-break: keep-all;
  }

  .intro-click-dot {
    width: 14px;
    height: 14px;
  }

  .intro-click-dot::after {
    border: 1.5px solid var(--intro-green);
  }
}