/* "From domain to website" showcase. Without JavaScript (or with reduced motion) it shows the finished state. */

.showcase { padding: 72px 0 96px; overflow: hidden; }
.showcase-inner { position: relative; }

.sc-scene {
  position: relative;
  padding: 56px 0 40px;
}

/* ---------- Browser frame ---------- */

.sc-frame {
  position: relative;
  z-index: 1;
  width: min(74%, 940px);
  margin: 0 auto;
  border: 1px solid #2f2f2f;
  border-radius: 14px;
  background: #151515;
  box-shadow: 0 40px 120px -40px rgba(184, 243, 61, .22), 0 30px 60px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
  transform-origin: 50% 100%;
}

.sc-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #262626;
  background: #111;
}
.sc-dots { display: flex; gap: 6px; }
.sc-dots i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.sc-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  max-width: 360px;
  margin: 0 auto;
  padding: 6px 12px;
  border-radius: 8px;
  background: #1c1c1c;
  color: #cfcfcf;
  font-size: 13px;
}
.sc-url svg { width: 14px; height: 14px; color: var(--lime); flex: 0 0 auto; }
.sc-tag { color: #8a8a8a; font-size: 12px; white-space: nowrap; }

.sc-stage {
  position: relative;
  aspect-ratio: 16 / 9.4;
  background: #faf8f4;
  overflow: hidden;
}

.sc-layer {
  position: absolute;
  inset: 0;
  padding: 4% 5%;
}

/* 1. Coming soon */
.sc-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #9a9a9a;
  text-align: center;
  opacity: 0;
}
.sc-soon-domain { margin: 0; color: #1a1a1a; font-size: clamp(18px, 2.6vw, 32px); font-weight: 700; font-variation-settings: "wdth" 115; }
.sc-soon-text { margin: 8px 0 0; font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .12em; text-transform: uppercase; }
.sc-cursor {
  position: absolute;
  left: 62%;
  top: 60%;
  width: 18px;
  height: 18px;
  background: #0a0a0a;
  clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 44% 66%, 82% 66%);
}

/* 2. Wireframe */
.sc-wire { display: flex; flex-direction: column; gap: 6%; background: #fdfdfb; opacity: 0; }
.w-box, .w-line { display: block; border: 1.5px dashed #b6c79a; border-radius: 6px; background: rgba(184, 243, 61, .06); transform-origin: left center; }
.w-nav { display: flex; align-items: center; justify-content: space-between; height: 8%; }
.w-logo { width: 18%; height: 100%; }
.w-links { display: flex; gap: 10px; width: 34%; height: 50%; }
.w-links i { flex: 1; border: 1.5px dashed #b6c79a; border-radius: 4px; }
.w-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; flex: 1; }
.w-copy { display: flex; flex-direction: column; justify-content: center; gap: 9%; }
.w-line { height: 12%; }
.w-l1 { width: 92%; } .w-l2 { width: 74%; } .w-l3 { width: 56%; height: 7%; }
.w-btn { width: 34%; height: 13%; }
.w-img { height: 100%; }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 18%; }

/* 3. Finished design */
.sc-design { display: flex; flex-direction: column; gap: 5%; background: #faf6ee; color: #2a1e12; }
.d-nav { display: flex; align-items: center; justify-content: space-between; height: 8%; }
.d-logo { font-size: clamp(11px, 1.35vw, 17px); font-weight: 800; font-variation-settings: "wdth" 112; }
.d-links { display: flex; gap: clamp(8px, 1.6vw, 22px); font-size: clamp(9px, 1vw, 13px); }
.d-links i { font-style: normal; }
.d-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; flex: 1; align-items: center; }
.d-copy { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.d-title { margin: 0; font-size: clamp(16px, 2.7vw, 36px); font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.05; }
.d-text { margin: 0; color: #6b5a47; font-size: clamp(9px, 1.05vw, 14px); line-height: 1.45; }
.d-btn { padding: .6em 1.2em; border-radius: 999px; background: #2a1e12; color: #faf6ee; font-size: clamp(9px, 1vw, 13px); font-weight: 700; }
.d-img {
  position: relative;
  height: 100%;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #f3c78a, #c27a3a 60%, #7b4421);
  overflow: hidden;
}
.d-img i { position: absolute; border-radius: 50%; background: rgba(255, 240, 215, .55); }
.d-img i:nth-child(1) { width: 38%; aspect-ratio: 1; left: 12%; top: 22%; }
.d-img i:nth-child(2) { width: 26%; aspect-ratio: 1; right: 14%; top: 16%; background: rgba(255, 240, 215, .35); }
.d-img i:nth-child(3) { width: 30%; aspect-ratio: 1; right: 22%; bottom: 10%; background: rgba(60, 30, 10, .25); }
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 18%; }
.d-cards span {
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  border-radius: 10px;
  background: #efe5d4;
  font-size: clamp(9px, 1vw, 13px);
  font-weight: 700;
}

/* 4. Phone view */
.sc-phone {
  position: absolute;
  right: 4%;
  bottom: -2%;
  z-index: 3;
  width: 20%;
  aspect-ratio: 9 / 18.5;
  padding: 2.4% 1.6%;
  border-radius: 22px;
  background: #0d0d0d;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55);
}
.p-notch { width: 34%; height: 3%; margin: 0 auto 6%; border-radius: 99px; background: #262626; }
.p-screen {
  display: flex;
  flex-direction: column;
  gap: 7%;
  height: 90%;
  padding: 10% 8%;
  border-radius: 14px;
  background: #faf6ee;
  color: #2a1e12;
  overflow: hidden;
}
.p-logo { font-size: clamp(7px, .8vw, 11px); font-weight: 800; }
.p-img { height: 34%; border-radius: 8px; background: radial-gradient(circle at 30% 30%, #f3c78a, #c27a3a 60%, #7b4421); }
.p-title { font-size: clamp(9px, 1.15vw, 15px); font-weight: 800; line-height: 1.1; }
.p-btn { align-self: flex-start; padding: .5em 1em; border-radius: 99px; background: #2a1e12; color: #faf6ee; font-size: clamp(6px, .7vw, 10px); font-weight: 700; }

/* ---------- Floating cards ---------- */

.sc-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  background: #141414;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  will-change: transform;
}
.sc-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(184, 243, 61, .12);
  color: var(--lime);
}
.sc-card-icon svg { width: 20px; height: 20px; }
.sc-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-card-title { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.2; }
.sc-card-text { color: #a3a3a3; font-size: 13px; line-height: 1.3; }

.sc-card.is-accent { border-color: var(--lime); background: var(--lime); }
.sc-card.is-accent .sc-card-icon { background: rgba(10, 10, 10, .12); color: #0a0a0a; }
.sc-card.is-accent .sc-card-title { color: #0a0a0a; font-size: 18px; font-variation-settings: "wdth" 112; }
.sc-card.is-accent .sc-card-text { color: #1f2a0a; }

.sc-card-1 { top: 4%; left: 0; }
.sc-card-2 { top: 40%; left: -1%; }
.sc-card-3 { bottom: 0; left: 1%; }
.sc-card-4 { top: 0; right: 2%; }
.sc-card-5 { top: 38%; right: -1%; }
.sc-card-6 { bottom: -2%; right: 3%; }

/* ---------- Steps ---------- */

.sc-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.sc-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 600;
  transition: color .3s ease;
}
.sc-steps li span { color: inherit; font-size: 12px; font-variation-settings: "wdth" 125; }
.sc-steps li.is-active { color: #fff; }
.sc-steps li.is-active span { color: var(--lime); }

/* ---------- Tablet and mobile ---------- */

@media (max-width: 1080px) {
  .sc-frame { width: 82%; }
  .sc-card { max-width: 220px; padding: 10px 12px 10px 10px; }
  .sc-card-2, .sc-card-6 { display: none; }
}

@media (max-width: 760px) {
  .showcase { padding: 48px 0 64px; }
  .sc-scene { display: flex; flex-direction: column; padding: 0; }
  .sc-frame { order: 1; width: 100%; border-radius: 10px; }
  .sc-chrome { height: 34px; padding: 0 10px; gap: 8px; }
  .sc-tag { display: none; }
  .sc-url { font-size: 11px; padding: 4px 8px; }
  .sc-phone { border-radius: 12px; }
  /* Cards stack under the frame, three of them */
  .sc-card { position: static; order: 2; max-width: none; margin-top: 10px; transform: none !important; }
  .sc-card-2, .sc-card-4, .sc-card-6 { display: none; }
  .sc-card:first-of-type { margin-top: 20px; }
  .sc-steps { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 8px 24px; margin-top: 20px; }
  .sc-steps li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-card, .sc-frame { transform: none !important; }
}

/* ---------- Optional heading ---------- */
.sc-head { max-width: 760px; margin: 0 auto 8px; text-align: center; }
.sc-head .section-lead { margin-inline: auto; }

/* ---------- Store variant (online shop sample) ---------- */
.sc-design.is-store { background: #f2f4f1; color: #13221c; }
.is-store .d-text { color: #4d5f57; }
.is-store .d-btn { background: #13221c; color: #f2f4f1; }
.is-store .d-img { background: radial-gradient(circle at 70% 30%, #cfe0d6, #8fb3a2 55%, #4f7564); }
.is-store .d-img i { background: rgba(255, 255, 255, .45); }
.is-store .d-img i:nth-child(1) { width: 34%; left: 14%; top: 26%; border-radius: 12px; }
.is-store .d-img i:nth-child(2) { width: 22%; right: 16%; top: 18%; border-radius: 50%; }
.is-store .d-img i:nth-child(3) { width: 26%; right: 20%; bottom: 12%; border-radius: 12px; background: rgba(19, 34, 28, .2); }
.is-store .d-cards { height: 22%; }
.is-store .d-cards span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(19, 34, 28, .08);
}
.is-store .d-pimg { width: clamp(22px, 3vw, 40px); aspect-ratio: 1; border-radius: 8px; background: #d9e5de; }
.is-store .d-cards b { font-size: clamp(9px, 1vw, 13px); }
.is-store .d-cards em { font-style: normal; font-size: clamp(9px, 1vw, 13px); font-weight: 800; }
.sc-phone.is-store .p-screen { background: #f2f4f1; color: #13221c; }
.sc-phone.is-store .p-img { height: 40%; background: radial-gradient(circle at 70% 30%, #cfe0d6, #8fb3a2 55%, #4f7564); }
.sc-phone.is-store .p-btn { align-self: stretch; text-align: center; background: #13221c; color: #f2f4f1; }
.p-price { font-size: clamp(8px, 1vw, 13px); font-weight: 800; }
