/* Base scope and design tokens */
.perfect-wrap,
.perfect-wrap * {
   box-sizing: border-box;
}

.perfect-wrap {
   --blue: #2c5bf6;
   --deep-blue: #111cb8;
   --text: #333;
   --line: #e8e8e8;
   --muted: #777;
   width: 100%;
   min-width: 320px;
   overflow: hidden;
   padding-bottom: 80px;
   background: #fff;
   color: var(--text);
   font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
   letter-spacing: 0;
}

.perfect-wrap a {
   color: inherit;
   text-decoration: none;
}

.perfect-wrap img {
   display: block;
   max-width: 100%;
}

/* Hero area */
.perfect-wrap .top {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0;
   width: 100%;
   min-height: 672px;
   padding-top: 90px;
   overflow: hidden;
}

.perfect-wrap .top-bg {
   position: absolute;
   top: 0;
   left: 50%;
   width: 1920px;
   height: 1248px;
   transform: translateX(-50%);
   pointer-events: none;
   background: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/top-bg.svg") center / cover no-repeat;
}

/* PC year select */
.perfect-wrap .custom-select {
   position: absolute;
   top: 30px;
   left: calc(50% + 315px);
   z-index: 20;
   width: 220px;
   text-align: left;
}

.perfect-wrap .select-trigger {
   position: relative;
   display: flex;
   align-items: center;
   width: 100%;
   height: 38px;
   padding: 0 34px 0 10px;
   border: 1px solid var(--muted);
   border-radius: 4px;
   background: #fff;
   color: var(--muted);
   font-size: 14px;
   line-height: 1.5;
   letter-spacing: 0;
}

.perfect-wrap .select-trigger:after {
   content: "";
   position: absolute;
   top: 50%;
   right: 12px;
   width: 10px;
   height: 6px;
   margin-top: -3px;
   background: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/ico-select.svg") center / 10px 6px no-repeat;
   transform: rotate(180deg);
}

.perfect-wrap .custom-select.open .select-trigger:after {
   transform: rotate(0);
}

.perfect-wrap .select-options {
   display: none;
   position: absolute;
   top: calc(100% - 1px);
   left: 0;
   width: 100%;
   overflow: hidden;
   border: 1px solid var(--muted);
   border-radius: 0 0 4px 4px;
   background: #fff;
   z-index: 6;
}

.perfect-wrap .select-options li {
   padding: 9px 10px;
   color: var(--muted);
   font-size: 14px;
   line-height: 1.4;
   cursor: pointer;
}

.perfect-wrap .select-options li:hover {
   background: #f7f9fd;
   color: var(--blue);
}

/* Hero title and laurel assets */
.perfect-wrap .title-wrap {
   position: relative;
   z-index: 2;
   display: flex;
   flex-direction: column;
   align-items: center;
   width: min(100%, 600px);
   height: 326px;
   text-align: center;
}

.perfect-wrap .brand-copy {
   margin: 0 0 40px;
   color: var(--text);
   font-size: 24px;
   line-height: 1.3;
   letter-spacing: 7.2px;
   white-space: nowrap;
}

.perfect-wrap .main-title {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;
}

.perfect-wrap .proof-copy {
   margin: 0;
   padding: 6px 32px;
   border-radius: 999px;
   background: #fff;
   color: transparent;
}

.perfect-wrap .proof-copy span {
   color: transparent;
   font-size: 24px;
   font-style: normal;
   font-weight: 400;
   line-height: 130%;
   letter-spacing: 8.64px;
   white-space: nowrap;
   background-image: linear-gradient(140deg, #2c85fa 2.7%, #111cb8 100.8%);
   -webkit-background-clip: text;
   background-clip: text;
}

.perfect-wrap .main-title h1 {
   margin: 0;
   color: transparent;
   font-size: 84px;
   font-weight: 800;
   line-height: 120%;
   letter-spacing: -1.68px;
   background: linear-gradient(108deg, #2C85FA 9.09%, #111CB8 68.32%);
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.perfect-wrap .main-title h1 span {
   display: block;
}

.perfect-wrap .laurel {
   position: absolute;
   top: 18px;
   width: 170px;
   height: 290px;
   pointer-events: none;
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
}

.perfect-wrap .laurel-left {
   left: -181.5px;
   background-image: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/laurel-left.svg");
}

.perfect-wrap .laurel-right {
   right: -181.5px;
   background-image: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/laurel-right.svg");
   transform: scaleX(-1);
}

/* Data tooltip */
.perfect-wrap .tooltip {
   position: absolute;
   right: 3.5px;
   bottom: 13px;
   z-index: 4;
}

.perfect-wrap .tooltip-trigger {
   display: flex;
   align-items: center;
   gap: 4px;
   color: rgba(85, 85, 85, 0.50);
   font-family: Pretendard;
   font-size: 12px;
   font-style: normal;
   font-weight: 500;
   line-height: 100%;
   letter-spacing: -0.6px;
   opacity: .5;
}

.perfect-wrap .tooltip-trigger img {
   width: 12px;
   height: 12px;
}

.perfect-wrap .tooltip-layer {
   display: none;
   position: absolute;
   top: 20px;
   left: 0;
   min-width: 266px;
   padding: 14px;
   border: 1px solid var(--muted);
   border-radius: 8px;
   background: #fff;
   color: var(--muted);
   font-size: 12px;
   line-height: 1.5;
   letter-spacing: 0;
   text-align: left;
   white-space: nowrap;
   z-index: 20;
}

.perfect-wrap .tooltip:hover .tooltip-layer,
.perfect-wrap .tooltip:focus-within .tooltip-layer {
   display: block;
}

.perfect-wrap .tooltip-layer p {
   margin: 0;
}

/* Student profile block */
.perfect-wrap .achiever {
   position: relative;
   z-index: 2;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 390px;
   overflow: visible;
   margin-top: 40px;
}

.perfect-wrap .profile {
   position: relative;
   width: 492px;
   height: 390px;
   flex: 0 0 492px;
   overflow: visible;
}

.perfect-wrap .profile img {
   position: absolute;
   top: -12px;
   left: 10px;
   width: 472px;
   max-width: none;
   transform: rotate(1.95deg);
   transform-origin: center top;
}

.perfect-wrap .info {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 0;
   flex: 0 0 auto;
   margin-left: 0;
}

.perfect-wrap .campus,
.perfect-wrap .name,
.perfect-wrap .result {
   margin: 0;
}

.perfect-wrap .campus {
   color: var(--blue);
   font-size: 28px;
   font-style: normal;
   font-weight: 600;
   line-height: 140%;
   letter-spacing: -0.28px;
}

.perfect-wrap .name {
   margin-top: 2px;
   color: var(--text);
   font-size: 48px;
   font-weight: 700;
   line-height: 1.3;
   letter-spacing: -0.96px;
}

.perfect-wrap .name span {
   font-size: 28px;
   font-weight: 600;
   line-height: 1.4;
   letter-spacing: -0.28px;
}

.perfect-wrap .result {
   color: var(--text);
   font-size: 24px;
   font-weight: 600;
   line-height: 1.4;
   letter-spacing: 0;
}

.perfect-wrap .btn-area {
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin-top: 32px;
}

/* Video CTA buttons */
.perfect-wrap .play-btn {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 280px;
   min-height: 48px;
   padding: 10px 24px;
   border-radius: 6px;
   background: linear-gradient(109deg, #0b0447 18%, #1e3683 56%, #2c5bf6 93%);
   color: #fff;
   font-size: 18px;
   font-weight: 700;
   line-height: 1.4;
   letter-spacing: 0;
}

.perfect-wrap .play-btn:link,
.perfect-wrap .play-btn:visited,
.perfect-wrap .play-btn:hover,
.perfect-wrap .play-btn:focus,
.perfect-wrap .play-btn span {
   color: #fff;
}

.perfect-wrap .play-btn i {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 28px;
   height: 28px;
   margin-left: 12px;
   border-radius: 50%;
   background: #fff;
   flex: 0 0 28px;
}

.perfect-wrap .play-btn i img {
   width: 8px;
   height: 11px;
}

/* Interview accordion */
.perfect-wrap .faq-list {
   position: relative;
   z-index: 3;
   width: min(100% - 40px, 1024px);
   margin: 0 auto;
   padding: 0;
}

.perfect-wrap .faq-item {
   border-top: 1px solid var(--line);
   background: #fff;
}

.perfect-wrap .faq-item:last-child {
   border-bottom: 1px solid var(--line);
}

.perfect-wrap .faq-q {
   display: flex;
   align-items: center;
   width: 100%;
   min-height: 60px;
   padding: 14px 40px;
   background: #fff;
   text-align: left;
}

.perfect-wrap .q-text {
   display: flex;
   align-items: center;
   gap: 12px;
   min-width: 0;
   flex: 1 1 auto;
   color: var(--text);
   font-size: 20px;
   font-weight: 400;
   line-height: 1.4;
   letter-spacing: 0;
}

.perfect-wrap .q-text > span {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 28px;
   height: 28px;
   border-radius: 6px;
   background: var(--text);
   color: #fff;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.4;
   letter-spacing: 0;
   flex: 0 0 28px;
}

.perfect-wrap .arrow {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 20px;
   height: 20px;
   margin-left: 16px;
   flex: 0 0 20px;
   transform: rotate(-90deg);
}

.perfect-wrap .arrow img {
   width: 10px;
   height: 20px;
}

.perfect-wrap .faq-item.on .q-text {
   color: var(--blue);
   font-weight: 700;
}

.perfect-wrap .faq-item.on .q-text > span {
   background: var(--blue);
}

.perfect-wrap .faq-item.on .arrow {
   transform: rotate(90deg);
}

.perfect-wrap .faq-a {
   display: none;
   padding: 20px 50px;
   border-top: 1px solid var(--line);
   background: #f7f9fd;
   color: var(--text);
   font-size: 16px;
   font-weight: 400;
   line-height: 1.4;
   letter-spacing: 0;
   text-align: left;
}

.perfect-wrap .faq-a p {
   margin: 0;
}

.perfect-wrap .faq-a p + p {
   margin-top: 6px;
}

.perfect-wrap .faq-a p:first-child:before {
   content: "A. ";
}

.perfect-wrap .faq-a p:first-child {
   padding-left: 20px;
   text-indent: -19px;
}

/* Video modal */
.perfect-wrap .video-layer {
   position: fixed;
   inset: 0;
   z-index: 999;
   display: none;
   align-items: center;
   justify-content: center;
   padding: 20px;
   background: rgba(0, 0, 0, .65);
}

.perfect-wrap .video-layer__box {
   position: relative;
   width: min(90vw, 800px);
   background: #000;
}

.perfect-wrap .video-layer__box iframe {
   display: block;
   width: 100%;
   aspect-ratio: 16 / 9;
}

.perfect-wrap .btn-close {
   position: absolute;
   top: -42px;
   right: 0;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   background: rgba(0, 0, 0, .55);
}

.perfect-wrap .btn-close:before,
.perfect-wrap .btn-close:after {
   content: "";
   position: absolute;
   top: 15px;
   left: 7px;
   width: 18px;
   height: 2px;
   border-radius: 1px;
   background: #fff;
}

.perfect-wrap .btn-close:before {
   transform: rotate(45deg);
}

.perfect-wrap .btn-close:after {
   transform: rotate(-45deg);
}

body.no-scroll {
   overflow: hidden;
}

/* TA: tablet layout from Figma */
@media (max-width: 1200px) {
   .perfect-wrap .custom-select {
      right: 2%;
      left: auto;
   }

   .perfect-wrap .top {
      display: flex;
      padding: 80px 24px 0 24px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      align-self: stretch;
   }

   .perfect-wrap .title-wrap {
      width: 529px;
      height: 302px;
   }

   .perfect-wrap .proof-copy {
      padding: 6px 32px;
      font-size: 24px;
      letter-spacing: 0;
   }

   .perfect-wrap .main-title h1 {
      font-size: 74px;
   }

   .perfect-wrap .laurel {
      top: auto;
      width: 155.904px;
      height: 265.954px;
      opacity: 1;
   }

   .perfect-wrap .laurel-left {
      left: -119.5px;
      bottom: 7.642px;
   }

   .perfect-wrap .laurel-right {
      right: -119.5px;
      bottom: 7.642px;
      transform: scaleX(-1);
   }

   .perfect-wrap .tooltip {
      right: -9.5px;
      bottom: 8px;
   }

   .perfect-wrap .achiever {
      display: flex;
      height: 390px;
      max-width: 720px;
      margin: 0 auto;
      justify-content: center;
      align-items: center;
      align-self: stretch;
   }

   .perfect-wrap .profile {
      width: auto;
      height: 390px;
      flex: 1 1 0;
      min-width: 0;
   }

   .perfect-wrap .profile img {
      width: 452.773px;
      height: 573.997px;
      transform: rotate(1.953deg);
      aspect-ratio: 56/71;
   }

   .perfect-wrap .info {
      align-items: flex-start;
      text-align: left;
      flex: 0 0 280px;
      width: 280px;
      margin-left: 0;
   }

   .perfect-wrap .campus {
      font-size: 28px;
      letter-spacing: 0;
   }

   .perfect-wrap .name {
      font-size: 48px;
      letter-spacing: 0;
   }

   .perfect-wrap .name span {
      font-size: 28px;
      letter-spacing: 0;
   }

   .perfect-wrap .result {
      font-size: 24px;
      letter-spacing: 0;
   }

   .perfect-wrap .faq-list {
      width: 100%;
      padding: 0 24px;
   }

   .perfect-wrap .faq-q {
      min-height: 60px;
      padding: 14px 40px;
   }

   .perfect-wrap .q-text {
      font-size: 20px;
      letter-spacing: 0;
   }

   .perfect-wrap .faq-a {
      padding: 20px 50px;
      font-size: 16px;
      letter-spacing: 0;
   }
}

@media (max-width: 767px) {
   .perfect-wrap {
      padding-bottom: 37.5px;
   }

   .perfect-wrap .top {
      display: flex;
      padding: 80px 16px 0 16px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0;
      align-self: stretch;
      min-height: auto;
   }

   .perfect-wrap .custom-select {
      top: 20px;
   }

   .perfect-wrap .top-bg {
      width: min(100vw, 520px);
      height: auto;
      aspect-ratio: 360 / 520;
      background-image: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/top-bg-mo-360.svg");
      background-size: contain;
   }

   .perfect-wrap .title-wrap {
      width: 100%;
      height: auto;
      z-index: 10;
   }

   .perfect-wrap .brand-copy {
      margin-bottom: 24px;
      font-size: clamp(18px, 4vw, 24px);
   }

   .perfect-wrap .main-title {
      gap: clamp(10px, 2.6vw, 14px);
   }

   .perfect-wrap .proof-copy {
      padding: 6px 20px;
   }

   .perfect-wrap .proof-copy span {
      font-size: 20px;
      letter-spacing: 1.4px;
   }

   .perfect-wrap .main-title h1 {
      font-size: clamp(40px, 9.5vw, 58px);
   }

   .perfect-wrap .laurel {
      top: clamp(60px, 14vw, 82px);
      width: clamp(73px, 17vw, 104px);
      height: clamp(125px, 29vw, 178px);
   }

   .perfect-wrap .laurel-left {
      left: -30px;
      bottom: 26.801px;
      background-image: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/laurel-mo-360-left.svg");
   }

   .perfect-wrap .laurel-right {
      right: -30px;
      bottom: 26.801px;
      background-image: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/laurel-mo-360-right.svg");
   }

   .perfect-wrap .tooltip {
      position: relative;
      right: auto;
      bottom: auto;
      margin-top: 8px;
      z-index: 30;
   }

   .perfect-wrap .tooltip-trigger {
      justify-content: center;
      gap: 4px;
      font-size: clamp(12px, 2.8vw, 15px);
      letter-spacing: 0;
   }

   .perfect-wrap .tooltip-trigger img {
      width: 12px;
      height: 12px;
   }

   .perfect-wrap .tooltip-layer {
      left: 50%;
      min-width: 0;
      width: max-content;
      transform: translateX(-50%);
      z-index: 40;
   }

   .perfect-wrap .tooltip:hover .tooltip-layer,
   .perfect-wrap .tooltip:focus-within .tooltip-layer {
      display: none;
   }

   .perfect-wrap .tooltip.open .tooltip-layer {
      display: block;
   }

   .perfect-wrap .achiever {
      height: auto;
      padding: 0;
      overflow: hidden;
      z-index: 1;
      width: 100%;
      justify-content: center;
      gap: 4px;
      padding-bottom: 20px;
   }

   .perfect-wrap .profile {
      width: auto;
      flex: 0 1 46%;
      height: clamp(215px, 45vw, 300px);
      min-width: 0;
   }

   .perfect-wrap .profile img {
      top: clamp(-8px, -1vw, 0px);
      height: auto;
      left: clamp(-28px, -6vw, -12px);
      width: clamp(205px, 52vw, 320px);
   }

   .perfect-wrap .info {
      gap: 0;
      padding-top: 20px;
      flex: 0 1 54%;
      width: 54%;
      min-width: 0;
   }

   .perfect-wrap .campus {
      font-size: clamp(18px, 4vw, 24px);
      font-weight: 700;
   }

   .perfect-wrap .name {
      margin-top: 0;
      font-size: clamp(32px, 7vw, 44px);
   }

   .perfect-wrap .name span {
      font-size: clamp(18px, 4vw, 24px);
      font-weight: 700;
   }

   .perfect-wrap .result {
      font-size: clamp(16px, 3.6vw, 21px);
      font-weight: 700;
   }

   .perfect-wrap .btn-area {
      gap: 6px;
      margin-top: clamp(16px, 3.6vw, 24px);
      z-index: 5;
      width: 100%;
   }

   .perfect-wrap .play-btn {
      width: 100%;
      min-width: 0;
      min-height: clamp(37px, 8vw, 50px);
      padding: 8px 12px;
      border-radius: 6px;
      font-size: clamp(14px, 3vw, 18px);
      line-height: 1.5;
      letter-spacing: -0.13px;
   }

   .perfect-wrap .play-btn i {
      width: clamp(14px, 3.2vw, 18px);
      height: clamp(14px, 3.2vw, 18px);
      margin-left: 6px;
      flex-basis: clamp(14px, 3.2vw, 18px);
   }

   .perfect-wrap .play-btn span {
      min-width: 0;
      white-space: nowrap;
      letter-spacing: -0.5px;
   }

   .perfect-wrap .campus,
   .perfect-wrap .name,
   .perfect-wrap .result {
      white-space: nowrap;
   }

   .perfect-wrap .play-btn i img {
      content: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/ico-play-mo.svg");
      width: 4px;
      height: 5px;
   }

   .perfect-wrap .faq-list {
      padding: 0 16px;
   }

   .perfect-wrap .faq-q {
      min-height: 48px;
      padding: 6px 16px;
      gap: 12px;
      border-top-width: 1px;
   }

   .perfect-wrap .q-text {
      gap: 12px;
      font-size: clamp(14px, 2.8vw, 16px);
      line-height: 1.4;
      letter-spacing: 0;
   }

   .perfect-wrap .q-text > span {
      width: 20px;
      height: 20px;
      border-radius: 6px;
      font-size: 14px;
      letter-spacing: 0;
      flex-basis: 20px;
   }

   .perfect-wrap .arrow {
      width: 12px;
      height: 12px;
      margin-left: 0;
      flex-basis: 12px;
   }

   .perfect-wrap .arrow img {
      content: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/ico-arrow-mo.svg");
      width: 6px;
      height: 12px;
   }

   .perfect-wrap .faq-item.on .arrow img {
      content: url("https://russeldata.megastudy.net/campus/images/russel/perfect/2026/assets/ico-arrow-blue-mo.svg");
   }

   .perfect-wrap .faq-a {
      padding: 20px;
      border-top-width: 1px;
      font-size: clamp(13px, 2.6vw, 15px);
      line-height: 1.5;
      letter-spacing: 0;
   }

   .perfect-wrap .faq-a p + p {
      margin-top: 0;
   }

   .perfect-wrap .faq-a p:first-child {
      padding-left: 20px;
      text-indent: -15px;
   }
}