.apps-page {
  --dc-table: #13151c;
  --dc-blue: #2566ff;
  --dc-orange: #ff6b21;
  --ss-deep: #0d2317;
  --ss-leaf: #4cb84a;
  --ss-gold: #f5c542;
  --ss-cream: #f7f0dc;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --round: "Fredoka", var(--font);
}

.phone {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 19.5;
  padding: 8px;
  background: linear-gradient(145deg, #2a2b33, #0c0c10);
  border-radius: 42px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 40px 80px -30px rgba(0, 0, 0, .6),
    0 18px 30px -18px rgba(0, 0, 0, .5);
}
.phone > img, .phone > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  background: #000;
}

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 18px;
  color: #fff;
  background: #0b0b14;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  transition: transform .25s var(--ease), background .3s, box-shadow .3s;
}
.store-btn svg { width: 26px; height: 26px; fill: currentColor; }
.store-btn span { display: grid; line-height: 1.1; }
.store-btn small { font-size: 11.5px; opacity: .7; }
.store-btn b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
a.store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.store-btn--soon { cursor: default; background: rgba(255, 255, 255, .08); border-style: dashed; }

.ap-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  color: #fff;
  background: #0b0a12;
}
.ap-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 78% 30%, rgba(37, 102, 255, .35), transparent 70%),
    radial-gradient(520px 420px at 92% 80%, rgba(76, 184, 74, .28), transparent 70%),
    radial-gradient(500px 360px at 10% 0%, rgba(91, 43, 255, .25), transparent 70%);
  pointer-events: none;
}
.ap-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.ap-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
.ap-title {
  display: grid;
  margin: 0 0 26px;
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.05em;
}
.ap-title em {
  font-family: var(--round);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #5b8cff 0%, #2566ff 25%, #ff6b21 55%, #f5c542 78%, #4cb84a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ap-shine 8s ease-in-out infinite alternate;
}
@keyframes ap-shine { to { background-position: 100% 0; } }
.ap-hero-lead {
  max-width: 540px;
  margin: 0 0 36px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .7);
}
.ap-hero-apps { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.ap-app-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  transition: background .3s, transform .3s var(--ease);
}
.ap-app-chip:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.ap-app-chip img { width: 56px; height: 56px; border-radius: 14px; }
.ap-app-chip span { display: grid; gap: 2px; }
.ap-app-chip b { font-size: 16px; font-weight: 700; }
.ap-app-chip small { font-size: 13px; color: rgba(255, 255, 255, .55); }

.ap-hero-stage {
  position: relative;
  height: 600px;
}
.ap-hero-ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}
.ap-hero-ink path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: ap-ink 6s var(--ease) infinite; }
.ap-hero-ink .ink-blue { stroke: var(--dc-blue); opacity: .55; }
.ap-hero-ink .ink-orange { stroke: var(--dc-orange); opacity: .45; animation-delay: 1.2s; }
@keyframes ap-ink {
  0% { stroke-dashoffset: 900; }
  40%, 75% { stroke-dashoffset: 0; opacity: .55; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.phone--hero { position: absolute; width: 250px; }
.phone--a { left: 8%; top: 10px; rotate: -7deg; animation: ap-float 7s ease-in-out infinite; z-index: 2; }
.phone--b { right: 4%; top: 70px; rotate: 6deg; animation: ap-float 7s ease-in-out -3.5s infinite; }
@keyframes ap-float { 50% { translate: 0 -16px; } }
.ap-float {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .45));
  animation: ap-float 5s ease-in-out infinite;
}
.ap-float--1 { width: 120px; left: -2%; bottom: 40px; animation-delay: -1s; }
.ap-float--2 { width: 64px; right: 2%; top: 10px; animation-delay: -2.4s; }
.ap-float--3 { width: 96px; right: 30%; bottom: -6px; animation-delay: -3.6s; }

.dc {
  position: relative;
  padding: 120px 0 140px;
  color: #f6f4ef;
  background-color: var(--dc-table);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.dc-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 40px 80px;
  margin-bottom: 90px;
}
.dc-brand { display: flex; align-items: center; gap: 24px; }
.dc-brand > img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 18px 36px -14px rgba(37, 102, 255, .6); }
.dc-logo {
  display: grid;
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.dc-logo span:first-child { position: relative; width: max-content; }
.dc-logo span:first-child::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2px;
  height: 7px;
  border-radius: 6px;
  background: var(--dc-orange);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .9s .3s var(--ease);
}
.dc-brand.is-in .dc-logo span:first-child::after { transform: scaleX(1); }
.dc-logo span:last-child { color: var(--dc-blue); }
.dc-intro { max-width: 560px; justify-self: end; }
.dc-tagline { margin: 0 0 14px; font-family: var(--hand); font-size: 34px; line-height: 1.1; color: #fff; }
.dc-intro p:not(.dc-tagline) { margin: 0 0 26px; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .68); }

.dc-shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.dc-shots .phone { transition: transform .5s var(--ease); }
.dc-shots .phone:nth-child(1) { transform: translateY(34px) rotate(-4deg); }
.dc-shots .phone:nth-child(3) { transform: translateY(10px) rotate(2deg); }
.dc-shots .phone:nth-child(4) { transform: translateY(40px) rotate(4deg); }
.dc-shots .phone--lead { transform: scale(1.08); z-index: 1; }
.dc-shots .phone:hover { transform: translateY(-10px) rotate(0) scale(1.04); }
.dc-shots .phone.reveal:nth-child(2) { transition-delay: .08s; }
.dc-shots .phone.reveal:nth-child(3) { transition-delay: .16s; }
.dc-shots .phone.reveal:nth-child(4) { transition-delay: .24s; }

.ss {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  color: var(--ss-cream);
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(76, 184, 74, .25), transparent 70%),
    radial-gradient(700px 500px at 0% 60%, rgba(245, 197, 66, .12), transparent 70%),
    var(--ss-deep);
}
.ss-leaves {
  position: absolute;
  inset: 0;
  background: url(../img/uygulamalar/ss/dunya/orman.webp) center / 520px auto repeat;
  opacity: .07;
  pointer-events: none;
}
.ss > .container { position: relative; }
.ss-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 90px;
}
.ss-logo {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .5));
  animation: ap-float 6s ease-in-out infinite;
}
.ss-intro { max-width: 640px; }
.ss-intro h2 {
  margin: 0 0 6px;
  font-family: var(--round);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.ss-tagline { margin: 0 0 18px; font-family: var(--round); font-size: 26px; font-weight: 600; color: var(--ss-gold); }
.ss-intro p:not(.ss-tagline) { margin: 0 0 28px; font-size: 16.5px; line-height: 1.65; color: rgba(247, 240, 220, .72); }

.ss-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 90px;
}
.ss-shots .phone { background: linear-gradient(145deg, #6b5330, #2e2212); }
.ss-shots .phone:nth-child(1) { rotate: -3deg; }
.ss-shots .phone:nth-child(2) { transform: translateY(-34px); }
.ss-shots .phone:nth-child(3) { rotate: 3deg; }
.ss-shots .phone.reveal:nth-child(2) { transition-delay: .1s; }
.ss-shots .phone.reveal:nth-child(3) { transition-delay: .2s; }

.ss-marquee {
  position: relative;
  display: grid;
  gap: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ss-row { display: flex; width: max-content; gap: 14px; animation: ss-marquee 60s linear infinite; }
.ss-row--rev { animation-direction: reverse; }
@keyframes ss-marquee { to { translate: -50% 0; } }
.ss-char {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  background: rgba(247, 240, 220, .07);
  border: 1px solid rgba(247, 240, 220, .1);
  border-radius: 28px;
}
.ss-char img { width: 92px; height: 90px; object-fit: contain; }

.ap-yours { padding: 110px 0; background: var(--paper); }
.ap-yours-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding: 70px 70px 0;
  color: #fff;
  background: #0b0a12;
  border-radius: 36px;
}
.ap-yours-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 380px at 85% 20%, rgba(37, 102, 255, .35), transparent 70%),
    radial-gradient(460px 360px at 100% 100%, rgba(76, 184, 74, .3), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(255, 107, 33, .22), transparent 70%);
}
.ap-yours-text { padding-bottom: 70px; }
.ap-yours h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.ap-yours p { max-width: 520px; margin: 0 0 32px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.ap-yours-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-yours-actions .chat-mark { --d: 6px; }
.ap-yours-actions .chat-mark i { animation: mark-hop 2.4s cubic-bezier(.5, 0, .5, 1) infinite; }

.ap-home {
  align-self: end;
  height: 460px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 75%, transparent);
  mask-image: linear-gradient(#000 75%, transparent);
}
.ap-home-phone {
  width: 300px;
  margin: 0 auto;
  translate: 0 40px;
  transition: translate .9s var(--ease);
}
.ap-yours-card:hover .ap-home-phone { translate: 0 20px; }
.ap-home-screen {
  height: 100%;
  padding: 18px 18px 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 10%, rgba(91, 140, 255, .55), transparent 55%),
    radial-gradient(circle at 90% 60%, rgba(76, 184, 74, .45), transparent 55%),
    linear-gradient(160deg, #1d2a6b, #12233a 55%, #0f2a1c);
}
.ap-home-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding: 0 8px; }
.ap-home-status b { font-size: 13px; font-weight: 600; }
.ap-home-status span { width: 64px; height: 20px; border-radius: 12px; background: #000; }
.ap-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 10px; }
.ap-icon { display: grid; justify-items: center; gap: 6px; }
.ap-icon img,
.ap-icon i {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .6);
}
.ap-icon small {
  max-width: 100%;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, .9);
}
.ap-icon--ghost i { display: block; background: rgba(255, 255, 255, .1); box-shadow: none; }
.ap-icon--ghost small { width: 34px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.ap-icon--new i {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 107, 33, .18);
  border: 2px dashed rgba(255, 255, 255, .7);
  box-shadow: none;
  animation: ap-slot 2.4s ease-in-out infinite;
}
.ap-icon--new svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ap-icon--new small { color: #ffb184; font-weight: 600; }
@keyframes ap-slot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 33, .55); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 33, 0); transform: scale(1.06); }
}

@media (max-width: 1100px) {
  .ap-hero-grid { grid-template-columns: 1fr; }
  .ap-hero-stage { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; }
  .dc-head { grid-template-columns: 1fr; }
  .dc-intro { justify-self: start; }
  .ss-head { grid-template-columns: 1fr; gap: 30px; }
  .ss-logo { width: 200px; }
  .ap-yours-card { grid-template-columns: 1fr; gap: 10px; padding: 56px 48px 0; }
  .ap-yours-text { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .dc-shots, .ss-shots {
    display: flex;
    gap: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 20px 16px 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .dc-shots::-webkit-scrollbar, .ss-shots::-webkit-scrollbar { display: none; }
  .dc-shots .phone, .ss-shots .phone { flex: 0 0 62%; scroll-snap-align: center; transform: none !important; rotate: none; }
  .ss-shots { margin-bottom: 50px; }
}
@media (max-width: 640px) {
  .ap-hero { padding: 108px 0 40px; text-align: center; }
  .ap-hero-grid { gap: 10px; }
  .ap-title { margin-bottom: 16px; font-size: 46px; line-height: .98; }
  .ap-title em { font-size: 40px; }
  .ap-hero-lead { margin: 0 auto 26px; font-size: 15px; }
  .ap-hero-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0; text-align: left; }
  .ap-app-chip { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 20px; }
  .ap-app-chip img { width: 48px; height: 48px; border-radius: 13px; }
  .ap-app-chip b { font-size: 14.5px; }
  .ap-app-chip small { font-size: 12px; }
  .ap-hero-stage { height: 400px; }
  .phone--hero { width: 170px; }
  .phone--a { left: 6%; top: 20px; }
  .phone--b { right: 6%; top: 60px; }
  .ap-float--1 { width: 80px; left: -2%; bottom: 10px; }
  .ap-float--2 { width: 48px; }
  .ap-float--3 { width: 64px; right: 38%; bottom: 0; }
  .ap-yours { padding: 50px 0; }
  .ap-yours-card { padding: 40px 24px 0; border-radius: 28px; }
  .ap-yours h2 { font-size: 32px; }
  .ap-yours p { font-size: 15px; margin-bottom: 24px; }
  .ap-home { height: 340px; }
  .ap-home-phone { width: 260px; }
  .phone { border-radius: 34px; padding: 6px; }
  .phone > img, .phone > video { border-radius: 28px; }
  .dc { padding: 80px 0; }
  .ss { padding: 80px 0 60px; }
  .dc-head, .ss-head { margin-bottom: 40px; }
  .dc-brand > img { width: 68px; height: 68px; }
  .ss-char { width: 96px; height: 96px; border-radius: 22px; }
  .ss-char img { width: 72px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone--hero, .ap-float, .ss-logo, .ss-row, .ap-hero-ink path, .ap-title em, .ap-icon--new i { animation: none; }
  .ap-hero-ink path { stroke-dashoffset: 0; }
}
