/* AutoGift & BOGO tanıtım sitesi - tek stil dosyası (ana sayfa + yasal sayfalar).
   Üretici bu dosyayı dil menüsü bağlantı kuralları + şerit stiliyle
   assets/site.1.css adıyla yazar (tools/site.config.mjs › cssFile). */
*, *::before, *::after { box-sizing: border-box; }

/* Görsel olarak gizli ama erişilebilirlik ağacında duran metin. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #17161D;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #5E18EB; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #5E18EB; outline-offset: 3px; border-radius: 6px;
}
img { max-width: 100%; }

/* ------------------------------------------------------------ üst çubuk
   Joykek Shopify uygulama sitelerinde ortak desen (easypdf ile aynı). */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #ECEAF2;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em;
  color: #17161D; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; display: inline-block; object-fit: cover; }
.nav-links { display: flex; gap: 1.35rem; align-items: center; }
.nav-links a { color: #4A4857; font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.nav-links a:hover { color: #5E18EB; }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }

/* Dil menüsü: seçenekler üretici çıktısında gerçek bağlantıdır (/ ve /tr/). */
.lang-dropdown { position: relative; display: inline-block; }
.lang-current {
  background: #ffffff; border: 1px solid #E4E1EC; color: #17161D;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9rem; font-weight: 600; line-height: 1; font-family: inherit; transition: border-color 0.15s;
}
.lang-current:hover { border-color: #C9B8F5; }
.lang-current .flag { width: 22px; height: 22px; }
.lang-current .caret { font-size: 0.65rem; color: #7A7789; margin-left: 0.1rem; }
.lang-menu {
  position: absolute; top: calc(100% + 0.45rem); right: 0;
  background: #ffffff; border: 1px solid #E4E1EC; border-radius: 14px;
  box-shadow: 0 10px 25px -8px rgba(23, 22, 29, 0.18);
  min-width: 186px; padding: 0.35rem; z-index: 60;
}
.lang-menu[hidden] { display: none; }
.lang-menu button, .lang-menu a {
  width: 100%; background: transparent; border: 0; color: #17161D;
  padding: 0.5rem 0.7rem; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.95rem; font-weight: 500; text-align: left; font-family: inherit;
}
.lang-menu button:hover, .lang-menu a:hover { background: #F5F3FA; }
.lang-menu button.active, .lang-menu a.active { background: #F1EBFE; color: #17161D; font-weight: 800; }
.lang-menu .flag { width: 26px; height: 26px; }

/* Dairesel bayrak - emoji bayrak Windows/Chrome'da çizilmez, bu yüzden vektör. */
.flag {
  display: block; flex: 0 0 auto; border-radius: 50%;
  clip-path: circle(50%);
  box-shadow: 0 0 0 1px rgba(23, 22, 29, 0.10) inset, 0 1px 3px rgba(23, 22, 29, 0.18);
}

/* ------------------------------------------------------------ düğmeler */
.btn {
  display: inline-block; padding: 0.58rem 1.15rem;
  background: #17161D; color: #ffffff; border-radius: 9px;
  font-weight: 600; font-size: 0.93rem; text-decoration: none; transition: background 0.15s;
}
.btn:hover { background: #26242F; text-decoration: none; color: #ffffff; }
.btn-primary, a.btn-primary, a.btn-primary:link, a.btn-primary:visited { background: #5E18EB; color: #ffffff; }
.btn-primary:hover, a.btn-primary:hover { background: #4B11C0; color: #ffffff; }
.btn-outline, a.btn-outline, a.btn-outline:link, a.btn-outline:visited {
  background: #ffffff; color: #17161D; border: 1px solid #E4E1EC;
}
.btn-outline:hover, a.btn-outline:hover { background: #FAF9FD; color: #17161D; border-color: #D6D1E4; }

/* ------------------------------------------------------------ hero + video sahnesi
   Video hero'nun İÇİNDE: metin ve düğmelerin hemen altında, mor bir parıltının
   üstünde duran çerçeve. Açılışta yalnız kendi posterimiz (dile göre) yüklenir;
   oynatıcı tıklanınca kurulur (assets/site.js). */
.hero {
  padding: 4.75rem 1.25rem 0; text-align: center;
  background: radial-gradient(ellipse at top, #F2EBFF 0%, #ffffff 62%);
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.badge {
  display: inline-block; padding: 0.32rem 0.9rem;
  background: #F1EBFE; color: #4B11C0; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 1.05rem; font-weight: 800;
}
.hero p.lead { font-size: 1.15rem; color: #4A4857; margin: 0 0 1.9rem; line-height: 1.55; }
.hero-ctas { display: inline-flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.hero-note { margin: 1.15rem 0 0; font-size: 0.86rem; color: #7A7789; }

.hero-stage { position: relative; max-width: 1040px; margin: 2.75rem auto 0; padding-bottom: 3.75rem; scroll-margin-top: 5.5rem; }
.hero-stage::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 14%; height: 78%;
  background: radial-gradient(closest-side, rgba(94, 24, 235, 0.22), rgba(94, 24, 235, 0) 72%);
  filter: blur(28px); z-index: 0; pointer-events: none;
}
.video-wrap {
  position: relative; z-index: 1; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid #E4E1EC;
  box-shadow: 0 34px 80px -28px rgba(94, 24, 235, 0.42), 0 10px 28px -14px rgba(23, 22, 29, 0.22);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; display: block; width: 100%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; font: inherit;
}
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
/* Karartma düğmenin KENDİ pseudo'su - tıklamayı yemez. */
.video-play::after {
  content: ""; position: absolute; inset: 0; transition: background 0.18s;
  background: linear-gradient(180deg, rgba(23,22,29,0), rgba(23,22,29,0.16));
}
.video-play:hover::after { background: linear-gradient(180deg, rgba(23,22,29,0.04), rgba(23,22,29,0.26)); }
.video-play:hover img { transform: scale(1.02); }
.video-play .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 84px; height: 84px; border-radius: 50%; background: #5E18EB;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(94, 24, 235, 0.6);
  transition: transform 0.18s, background 0.18s;
}
.video-play .play::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(94, 24, 235, 0.4);
  animation: ag-nabiz 2.2s ease-out infinite;
}
@keyframes ag-nabiz {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-play:hover .play { transform: translate(-50%, -50%) scale(1.06); background: #4B11C0; }
.video-play .play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-play:focus-visible { outline: 3px solid #5E18EB; outline-offset: 3px; }
.video-len {
  position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 2; color: #fff;
  background: rgba(23,22,29,0.78); border-radius: 6px; padding: 0.16rem 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
}
.video-cap { position: relative; z-index: 1; color: #7A7789; font-size: 0.9rem; margin: 1rem auto 0; max-width: 720px; }
@media (prefers-reduced-motion: reduce) {
  .video-play::after, .video-play .play, .video-play img { transition: none; }
  .video-play .play::before { animation: none; }
  .video-play:hover .play { transform: translate(-50%, -50%); }
  .video-play:hover img { transform: none; }
}

/* ------------------------------------------------------------ bölümler */
section { padding: 4.2rem 1.25rem; }
.container { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  color: #4B11C0; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.09em;
  text-transform: uppercase; margin-bottom: 0.65rem;
}
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); letter-spacing: -0.02em; margin: 0 0 0.75rem; font-weight: 800; }
.section-lead { color: #4A4857; font-size: 1.02rem; max-width: 660px; margin-bottom: 2.4rem; }

/* Vitrin görselleri */
.shots { display: flex; flex-direction: column; gap: 2.4rem; margin-top: 2.2rem; }
.shot figure { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 16px;
  box-shadow: 0 25px 50px -14px rgba(94,24,235,0.20); border: 1px solid #ECEAF2;
}
.shot figcaption { margin-top: 0.9rem; color: #4A4857; font-size: 0.98rem; }
.shot figcaption b { color: #17161D; display: block; font-size: 1.05rem; margin-bottom: 0.15rem; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.step { background: #fff; border: 1px solid #ECEAF2; border-radius: 14px; padding: 1.5rem; }
.step-n {
  width: 30px; height: 30px; border-radius: 8px; background: #F1EBFE; color: #4B11C0;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 0.9rem; margin-bottom: 0.85rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; color: #4A4857; font-size: 0.95rem; }

/* Kartlar */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid #ECEAF2; border-radius: 14px; padding: 1.5rem; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.03rem; }
.card p { margin: 0; color: #4A4857; font-size: 0.94rem; }
.card .dot {
  width: 34px; height: 34px; border-radius: 10px; background: #F1EBFE; margin-bottom: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.card .dot svg { width: 18px; height: 18px; stroke: #5E18EB; fill: none; stroke-width: 1.7; }

/* Fiyatlandırma */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; align-items: start; }
.plan { background: #fff; border: 1px solid #ECEAF2; border-radius: 16px; padding: 1.7rem; }
.plan.featured { border-color: #C9B8F5; box-shadow: 0 20px 40px -22px rgba(94,24,235,0.35); }
.plan .tag {
  display: inline-block; background: #F1EBFE; color: #4B11C0; border-radius: 999px;
  padding: 0.2rem 0.7rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 0.8rem;
}
.plan h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.plan .sub { color: #7A7789; font-size: 0.9rem; margin: 0 0 1rem; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 0.92rem; font-weight: 500; color: #7A7789; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.plan li { position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem; font-size: 0.94rem; color: #35333F; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border-radius: 3px; background: #F8A21B;
}
.plan-note { color: #7A7789; font-size: 0.85rem; margin-top: 2rem; }

/* SSS */
details { border-bottom: 1px solid #ECEAF2; padding: 1.05rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: #7A7789; font-weight: 400; }
details[open] summary::after { content: "−"; }
details div { color: #4A4857; padding-top: 0.6rem; font-size: 0.97rem; }

/* Alt bilgi */
footer { border-top: 1px solid #ECEAF2; padding: 2.2rem 1.25rem; }
.footer-inner {
  max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between; color: #7A7789; font-size: 0.9rem;
}
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: #4A4857; }

/* ------------------------------------------------------------ yasal sayfalar */
.prose { max-width: 820px; margin: 0 auto; padding: 2.6rem 1.25rem 4rem; }
.prose h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 0.35rem; }
.prose .updated { color: #7A7789; font-size: 0.9rem; margin: 0 0 2.2rem; }
.prose h2 { font-size: 1.12rem; margin: 2.1rem 0 0.5rem; letter-spacing: -0.01em; }
.prose p, .prose li { color: #35333F; font-size: 0.98rem; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: 0.35rem; }
.prose .box { background: #FAF9FD; border: 1px solid #ECEAF2; border-radius: 12px; padding: 1rem 1.15rem; margin: 1.2rem 0; }

/* ------------------------------------------------------------ dar ekran
   Türkçe üst bar etiketleri İngilizce'den geniş; 1000px altında bağlantı
   şeridi gizlenir (bölümler sayfa akışında zaten var), düğme ve dil seçici kalır. */
@media (max-width: 1000px) {
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  section { padding: 3.2rem 1.1rem; }
  .hero { padding: 3.4rem 1.1rem 0; }
  .hero-stage { margin-top: 2rem; padding-bottom: 2.6rem; }
  .nav-inner { padding: 0.6rem 0.85rem; gap: 0.4rem; }
  .logo { font-size: 0.98rem; gap: 0.4rem; }
  .nav-right { gap: 0.4rem; }
  .btn { padding: 0.48rem 0.7rem; font-size: 0.82rem; }
  .lang-current { padding: 0.42rem 0.5rem; font-size: 0.82rem; gap: 0.3rem; }
  .video-wrap { border-radius: 12px; }
  .video-play .play { width: 62px; height: 62px; }
  .video-play .play svg { width: 22px; height: 22px; margin-left: 3px; }
  .video-len { right: 0.5rem; bottom: 0.5rem; font-size: 0.74rem; }
  .shots { gap: 1.75rem; }
}
@media (max-width: 480px) {
  /* Logo metni görsel olarak gizlenir, erişilebilirlik ağacında kalır. */
  .logo .logo-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }
  .lang-current .sr-only { position: absolute; }
  .nav-inner { padding: 0.55rem 0.75rem; }
  .btn { padding: 0.46rem 0.6rem; font-size: 0.8rem; }
}

.lang-menu a { text-decoration: none; }

.lang-banner { display:flex; flex-wrap:wrap; gap:.5rem .9rem; align-items:center; justify-content:center; padding:.6rem 1rem; background:#111827; color:#fff; font-size:.92rem; line-height:1.4; }
.lang-banner a { color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.lang-banner button { background:transparent; border:0; color:#fff; font-size:1.25rem; line-height:1; cursor:pointer; padding:0 .25rem; }
.glance { padding-top:0; }
.glance-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; margin:0; }
.glance-grid > div { background:#fff; border:1px solid #E5E7EB; border-radius:12px; padding:1rem 1.15rem; }
.glance-grid dt { font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6B7280; }
.glance-grid dd { margin:.3rem 0 0; color:#111827; font-size:.98rem; line-height:1.5; }
.glance-lead { color:#4B5563; font-size:1.02rem; max-width:720px; margin:0 0 1.4rem; }
.footer-apps { flex-basis:100%; width:100%; margin-top:.75rem; font-size:.85rem; color:#6B7280; text-align:center; }
.footer-apps a { color:inherit; text-decoration:underline; text-underline-offset:2px; margin:0 .3rem; }
.yt-facade { position:absolute; inset:0; background:#000; cursor:pointer; }
.yt-facade img { display:block; width:100%; height:100%; object-fit:cover; }
.yt-facade button { position:absolute; inset:0; margin:auto; width:68px; height:48px; padding:0; border:0; background:transparent; cursor:pointer; filter:drop-shadow(0 4px 12px rgba(0,0,0,.45)); transition:transform .15s; }
.yt-facade:hover button { transform:scale(1.08); }
.yt-facade iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.yt-facade noscript a { position:absolute; left:.75rem; bottom:.6rem; color:#fff; font-size:.85rem; }
