/* ViralPix — tanıtım sitesi ve yasal sayfalar için ortak stil */
:root {
  --bg: #07051A;
  --bg-2: #0E0A2B;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.10);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --magenta: #FF3DF5;
  --violet: #8B3DFF;
  --blue: #3D6BFF;
  --cyan: #3DE0FF;
  --yellow: #FFE94D;
  --gold-1: #FFE08A;
  --gold-2: #FFB23F;
  --grad: linear-gradient(90deg, var(--magenta), var(--violet), var(--blue));
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--magenta); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Arka plan: neon ışık lekeleri + piksel tuvali */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 10% 0%, rgba(255, 61, 245, 0.22), transparent 70%),
    radial-gradient(45vmax 45vmax at 95% 15%, rgba(139, 61, 255, 0.24), transparent 70%),
    radial-gradient(50vmax 50vmax at 40% 100%, rgba(61, 107, 255, 0.18), transparent 70%),
    var(--bg);
}
#pixels { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* Üst menü */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 5, 26, 0.6);
  border-bottom: 1px solid var(--stroke);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 18px rgba(255, 61, 245, 0.45); }
.brand .glitch { font-size: 24px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.lang {
  display: inline-flex; border: 1px solid var(--stroke); border-radius: 999px; padding: 3px; background: var(--surface);
}
.lang button, .lang a {
  appearance: none; border: 0; background: transparent; color: var(--text-2); cursor: pointer;
  font: 700 13px/1 inherit; padding: 7px 11px; border-radius: 999px; text-decoration: none;
}
.lang .on { background: var(--grad); color: #fff; }

/* Glitch logo yazısı (uygulamadaki ile aynı stil) */
.glitch {
  position: relative; display: inline-block; font-weight: 800; letter-spacing: -0.02em; color: #fff;
  text-shadow: -0.03em -0.01em 0 var(--magenta), 0.03em 0.01em 0 var(--cyan),
               0 0 0.35em rgba(139, 61, 255, 0.85), 0 0 0.8em rgba(255, 61, 245, 0.35);
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
}
.glitch::before { color: var(--cyan); clip-path: inset(18% 0 70% 0); transform: translateX(-0.06em); z-index: -1; }
.glitch::after { color: var(--yellow); clip-path: inset(62% 0 25% 0); transform: translateX(0.07em); z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  .glitch::before { animation: slice-a 4.5s infinite steps(1); }
  .glitch::after { animation: slice-b 4.5s infinite steps(1); }
}
@keyframes slice-a {
  0%, 86%, 100% { clip-path: inset(18% 0 70% 0); transform: translateX(-0.06em); }
  88% { clip-path: inset(40% 0 44% 0); transform: translateX(0.12em); }
  90% { clip-path: inset(8% 0 82% 0); transform: translateX(-0.14em); }
  92% { clip-path: inset(70% 0 18% 0); transform: translateX(0.08em); }
}
@keyframes slice-b {
  0%, 86%, 100% { clip-path: inset(62% 0 25% 0); transform: translateX(0.07em); }
  88% { clip-path: inset(20% 0 66% 0); transform: translateX(-0.13em); }
  90% { clip-path: inset(80% 0 6% 0); transform: translateX(0.15em); }
  92% { clip-path: inset(35% 0 52% 0); transform: translateX(-0.09em); }
}

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px/1 inherit; text-decoration: none; color: #fff; transition: transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); box-shadow: 0 10px 30px rgba(255, 61, 245, 0.4), inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 61, 245, 0.55), inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-store { background: #fff; color: #000; }
.btn-store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.1; }
.btn-store span { text-align: left; line-height: 1.15; }
.btn-store svg { width: 24px; height: 24px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--stroke); font-size: 14px; font-weight: 700; color: var(--text-2);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -0.03em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--text-2); max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* Telefon çerçevesi */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  position: relative; width: 290px; aspect-ratio: 1206 / 2622; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #2a2540, #0b0920);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.12), 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(139, 61, 255, .35);
  z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.float-card {
  position: absolute; width: 132px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18);
  z-index: 1;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card.a { left: 2%; top: 8%; transform: rotate(-12deg); }
.float-card.b { right: 0; top: 18%; transform: rotate(10deg); z-index: 3; }
.float-card.c { left: 6%; bottom: 6%; transform: rotate(8deg); z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 6s ease-in-out infinite; }
  .float-card.b { animation-delay: -2s; }
  .float-card.c { animation-delay: -4s; }
}
@keyframes bob { 50% { translate: 0 -12px; } }

/* Kayan örnek şeridi */
.marquee { padding: 40px 0 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .row { display: flex; gap: 16px; width: max-content; margin-bottom: 16px; }
.marquee figure { margin: 0; width: 180px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--stroke); flex: none; background: var(--surface); }
.marquee img { width: 100%; height: 100%; object-fit: cover; }
.marquee figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 14px; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
@media (prefers-reduced-motion: no-preference) {
  .marquee .row { animation: scroll 70s linear infinite; }
  .marquee .row.rev { animation-direction: reverse; }
  .marquee:hover .row { animation-play-state: paused; }
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Bölümler */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; margin: 14px 0 12px; letter-spacing: -0.02em; }
.section-head p { color: var(--text-2); margin: 0; font-size: 18px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }

.card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* Nasıl çalışır */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; overflow: hidden; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; right: 18px; top: 4px; font-size: 96px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .22;
}
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad); box-shadow: 0 8px 24px rgba(255, 61, 245, .35);
}
.icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step h3, .feature h3 { margin: 0 0 8px; font-size: 21px; }
.step p, .feature p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Kategoriler */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px solid var(--stroke); transition: transform .3s;
}
.cat:hover { transform: translateY(-4px); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.06); }
.cat div {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.05));
}
.cat strong { font-size: 24px; }
.cat span { color: var(--text-2); font-size: 15px; }

/* Ekranlar */
.screens { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.screens .phone { width: 250px; }
.screens figure { margin: 0; text-align: center; }
.screens figcaption { margin-top: 18px; color: var(--text-2); font-weight: 600; }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Fiyatlar */
.plans { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan h3 { margin: 0 0 4px; font-size: 24px; }
.plan .price { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price small { font-size: 16px; color: var(--text-3); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 34px; color: var(--text-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
}
.plan li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.plan.pro { position: relative; border: 1px solid transparent; background:
  linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; box-shadow: 0 20px 60px rgba(139, 61, 255, .3); }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color: #1a1200;
  background: linear-gradient(var(--gold-1), var(--gold-2));
}
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.tier { padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--stroke); text-align: center; }
.tier b { display: block; font-size: 20px; }
.tier span { font-size: 13px; color: var(--text-3); }
.tier.best { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta) inset; }
.fine { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 18px; }

/* SSS */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px; padding: 0 22px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--magenta); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); }

/* Kapanış çağrısı */
.final { text-align: center; }
.final .card { padding: 64px 28px; background:
  radial-gradient(60% 120% at 50% 0%, rgba(255, 61, 245, .25), transparent 70%), var(--surface); }
.final h2 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; line-height: 1.05; }
.final p { color: var(--text-2); margin: 0 auto 30px; max-width: 520px; }

/* Alt bilgi */
footer { border-top: 1px solid var(--stroke); padding: 40px 0 56px; color: var(--text-3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: #fff; }

/* Görünür olunca beliren öğeler */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Yasal sayfalar */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 10px 0 8px; letter-spacing: -0.02em; }
.legal .meta { color: var(--text-3); margin: 0 0 36px; font-size: 15px; }
.legal h2 { font-size: 23px; margin: 44px 0 10px; padding-top: 8px; scroll-margin-top: 84px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--cyan); }
.legal .summary { border-left: 3px solid var(--magenta); margin-bottom: 28px; }
.legal .summary p { margin: 0; }
.legal .summary ul { margin: 10px 0 0; }
.toc { display: grid; gap: 6px; padding: 22px 26px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: #fff; }
/* Uygulama içi web görünümünde menü ve alt bilgi gizlenir (?app=1) */
.in-app .nav, .in-app footer, .in-app .aurora, .in-app #pixels { display: none; }
.in-app .legal { padding-top: 24px; }

/* Duyarlı düzen */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .stage { min-height: 560px; }
  .steps, .features, .cats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .steps, .features, .cats { grid-template-columns: 1fr; }
  .phone { width: 230px; border-radius: 40px; padding: 9px; }
  .phone img { border-radius: 32px; }
  .float-card { width: 92px; border-radius: 14px; }
  .float-card.a { left: -2%; }
  .float-card.b { right: -3%; }
  .float-card.c { left: 0; }
  .stage { min-height: 480px; }
  .screens .phone { width: 220px; }
  .marquee figure { width: 140px; }
  .brand .glitch { font-size: 21px; }
  .tiers { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
