/* THE VIRAL — sade, koyu, neon vurgulu */

:root {
  --bg: #0a0a0f;
  --panel: #12121a;
  --border: #23232f;
  --text: #f2f2f7;
  --muted: #8a8a99;
  --accent: #ff2d78;
  --accent-2: #22d3ee;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Butonlar ---------- */

.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #ff5c3d);
  box-shadow: 0 8px 30px rgba(255, 45, 120, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 45, 120, 0.55); }

.btn-ghost {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover { border-color: var(--accent-2); background: rgba(34, 211, 238, 0.06); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 26px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.logo em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  color: var(--accent);
  animation: blink 1.6s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--text); }

.slot-counter {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--accent-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #ff5c3d);
  transition: transform 0.2s ease;
}

.header-cta:hover { transform: scale(1.05); }

@media (max-width: 1000px) { .main-nav { display: none; } }

/* ---------- Hero ---------- */

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 84px 24px 56px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  background:
    radial-gradient(600px 280px at 30% 0%, rgba(255, 45, 120, 0.14), transparent 70%),
    radial-gradient(600px 280px at 70% 0%, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-sub {
  position: relative;
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  position: relative;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stats {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Vitrin başlığı ---------- */

.vitrin-head {
  max-width: 1600px;
  margin: 0 auto;
  padding: 30px 24px 14px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.vitrin-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em; }
.vitrin-head p { color: var(--muted); font-size: 0.82rem; }

/* ---------- Masaüstü grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  padding: 5px;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 1280px) { .grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 820px)  { .grid { grid-template-columns: repeat(5, 1fr); } }

.cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cell:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: 0 0 0 2px var(--accent), 0 12px 40px rgba(255, 45, 120, 0.35);
}

.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cell.playing video { opacity: 1; }

.slot-no {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.demo-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0a0a0f;
  background: var(--accent-2);
  padding: 2px 6px;
  border-radius: 4px;
}

.cell-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px 8px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cell:hover .cell-info { opacity: 1; transform: translateY(0); }

.cell-info .name {
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cell-info .price {
  font-size: 0.66rem;
  color: var(--accent-2);
  font-weight: 700;
}

/* Boş (kiralık) slot */
.cell.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.62rem;
  text-align: center;
}

.cell.empty:hover { box-shadow: 0 0 0 2px var(--accent-2); }

/* ---------- İçerik bölümleri ---------- */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 8px;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-sub { margin-top: 8px; color: var(--muted); font-size: 0.88rem; }

/* Adımlar */

.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

.step {
  padding: 26px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 900;
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 14px;
}

.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

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

/* Özellikler */

.features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.feature {
  padding: 26px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover { border-color: var(--accent); transform: translateY(-3px); }

.feature-ico {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--accent-2);
}

.feature h3 { font-size: 1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

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

/* Fiyat planları */

.plans {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  text-align: left;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(255, 45, 120, 0.15);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #ff5c3d);
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 { font-size: 0.95rem; letter-spacing: 0.05em; color: var(--muted); }

.plan-price {
  margin: 12px 0 18px;
  font-size: 2rem;
  font-weight: 900;
}

.plan-price span { font-size: 0.8rem; font-weight: 600; color: var(--muted); }

.plan ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.plan li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 6px 0 6px 22px;
  position: relative;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 800;
}

.plan .btn-primary, .plan .btn-ghost { text-align: center; }

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

/* SSS */

.faq {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: left;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* CTA bandı */

.cta-band {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 56px 24px;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(255, 45, 120, 0.18), transparent 70%),
    var(--panel);
  border: 1px solid var(--border);
}

.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 900; }
.cta-band p { margin: 10px 0 26px; color: var(--muted); font-size: 0.9rem; }

/* Reveal animasyonu */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobil feed ---------- */

.feed { display: none; }

@media (max-width: 640px) {
  .grid, .hero, .vitrin-head, .section, .cta-band, .site-footer { display: none; }
  .header-cta { display: none; }

  .site-header {
    position: fixed;
    left: 0; right: 0;
    background: linear-gradient(rgba(10,10,15,0.9), transparent);
    border-bottom: none;
    backdrop-filter: none;
  }

  .feed {
    display: block;
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
  }
  .feed::-webkit-scrollbar { display: none; }

  .feed-card {
    position: relative;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: var(--panel);
  }

  .feed-card img,
  .feed-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .feed-card video {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .feed-card.playing video { opacity: 1; }

  .feed-demo {
    top: auto;
    bottom: 45%;
    right: 16px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .feed-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 90px 20px calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  }

  .feed-info .slot-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(255, 45, 120, 0.12);
    border: 1px solid rgba(255, 45, 120, 0.4);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
  }

  .feed-info .name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .feed-info .price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-2);
    margin-bottom: 16px;
  }

  .buy-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(90deg, var(--accent), #ff5c3d);
    box-shadow: 0 8px 30px rgba(255, 45, 120, 0.45);
  }

  .swipe-hint {
    position: absolute;
    right: 16px;
    bottom: 40%;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
    animation: floaty 2s ease-in-out infinite;
  }

  @keyframes floaty { 50% { transform: translateY(-8px); } }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--border);
  padding: 48px 26px 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo { font-size: 1rem; margin-bottom: 12px; }
.footer-brand p { line-height: 1.6; }

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-col h4 {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-2); }

.footer-copy {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
}

@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
