/* ==========================================================================
   Körfez Mobil Rehberi — QR Quick Download Portal
   Theme: Mobile-first, zero-distraction app store redirection card
   ========================================================================== */

:root {
  --bg-deep: #060911;
  --card-bg: rgba(17, 24, 39, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);

  --primary-cyan: #00b4d8;
  --primary-blue: #0077b6;
  --primary-glow: rgba(0, 180, 216, 0.35);

  --accent-gold: #f59e0b;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-light);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background ambient light */
.ambient-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, rgba(0, 119, 182, 0.1) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Card Container */
.wrapper {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 180, 216, 0.12);
}

/* App Icon */
.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.app-icon {
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  display: block;
  object-fit: cover;
}

.icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  border: 2px solid rgba(0, 180, 216, 0.4);
  pointer-events: none;
}

/* Titles */
.app-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.app-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  padding: 0 8px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  margin-bottom: 22px;
}

.stars {
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.badge-text {
  color: var(--text-muted);
  font-weight: 600;
}

/* Buttons Group */
.buttons-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-store:active {
  transform: scale(0.98);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.btn-text .sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-text .main {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.btn-arrow {
  color: var(--text-dim);
  transition: transform 0.2s;
}

.btn-store:hover .btn-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

/* Highlighted (Device Match) Button */
.btn-store.highlighted {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(0, 119, 182, 0.35));
  border-color: rgba(0, 180, 216, 0.6);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
  order: -1; /* Place on top! */
}

.btn-store.highlighted .btn-text .main {
  color: #90e0ef;
}

.btn-store.highlighted .btn-arrow {
  color: #90e0ef;
}

/* Android specific highlight */
.btn-android.highlighted {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-android.highlighted .btn-text .main {
  color: #6ee7b7;
}

.btn-android.highlighted .btn-arrow {
  color: #6ee7b7;
}

/* Features Pill */
.features-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 20px;
}

.features-pill .dot {
  color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.card-footer a {
  color: var(--primary-cyan);
  text-decoration: none;
}

.card-footer a:hover {
  text-decoration: underline;
}

/* Privacy Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99;
}

.modal.active {
  display: flex;
}

.modal-card {
  background: #0f172a;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.1rem;
  color: #ffffff;
}

.modal-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
