/* Knight Rehber – Ana sayfa, yüksek görüntü kalitesi */

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

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  color: #f0e6d8;
  background: #0c0a0e;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(80, 40, 120, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(180, 120, 40, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(100, 60, 140, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, #0c0a0e 0%, #141118 40%, #0e0c12 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Tam sayfa dökülen yapraklar – container */
.leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 24px;
  height: 14px;
  background: linear-gradient(135deg, #e8c85a 0%, #c49b3a 50%, #8b6919 100%);
  border-radius: 50% 50% 45% 55%;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  animation: fall linear infinite;
  will-change: transform;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(-15deg) scale(0.8);
    opacity: 0;
  }
  5% { opacity: 0.9; }
  100% {
    transform: translateY(110vh) rotate(400deg) scale(1);
    opacity: 0.85;
  }
}

/* İçerik – yaprakların üstünde */
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.5rem 3rem;
}

.title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #f4e4b8;
  text-shadow: 0 0 30px rgba(244, 228, 184, 0.4), 0 2px 20px rgba(0,0,0,0.6);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  color: rgba(244, 228, 184, 0.75);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

/* QR kartları – tıklanabilir, parlayan çerçeve */
.download {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20,18,28,0.7) 0%, rgba(12,10,18,0.85) 100%);
  border: 2px solid rgba(228, 200, 90, 0.4);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 200, 90, 0.7);
}

.card img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.card .label {
  font-weight: 700;
  font-size: 1.15rem;
  color: #e4c85a;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

.card .sublabel {
  font-size: 0.85rem;
  color: rgba(244, 228, 184, 0.7);
  margin-top: 0.2rem;
}

/* Tıklanabilir yerlerde küçük çerçeve + parıltı */
.glow {
  position: relative;
  animation: glow 2.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(228, 200, 90, 0.35), 0 0 16px rgba(228, 200, 90, 0.12);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(228, 200, 90, 0.6), 0 0 28px rgba(228, 200, 90, 0.28);
  }
}

/* Sosyal linkler – tıklanabilir, parlayan çerçeve */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social a {
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  background: rgba(20, 18, 28, 0.8);
  border: 1px solid rgba(228, 200, 90, 0.35);
  color: #e4c85a;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social a:hover {
  background: rgba(40, 35, 50, 0.9);
  border-color: rgba(228, 200, 90, 0.6);
  color: #f4e4b8;
}

/* Uygulama içi sekmeler – özellik blokları */
.features {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
}

.features-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f4e4b8;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(244, 228, 184, 0.3);
}

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20,18,28,0.75) 0%, rgba(12,10,18,0.85) 100%);
  border: 2px solid rgba(228, 200, 90, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(228, 200, 90, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-color: rgba(228, 200, 90, 0.65);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 32px rgba(228, 200, 90, 0.15);
}

.feature.reverse {
  flex-direction: row-reverse;
}

.feature-phone {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #1a1820 0%, #0e0c12 100%);
  border: 2px solid rgba(228, 200, 90, 0.3);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.phone-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px 22px 0 0;
  background: #1a1820;
  display: block;
}

.phone-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #e4c85a;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.04em;
}

.feature-text {
  flex: 1;
  min-width: 240px;
}

.feature-icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-text h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e4c85a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.feature-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 228, 184, 0.85);
}

@media (max-width: 640px) {
  .feature,
  .feature.reverse {
    flex-direction: column;
  }
  .feature-phone {
    width: 100%;
    max-width: 220px;
  }
  .phone-img {
    height: 280px;
  }
}

/* Footer */
.footer {
  font-size: 0.85rem;
  color: rgba(244, 228, 184, 0.5);
}

.footer a {
  color: rgba(228, 200, 90, 0.9);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer a:hover {
  color: #f4e4b8;
  text-shadow: 0 0 12px rgba(228, 200, 90, 0.4);
}

.footer span { margin: 0 0.5rem; }

/* Görüntü kalitesi – net */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .download { gap: 1.5rem; }
  .card img { width: 160px; height: 160px; }
  .title { letter-spacing: 0.12em; }
}
