/* ========================================
   SMARTkit Code - Shared Styles
   ======================================== */

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

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

/* Design Tokens */
:root {
  --color-navy: #004172;
  --color-teal: #00A6AA;
  --color-light-blue: #5DACD8;
  --color-gray: #F3F2F2;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-border: #E5E5E5;
  --color-text-muted: #666666;
  --color-text-light: #888888;
  --color-text-dark: #333333;
  --color-teal-dark: #01919E;

  --gradient-primary: linear-gradient(180deg, #004172 0%, #00748E 40%, #00A6AA 100%);

  --font-family: 'Noto Sans', sans-serif;

  --container-max-width: 1440px;
  --padding-section: 20px;

  --text-h1: 36px;
  --text-h2: 26px;
  --text-h3: 19px;
  --text-body: 16px;
  --text-body-lg: 19px;
  --text-small: 14px;
  --text-button: 17px;
  --text-label: 16px;
  --text-tag: 12px;
}

@media (min-width: 768px) {
  :root {
    --padding-section: 40px;
    --text-h1: 48px;
  }
}

@media (min-width: 1024px) {
  :root {
    --padding-section: 80px;
    --text-h1: 56px;
    --text-h2: 31px;
  }
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Shared Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--padding-section);
  padding-right: var(--padding-section);
  width: 100%;
}

.section-label {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--text-label);
  line-height: 1.2;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  color: var(--color-light-blue);
}

.section-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 1.3;
  letter-spacing: -0.62px;
  color: var(--color-black);
}

.section-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 24px;
  letter-spacing: -0.38px;
  color: var(--color-black);
  opacity: 0.6;
}

@media (min-width: 1024px) {
  .section-description {
    font-size: var(--text-body-lg);
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-header-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-button);
  line-height: 24px;
  letter-spacing: -0.34px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
}

.btn--outline-white {
  background-color: transparent;
  border: 0.5px solid var(--color-white);
  color: var(--color-white);
}

.btn--white-outline-teal {
  background-color: var(--color-white);
  border: 0.5px solid var(--color-teal);
  color: var(--color-teal);
}

.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.carousel-nav__btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Gradient text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.12);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(177.55deg, rgba(55, 174, 219, 0.3) -261.86%, #FFFFFF 97.95%);
  overflow: hidden;
  position: relative;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px var(--padding-section) 0;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__logo {
  width: 144px;
  height: auto;
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--text-h1);
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--color-navy);
}

.hero__headline--teal {
  color: var(--color-teal);
}

.hero__subtitle {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  color: var(--color-teal);
}

@media (min-width: 1024px) {
  .hero__subtitle {
    font-size: 20px;
  }
}

.hero__tagline {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-navy);
  opacity: 0.7;
}

.hero__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__feature-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__feature-shield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__feature-inner {
  position: relative;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  object-fit: contain;
  z-index: 1;
}

.hero__feature-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--text-body);
  line-height: 1.4;
  color: var(--color-navy);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
}

.hero__actions .btn--primary {
  padding: 11px 32px;
}

.hero__actions .btn--outline {
  padding: 11px 32px;
}

.hero__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero - Desktop */
@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
  }

  .hero__content {
    width: 50%;
    flex-shrink: 0;
    gap: 20px;
    padding: 40px 120px 60px var(--padding-section);
    justify-content: center;
  }

  .hero__image {
    width: 50%;
    height: auto;
    min-height: 665px;
    position: relative;
    padding-right: 40px;
  }

  .hero__image::before {
    content: '';
    position: absolute;
    width: 534px;
    height: 627px;
    right: 68px;
    bottom: 0;
    background: linear-gradient(180.63deg, #5DACD8 17.75%, #004172 17.75%);
    opacity: 0.3;
    border-radius: 49px;
    transform: scaleY(-1);
    z-index: 0;
  }

  .hero__image img {
    position: relative;
    z-index: 1;
    object-position: center;
  }

  .hero__tagline {
    font-size: var(--text-body-lg);
  }
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
  background-color: var(--color-gray);
  padding: 48px 0;
  overflow: hidden;
}

.how-it-works__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.how-it-works__image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--gradient-primary);
  aspect-ratio: 1 / 1.1;
}

.how-it-works__image img.how-it-works__image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.how-it-works__image img.how-it-works__image-product {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0px 4px 9px rgba(0, 0, 0, 0.25)) drop-shadow(0px 9px 86px rgba(0, 0, 0, 0.4));
}

.how-it-works__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-it-works__step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.how-it-works__step-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;
}

.how-it-works__step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-it-works__step-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.how-it-works__step-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--color-black);
  opacity: 0.6;
}

/* How It Works - Desktop */
@media (min-width: 1024px) {
  .how-it-works {
    padding: 120px 0;
  }

  .how-it-works__container {
    flex-direction: row;
    gap: 64px;
    align-items: center;
  }

  .how-it-works__image {
    flex: 1;
    min-width: 0;
    aspect-ratio: auto;
    min-height: 551px;
  }

  .how-it-works__content {
    flex: 1;
    min-width: 0;
    gap: 56px;
  }
}

/* ========================================
   System Components Section
   ======================================== */
.components {
  background-color: var(--color-white);
  padding: 48px 0;
}

.components__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.components__header-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Shared Carousel Nav */
.carousel-nav {
  display: none;
  flex-shrink: 0;
  gap: 16px;
  align-items: center;
}

.carousel-nav__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  line-height: 0;
}

.carousel-nav__btn:hover {
  opacity: 0.6;
}

.carousel-nav__btn img {
  pointer-events: none;
}

.carousel-nav__btn--next img {
  transform: scaleX(-1);
}

.carousel-nav__btn:disabled,
.carousel-nav__btn[disabled] {
  opacity: 0.1;
  cursor: default;
}

.components__swiper,
.examples__swiper {
  margin-top: 32px;
}

.components__swiper .swiper-slide {
  width: calc(100vw - 40px);
}

@media (min-width: 768px) {
  .components__swiper .swiper-slide {
    width: 392px;
  }
}

.components__card {
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 24px;
  gap: 20px;
  height: 398px;
}

.components__card-image {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px 0 12px 20px;
  position: relative;
}

.components__card-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0px 25px 25px rgba(0, 251, 255, 0.09)) drop-shadow(0px 6px 14px rgba(0, 251, 255, 0.1));
}

.components__card-image--empty {
  background-color: var(--color-white);
}

.components__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
  flex: 1;
}

.components__card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.components__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.components__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-small);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--color-black);
  opacity: 0.6;
}

.components__card-price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--color-teal);
}

/* Components - Tablet+ */
@media (min-width: 768px) {
  .components__header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }

  .carousel-nav {
    display: flex;
  }
}

/* Components - Desktop */
@media (min-width: 1024px) {
  .components {
    padding: 80px 0;
  }
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
  background-color: var(--color-gray);
  padding: 64px 0;
}

.benefits__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.benefits .section-header {
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefits__card {
  background-color: var(--color-white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits__card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.benefits__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefits__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.benefits__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-small);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--color-black);
  opacity: 0.6;
}

/* Benefits - Tablet */
@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Benefits - Desktop */
@media (min-width: 1024px) {
  .benefits {
    padding: 96px 0;
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    row-gap: 20px;
  }

  .benefits__card--tall {
    min-height: 264px;
  }

  .benefits__card:not(.benefits__card--tall) {
    min-height: 236px;
  }
}

/* ========================================
   For Teachers Section
   ======================================== */
.teachers {
  background-color: var(--color-white);
  padding: 64px 0;
}

.teachers__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.teachers__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.teachers__checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teachers__checklist-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-gray);
  padding: 12px 16px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04);
}

.teachers__checklist-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.teachers__checklist-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

.teachers__actions {
  display: flex;
}

.teachers__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Teachers - Desktop */
@media (min-width: 1024px) {
  .teachers {
    padding: 104px 0;
  }

  .teachers__container {
    flex-direction: row;
    gap: 64px;
    align-items: center;
  }

  .teachers__content {
    flex: 1;
    min-width: 0;
  }

  .teachers__image {
    flex: 1;
    min-width: 0;
  }

  .teachers__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ========================================
   Practice Examples Section
   ======================================== */
.examples {
  background-color: var(--color-white);
  padding: 0 0 64px;
}

.examples__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.examples__header-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.examples__nav {
  flex-shrink: 0;
}

.examples__nav img {
  width: 58px;
  height: 38px;
}

.examples__swiper .swiper-slide {
  width: calc(100vw - 40px);
}

@media (min-width: 768px) {
  .examples__swiper .swiper-slide {
    width: 354px;
  }
}

.examples__card {
  border: 0.5px solid rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  overflow: hidden;
  height: 100%;
}

.examples__card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.examples__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.examples__card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(0, 166, 170, 0.8);
  color: var(--color-white);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 8px;
}

.examples__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
}

.examples__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 19px;
  line-height: 24px;
  letter-spacing: -0.38px;
  color: var(--color-navy);
}

.examples__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: var(--color-black);
  opacity: 0.6;
}

/* Examples - Tablet+ */
@media (min-width: 768px) {
  .examples__header-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .examples__nav {
    padding-top: 8px;
  }
}

/* Examples - Desktop */
@media (min-width: 1024px) {
  .examples {
    padding: 0 0 80px;
  }

  .examples__swiper .swiper-slide {
    width: 354px;
  }
}

/* ========================================
   Showcase Section (Demo + Sets + CTA)
   ======================================== */
.showcase {
  background-color: var(--color-white);
}

/* Gradient area */
.showcase__gradient {
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 48px 0 24px;
}

/* Demo */
.demo__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.demo__header {
  align-items: center;
  text-align: center;
  max-width: 456px;
}

.demo__title.section-title {
  color: var(--color-white);
}

.demo__description.section-description {
  color: var(--color-white);
}

.demo__video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.demo__video iframe {
  width: 100%;
  height: 100%;
}

/* Sets */
.sets__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sets__header {
  align-items: center;
  text-align: center;
  max-width: 624px;
}

.sets__label.section-label {
  color: var(--color-white);
}

.sets__title.section-title {
  color: var(--color-white);
}

.sets__description.section-description {
  color: var(--color-white);
}

.sets__cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sets__cards-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sets__card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sets__card:hover {
  background-color: var(--color-light-blue);
  border-color: transparent;
}

.sets__card-image {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sets__card-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.sets__card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--text-tag);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  padding: 4px 8px;
}

.sets__card:hover .sets__card-tag {
  background-color: var(--color-teal-dark);
}

.sets__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
  flex: 1;
  justify-content: space-between;
}

.sets__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sets__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.sets__card:hover .sets__card-title {
  color: var(--color-navy);
}

.sets__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-small);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--color-white);
  opacity: 0.8;
}

.sets__card:hover .sets__card-desc {
  color: var(--color-navy);
}

.sets__card-body .btn {
  width: 100%;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.sets__card:hover .btn--outline-white {
  background-color: var(--color-white);
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* Shared waves */
.showcase__waves {
  position: relative;
  width: 100%;
  height: 291px;
  overflow: hidden;
}

.showcase__waves--flipped {
  transform: scaleY(-1);
}

.showcase__waves--top {
  background-color: var(--color-white);
}

.showcase__waves--bottom {
  height: 256px;
}

.showcase__wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.showcase__waves--top .showcase__wave {
  bottom: 0;
}

.showcase__waves--bottom .showcase__wave {
  top: 0;
}

.showcase__wave--1 {
  z-index: 3;
}

.showcase__wave--2 {
  z-index: 2;
}

.showcase__wave--3 {
  z-index: 1;
}

/* CTA */
.cta__section {
  position: relative;
  z-index: 1;
  padding: 48px 0;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 524px;
  margin: 0 auto;
  gap: 32px;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cta__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 40px;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.cta__subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--color-black);
  opacity: 0.6;
  max-width: 442px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta__actions .btn--primary {
  padding: 14px 28px;
}

.cta__actions .btn--outline {
  padding: 14px 36px;
}

/* Showcase - Desktop */
@media (min-width: 1024px) {
  .showcase__gradient {
    padding: 80px 0 32px;
    gap: 104px;
  }

  .sets__cards {
    flex-direction: row;
    align-items: stretch;
  }

  .sets__cards > .sets__card {
    width: 461px;
    flex-shrink: 0;
  }

  .sets__cards-group {
    flex-direction: row;
    flex: 1;
    min-width: 0;
    align-items: stretch;
  }

  .sets__cards-group .sets__card:not(.sets__card--extension) {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .sets__card--extension {
    width: 318px;
    flex-shrink: 0;
  }

  .cta__section {
    padding: 80px 0;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-black);
  padding: 39px 0 32px;
}

.footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__col-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-black);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #535353;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-black);
}

.footer__col--legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col--legal p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #535353;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  color: #535353;
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--color-black);
}

.footer__social-link svg {
  display: block;
}

/* Footer - Tablet */
@media (min-width: 768px) {
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col--legal {
    grid-column: 1 / -1;
  }
}

/* Footer - Desktop */
@media (min-width: 1024px) {
  .footer {
    padding: 39px 0 40px;
  }

  .footer__columns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
  }

  .footer__col--legal {
    grid-column: auto;
  }
}

/* ========================================
   Mobile Redesign (< 768px)
   Matches Figma mobile frame 404:612
   ======================================== */
@media (max-width: 767px) {
  /* --- Mobile Typography Overrides (Figma 375px) --- */
  .section-label {
    font-size: 14px;
    line-height: 120%;
    letter-spacing: -0.02em;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.02em;
  }

  .section-description {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
  }

  /* --- Hero: Logo → Image → Content --- */
  .hero__container {
    gap: 0;
  }

  .hero__content {
    display: contents;
  }

  .hero__logo {
    order: 1;
    width: 112px;
    height: auto;
    margin: 0 auto;
    padding: 12px 0;
    object-fit: contain;
  }

  .hero__image {
    order: 2;
    height: auto;
    aspect-ratio: 375 / 346;
  }

  .hero__text {
    order: 3;
    padding: 40px 20px 64px;
    gap: 0;
  }

  .hero__headline {
    font-size: 45px;
    line-height: 62px;
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 120%;
    letter-spacing: -0.02em;
    margin-top: 0;
  }

  .hero__tagline {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: rgba(0, 65, 114, 0.7);
    margin-top: 16px;
  }

  .hero__features {
    gap: 8px;
    margin-top: 24px;
  }

  .hero__feature {
    gap: 8px;
  }

  .hero__feature-icon {
    width: 34px;
    height: 39px;
    min-width: 34px;
    border-radius: 0;
    background-color: var(--color-navy);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }

  .hero__feature-shield {
    display: none;
  }

  .hero__feature-inner {
    width: 18px;
    height: 18px;
  }

  .hero__feature-text {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.02em;
    font-weight: 400;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 0;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 11px 32px;
    text-align: center;
  }

  /* --- How It Works: Content first, Image last --- */
  .how-it-works {
    padding: 64px 0 20px;
  }

  .how-it-works__container {
    gap: 40px;
  }

  .how-it-works__content {
    order: -1;
    gap: 32px;
  }

  .how-it-works__image {
    aspect-ratio: 335 / 466;
    border-radius: 0;
  }

  .how-it-works__steps {
    gap: 0;
  }

  .how-it-works__step {
    padding: 0;
    align-items: flex-start;
  }

  .how-it-works__step-number {
    width: 44px;
    min-width: 44px;
    height: 64px;
    font-size: 48px;
    line-height: 44px;
  }

  .how-it-works__step-title {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
  }

  .how-it-works__step-desc {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }

  .how-it-works .divider {
    margin: 20px 0;
  }

  /* --- System Components --- */
  .components {
    padding: 64px 0;
  }

  .components__container {
    gap: 24px;
  }

  .components__swiper .swiper-slide {
    width: 300px;
  }

  .components__card {
    height: 438px;
  }

  .components__card-body {
    gap: 16px;
  }

  /* --- Benefits: Horizontal card layout, centered header --- */
  .benefits {
    padding: 64px 0;
  }

  .benefits .section-header {
    text-align: center;
  }

  .benefits .section-label,
  .benefits .section-title,
  .benefits .section-description {
    text-align: center;
  }

  .benefits__grid {
    gap: 8px;
  }

  .benefits__card {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
  }

  .benefits__card-title {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: var(--color-navy);
  }

  .benefits__card-desc {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }

  /* --- Teachers: Image first, full-bleed, content below --- */
  .teachers {
    padding: 0;
    padding-bottom: 80px;
  }

  .teachers__container {
    gap: 0;
  }

  .teachers__image {
    order: -1;
    margin-left: calc(-1 * var(--padding-section));
    margin-right: calc(-1 * var(--padding-section));
    width: calc(100% + 2 * var(--padding-section));
  }

  .teachers__image img {
    width: 100%;
    height: 367px;
    object-fit: cover;
  }

  .teachers__content {
    padding-top: 32px;
    gap: 32px;
  }

  .teachers__checklist {
    gap: 8px;
  }

  .teachers__checklist-item {
    background: var(--color-gray);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04);
    padding: 12px 16px;
    gap: 6px;
  }

  .teachers__checklist-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.01em;
  }

  .teachers__actions {
    width: 100%;
  }

  .teachers__actions .btn {
    width: 100%;
  }

  /* --- Practice Examples --- */
  .examples__swiper .swiper-slide {
    width: 300px;
  }

  .examples__card-title {
    font-size: 19px;
    line-height: 24px;
  }

  .examples__card-desc {
    font-size: 16px;
    line-height: 22px;
  }

  /* --- Carousel Nav: Show on mobile, bottom-right --- */
  .components,
  .examples {
    position: relative;
    padding-bottom: 80px;
  }

  .carousel-nav {
    display: flex;
    position: absolute;
    bottom: 20px;
    right: 20px;
  }

  /* --- Showcase: Demo & Sets --- */
  .showcase__gradient {
    padding-top: 64px;
  }

  .demo__container {
    gap: 24px;
  }

  .demo__header,
  .sets__header {
    text-align: center;
  }

  .demo__header .section-label,
  .demo__header .section-title,
  .demo__header .section-description,
  .sets__header .section-label,
  .sets__header .section-title,
  .sets__header .section-description {
    text-align: center;
  }

  .sets__container {
    gap: 24px;
  }

  .sets__cards {
    gap: 16px;
  }

  .sets__cards-group {
    gap: 16px;
  }

  /* --- Showcase: Sets featured card --- */
  .sets__cards > .sets__card:first-child {
    background-color: var(--color-light-blue);
    border-color: transparent;
  }

  .sets__cards > .sets__card:first-child .sets__card-title {
    color: var(--color-navy);
  }

  .sets__cards > .sets__card:first-child .sets__card-desc {
    color: var(--color-navy);
    opacity: 0.8;
  }

  .sets__cards > .sets__card:first-child .sets__card-tag {
    background-color: var(--color-teal-dark);
  }

  .sets__cards > .sets__card:first-child .btn {
    background-color: var(--color-white);
    border-color: var(--color-teal);
    color: var(--color-teal);
  }

  .sets__card {
    width: 100%;
  }

  .sets__card-image {
    height: 180px;
  }

  .sets__card-body {
    padding: 0 16px;
    gap: 16px;
  }

  .sets__card-title {
    font-size: 19px;
    line-height: 24px;
  }

  .sets__card-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .sets__card .btn {
    padding: 12px 24px;
  }

  /* --- CTA: Full-width stacked buttons --- */
  .cta__section {
    padding: 80px 0;
    margin-top: -32px;
    margin-bottom: -32px;
  }

  .cta__title {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.02em;
  }

  .cta__subtitle {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }

  .cta__actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .cta__actions .btn--outline {
    background-color: var(--color-white);
    border: 0.5px solid var(--color-teal);
  }

  /* --- Showcase waves: smaller on mobile --- */
  .showcase__waves {
    height: 175px;
  }

  .showcase__waves--bottom {
    height: 175px;
  }
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
}

.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .fade-in-up:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-in-up:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .fade-in-up:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .fade-in-up:nth-child(8) { transition-delay: 0.4s; }

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .fade-in,
  .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
