:root {
  --color-bg: #fcfaf6;
  --color-accent: #4395ad;
  --color-text: #000000;
  --color-white: #ffffff;
  --font-heading: "Gowun Batang", Georgia, "Times New Roman", serif;
  --font-body: "Rethink Sans", "Segoe UI", system-ui, sans-serif;
  --container-max: 960px;
  --container-wide: 1120px;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

/* Header */

.header {
  background: var(--color-bg);
}

.header__intro {
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.header__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.header__subtitle {
  margin: 0.75rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.header__hero {
  margin: 0 auto 2rem;
  padding: 0 1rem;
  max-width: 560px;
}

.header__hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section--about {
  background: var(--color-bg);
}

.section--reviews {
  background: var(--color-bg);
}

.section--webinar {
  background: var(--color-bg);
  padding: 64px 0;
}

.section__heading {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* Button */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 327px;
  height: 65px;
  margin: 0 auto 2.5rem;
  padding: 15px 24px 20px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.66px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn--primary {
  color: var(--color-white);
  background: var(--color-accent);
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--primary:active {
  opacity: 0.85;
}

/* Info cards */

.info-card {
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.info-card__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.45;
}

/* Portrait */

.portrait {
  margin: 2.5rem auto;
  max-width: 560px;
}

.portrait img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Pricing */

.pricing {
  margin: 2.5rem 0;
  padding: 34px 16px;
  background: var(--color-accent);
  color: var(--color-white);
}

.pricing__title {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 400;
  text-align: center;
}

.pricing__grid {
  display: grid;
  gap: 20px;
}

.pricing__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 16px;
  border: 3px solid var(--color-white);
  border-radius: 10px;
  text-align: center;
}

.pricing__item--wide {
  grid-column: 1 / -1;
  padding: 31px 16px 50px;
}

.pricing__name,
.pricing__price {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
}

.pricing__price {
  margin-top: 0.35rem;
}

/* Webinar */

.webinar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.webinar__text {
  width: 100%;
  max-width: 920px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.66px;
  line-height: 1.2;
  white-space: pre-line;
  text-align: left;
}

.webinar__video {
  position: relative;
  width: 100%;
  max-width: 915px;
  aspect-ratio: 915 / 610;
  overflow: hidden;
}

.webinar__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reviews */

.reviews__title {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.375rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.reviews__slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.reviews__carousel {
  --reviews-gap: 45px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--reviews-gap);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews__carousel::-webkit-scrollbar {
  display: none;
}

.reviews__slide {
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}

.reviews__slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  background: rgba(252, 250, 246, 0.72);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.reviews__nav span {
  display: block;
  margin-top: -0.15em;
}

.reviews__nav:hover:not(:disabled),
.reviews__nav:active:not(:disabled) {
  background: rgba(252, 250, 246, 0.92);
}

.reviews__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews__nav--prev {
  left: 8px;
}

.reviews__nav--next {
  right: 8px;
}

/* Footer */

.footer {
  padding: 3rem 0 4rem;
  background: var(--color-bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer__link {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__link:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.footer__link img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* Tablet */

@media (min-width: 768px) {
  .header__intro {
    padding: 4rem 2rem 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(100% - 4rem, var(--container-wide));
  }

  .btn {
    width: 490px;
    height: 97px;
    padding: 0 24px;
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__item {
    padding: 50px 64px;
  }

  .pricing__item--wide {
    grid-column: 1 / -1;
    padding: 31px 64px 50px;
  }

  .section--webinar {
    padding: 80px 0;
  }

  .webinar__text {
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .reviews__slider,
  .reviews__carousel {
    --reviews-gap: 85px;
    max-width: 800px;
  }
}

/* Desktop */

@media (min-width: 1024px) {
  .btn {
    width: 524px;
    height: 96px;
    font-size: 30px;
    letter-spacing: -0.9px;
  }

  .pricing__item {
    padding: 50px 80px;
  }

  .pricing__item--wide {
    padding: 31px 80px 50px;
  }

  .section--webinar {
    padding: 100px 0 85px;
  }

  .webinar {
    gap: 60px;
  }

  .webinar__text {
    font-size: 30px;
    letter-spacing: -0.9px;
  }

  .reviews__slider,
  .reviews__carousel {
    max-width: 1059px;
  }

  .reviews__nav {
    width: 48px;
    height: 72px;
    font-size: 2.5rem;
  }

  .reviews__nav--prev {
    left: 12px;
  }

  .reviews__nav--next {
    right: 12px;
  }
}
