/* Uygulama QR detay sayfası — tam sayfa, büyük kodlar */

.app-landing {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
}

.app-qr-page {
  display: flex;
  flex-direction: column;
}

.app-qr-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(6, 182, 212, 0.1), transparent 50%),
    var(--bg);
}

.app-qr-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
}

.app-qr-topbar a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.app-qr-topbar a:hover { color: var(--accent2); }

.app-qr-page-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Üst: uygulama bilgisi */
.app-qr-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.app-landing-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.app-landing-icon.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); box-shadow: 0 16px 48px rgba(124, 58, 237, 0.35); }
.app-landing-icon.kube { background: linear-gradient(135deg, #111827, #1f2937); box-shadow: 0 16px 48px rgba(163, 230, 53, 0.25); }
.app-landing-icon.plaka { background: linear-gradient(135deg, #0891b2, #06b6d4); box-shadow: 0 16px 48px rgba(8, 145, 178, 0.35); }
.app-landing-icon.moment { background: linear-gradient(135deg, #0b1220, #152238); box-shadow: 0 16px 48px rgba(34, 211, 238, 0.22); }
.app-landing-icon.has-logo { padding: 0; overflow: hidden; }
.app-landing-icon.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.app-landing-icon.hydrate { background: linear-gradient(135deg, #0c1929, #1e3a5f); box-shadow: 0 16px 48px rgba(56, 189, 248, 0.28); }

.app-qr-intro-body { max-width: 640px; }

.app-landing-tag {
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.app-landing h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.app-landing-desc {
  color: var(--text2);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.app-landing-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.app-landing-btns .app-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Alt: büyük QR alanı — sayfanın odağı */
.app-qr-showcase {
  flex: 1;
  width: 100%;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.app-qr-showcase-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.app-qr-showcase-sub {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text2);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.app-qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.app-qr-grid.single {
  max-width: 420px;
}

/* Büyük mağaza QR kartı */
.store-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.store-qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.store-qr-card.android {
  border-color: rgba(52, 211, 153, 0.5);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 100%);
}

.store-qr-card.android:hover {
  border-color: #34d399;
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2);
}

.store-qr-card.ios {
  border-color: rgba(203, 213, 225, 0.35);
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.14) 0%, rgba(148, 163, 184, 0.04) 100%);
}

.store-qr-card.ios:hover {
  border-color: #94a3b8;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.15);
}

.store-qr-card-head {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.store-qr-card-head svg { width: 20px; height: 20px; }

.store-qr-card.android .store-qr-card-head { color: #6ee7b7; }
.store-qr-card.android .store-qr-card-head svg { color: #34d399; }

.store-qr-card.ios .store-qr-card-head { color: #f1f5f9; }
.store-qr-card.ios .store-qr-card-head svg { color: #e2e8f0; }

.store-qr-card-store {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text2);
}

.store-qr-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.store-qr-card.android:hover .store-qr-card-link {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.store-qr-card.ios:hover .store-qr-card-link {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(203, 213, 225, 0.4);
  color: #f1f5f9;
}

/* QR çerçevesi */
.qr-frame {
  position: relative;
  padding: 14px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 3px solid #e2e8f0;
}

.qr-frame-corners {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 10px;
}

.qr-frame-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-style: solid;
  border-width: 3px;
}

.qr-frame-corners span:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-frame-corners span:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-frame-corners span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-frame-corners span:nth-child(4) { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.store-qr-card.android .qr-frame-corners span { border-color: #059669; }
.store-qr-card.ios .qr-frame-corners span { border-color: #64748b; }

.qr-frame img {
  display: block;
  width: min(260px, 72vw);
  height: min(260px, 72vw);
  border-radius: 8px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.app-qr-hint {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text3);
}

@media (min-width: 768px) {
  .app-qr-intro {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .app-landing-icon {
    width: 112px;
    height: 112px;
    font-size: 3.25rem;
  }

  .app-qr-intro-body { flex: 1; }

  .app-landing-btns { justify-content: flex-start; }

  .app-qr-showcase {
    padding: 2.5rem 2rem 2.75rem;
  }

  .qr-frame img {
    width: 280px;
    height: 280px;
  }
}

@media (min-width: 900px) {
  .app-qr-page-main {
    padding: 2.5rem 2rem 3.5rem;
    gap: 3rem;
  }

  .qr-frame img {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .app-qr-topbar { padding: 1rem 1.15rem; }
  .app-qr-page-main { padding: 1.5rem 1.15rem 2.5rem; }
  .app-qr-showcase { padding: 1.5rem 1rem 1.75rem; }
  .store-qr-card { padding: 1.35rem 1rem 1.25rem; }
}
