/* 빨간색 테두리 반짝임 효과 */
.borderBlink.active {
  border: 5px solid #ff2d2d;
  animation: border-blink 0.7s infinite alternate;
  box-sizing: border-box;
  border-radius: 35px;
}

@keyframes border-blink {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7);
    border-color: #ff2d2d;
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(255, 45, 45, 0.8);
    border-color: #fff;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7);
    border-color: #ff2d2d;
  }
}
@keyframes flipIn {
  0% {
    opacity: 0;
    transform: perspective(400px) rotateX(90deg) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: perspective(400px) rotateX(-10deg) scale(1.05);
  }
  80% {
    opacity: 1;
    transform: perspective(400px) rotateX(5deg) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: perspective(400px) rotateX(0deg) scale(1);
  }
}

.price_1,
.price_arrow,
.price_2 {
  opacity: 0;
  transform: perspective(400px) rotateY(90deg) scale(0.8);
  transition:
    opacity 0.2s,
    transform 0.2s;
  display: none;
}
.price_1.price-animate {
  animation: flipIn 0.7s 0s cubic-bezier(0.23, 1.02, 0.67, 1) forwards;
}
.price_arrow.price-animate {
  animation: flipIn 0.7s 0.3s cubic-bezier(0.23, 1.02, 0.67, 1) forwards;
}
.price_2.price-animate {
  animation: flipIn 0.7s 0.6s cubic-bezier(0.23, 1.02, 0.67, 1) forwards;
}

/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Base */
html {
  overflow-x: hidden;
  /* background-color: #262626; */
  scroll-behavior: smooth;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  height: 100%;
}

body {
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
  padding-bottom: 65px;
}

img {
  display: block;
}

.header-contents {
  position: absolute;
  top: 50%;
  left: 70%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contents a img {
  height: 50px;
  overflow: hidden;
  border-radius: 50px;
  width: auto;
}

.countdown-today {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  white-space: nowrap;
  padding-bottom: 10px;
}

.countdown-number {
  color: #feffab;
  font-size: 32px;
  font-weight: bold;
}

/* Header */
header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #4563ff;
}

header img {
  display: block;
  width: 100%;
}

header > img {
  width: 80%;
}

.container > img {
  width: 100%;
  display: block;
}

.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section01 {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/01_bg.png');
  background-size: cover;
}
.section01 .inner .title {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  padding: 80px 0;
}

.section01 .cont {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section01 .cont .phoneBox {
  position: relative;
  margin-left: -50px;
}

.bubbleBox {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.bubbleBox .bubble_2 {
  margin-right: -80px;
}

.phoneBox .logo_1,
.phoneBox .logo_2,
.phoneBox .logo_3,
.phoneBox .logo_4,
.phoneBox .logo_5 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.phoneBox .logo_1 {
  left: 28%;
  top: 37%;
  animation: phoneLogoFloat 1.8s ease-in-out infinite;
}

.phoneBox .logo_2 {
  left: 32%;
  top: 6%;
  animation: phoneLogoFloat 2.2s ease-in-out infinite;
}

.phoneBox .logo_3 {
  left: 62%;
  top: 21%;
  animation: phoneLogoFloat 1.6s ease-in-out infinite;
}

.phoneBox .logo_4 {
  left: 56%;
  top: 57%;
  animation: phoneLogoFloat 2s ease-in-out infinite;
}

.phoneBox .logo_5 {
  left: 19%;
  top: 62%;
  animation: phoneLogoFloat 1.4s ease-in-out infinite;
}

.section02 {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/02_bg.png');
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #141414;
  min-height: 1400px;
}

.section02 .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section02 .title {
  width: 100%;
  max-width: 500px;
  margin: 80px auto 0px;
  display: block;
}

.section02 .price_arrow {
  margin: -30px 0;
  position: relative;
  z-index: 10;
}

.section02 .freeBox {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/free_bg.png');
  background-size: 10%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 100px;
}
.section02 .freeBox .free {
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.5s cubic-bezier(0.23, 1.02, 0.67, 1),
    transform 0.5s cubic-bezier(0.23, 1.02, 0.67, 1);
}

.section02 .freeBox.show {
  background-size: 100%;
  transition: background-size 1s ease-in-out;
}
.section02 .freeBox.show .free {
  transform: scale(1);
  opacity: 1;
  transition:
    opacity 1.5s cubic-bezier(0.23, 1.02, 0.67, 1),
    transform 1.5s cubic-bezier(0.23, 1.02, 0.67, 1);
}

.section03 {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/03_bg.png');
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 100px;
}

.section03 .bubble_2 {
  margin: 1% 0 3%;
}
.section03 .bubbleWarp {
  width: 100%;
  max-width: 800px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.section03 .bubbleWarp img {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1.02, 0.67, 1),
    transform 0.8s cubic-bezier(0.23, 1.02, 0.67, 1);
}

.section03 .bubbleWarp img.bubble-in {
  opacity: 1;
  transform: translateY(0);
}

.section03 .bubble_3,
.section03 .bubble_5,
.section03 .bubble_4,
.section03 .bubble_6 {
  margin-bottom: -20px;
}

.section03 .bubble_4,
.section03 .bubble_6 {
  align-self: flex-start;
}

.section03 .bottomText {
  margin-top: 4%;
}

.section04 {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/04_bg.png');
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 100px;
}

.section04 .slide {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 100px;
}

.section04 .slide img {
  width: 100%;
}

.section05 {
  background-image: url('https://cdn.driven.co.kr/landing/driven/sns/05_bg.png');
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 100px;
}
.per300 {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1.02, 0.67, 1),
    transform 0.8s cubic-bezier(0.23, 1.02, 0.67, 1);
}
.per300.per300-in {
  opacity: 1;
  transform: translateY(0);
  animation: per300-scale-infinite 1.2s cubic-bezier(0.23, 1.02, 0.67, 1) infinite;
}

@keyframes per300-scale-infinite {
  0% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(0) scale(1.08);
  }
  50% {
    transform: translateY(0) scale(0.95);
  }
  75% {
    transform: translateY(0) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.section05 .title {
  margin: 150px 0 50px;
}

.section05 .checkPoint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scroll_section {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  height: 100%;
  border: 1px solid #ddd;
}

.scroll_section .scroll_section_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  background-color: #f5f5f5;
  padding: 10px 50px;
}

.scroll_section .swiper-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 76px;
  padding: 0 30px;
  font-size: 17px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}

.scroll_section .swiper-slide img {
  height: 30px;
}

.scroll_section .item-date {
  font-weight: bold;
}

.scroll_section .mySwiper_wrapper {
  width: 100%;
  height: calc(100% - 40px);
}

.scroll_section .mySwiper {
  display: inline-block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 25px;
}

.scroll_section .mySwiper .swiper-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 76px;
  padding: 0 30px;
  font-size: 17px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}

.scroll_section .mySwiper .vertical-banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  /* overflow: hidden; */
  text-overflow: ellipsis;
}

.scroll_section .mySwiper .vertical-banner-item.item-date {
  font-weight: bold;
  flex: 0.8;
}

.scroll_section .mySwiper .vertical-banner-item.item-name {
  flex: 1;
  transform: translateX(23px);
}

.scroll_section .mySwiper .vertical-banner-item.item-phone {
  flex: 1.2;
  transform: translateX(30px);
}

.scroll_section .mySwiper .vertical-banner-item.item-btn {
  flex: 0.8;
  height: 30px;
  object-fit: contain;
}

/* Form Section */
.form_section {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 50px 20px;
  align-items: center;
  background-color: #262626;
}

.inputForm-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.inputForm-wrapper > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 10px;
}

.phone-prefix {
  color: #fff;
}

.inputForm-wrapper > div label {
  font-weight: bold;
  color: #fff;
  margin-right: 10px;
  text-align: left;
}

.inputForm-wrapper > div input,
.inputForm-wrapper > div select {
  flex: 1;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
}

.inputForm-wrapper > div input::placeholder {
  color: #ccc;
}

.inputForm-wrapper > div select {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
  cursor: pointer;
}

.inputForm-wrapper > div select:hover {
  border: 1px solid #3536e0;
}

.inputForm-wrapper > div select:focus {
  outline: none;
  border-bottom: 1px solid #3536e0;
}

.inputForm-wrapper > div select option {
  background-color: #262626;
  color: #fff;
  padding: 10px;
  font-size: 16px;
}

.inputForm-wrapper > div input:focus {
  outline: none;
  border-bottom: 2px solid #3536e0;
}

/* Footer */
footer {
  position: relative;
  width: 100%;
}

footer .scrollTopBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 100;
}

footer > img {
  width: 100%;
  display: block;
}

footer .scrollTopBtn img {
  width: 100%;
  display: block;
}

/* Privacy Box */
.privacy_box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.privacy_box label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.privacy_box input[type='checkbox'] {
  display: none;
}

.privacy_box input[type='checkbox'] + span {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  background-color: #ccc;
  border-radius: 13px;
  transition: all 0.3s;
}

.privacy_box input[type='checkbox'] + span:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: all 0.3s;
}

.privacy_box input[type='checkbox']:checked + span {
  background-color: #3536e0;
}

.privacy_box input[type='checkbox']:checked + span:before {
  transform: translateX(24px);
}

.agreeText {
  color: #fff;
  font-size: 17px;
}

#agreeView {
  color: #fff;
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #666;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ff2e63;
}

/* Fixed Button */
.fixedBtn {
  width: 240px;
  position: fixed;
  bottom: 160px;
  right: 53px;
  z-index: 100;
  display: block;
  transition: opacity 0.3s ease;
}

#callBtn {
  display: none;
}

.custom-button-1 {
  position: fixed;
  bottom: 75px;
  right: 53px;
  z-index: 100;
  display: none;
  transition: opacity 0.3s ease;
  background-color: none;
  border: none;
  cursor: pointer;
}

.fixedBtn img {
  width: 100%;
  display: block;
}

.fixedBtn.hide {
  opacity: 0;
  pointer-events: none;
}

/* Swiper Pagination */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
  display: none;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #000;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .header-contents a img {
    height: 30px;
  }

  .countdown-today {
    font-size: 14px;
    padding-bottom: 2px;
  }

  .countdown-number {
    font-size: 18px;
  }

  .header-contents {
    padding: 8px;
    left: 0;
    top: auto;
    bottom: -1px;
    width: 100%;
    justify-content: center;
    background: #3536e0;
    position: fixed;
    width: 100%;
    height: 50px;
    transform: translate(0px, 0px);
  }
  header > img {
    display: none;
  }

  .form_section {
    padding: 0 15px 30px;
  }

  header > a.topBtn img {
    height: 37px;
    width: auto;
  }

  .container > img {
    width: 170% !important;
    transform: translateX(-20%);
  }

  .container .img70 {
    width: 95% !important;
    transform: translateX(-0.5%);
  }

  .agreeText {
    font-size: 14px;
  }

  footer {
    padding-bottom: 130px;
  }

  footer > img {
    width: 170% !important;
    transform: translateX(-20%);
  }

  footer .scrollTopBtn {
    width: 10%;
    top: -54%;
  }

  .fixedBtn {
    width: 50px;
    bottom: 18%;
    right: 32px;
  }

  .custom-button-1 {
    width: 50px;
    bottom: 10%;
    right: 32px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }

  .fixedBtn img {
    width: 50px;
    height: 50px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }

  .privacy_box input[type='checkbox'] + span {
    width: 40px;
    height: 20px;
    border-radius: 10px;
  }

  .privacy_box input[type='checkbox'] + span:before {
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
  }

  .privacy_box input[type='checkbox']:checked + span:before {
    transform: translateX(20px);
  }

  .section01 .inner .title {
    padding: 10% 0;
  }

  .section01 .cont .phoneBox {
    margin-left: -20px;
  }

  .bubbleBox {
    gap: 6px;
  }
  .bubbleBox img {
    width: auto;
    height: 52px;
  }
  .bubbleBox .bubble_2 {
    margin-right: -30px;
  }

  .section01 .phoneBox img.phone {
    width: 100%;
  }
  .section01 .phoneBox img {
    width: 30%;
  }

  .section01 .phoneBox img.logo_5 {
    width: 26%;
  }

  .section02 {
    background-size: 250%;
    min-height: 700px;
  }

  .section02 .title {
    margin: 45px auto 15px;
    max-width: 80%;
  }

  .section02 .price_1,
  .section02 .price_arrow {
    width: 90%;
  }
  .section02 .price_arrow {
    margin: -19px 0;
  }
  .section02 .price_2 {
    width: 100%;
  }

  .borderBlink.active {
    border-radius: 20px;
  }

  .section02 .freeBox {
    padding: 20px 0 30px;
  }
  .section02 .freeBox.show {
    background-size: 300%;
  }
  .section02 .free {
    width: 80%;
  }

  .section03 {
    padding: 50px 0;
  }

  .section03 img {
    width: 80%;
  }

  .section03 .bubble_3,
  .section03 .bubble_4,
  .section03 .bubble_5,
  .section03 .bubble_6 {
    width: auto;
    height: 90px;
    margin-bottom: -5px;
  }

  .section03 .bubble_2 {
    margin: 3% 0 6%;
  }

  .section03 .linkBtn {
    margin: 0 auto;
  }

  .section04 {
    padding: 50px 0;
  }
  .section04 .title {
    width: 80%;
  }
  .section04 .slide {
    margin-top: 50px;
  }
  .section05 {
    padding: 50px 0;
  }
  .section05 img {
    width: 80%;
  }
  .section05 .title {
    margin: 100px 0 35px;
  }
  .section05 .checkPoint img {
    width: auto;
    height: 30px;
    opacity: 1;
  }

  .form_section .formTitle {
    width: 80%;
    margin: 20px;
  }
  #submitBtn {
    width: 100%;
  }
}

.section05 .checkPoint img.check-blink {
  animation: checkBlink 1.7s ease-in-out;
}

@keyframes checkBlink {
  0% {
    filter: none;
    border: none;
    border-radius: 0;
  }
  20% {
    filter: invert(1) hue-rotate(39deg) brightness(1.8);
  }
  90% {
    filter: invert(1) hue-rotate(39deg) brightness(1.8);
  }
  100% {
    filter: none;
    border: none;
    border-radius: 0;
  }
}

/* phoneBox 내 로고 동동 애니메이션 */
@keyframes phoneLogoFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media screen and (max-width: 768px) {
  @keyframes phoneLogoFloat {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-7px);
    }
    100% {
      transform: translateY(0px);
    }
  }
}
