.examples-page { background: #070708; }
.desktop-nav .current { color: white; }
.desktop-nav .current::after { content: ""; display: block; height: 1px; margin-top: .45rem; background: var(--red); }

.examples-hero {
  position: relative;
  min-height: 94vh;
  padding: 10rem var(--side) 6rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.examples-hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.examples-hero-copy { position: relative; z-index: 3; }
.examples-orb {
  position: absolute;
  top: -30vw;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 4, 34, .24), transparent 64%);
}
.examples-hero .eyebrow { position: relative; color: #d6263f; }
.examples-hero h1 {
  position: relative;
  max-width: 700px;
  font-size: clamp(3.2rem, 5.4vw, 6.3rem);
}
.examples-hero h1 em { color: var(--red); }
.examples-intro {
  position: relative;
  max-width: 680px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.examples-intro p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.examples-intro span { display: block; margin-top: 1.4rem; color: #676363; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }

.work-device {
  position: relative;
  height: min(48vw, 650px);
  perspective: 1300px;
  transform-style: preserve-3d;
  --device-x: 0deg;
  --device-y: 0deg;
}
.screen-stack {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 23%;
  top: 7%;
  height: 82%;
  transform-style: preserve-3d;
  transform: rotateX(calc(2deg + var(--device-y))) rotateY(calc(-5deg + var(--device-x)));
  transition: transform .35s ease-out;
}
.floating-screen {
  position: absolute;
  left: 3%;
  width: 92%;
  aspect-ratio: 1.56;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3px;
  background: #111;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform-origin: bottom center;
}
.floating-screen img { width: 100%; height: 100%; object-fit: cover; }
.screen-back { top: 0; transform: translate3d(45px,-12px,-80px) scale(.92); opacity: .42; animation: layer-back 8s ease-in-out infinite; }
.screen-two { top: 19%; transform: translate3d(20px,0,-15px) scale(.96); opacity: .72; animation: layer-middle 8s ease-in-out infinite; }
.screen-front { top: 39%; z-index: 3; transform: translateZ(38px); animation: layer-front 8s ease-in-out infinite; }
@keyframes layer-front { 0%,100% { transform: translateZ(38px) translateY(0); } 50% { transform: translateZ(46px) translateY(-7px); } }
@keyframes layer-middle { 0%,100% { transform: translate3d(20px,0,-15px) scale(.96); } 50% { transform: translate3d(24px,-7px,-10px) scale(.96); } }
@keyframes layer-back { 0%,100% { transform: translate3d(45px,-12px,-80px) scale(.92); } 50% { transform: translate3d(50px,-20px,-74px) scale(.92); } }
.phone-mockup {
  position: absolute;
  z-index: 20;
  right: -1%;
  bottom: 3%;
  width: min(16vw, 220px);
  aspect-ratio: .49;
  padding: 7px;
  border: 1px solid #555;
  border-radius: 34px;
  background: linear-gradient(145deg, #5a5a5d, #111 9%, #070708 88%, #777);
  box-shadow: -16px 25px 55px rgba(0,0,0,.6), inset 0 0 0 1px #090909;
  transform: translateZ(180px) rotateY(calc(-7deg + var(--device-x))) rotateX(var(--device-y));
  transition: transform .35s ease-out;
  animation: phone-float 6s ease-in-out infinite;
}
.phone-screen {
  position: relative;
  height: 100%;
  padding: 1.2rem .85rem .7rem;
  overflow: hidden;
  border-radius: 27px;
  background: linear-gradient(160deg, #151518, #080809 65%);
  color: white;
  font-family: var(--font-body);
}
.dynamic-island { position: absolute; z-index: 2; top: 7px; left: 50%; width: 42%; height: 18px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.phone-status { display: flex; justify-content: space-between; color: #a9a5a4; font-size: .38rem; }
.phone-app-head { margin-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.phone-logo { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: var(--red); font: 800 .7rem var(--font-heading); }
.phone-avatar { width: 23px; height: 23px; border-radius: 50%; background: linear-gradient(145deg, #555, #1c1c1f); border: 1px solid #666; }
.phone-greeting { margin: 1rem 0 .65rem; color: #8f8a88; font-size: .48rem; }
.phone-total { padding: .75rem; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: linear-gradient(135deg, rgba(178,5,33,.3), #141416); }
.phone-total small, .phone-metrics small { display: block; color: #8f8987; font-size: .4rem; }
.phone-total strong { display: block; margin: .25rem 0; font: 700 1rem var(--font-heading); }
.phone-total span { color: #48b77a; font-size: .4rem; }
.phone-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .45rem; }
.phone-metrics > div { padding: .55rem; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #121214; }
.phone-metrics strong { display: block; margin-top: .2rem; font: 700 .75rem var(--font-heading); }
.phone-chart { height: 56px; margin-top: .5rem; padding: .5rem; display: flex; align-items: end; gap: 6%; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #101012; }
.phone-chart span { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(#f42d47, #8f071d); }
.phone-activity { margin-top: .5rem; padding: .55rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45rem; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #101012; }
.phone-activity i { width: 19px; height: 19px; border-radius: 5px; background: rgba(240,24,53,.18); }
.phone-activity strong, .phone-activity small { display: block; font-size: .38rem; }
.phone-activity small { margin-top: 2px; color: #777; }
.phone-activity > span { color: var(--red); }
.phone-nav { position: absolute; left: .8rem; right: .8rem; bottom: .65rem; height: 24px; display: flex; justify-content: space-around; align-items: center; border-radius: 8px; background: #151517; }
.phone-nav i { width: 7px; height: 7px; border: 1px solid #777; border-radius: 2px; }
.phone-nav i:first-child { background: var(--red); border-color: var(--red); }
.phone-button { position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #555; }
.phone-button-one { top: 23%; height: 13%; }
.phone-button-two { top: 39%; height: 8%; }
@keyframes phone-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.device-shadow {
  position: absolute;
  left: 10%;
  right: 0;
  bottom: 0;
  height: 7%;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  filter: blur(18px);
}

.examples-list { padding: 9rem var(--side); }
.example-card {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: 0 0 9rem;
}
.example-card:last-child { padding-bottom: 0; }
.example-card.reverse { grid-template-columns: .75fr 1.45fr; }
.example-card.reverse .example-cover { order: 2; }
.example-cover {
  position: relative;
  aspect-ratio: 1.56;
  overflow: hidden;
  background: #121214;
  border: 1px solid var(--line);
}
.example-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(0,0,0,.3);
  background: linear-gradient(155deg, rgba(255,255,255,.05), transparent 35%);
  pointer-events: none;
}
.example-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.example-card:hover .example-cover img { transform: scale(1.035); filter: saturate(1.08); }
.example-number, .example-status {
  position: absolute;
  z-index: 2;
  top: 1.2rem;
  padding: .48rem .65rem;
  background: rgba(7,7,8,.82);
  backdrop-filter: blur(10px);
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.example-number { left: 1.2rem; color: white; }
.example-status { right: 1.2rem; color: #bdb8b6; }
.example-type { margin: 0 0 1.4rem; color: var(--red); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.example-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.example-copy > p:nth-of-type(2) { margin: 1.7rem 0 2.5rem; color: var(--muted); line-height: 1.75; }
.example-card-detailed { align-items: start; }
.feature-heading {
  margin: 2.2rem 0 1rem;
  color: #ddd8d6;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.example-features {
  margin: 0 0 2.2rem;
  padding: 0;
  display: grid;
  gap: .65rem;
  list-style: none;
}
.example-features li {
  position: relative;
  padding-left: 1.15rem;
  color: #918c8a;
  font-size: .78rem;
  line-height: 1.45;
}
.example-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  background: var(--red);
}
.demo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  width: auto;
  min-height: 42px;
  padding: 0 0 .55rem;
  border: 0;
  border-bottom: 1px solid rgba(240,24,53,.65);
  background: transparent;
  box-shadow: none;
  color: white;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.demo-placeholder i {
  color: var(--red);
  font-size: 1.05rem;
  font-style: normal;
  transition: transform .3s ease;
}
.demo-link {
  position: relative;
  transition: color .3s ease, border-color .3s ease;
}
.demo-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transition: right .35s ease;
}
.demo-link:hover {
  color: #fff;
  border-color: rgba(240,24,53,.25);
}
.demo-link:hover::before { right: 0; }
.demo-link:hover i { transform: translate(3px, -3px); }
.demo-link:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }

.examples-cta {
  min-height: 70vh;
  padding: 8rem var(--side);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--red-deep);
}
.examples-cta .eyebrow { color: rgba(255,255,255,.65); }
.examples-cta h2 { max-width: 1050px; margin: 0 0 3rem; font-size: clamp(2.8rem, 5.4vw, 6rem); line-height: 1.04; letter-spacing: -.055em; }

@media (max-width: 900px) {
  .examples-hero-layout { grid-template-columns: 1fr; }
  .examples-hero-copy { max-width: 760px; }
  .work-device { height: min(75vw, 610px); }
  .screen-stack { right: 20%; }
  .phone-mockup { right: 1%; width: min(22vw, 180px); }
  .example-card, .example-card.reverse { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 7rem; }
  .example-card.reverse .example-cover { order: 0; }
  .example-copy { max-width: 680px; }
}

@media (max-width: 700px) {
  .examples-hero { min-height: auto; padding-top: 9rem; padding-bottom: 5rem; }
  .examples-hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .examples-intro { margin-top: 2rem; }
  .work-device { height: 88vw; min-height: 330px; margin: 1rem -1rem -2rem; }
  .screen-stack { left: -3%; right: 24%; top: 6%; transform: rotateX(2deg) rotateY(-3deg); }
  .floating-screen { left: 3%; width: 94%; }
  .screen-back { top: 3%; }
  .screen-two { top: 24%; }
  .screen-front { top: 45%; }
  .phone-mockup { right: 1%; bottom: 3%; width: clamp(112px, 29vw, 150px); border-radius: 25px; padding: 5px; }
  .phone-screen { border-radius: 20px; padding: 1rem .6rem .5rem; }
  .dynamic-island { top: 5px; height: 13px; }
  .examples-list { padding-top: 5rem; padding-bottom: 5rem; }
  .example-card, .example-card.reverse { gap: 1.75rem; padding-bottom: 5.5rem; }
  .example-cover { aspect-ratio: 1.15; }
  .example-cover img { object-position: center; }
  .example-number, .example-status { top: .75rem; }
  .example-number { left: .75rem; }
  .example-status { right: .75rem; }
  .demo-placeholder { min-height: 46px; font-size: .86rem; }
  .examples-cta { min-height: 75vh; padding-top: 6rem; padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-screen { animation: none; }
  .screen-stack { transition: none; }
  .phone-mockup { animation: none; transition: none; }
}
