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

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  background: #0e0e0e;
}

li {
  list-style: none;
}

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

.container {
  max-width: 1152px;
  width: 100%;
  margin: auto;
}

/* ------------loading----------*/
.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: white;
}

.loading p {
  color: #f9af3c;
  padding: 24px 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.loader {
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #f9af3c;
  animation: loader 2s infinite ease;
}

.loader-inner {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  background: #f9af3c;
  animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(180deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }

  25% {
    height: 0%;
  }

  50% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0%;
  }
}

.main-content {
  display: none;
}

/* ---------menu--------- */

header {
  display: none;
}

.nav {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 800;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-inner {
  width: 100%;
  right: 24px;
  display: flex;
  align-items: center;
  margin: auto;
}

.logo-img {
  width: 48px;
}

.nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 80px;
}

.page-link {
  text-transform: capitalize;
  transition: 0.3s ease;
}

/* ---------------main--------------- */

section {
  padding-top: 120px;
}

h2 {
  font-weight: 500;
}

.title-box {
  text-align: right;
  display: inline-block;
  padding-bottom: 80px;
  color: #0e0e0e;
  text-shadow: 1px 1px 1px white;
}

#page-intro {
  position: relative;
}

#page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/price-img.jpg");
  background-size: cover;
  background-position: 0 38%;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  will-change: transform;
  z-index: -1;
}

.en-title {
  font-size: 120px;
  text-transform: capitalize;
}

.page-subtitle {
  display: inline-block;
  font-size: 48px;
  position: relative;
  padding-left: 56px;
}

.page-subtitle::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  width: 48px;
  height: 2px;
  background: #0e0e0e;
  transform: translateY(-50%);
}

#price-cards {
  background: url("../images/price-background.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;

  padding: 40px 0;
  margin-top: 80px;
}

#price-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.card-holder {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 40px;

  font-size: 20px;
  font-weight: 300;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 420px;

  backdrop-filter: blur(6px);
  background: rgba(35, 35, 35, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  border: 0.8px solid #fff;
  padding: 24px;
  border-radius: 10px;
  flex: 1;
}

.description {
  min-height: 140px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-plans {
  font-size: 32px;
  font-weight: 400;
  padding-bottom: 6px;
}

.card-price {
  padding-top: 32px;
}

.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  margin: 20px 0;
}

.examples {
  line-height: 2em;

  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

#op-cx {
  display: flex;
  gap: 120px;
}

#option,
#cancellation {
  flex: 1;
}

.plan-titles {
  font-size: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
}

.plan-titles::before {
  content: "";
  width: 48px;
  height: 2px;
  background: #fff;
}

.cx-titles {
  display: flex;
  align-items: flex-end;
}

.cx-titles h3 {
  font-size: 32px;
  font-weight: 400;
}

.price-list {
  padding-top: 24px;
  font-size: 20px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

#contact {
  padding-bottom: 80px;
}

#contact .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.contact-contents {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 48px;
}

.contact-details {
  padding-top: 32px;
  line-height: 1.5em;
}

.contact-list {
  padding-top: 48px;
  line-height: 1.5em;
}

.contact-row {
  display: flex;
  padding-top: 8px;
}

dt {
  width: 60px;
  font-weight: 600;
  padding: 0 80px 0 8px;
}

dd {
  width: 180px;
}

.note,
.contact-sub {
  color: #777;
}

.contact-sub {
  padding-top: 8px;
}

.mail-icon {
  width: 280px;
  height: auto;
}

.contact-svg {
  width: 180px;
}

.contact-text {
  width: 100%;
  height: auto;
  display: block;
}

.contact-text text {
  font-size: 20px;
  fill: #fff;
  letter-spacing: 0.05em;
}

/* ---------------footer------------ */
footer {
  border-top: 0.5px solid #4c5765;
  font-size: 16px;
  color: #4c5765;
  padding: 36px 0;
}

footer .container {
  position: relative;
}

.copyright,
.sns-icons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.copyright {
  left: 50%;
  transform: translate(-50%, -50%);
}

/* sns */
.sns-icons {
  font-size: 24px;
  right: 0;
}

.sns-icons ul {
  display: flex;
}

.sns-icons li {
  padding-left: 24px;
}

@keyframes rotation {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* ===============hover(for mouse)=============== */
@media (hover: hover) and (pointer: fine) {
  .page-link:hover {
    opacity: 0.6;
  }

  .button:hover {
    opacity: 0.6;
  }

  .button:hover .arrow {
    transform: scale(0.85);
  }

  .sns-link:hover {
    animation: 0.3s linear rotation;
  }
}

@media (hover: none) {
  .page-link:active {
    opacity: 0.6;
  }

  .button:active {
    opacity: 0.6;
  }

  .button:active .arrow {
    transform: scale(0.85);
  }

  .sns-link:active {
    animation: 0.3s linear rotation;
  }
}
