/* ARINAZ iOS app portfolio preview — V1.38 */
.ios-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  min-height: 630px;
  margin-top: 24px;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(255, 199, 44, .22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 77% 48%, rgba(255, 199, 44, .17), transparent 29%),
    radial-gradient(circle at 7% 9%, rgba(255, 255, 255, .055), transparent 30%),
    linear-gradient(145deg, #0c0d10 0%, #050507 58%, #100b02 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .04);
}

.ios-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255, 199, 44, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 199, 44, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.ios-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: 7%;
  top: 50%;
  border: 1px solid rgba(255, 199, 44, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 199, 44, .025), 0 0 90px rgba(255, 199, 44, .09);
  transform: translateY(-50%);
  pointer-events: none;
}

.ios-showcase-copy,
.ios-showcase-visual {
  position: relative;
  z-index: 1;
}

.ios-showcase-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.ios-showcase-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 4px;
  object-fit: contain;
  border: 1px solid rgba(255, 199, 44, .3);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 199, 44, .17), rgba(255, 255, 255, .02));
  box-shadow: 0 12px 35px rgba(255, 199, 44, .12);
}

.ios-showcase-kicker {
  display: block;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ios-showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 199, 44, .32);
  border-radius: 999px;
  color: #ffe486;
  background: rgba(255, 199, 44, .075);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ios-showcase-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(255, 199, 44, .82);
}

.ios-showcase-status.is-live {
  border-color: rgba(110, 231, 183, .38);
  color: #a7f3d0;
  background: rgba(110, 231, 183, .075);
}

.ios-showcase-status.is-live::before {
  background: var(--ok);
  box-shadow: 0 0 15px rgba(110, 231, 183, .82);
}

.ios-showcase h2,
.ios-showcase h3 {
  max-width: 10.5ch;
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 4.8vw, 5.15rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .94;
}

.ios-showcase h2 span,
.ios-showcase h3 span {
  display: block;
  color: var(--gold);
}

.ios-showcase-description {
  max-width: 51ch;
  margin: 0;
  color: #b9bbc2;
  font-size: 1rem;
  line-height: 1.72;
}

.ios-showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.ios-showcase-actions .btn {
  min-height: 46px;
}

.ios-showcase-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(255, 199, 44, .35);
  border-radius: 999px;
  color: #151006;
  background: linear-gradient(110deg, #ffe36f, var(--gold) 54%, #f0a800);
  font-size: .83rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(255, 199, 44, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ios-showcase-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(255, 199, 44, .27);
}

.ios-showcase-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #d1d1d4;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .025em;
}

.ios-showcase-capabilities li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ios-showcase-capabilities li:not(:last-child)::after {
  content: "·";
  color: var(--gold);
}

.ios-showcase-visual {
  min-width: 0;
  min-height: 570px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.ios-showcase-orbit,
.ios-showcase-orbit::before,
.ios-showcase-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 199, 44, .18);
  border-radius: 50%;
  pointer-events: none;
}

.ios-showcase-orbit {
  width: 400px;
  height: 400px;
  box-shadow: inset 0 0 70px rgba(255, 199, 44, .05), 0 0 80px rgba(255, 199, 44, .055);
}

.ios-showcase-orbit::before,
.ios-showcase-orbit::after {
  content: "";
  inset: 43px;
}

.ios-showcase-orbit::after {
  inset: 94px;
  border-style: dashed;
}

.ios-showcase-phone {
  position: absolute;
  width: 190px;
  aspect-ratio: 360 / 782;
  overflow: hidden;
  border: 6px solid #171719;
  border-radius: 31px;
  background: #050506;
  box-shadow: 0 30px 72px rgba(0, 0, 0, .58);
  transition: transform .28s ease, opacity .28s ease, filter .28s ease;
}

.ios-showcase-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11);
  pointer-events: none;
}

.ios-showcase-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.ios-showcase-phone-left {
  transform: translate3d(-145px, 16px, -90px) rotateY(13deg) rotateZ(-5deg);
  opacity: .76;
  filter: brightness(.66) saturate(.82);
}

.ios-showcase-phone-main {
  z-index: 3;
  width: 228px;
  border-color: #292414;
  transform: translate3d(0, -7px, 55px);
  box-shadow: 0 35px 95px rgba(0, 0, 0, .68), 0 0 58px rgba(255, 199, 44, .16);
}

.ios-showcase-phone-right {
  transform: translate3d(145px, 16px, -90px) rotateY(-13deg) rotateZ(5deg);
  opacity: .76;
  filter: brightness(.66) saturate(.82);
}

.ios-showcase-feature-image {
  transition: opacity .16s ease, transform .16s ease;
}

.ios-showcase-feature-image.is-switching {
  opacity: .18;
  transform: scale(.985);
}

.ios-showcase-callout {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 199, 44, .23);
  border-radius: 999px;
  color: #f8f4ea;
  background: rgba(8, 8, 10, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  font-size: .72rem;
  font-weight: 800;
}

.ios-showcase-callout::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.ios-showcase-callout-one {
  top: 74px;
  right: 0;
}

.ios-showcase-callout-two {
  left: 0;
  bottom: 94px;
}

.ios-showcase-screen-controls {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 4px;
  width: min(100%, 530px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  transform: translateX(-50%);
}

.ios-showcase-screen-button {
  min-width: 58px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #b7b9bf;
  background: rgba(11, 12, 15, .92);
  cursor: pointer;
  font-size: .73rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.ios-showcase-screen-button:hover {
  color: #fff;
  border-color: rgba(255, 199, 44, .44);
  transform: translateY(-1px);
}

.ios-showcase-screen-button[aria-pressed="true"] {
  color: #121006;
  border-color: var(--gold);
  background: var(--gold);
}

.ios-showcase-screen-button:focus-visible,
.ios-showcase-download:focus-visible,
.ios-showcase-actions .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.ios-showcase-screen-caption {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 56px;
  width: min(100%, 450px);
  margin: 0;
  color: #aeb0b7;
  font-size: .72rem;
  text-align: center;
  transform: translateX(-50%);
}

.work-ios-strip .ios-showcase {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .ios-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ios-showcase-copy {
    max-width: 760px;
  }

  .ios-showcase h2,
  .ios-showcase h3 {
    max-width: 12ch;
  }

  .ios-showcase-visual {
    min-height: 585px;
  }
}

@media (max-width: 760px) {
  .ios-showcase {
    min-height: 0;
    padding: 28px 18px 22px;
    border-radius: 26px;
    text-align: center;
  }

  .ios-showcase::after {
    width: 285px;
    height: 285px;
    right: 50%;
    top: 66%;
    transform: translate(50%, -50%);
  }

  .ios-showcase-brandline,
  .ios-showcase-actions,
  .ios-showcase-capabilities {
    justify-content: center;
  }

  .ios-showcase h2,
  .ios-showcase h3,
  .ios-showcase-description {
    margin-left: auto;
    margin-right: auto;
  }

  .ios-showcase h2,
  .ios-showcase h3 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .ios-showcase-capabilities {
    gap: 7px 12px;
  }

  .ios-showcase-visual {
    min-height: 560px;
  }

  .ios-showcase-orbit {
    width: 320px;
    height: 320px;
  }

  .ios-showcase-phone {
    width: 150px;
    border-width: 5px;
    border-radius: 25px;
  }

  .ios-showcase-phone-left {
    transform: translate3d(-98px, 26px, -80px) rotateY(12deg) rotateZ(-5deg);
  }

  .ios-showcase-phone-main {
    width: 192px;
  }

  .ios-showcase-phone-right {
    transform: translate3d(98px, 26px, -80px) rotateY(-12deg) rotateZ(5deg);
  }

  .ios-showcase-callout {
    display: none;
  }
}

@media (max-width: 470px) {
  .ios-showcase-actions {
    display: grid;
  }

  .ios-showcase-actions > * {
    width: 100%;
    justify-content: center;
  }

  .ios-showcase-capabilities li::after {
    display: none;
  }

  .ios-showcase-visual {
    min-height: 540px;
    margin-inline: -10px;
  }

  .ios-showcase-orbit {
    width: 270px;
    height: 270px;
  }

  .ios-showcase-phone-left,
  .ios-showcase-phone-right {
    width: 126px;
    opacity: .5;
  }

  .ios-showcase-phone-left {
    transform: translate3d(-73px, 34px, -100px) rotateY(12deg) rotateZ(-6deg);
  }

  .ios-showcase-phone-main {
    width: 178px;
  }

  .ios-showcase-phone-right {
    transform: translate3d(73px, 34px, -100px) rotateY(-12deg) rotateZ(6deg);
  }

  .ios-showcase-screen-caption {
    bottom: 103px;
    padding-inline: 10px;
  }

  .ios-showcase-screen-controls {
    bottom: 0;
    max-width: 300px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ios-showcase-phone-main {
    animation: iosShowcaseFloat 6s ease-in-out infinite;
  }

  @keyframes iosShowcaseFloat {
    0%, 100% { transform: translate3d(0, -7px, 55px); }
    50% { transform: translate3d(0, -16px, 55px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-showcase-feature-image,
  .ios-showcase-screen-button,
  .ios-showcase-phone {
    animation: none !important;
    transition: none !important;
  }
}
