/* ============================================================
   Tapdı — Public stylesheet
   Modern, gradient-based, mobile-first
   ============================================================ */

:root {
  --c-bg: #0b0d1a;
  --c-bg-2: #11142a;
  --c-surface: #171a35;
  --c-surface-2: #1f2347;
  --c-text: #f3f5ff;
  --c-text-dim: #a4a9c9;
  --c-text-muted: #6b7099;
  --c-border: rgba(255,255,255,0.08);
  --c-border-strong: rgba(255,255,255,0.16);

  --c-primary: #7c5cff;
  --c-primary-2: #00d4ff;
  --c-accent: #ff5d8f;
  --c-success: #2bd9a1;
  --c-warning: #ffb84d;
  --c-danger:  #ff4d6d;

  --grad-brand: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  --grad-warm:  linear-gradient(135deg, #ff5d8f 0%, #ffb84d 100%);
  --grad-mesh: radial-gradient(at 10% 0%, rgba(124,92,255,0.35) 0px, transparent 50%),
               radial-gradient(at 90% 10%, rgba(0,212,255,0.28) 0px, transparent 50%),
               radial-gradient(at 50% 100%, rgba(255,93,143,0.22) 0px, transparent 50%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow:    0 10px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.5);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --c-bg: #f6f7fb;
    --c-bg-2: #ffffff;
    --c-surface: #ffffff;
    --c-surface-2: #f0f2f8;
    --c-text: #0e1130;
    --c-text-dim: #4d537a;
    --c-text-muted: #8a8fb2;
    --c-border: rgba(14,17,48,0.08);
    --c-border-strong: rgba(14,17,48,0.15);
    --shadow:    0 10px 30px rgba(14,17,48,0.08);
    --shadow-lg: 0 24px 60px rgba(14,17,48,0.12);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image: var(--grad-mesh);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary-2); }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11,13,26,0.65);
  border-bottom: 1px solid var(--c-border);
}
@media (prefers-color-scheme: light) {
  .site-header { background: rgba(255,255,255,0.7); }
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(124,92,255,0.5);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo span.dot { color: var(--c-primary-2); }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a {
  padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: 14px;
  color: var(--c-text-dim);
}
.nav a:hover { background: var(--c-surface); color: var(--c-text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .15s ease; text-decoration: none;
}
.btn-primary {
  background: var(--grad-brand); color: white;
  box-shadow: 0 6px 22px rgba(124,92,255,0.45);
}
.btn-primary:hover { transform: translateY(-1px); color: white; box-shadow: 0 10px 30px rgba(124,92,255,0.6); }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-border-strong); }
.btn-ghost:hover { background: var(--c-surface); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #ffffff 0%, #b8baf0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-color-scheme: light) {
  .hero h1 { background: linear-gradient(180deg, #0e1130 0%, #555a8a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--c-text-dim);
  max-width: 720px;
  margin: 0 auto 36px;
}
.search-box {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.search-box input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-size: 17px; color: var(--c-text);
  padding: 14px 16px;
}
.search-box input::placeholder { color: var(--c-text-muted); }
.search-box .btn { white-space: nowrap; }

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 22px;
}
.pill {
  padding: 6px 14px; border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 13px; color: var(--c-text-dim);
  cursor: pointer; transition: all .15s;
}
.pill:hover { border-color: var(--c-primary); color: var(--c-text); }

/* ===== Section ===== */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--c-text-dim); margin: 0; }

/* ===== Categories grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s ease;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
  box-shadow: var(--shadow);
}
.cat-card .icon {
  font-size: 36px; line-height: 1;
}
.cat-card .name {
  font-size: 14px; font-weight: 600; color: var(--c-text);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--grad-brand); opacity: 0.15; filter: blur(20px);
}
.step .n {
  font-size: 14px; font-weight: 700; color: var(--c-primary-2);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.step h3 { font-size: 22px; margin: 8px 0 10px; }
.step p { color: var(--c-text-dim); margin: 0; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  margin-bottom: 14px; font-size: 22px;
}
.feature h4 { margin: 0 0 8px; font-size: 18px; }
.feature p { color: var(--c-text-dim); margin: 0; font-size: 14px; }

/* ===== Listings preview ===== */
.listings {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.listing-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden;
  transition: all .2s;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.listing-card .img {
  aspect-ratio: 16/10;
  background: var(--c-surface-2);
  background-size: cover; background-position: center;
}
.listing-card .body { padding: 14px; }
.listing-card .price { font-size: 18px; font-weight: 700; color: var(--c-primary-2); }
.listing-card .title { font-size: 14px; color: var(--c-text); margin: 4px 0 8px; line-height: 1.4; }
.listing-card .meta { font-size: 12px; color: var(--c-text-muted); display: flex; justify-content: space-between; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
}
.badge.vip { background: var(--grad-warm); color: white; }
.badge.top { background: var(--c-primary); color: white; }
.badge.new { background: var(--c-success); color: white; }
.badge.stale { background: var(--c-warning); color: #2b1c00; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 40px 0 30px;
  margin-top: 60px;
  color: var(--c-text-muted); font-size: 14px;
}
.site-footer .inner {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px;
}
@media (max-width: 760px) {
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
}
.site-footer h5 { color: var(--c-text); font-size: 14px; margin: 0 0 12px; }
.site-footer a { display: block; padding: 4px 0; color: var(--c-text-dim); }
.site-footer a:hover { color: var(--c-primary-2); }
.copyright { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--c-border); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.muted { color: var(--c-text-dim); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
