:root {
  --bg: #070a0e;
  --bg-elevated: #0f1419;
  --surface: #151b24;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent-gold: #d4af37;
  --accent-gold-dim: rgba(212, 175, 55, 0.35);
  --accent-green: #34c759;
  --accent-green-dim: rgba(52, 199, 89, 0.25);
  --radius: 16px;
  --font-display: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --device-max: min(280px, 78vw);
  --device-max-lg: min(320px, 85vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  position: relative;
}

/* Kozmik / yıldız alanı — uygulama Yıldız görünümü ile uyumlu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(45, 90, 120, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(80, 40, 100, 0.12), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(30, 80, 60, 0.15), transparent 50%);
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 10% 90%, rgba(255, 255, 255, 0.2), transparent);
  background-size: 100% 100%;
  opacity: 0.45;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
  position: relative;
  z-index: 1;
}

.wrap--narrow {
  max-width: 720px;
}

header.site-header {
  text-align: center;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--accent-gold-dim);
  margin-bottom: 2rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}

nav.top-nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

nav.top-nav a:hover {
  color: var(--accent-gold);
}

h1.page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.75rem;
  color: var(--text);
}

h2.section-title {
  text-align: center;
  margin-bottom: 0.25rem;
}

p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.35rem;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #1c1c1e 0%, #000 100%);
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.app-store-btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

/* ——— Telefon çerçevesi (premium bezel) ——— */
.device {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-bezel {
  width: var(--device-max);
  max-width: 100%;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(165deg, rgba(90, 95, 110, 0.55) 0%, rgba(25, 28, 35, 0.95) 38%, #0a0b0d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 12px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.device--lg .device-bezel {
  width: var(--device-max-lg);
}

.device-bezel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.device-caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  max-width: 16rem;
  line-height: 1.4;
}

.device-caption strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

/* Hero: üç telefon birleşik kompozisyon */
.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-cta {
  margin-bottom: 2.5rem;
}

.hero-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem 0.25rem;
  perspective: 1200px;
  padding: 1rem 0;
}

@media (min-width: 900px) {
  .hero-phones {
    gap: 0;
    padding: 2rem 0 3rem;
  }

  .hero-phones .device:nth-child(1) {
    transform: rotate(-8deg) translateY(12px) translateX(8px);
    z-index: 1;
  }

  .hero-phones .device:nth-child(2) {
    transform: scale(1.05) translateY(-8px);
    z-index: 3;
  }

  .hero-phones .device:nth-child(3) {
    transform: rotate(8deg) translateY(12px) translateX(-8px);
    z-index: 1;
  }
}

/* Özellik ızgarası */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 3rem 0;
  align-items: start;
}

.grid-features .device {
  margin: 0 auto;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

@media (max-width: 700px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bento-item p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* Yatay kaydırmalı galeri */
.showcase-strip {
  margin: 3rem 0;
  overflow: hidden;
}

.showcase-strip h2 {
  margin-bottom: 1.25rem;
}

.strip-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strip-scroll .device {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.strip-scroll .device-bezel {
  width: min(240px, 70vw);
}

/* Widget vurgu — geniş */
.spotlight {
  margin: 3rem 0;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(60, 40, 90, 0.25), rgba(20, 30, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.spotlight .device {
  margin: 1.5rem auto 0;
}

footer.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--accent-gold-dim);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* App Store sunum sayfası */
.print-slides {
  max-width: 520px;
  margin: 0 auto;
}

.slide-block {
  margin-bottom: 3.5rem;
  page-break-inside: avoid;
}

.slide-block h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--accent-green);
}

.slide-block .suggestion {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-phones .device {
    transform: none !important;
  }
}
