/* components/organisms/sneak-peek/sneak-peek.css */

.c-sneak-peek {
  background-color: #ffffff;
  box-sizing: border-box;
  padding: 60px 0;
  width: 100%;
}

.c-sneak-peek__container {
  align-items: center;
  box-sizing: border-box;
  display: grid;
  gap: 48px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 30px;
}

/* ── Left Column ────────────────────────────────────────────── */
.c-sneak-peek__content {
  display: flex;
  flex-direction: column;
}

.c-sneak-peek__title {
  color: #1a2744;
  font-family: var(--font-family-mmc-bold), sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
}

.c-sneak-peek__title-line {
  background-color: #008cd0;
  height: 3px;
  margin-bottom: 24px;
  width: 40px;
}

.c-sneak-peek__desc {
  color: #4f5e6b;
  font-family: var(--font-family), sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.c-sneak-peek__section-title {
  color: #008cd0;
  font-family: var(--font-family-mmc-bold), sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
}

.c-sneak-peek__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
}

.c-sneak-peek__item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.c-sneak-peek__check {
  flex-shrink: 0;
  height: 18px;
  margin-top: 1px;
  width: 18px;
}

.c-sneak-peek__check svg {
  display: block;
  height: 100%;
  width: 100%;
}

.c-sneak-peek__item-text {
  color: #4f5e6b;
  font-family: var(--font-family), sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* Authors */
.c-sneak-peek__authors-wrap {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.c-sneak-peek__authors-title {
  color: #008cd0;
  font-family: var(--font-family-mmc-bold), sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.c-sneak-peek__authors-list {
  color: #1a2744;
  font-family: var(--font-family), sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

/* ── Right Column ───────────────────────────────────────────── */
.c-sneak-peek__visual {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Circle behind tablet mockup */
.c-sneak-peek__bg-circle {
  background-image: linear-gradient(360deg, #008cd0 0%, #00ac41 100%);
  border-radius: 50%;
  height: 150px;
  left: 26%;
  position: absolute;
  top: 22px;
  transform: translate(-50%, -50%);
  width: 150px;
  z-index: 1;
}

.c-sneak-peek__tablet-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  z-index: 2;
}

/* Transparent screen area within the mockup tablet frame */
.c-sneak-peek__screen {
  background-color: #fff;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  left: 0;
  bottom: 0;
  border-radius: 32px;
}

.c-sneak-peek__screen-img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.c-sneak-peek__tablet-img {
  display: block;
  height: auto;
  pointer-events: none;
  position: relative;
  width: 100%;
  z-index: 3; /* Places the frame on top of the screen content */
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .c-sneak-peek {
    padding: 40px 0;
  }

  .c-sneak-peek__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .c-sneak-peek__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .c-sneak-peek__visual {
    margin-top: 20px;
  }

  .c-sneak-peek__bg-circle {
    left: 30%;
  }
}
