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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Mono', sans-serif;
  background: #f4f5f7;
}

h1, h2, h3 {
  font-family: 'IBM Plex Mono', monospace;
}

p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #777777;
}

/* global container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Label */
.section-label {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #777;
}

.section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;   
}

.section-0 {
  /*padding: 80px 0;*/
  min-height: 100vh;
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.case-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 42px;
  margin: 20px 0;
}

.meta {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.back {
  text-decoration: none;
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  color: #111;
}

.meta span {
  font-size: 12px;
  color: #333;
}

.overview {
  max-width: 100%;
}

.overview h2 {
  margin-bottom: 16px;
}

.overview p {
  margin-bottom: 16px;
}

.section-wireframe {
  padding: 100px 0;
  min-height: 100vh;
}

/* frame */
.wireframe-viewer {
  margin-top: 24px;
  border-radius: 12px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e6e6eb;

  max-height: 500px;
}

/* IMAGE */
.wireframe-viewer img {
  width: 100%;
  min-width: 900px; 
  display: block;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* image */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.section-1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* centering wrapper */
.center-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

/* monitor */
.monitor {
  /*width: 900px;*/
  width: 1100px;
  max-width: 100vw;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6eb;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin: 0;
}

/* titlebar */
.titlebar {
  background: #f7f7f9;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e4e6eb;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.url {
  margin-left: 10px;
  font-size: 12px;
  color: #999;
}

.screen {
  height: 73vh;  
  max-height: 680px;
  min-height: 536px; 
  overflow-y: scroll;
  position: relative;
  background: #fff;
}

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

/* overlay text */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: white;
  letter-spacing: 4px;
  pointer-events: none;
}

.section-2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-2-title {
  font-size: 48px;
  margin-bottom: 60px;
  color: #1e1e1e;
}

.mobile-wrap {
  justify-content: center;
  display: flex;
  gap: 100px;
  padding: 24px 0;
}

/* phone */
.phone {
  width: 300px;
  height: 560px;
  border: 6px solid #2a2a2a;
  border-radius: 36px;
  position: relative;
  background: #333;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  /*padding-top: 32px;*/
}

.phone-screen img {
  width: 100%;
  display: block;
}

/* notch */
.phone::before {
  /*content: '';*/
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  
  z-index: 3;

  box-shadow: 
    0 0 0 2px rgba(0,0,0,0.9),
    inset 0 0 3px rgba(255,255,255,0.1);
}

/* home bar */
.phone::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #2a2a2a;
  border-radius: 4px;
}

.phone img {
  width: 100%;
  height: auto;
}

/* status bar */
.status-bar {
  position: absolute;
  top: 8px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
  color: #fff;
  font-size: 12px;
}

/* time */
.time {
  font-weight: 500;
}

/* icon group */
.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icons .icon {
  height: 10px; 
  width: auto;
  object-fit: contain;
}

.parallax-desktop,
.parallax-mobile {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* fix */
/* Chrome, Safari */
.screen::-webkit-scrollbar,
.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.screen,
.phone-screen {
  scrollbar-width: none;
}

/* IE & Edge */
.screen,
.phone-screen {
  -ms-overflow-style: none;
}

.scroll-btn {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 9999;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.scroll-btn:hover {
  background: #333;
}

.scroll-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.section-final {S
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-top: 1px solid #eee;S
}

/* grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* card */
.card {
  background: #fff;
  border: 1px solid #e6e6eb;
  border-radius: 12px;
  padding: 28px;
}

/* summary */
.summary {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.summary h2 {
  margin-bottom: 16px;
}

/* figma link */
.figma-link {
  text-align: center;
}

.figma-link a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #111;
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;

  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;

  color: #111;
  text-decoration: none;

  border: 1.5px solid #111;
  background: transparent;

  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* title */
  .case-title {
    font-size: 28px;
  }

  /* meta */
  .meta {
    flex-direction: inherit;
    gap: 32px;
  }

  /* section */
  .section {
    height: auto;
    padding: 80px 0;
  }

  /* monitor */
  .monitor {
    width: 100%;
  }

  .screen {
    height: 60vh;
    min-height: unset;
  }

  /* mobile wrap */
  .mobile-wrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  /* phone */
  .phone {
    width: 80%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9 / 19;
  }

  /* cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* summary */
  .summary {
    padding: 0 10px;
  }

}

.section-insight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.block {
  max-width: 100%;
  margin: 0 auto 40px;
}

.block-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  margin-bottom: 16px;
}

.block p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #777;
  margin-bottom: 16px;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid #e6e6eb;
  margin: 40px auto;
  max-width: 100%;
}

/* Highlight list */
.highlight-list {
  padding-left: 18px;
}

.highlight-list li {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #777;
  margin-bottom: 10px;
}

/* Summary */
.summary-block {
  text-align: left;
}

.wireframe-viewer {
  background: #f6f6f8;
  border-radius: 16px;
  /*padding: 24px;*/
  overflow: hidden;
}

/* CAROUSEL */
.carousel {
  position: relative;
}

/* TRACK */
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

/* IMAGE */
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
}

/* BUTTON */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;

  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;

  z-index: 10;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

/* HOVER */
.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.meta-grid {
  display: flex;
  justify-content: space-around;
  margin: 16px 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #4a73ff;
}

.meta-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #111;
}

.status-live {
  color: #2ecc71;
}