/* PTD-56: /mobil-uygulama tanıtım sayfası */

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 28rem);
  gap: 2.2rem 2.5rem;
  align-items: center;
  padding: 1.4rem 0 2.6rem;
}
.app-eyebrow {
  margin: 0 0 .55rem;
  color: var(--poe-gold, #d4b36a);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.app-hero h1 {
  margin: 0 0 .85rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}
.app-lead {
  margin: 0 0 1.15rem;
  color: var(--poe-muted, #b7a99a);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 38rem;
}
.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .6rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}
.app-meta li {
  padding: .28rem .7rem;
  border: 1px solid var(--poe-border-soft, rgba(255,255,255,.12));
  border-radius: 999px;
  color: var(--poe-muted, #b7a99a);
  font-size: .86rem;
}
.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.15rem;
}
.app-store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: .55rem;
  outline-offset: 3px;
}
.app-store-badge img {
  display: block;
  height: 72px;
  width: auto;
}
.app-store-badge:focus-visible {
  outline: 2px solid var(--poe-gold, #d4b36a);
}
.app-qr {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.app-qr img {
  width: 72px;
  height: 72px;
  background: #fff;
  padding: 4px;
  border-radius: .45rem;
}
.app-qr figcaption {
  margin: 0;
  color: var(--poe-faint, #8d8276);
  font-size: .82rem;
  max-width: 7rem;
  line-height: 1.35;
}
.app-apk {
  margin-top: .35rem;
  padding: .95rem 1.05rem;
  border: 1px solid var(--poe-border-soft, rgba(255,255,255,.12));
  border-radius: .85rem;
  background: linear-gradient(180deg, var(--poe-surface, #1a1612) 0%, var(--poe-surface-2, #14110e) 100%);
  max-width: 28rem;
}
.app-apk.is-soon p { margin: 0; color: var(--poe-muted, #b7a99a); }
.app-apk-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--poe-gold, #d4b36a);
  font-weight: 700;
  margin: 0 0 .25rem !important;
}
.app-apk-meta {
  margin: .55rem 0 0;
  color: var(--poe-muted, #b7a99a);
  font-size: .88rem;
}
.app-apk-steps {
  margin-top: .7rem;
}
.app-apk-steps summary {
  cursor: pointer;
  color: var(--poe-text, #efe7dc);
  font-weight: 600;
}
.app-apk-steps summary:focus-visible {
  outline: 2px solid var(--poe-gold, #d4b36a);
  outline-offset: 2px;
}
.app-apk-steps ol {
  margin: .55rem 0 0;
  padding-left: 1.2rem;
  color: var(--poe-muted, #b7a99a);
  line-height: 1.6;
}
.app-file { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

.app-hero-visual { position: relative; min-height: 26rem; }
.app-phones {
  position: relative;
  height: 28.5rem;
}
.app-phone {
  margin: 0;
  background: #14110d;
  border: 2px solid rgba(210, 176, 116, .75);
  border-radius: 1.55rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04);
}
.app-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-phones .app-phone {
  position: absolute;
  width: min(14.2rem, 46vw);
  aspect-ratio: 460 / 996;
}
.app-phones .is-left {
  left: 0;
  top: 2.4rem;
  transform: rotate(-8deg);
  z-index: 1;
}
.app-phones .is-right {
  right: 0;
  top: 2.8rem;
  transform: rotate(8deg);
  z-index: 1;
}
.app-phones .is-front {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  width: min(15.4rem, 52vw);
  box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(210, 176, 116, .35);
}
.app-phone.is-static {
  width: 100%;
  max-width: 16.5rem;
  margin: 0 auto;
}

.app-section { margin: 0 0 2.8rem; min-width: 0; max-width: 100%; }
.app-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.app-section-head h2 {
  margin: 0;
  font-size: 1.55rem;
  color: #fff;
}
.app-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 901px) {
  /* 7 kart: son satırdaki tek kart ortaya */
  .app-features li:last-child { grid-column: 2; }
}
.app-features li {
  min-width: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--poe-border-soft, rgba(255,255,255,.12));
  border-radius: .85rem;
  background: linear-gradient(180deg, var(--poe-surface, #1a1612) 0%, var(--poe-surface-2, #14110e) 100%);
}
.app-features h3 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
  color: var(--poe-gold, #d4b36a);
}
.app-features p {
  margin: 0;
  color: var(--poe-muted, #b7a99a);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.app-gallery {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.app-gallery-track {
  display: flex;
  gap: 1.1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .4rem .2rem 1rem;
  list-style: none;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}
.app-gallery-track:focus-visible {
  outline: 2px solid var(--poe-gold, #d4b36a);
  outline-offset: 4px;
}
.app-gallery-track li {
  flex: 0 0 min(16.5rem, 68vw);
  scroll-snap-align: center;
}
.app-gallery figcaption {
  margin-top: .7rem;
  text-align: center;
  color: var(--poe-muted, #b7a99a);
  font-weight: 600;
}
.app-gallery-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(210, 176, 116, .45);
  background: rgba(18, 15, 12, .86);
  color: #fff;
  cursor: pointer;
}
.app-gallery-nav::before {
  content: "";
  display: block;
  width: .55rem;
  height: .55rem;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.app-gallery-nav.is-prev { left: -.2rem; }
.app-gallery-nav.is-prev::before { transform: rotate(-135deg); margin-left: .85rem; }
.app-gallery-nav.is-next { right: -.2rem; }
.app-gallery-nav.is-next::before { transform: rotate(45deg); margin-right: .85rem; }
.app-gallery-nav:hover,
.app-gallery-nav:focus-visible {
  background: var(--poe-gold, #d4b36a);
  color: #1a140c;
  outline: none;
}

.app-faq details {
  border-top: 1px solid var(--poe-border-soft, rgba(255,255,255,.12));
  padding: .15rem 0;
}
.app-faq details:last-child { border-bottom: 1px solid var(--poe-border-soft, rgba(255,255,255,.12)); }
.app-faq summary {
  cursor: pointer;
  list-style: none;
  padding: .95rem 1.8rem .95rem 0;
  font-weight: 700;
  color: #fff;
  position: relative;
}
.app-faq summary::-webkit-details-marker { display: none; }
.app-faq summary::after {
  content: "";
  position: absolute;
  right: .2rem;
  top: 50%;
  width: .5rem;
  height: .5rem;
  border-right: 2px solid var(--poe-gold, #d4b36a);
  border-bottom: 2px solid var(--poe-gold, #d4b36a);
  transform: translateY(-70%) rotate(45deg);
}
.app-faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.app-faq summary:focus-visible {
  outline: 2px solid var(--poe-gold, #d4b36a);
  outline-offset: 2px;
}
.app-faq details p {
  margin: 0 0 1rem;
  color: var(--poe-muted, #b7a99a);
  line-height: 1.65;
  max-width: 46rem;
}

.app-legal {
  margin: 0 0 1rem;
  color: var(--poe-faint, #8d8276);
  font-size: .88rem;
  line-height: 1.6;
}
.app-legal p { margin: 0 0 .5rem; }

.app-android-lead {
  margin: .55rem 0 0;
  color: var(--poe-muted, #b7a99a);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 44rem;
}
.app-section-head .app-eyebrow {
  margin-bottom: .35rem;
}
.app-android-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
}
.app-android-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--poe-border-soft, rgba(255,255,255,.12));
  border-radius: .85rem;
  background: linear-gradient(180deg, var(--poe-surface, #1a1612) 0%, var(--poe-surface-2, #14110e) 100%);
}
.app-android-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.12rem;
  color: var(--poe-gold, #d4b36a);
}
.app-android-card > p,
.app-android-card > ol {
  margin: 0 0 .85rem;
  color: var(--poe-muted, #b7a99a);
  line-height: 1.65;
}
.app-android-card ol {
  padding-left: 1.2rem;
}

.app-android-steps a.app-android-step-link {
  color: var(--poe-gold-2, #d2b074);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.app-android-steps a.app-android-step-link:hover,
.app-android-steps a.app-android-step-link:focus-visible {
  color: var(--poe-gold, #b9935a);
}
.app-android-steps a.app-android-step-link:focus-visible {
  outline: 2px solid var(--poe-gold, #d4b36a);
  outline-offset: 2px;
}

.app-android-card .gold-button {
  align-self: flex-start;
  text-decoration: none;
}
.app-android-card .app-apk-meta {
  margin: .55rem 0 0;
}
.app-android-note {
  margin: 0 0 .95rem;
  color: var(--poe-muted, #b7a99a);
  line-height: 1.65;
}
.app-android-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.2rem;
  margin-top: auto;
  padding-top: .35rem;
}
.app-android-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem .7rem;
}
.app-android-qr {
  flex: none;
}
.app-android-actions .gold-button,
.app-android-actions .ghost-button {
  text-decoration: none;
  gap: .45rem;
}
.app-android-actions .is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}
.app-android-actions .is-disabled em {
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .95;
}


@media (max-width: 900px) {
  .app-hero {
    grid-template-columns: 1fr;
    padding-top: .4rem;
  }
  .app-hero-visual { order: -1; }
  .app-phones { height: 22rem; }
  .app-phones .app-phone { width: min(11.2rem, 38vw); }
  .app-phones .is-front { width: min(12.4rem, 44vw); }
}
@media (max-width: 768px) {
  .app-hero .app-qr { display: none; }
  .app-android-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-features li:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 1rem) / 2);
    justify-self: center;
  }
}
@media (max-width: 640px) {
  .app-features { grid-template-columns: 1fr; }
  .app-features li:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
  .app-gallery-nav { display: none; }
  .app-phones .is-left,
  .app-phones .is-right { opacity: .95; }
}
@media (prefers-reduced-motion: reduce) {
  .app-gallery-track { scroll-behavior: auto; }
  .app-phones .app-phone { transform: none; }
  .app-phones .is-front { transform: translateX(-50%); }
  .app-phones .is-left { left: 8%; top: 1.2rem; }
  .app-phones .is-right { right: 8%; top: 1.2rem; }
}
