/* ===========================================
   BLENDSCAPES3D. Website and app showcase
   Only transform and opacity are animated (no blur, no backdrop-filter).
   =========================================== */

/* ============ BROWSER SHOWCASE ============ */
.showcase {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.browser {
  background: #111418;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.browser-bar {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 10px 14px 0;
  background: #0b0d10;
}

.browser-dots { display: flex; gap: 7px; padding-bottom: 14px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #2a3038; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.browser-tabs::-webkit-scrollbar { display: none; }

.browser-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 11px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--text-mute);
  font: 500 13px/1 'Inter', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.browser-tab i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.browser-tab:hover { color: var(--text-dim); background: rgba(255,255,255,0.03); }
.browser-tab.is-active { background: #111418; color: var(--text); }

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 14px 10px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #0b0d10;
  font-size: 13px;
  color: var(--text-dim);
}
.browser-url .lock {
  width: 9px; height: 7px;
  border-radius: 2px;
  background: var(--text-mute);
  position: relative;
  margin-top: 3px;
}
.browser-url .lock::before {
  content: '';
  position: absolute;
  left: 1.5px; top: -5px;
  width: 6px; height: 6px;
  border: 1.5px solid var(--text-mute);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  box-sizing: border-box;
}

.browser-view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0d10;
}

.browser-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 5;
  background: rgba(255,255,255,0.06);
}
.browser-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform-origin: 0 0;
  transform: scaleX(0);
}

.mini {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.mini.is-active { opacity: 1; visibility: visible; }

.mini-scroll { will-change: transform; }

.mini-page {
  width: 1280px;
  transform-origin: 0 0;
  container-type: inline-size;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.mini-page * { margin: 0; }
.mini-page a { cursor: default; }

.phone {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  border: 8px solid #1c2026;
  background: #0b0d10;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px #2a3038;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  width: 72px; height: 20px;
  margin-left: -36px;
  border-radius: 20px;
  background: #000;
  z-index: 6;
}

.showcase-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 90px auto 0;
}
.showcase-meta {
  padding-top: 18px;
  border-top: 2px solid var(--line);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.3s, border-color 0.3s;
}
.showcase-meta:hover { opacity: 0.75; }
.showcase-meta.is-active { opacity: 1; border-color: var(--accent); }
.showcase-meta p { margin-top: 10px; font-size: 15px; color: var(--text-dim); }

.showcase-note {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

/* ============ CONCEPT 1: RESTAURANT ============ */
.ms-rest { background: #12100d; color: #efe6d8; font-family: Georgia, 'Times New Roman', serif; position: relative; }
.ms-rest small { display: block; font: 600 13px/1 'Inter', sans-serif; letter-spacing: 4px; text-transform: uppercase; color: #c8a26b; }
.r-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 38px; padding: 30px 64px; font-family: 'Inter', sans-serif; }
.r-nav b { font: 700 22px/1 'Inter', sans-serif; letter-spacing: 4px; margin-right: auto; }
.r-nav em { font: italic 400 24px Georgia, serif; letter-spacing: 0; color: #c8a26b; margin-left: 4px; }
.r-nav span { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: rgba(239,230,216,0.8); }
.r-nav a { border: 1px solid #c8a26b; color: #efe6d8; padding: 12px 22px; font-size: 14px; }
.r-hero { position: relative; height: 780px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; }
.r-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,13,0.55), rgba(18,16,13,0.35) 45%, #12100d); }
.r-hero-in { position: relative; padding: 0 40px; }
.r-hero h1 { font-size: 104px; line-height: 1; font-weight: 400; letter-spacing: -2px; margin: 26px 0 24px; }
.r-hero p { font-size: 21px; max-width: 560px; margin: 0 auto; color: rgba(239,230,216,0.82); }
.r-btns { display: flex; gap: 14px; justify-content: center; margin-top: 40px; }
.r-btn { display: inline-block; background: #c8a26b; color: #12100d; font: 600 15px/1 'Inter', sans-serif; padding: 18px 32px; }
.r-btn-o { background: transparent; color: #efe6d8; border: 1px solid rgba(239,230,216,0.5); }
.r-menu { padding: 110px 64px; text-align: center; }
.r-menu h2, .r-book h2 { font-size: 58px; font-weight: 400; margin-top: 18px; }
.r-dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 60px; text-align: left; }
.r-dishes img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.r-dishes h3 { font-size: 27px; font-weight: 400; margin: 20px 0 6px; }
.r-dishes p { font: 15px/1.5 'Inter', sans-serif; color: rgba(239,230,216,0.6); }
.r-dishes b { display: block; margin-top: 10px; font-size: 22px; font-weight: 400; color: #c8a26b; }
.r-story { position: relative; height: 580px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.r-story::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,16,13,0.92), rgba(18,16,13,0.2)); }
.r-story > div { position: relative; padding: 70px 64px; max-width: 660px; }
.r-story h2 { font-size: 54px; font-weight: 400; line-height: 1.05; margin: 18px 0; }
.r-story p { font: 18px/1.6 'Inter', sans-serif; color: rgba(239,230,216,0.75); }
.r-book { padding: 110px 64px; text-align: center; }
.r-form { display: inline-flex; gap: 12px; margin: 40px 0 24px; }
.r-form span { font: 15px/1 'Inter', sans-serif; border: 1px solid rgba(239,230,216,0.22); padding: 18px 28px; }
.r-book p { font: 14px 'Inter', sans-serif; color: rgba(239,230,216,0.55); }

@container (max-width: 600px) {
  .r-nav { padding: 20px; gap: 0; }
  .r-nav span { display: none; }
  .r-nav b { font-size: 16px; letter-spacing: 2px; }
  .r-nav em { font-size: 18px; }
  .r-nav a { font-size: 12px; padding: 9px 14px; }
  .r-hero { height: 700px; }
  .r-hero-in { padding: 0 22px; }
  .r-hero h1 { font-size: 50px; letter-spacing: -1px; }
  .r-hero p { font-size: 17px; }
  .r-btns { flex-direction: column; }
  .r-menu, .r-book { padding: 64px 22px; }
  .r-menu h2, .r-book h2 { font-size: 38px; }
  .r-dishes { grid-template-columns: 1fr; gap: 34px; margin-top: 36px; }
  .r-story { height: 480px; }
  .r-story > div { padding: 30px 22px; }
  .r-story h2 { font-size: 34px; }
  .r-form { display: flex; flex-direction: column; }
}

/* ============ CONCEPT 2: PHYSIO ============ */
.ms-physio { background: #f6f7f3; color: #1f2a24; font-family: 'Inter', sans-serif; }
.p-nav { display: flex; align-items: center; gap: 34px; padding: 28px 64px; }
.p-nav b { display: flex; align-items: center; gap: 10px; font-size: 24px; letter-spacing: -0.5px; margin-right: auto; }
.p-nav b i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #7fa08a, #c9dccd); }
.p-nav span { font-size: 15px; color: #56635b; }
.p-nav a { background: #1f2a24; color: #fff; padding: 13px 24px; border-radius: 100px; font-size: 15px; font-weight: 600; }
.p-hero { padding: 64px 64px 0; text-align: center; }
.p-pill { display: inline-block; background: #e3ebe3; color: #3f6b52; border-radius: 100px; padding: 9px 18px; font-size: 14px; font-weight: 600; }
.p-hero h1 { font-size: 96px; line-height: 0.98; letter-spacing: -4px; font-weight: 700; margin: 28px 0 26px; }
.p-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: #7fa08a; letter-spacing: -2px; }
.p-hero p { font-size: 21px; line-height: 1.55; color: #56635b; max-width: 640px; margin: 0 auto; }
.p-btns { display: flex; justify-content: center; gap: 12px; margin: 38px 0 60px; }
.p-btn { display: inline-block; background: #7fa08a; color: #fff; border-radius: 100px; padding: 18px 32px; font-size: 16px; font-weight: 600; }
.p-btn-o { background: transparent; color: #1f2a24; box-shadow: inset 0 0 0 1.5px #1f2a24; }
.p-img { position: relative; height: 560px; border-radius: 30px; background-size: cover; background-position: center; }
.p-float { position: absolute; left: 34px; bottom: 34px; background: #fff; border-radius: 20px; padding: 18px 24px; display: flex; flex-direction: column; text-align: left; box-shadow: 0 20px 40px -12px rgba(31,42,36,0.3); }
.p-float b { font-size: 28px; }
.p-float span { font-size: 14px; color: #56635b; }
.p-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 80px 64px; }
.p-cards > div { background: #fff; border: 1px solid #e3e8e1; border-radius: 24px; padding: 36px; }
.p-cards i { font-style: normal; font-weight: 700; font-size: 14px; color: #7fa08a; }
.p-cards h3 { font-size: 26px; margin: 16px 0 10px; letter-spacing: -0.5px; }
.p-cards p { font-size: 16px; line-height: 1.55; color: #56635b; }
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 0 64px 100px; }
.p-split-img { height: 440px; border-radius: 26px; background-size: cover; background-position: center; }
.p-split h2 { font-size: 52px; letter-spacing: -2px; }
.p-split ol { padding-left: 24px; margin: 22px 0 34px; font-size: 20px; line-height: 2.1; color: #56635b; }

@container (max-width: 600px) {
  .p-nav { padding: 18px 20px; gap: 0; }
  .p-nav span { display: none; }
  .p-nav b { font-size: 19px; }
  .p-nav a { font-size: 12px; padding: 9px 14px; }
  .p-hero { padding: 34px 20px 0; }
  .p-pill { font-size: 12px; }
  .p-hero h1 { font-size: 48px; letter-spacing: -2px; }
  .p-hero p { font-size: 16px; }
  .p-btns { flex-direction: column; margin: 28px 0 34px; }
  .p-img { height: 360px; border-radius: 22px; }
  .p-float { left: 16px; bottom: 16px; padding: 12px 16px; }
  .p-cards { grid-template-columns: 1fr; padding: 44px 20px; gap: 14px; }
  .p-cards > div { padding: 26px; }
  .p-split { grid-template-columns: 1fr; gap: 26px; padding: 0 20px 60px; }
  .p-split-img { height: 260px; }
  .p-split h2 { font-size: 34px; }
}

/* ============ CONCEPT 3: CARPENTRY ============ */
.ms-craft { background: #f1ece4; color: #1b1a17; font-family: 'Space Grotesk', 'Inter', sans-serif; }
.c-nav { display: flex; align-items: center; gap: 34px; padding: 26px 64px; border-bottom: 2px solid #1b1a17; }
.c-nav b { font-size: 26px; letter-spacing: 5px; margin-right: auto; }
.c-nav span { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.c-nav a { background: #e0a33a; color: #1b1a17; padding: 13px 24px; font-weight: 700; font-size: 15px; }
.c-hero { padding: 48px 64px 0; }
.c-hero h1 { font-size: 200px; line-height: 0.84; letter-spacing: -9px; font-weight: 700; margin-bottom: 34px; }
.c-hero-img { position: relative; height: 540px; background-size: cover; background-position: center; }
.c-badge { position: absolute; right: 48px; top: -96px; width: 180px; height: 180px; border-radius: 50%; background: #e0a33a; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.c-badge b { font-size: 64px; line-height: 1; }
.c-badge span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.c-hero-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 36px 0 56px; }
.c-hero-row p { font-size: 24px; line-height: 1.4; max-width: 600px; }
.c-btn { display: inline-block; background: #1b1a17; color: #f1ece4; padding: 20px 32px; font-weight: 700; font-size: 17px; white-space: nowrap; }
.c-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 64px; border-top: 2px solid #1b1a17; border-bottom: 2px solid #1b1a17; }
.c-stats > div { padding: 36px 0; text-align: center; border-right: 2px solid #1b1a17; }
.c-stats > div:last-child { border-right: 0; }
.c-stats b { display: block; font-size: 58px; line-height: 1; }
.c-stats span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.c-projects { padding: 90px 64px; }
.c-projects h2 { font-size: 70px; letter-spacing: -3px; margin-bottom: 36px; }
.c-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; height: 460px; }
.c-grid > div { position: relative; background-size: cover; background-position: center; }
.c-grid span { position: absolute; left: 16px; bottom: 16px; background: #f1ece4; padding: 9px 14px; font-weight: 700; font-size: 15px; }
.c-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: #1b1a17; color: #f1ece4; padding: 90px 64px; }
.c-cta h2 { font-size: 62px; letter-spacing: -2px; line-height: 1; }
.c-cta .c-btn { background: #e0a33a; color: #1b1a17; }

@container (max-width: 600px) {
  .c-nav { padding: 18px 20px; gap: 0; }
  .c-nav span { display: none; }
  .c-nav b { font-size: 19px; letter-spacing: 3px; }
  .c-nav a { font-size: 12px; padding: 9px 13px; }
  .c-hero { padding: 30px 20px 0; }
  .c-hero h1 { font-size: 88px; letter-spacing: -4px; margin-bottom: 26px; }
  .c-hero-img { height: 320px; }
  .c-badge { width: 112px; height: 112px; right: 16px; top: -56px; }
  .c-badge b { font-size: 38px; }
  .c-badge span { font-size: 9px; }
  .c-hero-row { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 0 40px; }
  .c-hero-row p { font-size: 18px; }
  .c-stats { margin: 0 20px; }
  .c-stats > div { padding: 22px 0; }
  .c-stats b { font-size: 30px; }
  .c-stats span { font-size: 10px; }
  .c-projects { padding: 56px 20px; }
  .c-projects h2 { font-size: 42px; letter-spacing: -1.5px; }
  .c-grid { grid-template-columns: 1fr; height: auto; }
  .c-grid > div { height: 230px; }
  .c-cta { flex-direction: column; align-items: flex-start; padding: 60px 20px; }
  .c-cta h2 { font-size: 40px; }
}

/* ============ APPS ============ */
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.app-stage {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-stage::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,0.16), transparent 70%);
}

.app-text { text-align: center; padding: 10px 10px 0; }
.app-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 10px 0 10px;
}
.app-text p { font-size: 15px; color: var(--text-dim); }

.scr {
  position: absolute;
  inset: 0;
  padding: 42px 14px 14px;
  background: #0b0d10;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
}
.scr small { display: block; font-size: 10.5px; color: var(--text-mute); }
.scr b { font-weight: 600; }

/* Floating overlay cards */
.ov {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 11px;
  background: #fff;
  color: #0b0d10;
  border-radius: 16px;
  box-shadow: 0 24px 50px -12px rgba(0,0,0,0.75);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
}
.ov b { display: block; font-size: 13px; }
.ov small { display: block; font-size: 11px; color: #6b7280; }
.ov .ok, .ov .bell, .ov .dot-o {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.ov .ok { background: #22c55e; }
.ov .bell { background: var(--grad); }
.ov .bell::before { content: ''; width: 10px; height: 11px; border: 2px solid #fff; border-radius: 6px 6px 2px 2px; }
.ov .dot-o { background: rgba(255,106,0,0.12); }
.ov .dot-o::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,0,0.25); }
.ov .big { font-family: 'Space Grotesk', sans-serif; font-size: 30px; line-height: 1; color: var(--accent); }
.ov .big.g, .scr .g { color: #16a34a; }

.ov-book-1, .ov-track-1, .ov-dash-2 { right: -4px; top: 22%; }
.ov-book-2, .ov-track-2, .ov-dash-1 { left: -4px; bottom: 20%; }

/* ---- App 1: booking ---- */
.sb-head b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-top: 2px; }
.sb-days { display: flex; gap: 5px; margin: 14px 0 16px; }
.sb-days span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: #14171c; font-size: 10px; color: var(--text-mute); }
.sb-days span b { display: block; font-size: 14px; color: var(--text); }
.sb-days .on { background: var(--grad); color: rgba(255,255,255,0.8); }
.sb-days .on b { color: #fff; }
.sb-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-mute); margin-bottom: 8px; }
.sb-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sb-slots span { position: relative; text-align: center; padding: 9px 0; border-radius: 9px; border: 1px solid var(--line-2); font-weight: 600; font-size: 11.5px; }
.sb-slots .off { color: #3a414b; border-color: #171b21; text-decoration: line-through; }
.sb-pick { animation: sbPick 8s infinite; }
.sb-pick::after, .sb-confirm::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  opacity: 0;
  transform: scale(0);
}
.sb-pick::after { animation: tap 8s infinite; }
.sb-confirm::after { animation: tap 8s 2.4s infinite; }
.sb-service { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 10px; border-radius: 12px; background: #14171c; }
.sb-service i { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #8b5cf6, #ff3d6e); flex: none; }
.sb-service b { display: block; font-size: 12px; }
.sb-confirm {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 13px 0;
  text-align: center;
  border-radius: 12px;
  background: var(--grad);
  font-weight: 700;
  animation: sbConfirm 8s infinite;
}

@keyframes tap {
  0%, 14% { opacity: 0; transform: scale(0); }
  16% { opacity: 1; transform: scale(0.4); }
  24% { opacity: 0; transform: scale(2.2); }
  100% { opacity: 0; transform: scale(2.2); }
}
@keyframes sbPick {
  0%, 16% { background: transparent; border-color: var(--line-2); transform: scale(1); }
  19% { background: var(--accent); border-color: var(--accent); transform: scale(0.94); }
  23%, 94% { background: var(--accent); border-color: var(--accent); transform: scale(1); }
  100% { background: transparent; border-color: var(--line-2); }
}
@keyframes sbConfirm {
  0%, 20% { opacity: 0.35; transform: scale(1); }
  26%, 45% { opacity: 1; transform: scale(1); }
  47% { transform: scale(0.95); }
  50% { transform: scale(1); background: var(--grad); }
  54%, 94% { opacity: 1; background: #22c55e; }
  100% { opacity: 0.35; background: var(--grad); }
}
.ov-book-1 { animation: ovRight 8s infinite; --in: 54%; }
.ov-book-2 { animation: ovLeftLate 8s infinite; }

@keyframes ovRight {
  0%, 52% { opacity: 0; transform: translate(24px, 0) scale(0.92); }
  58%, 90% { opacity: 1; transform: translate(0, 0) scale(1); }
  96%, 100% { opacity: 0; transform: translate(0, -10px) scale(0.96); }
}
@keyframes ovLeftLate {
  0%, 64% { opacity: 0; transform: translate(-24px, 0) scale(0.92); }
  70%, 90% { opacity: 1; transform: translate(0, 0) scale(1); }
  96%, 100% { opacity: 0; transform: translate(0, 10px) scale(0.96); }
}

/* ---- App 2: order tracking ---- */
.scr-track { padding: 0; }
.st-map { position: absolute; left: 0; right: 0; top: 0; height: 58%; background: #101318; }
.st-map svg { width: 100%; height: 100%; display: block; }
.st-route { stroke-dasharray: 100; stroke-dashoffset: 100; animation: route 8s infinite; }
@keyframes route {
  0%, 12% { stroke-dashoffset: 100; }
  80%, 94% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 100; }
}
.st-card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  padding: 16px 14px;
  background: #0b0d10;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.st-eta { position: relative; display: block; height: 26px; margin-top: 2px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.st-eta span { position: absolute; left: 0; top: 0; opacity: 0; }
.st-eta span:nth-child(1) { animation: eta1 8s infinite; }
.st-eta span:nth-child(2) { animation: eta2 8s infinite; }
.st-eta span:nth-child(3) { animation: eta3 8s infinite; color: #22c55e; }
@keyframes eta1 { 0%, 12% { opacity: 1; } 15%, 100% { opacity: 0; } }
@keyframes eta2 { 0%, 13% { opacity: 0; } 16%, 78% { opacity: 1; } 81%, 100% { opacity: 0; } }
@keyframes eta3 { 0%, 79% { opacity: 0; } 82%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
.st-steps { display: flex; gap: 5px; margin: 12px 0 16px; }
.st-steps i { position: relative; flex: 1; height: 5px; border-radius: 5px; background: #1f242c; overflow: hidden; }
.st-steps i::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform-origin: 0 0; transform: scaleX(0); }
.st-steps i:nth-child(1)::after { animation: step1 8s infinite; }
.st-steps i:nth-child(2)::after { animation: step2 8s infinite; }
.st-steps i:nth-child(3)::after { animation: step3 8s infinite; }
@keyframes step1 { 0% { transform: scaleX(0); } 12%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes step2 { 0%, 12% { transform: scaleX(0); } 80%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes step3 { 0%, 80% { transform: scaleX(0); } 86%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.st-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #14171c; }
.st-row div { flex: 1; }
.st-av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #00d4ff, #8b5cf6); }
.st-call { width: 32px; height: 32px; border-radius: 50%; background: rgba(34,197,94,0.15); position: relative; }
.st-call::before { content: ''; position: absolute; left: 11px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.ov-track-1 { animation: ovTrack1 8s infinite; }
.ov-track-2 { animation: ovTrack2 8s infinite; }
@keyframes ovTrack1 {
  0%, 18% { opacity: 0; transform: translate(24px, 0) scale(0.92); }
  24%, 74% { opacity: 1; transform: translate(0, 0) scale(1); }
  80%, 100% { opacity: 0; transform: translate(0, -10px) scale(0.96); }
}
@keyframes ovTrack2 {
  0%, 82% { opacity: 0; transform: translate(-24px, 0) scale(0.92); }
  87%, 95% { opacity: 1; transform: translate(0, 0) scale(1); }
  99%, 100% { opacity: 0; transform: translate(0, 10px) scale(0.96); }
}

/* ---- App 3: dashboard ---- */
.sd-head b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-top: 2px; }
.sd-kpi { position: relative; margin: 14px 0 10px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,106,0,0.16), rgba(255,61,110,0.08)); border: 1px solid rgba(255,106,0,0.2); }
.sd-kpi b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 26px; margin-top: 2px; }
.sd-kpi span { position: absolute; right: 12px; top: 14px; font-size: 11px; font-weight: 700; color: #22c55e; }
.sd-chart { display: flex; align-items: flex-end; gap: 6px; height: 78px; padding: 0 2px; margin-bottom: 14px; }
.sd-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: #1f242c; transform-origin: 50% 100%; animation: bar 8s infinite; }
.sd-chart i.hi { background: var(--grad); }
.sd-chart i:nth-child(2) { animation-delay: 0.08s; }
.sd-chart i:nth-child(3) { animation-delay: 0.16s; }
.sd-chart i:nth-child(4) { animation-delay: 0.24s; }
.sd-chart i:nth-child(5) { animation-delay: 0.32s; }
.sd-chart i:nth-child(6) { animation-delay: 0.40s; }
.sd-chart i:nth-child(7) { animation-delay: 0.48s; }
@keyframes bar {
  0%, 4% { transform: scaleY(0.06); }
  22%, 92% { transform: scaleY(1); }
  100% { transform: scaleY(0.06); }
}
.sd-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-mute); margin-bottom: 8px; }
.sd-list > div { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 11px; background: #14171c; margin-bottom: 6px; }
.sd-list > div > div { flex: 1; }
.sd-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sd-list b { display: block; font-size: 11.5px; }
.sd-list em { font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; background: rgba(255,106,0,0.15); color: var(--accent-2); }
.sd-list em.g { background: rgba(34,197,94,0.12); }
.sd-new { animation: sdNew 8s infinite; transform-origin: 50% 0; }
.sd-list > div.sd-new { overflow: hidden; }
@keyframes sdNew {
  0%, 40% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255,106,0,0); }
  46% { opacity: 1; max-height: 50px; padding-top: 8px; padding-bottom: 8px; margin-bottom: 6px; transform: scale(1); box-shadow: inset 0 0 0 2px rgba(255,106,0,0.7); }
  70%, 92% { opacity: 1; max-height: 50px; padding-top: 8px; padding-bottom: 8px; margin-bottom: 6px; transform: scale(1); box-shadow: inset 0 0 0 1px rgba(255,106,0,0.25); }
  100% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; transform: scale(0.96); }
}
.ov-dash-1 { animation: ovDash1 8s infinite; }
.ov-dash-2 { animation: ovDash2 8s infinite; }
@keyframes ovDash1 {
  0%, 40% { opacity: 0; transform: translate(-24px, 0) scale(0.92); }
  46%, 88% { opacity: 1; transform: translate(0, 0) scale(1); }
  94%, 100% { opacity: 0; transform: translate(0, 10px) scale(0.96); }
}
@keyframes ovDash2 {
  0%, 20% { opacity: 0; transform: translate(24px, 0) scale(0.92); }
  26%, 88% { opacity: 1; transform: translate(0, 0) scale(1); }
  94%, 100% { opacity: 0; transform: translate(0, -10px) scale(0.96); }
}

/* Animations only run while the apps are on screen */
.apps.is-paused *,
.apps.is-paused *::before,
.apps.is-paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .apps *, .apps *::before, .apps *::after { animation: none !important; }
  .ov { opacity: 1; }
  .st-route { stroke-dashoffset: 0; }
  .st-eta span:nth-child(2) { opacity: 1; }
  .sd-new { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .apps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 60px; }
}

@media (max-width: 820px) {
  .showcase-info { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .showcase-meta { display: none; }
  .showcase-meta.is-active { display: block; }
}

@media (max-width: 560px) {
  .browser { border-radius: 12px; }
  .browser-bar { gap: 10px; padding: 8px 8px 0; }
  .browser-dots { display: none; }
  .browser-tab { padding: 9px 12px 10px; font-size: 12px; }
  .browser-url { margin: 6px 8px 8px; font-size: 12px; }
  .browser-view { aspect-ratio: 9 / 15; }
  .app-stage { height: 520px; }
  .phone { width: 226px; }
  .ov { padding: 9px 12px 9px 9px; }
  .ov .ok, .ov .bell, .ov .dot-o { width: 28px; height: 28px; }
  .ov .big { font-size: 24px; }
  .ov-book-1, .ov-track-1, .ov-dash-2 { right: 0; top: 14%; }
  .ov-book-2, .ov-track-2, .ov-dash-1 { left: 0; bottom: 14%; }
}
