/* ============================================================
   Discord Sorgu Paneli — "Blurple Chat" Theme 2026
   Kimlik: antrasit/kömür zemin, Blurple (#5865F2) vurgu,
   amber detaylar, sohbet arayüzü motifli kartlar.
   ============================================================ */

:root {
  /* Zemin */
  --coal:      #1e1f22;
  --coal-2:    #2b2d31;
  --coal-3:    #313338;
  --panel:     #232428;
  --panel-2:   #2b2d31;
  --raise:     #383a40;

  /* Vurgu */
  --blurple:   #5865f2;
  --blurple-2: #4752c4;
  --blurple-3: #3b45a8;
  --cyan:      #3ba9ec;
  --green:     #23a55a;
  --yellow:    #f0b232;
  --red:       #da373c;
  --pink:      #eb459e;

  /* Metin */
  --ink:       #f2f3f5;
  --ink-2:    #b5bac1;
  --ink-3:     #949ba4;
  --ink-4:     #6d6f78;
  --ink-5:     #4e5058;

  /* Kenarlik */
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(88,101,242,.45);
  --line-3:    rgba(255,255,255,.14);

  /* Efekt */
  --sh-s: 0 1px 3px rgba(0,0,0,.3);
  --sh-m: 0 6px 20px rgba(0,0,0,.35);
  --sh-l: 0 16px 48px rgba(0,0,0,.45);

  --r:    8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --maxw: 1180px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--coal);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Arka plan ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(88,101,242,.16), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(235,69,158,.10), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(59,169,236,.08), transparent 46%);
}
.bg-grid::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 10%, transparent 75%);
}
.bg-glow { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(110px); }
.bg-glow-1 {
  width: 560px; height: 560px; top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(88,101,242,.26), transparent 68%);
}
.bg-glow-2 {
  width: 480px; height: 480px; bottom: -200px; left: -180px;
  background: radial-gradient(circle, rgba(235,69,158,.16), transparent 68%);
}
.bg-glow-3 {
  width: 420px; height: 420px; top: 52%; left: 46%;
  background: radial-gradient(circle, rgba(59,169,236,.12), transparent 70%);
}

.container {
  width: min(var(--maxw), 93%);
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* ==================== HEADER ==================== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30,31,34,.86);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-s);
}
nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--blurple), var(--pink));
  color: #fff; font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(88,101,242,.34);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-weight: 800; font-size: 1.03rem; letter-spacing: -.3px; color: var(--ink);
}
.brand-name span { color: var(--blurple); }
.brand-sub {
  font-size: .64rem; font-weight: 700; letter-spacing: 1.9px;
  text-transform: uppercase; color: var(--ink-4);
}

.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a {
  color: var(--ink-3); text-decoration: none;
  font-size: .85rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r);
  transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-cta {
  background: var(--blurple) !important; color: #fff !important;
  box-shadow: 0 3px 12px rgba(88,101,242,.3);
}
.nav-cta:hover { background: var(--blurple-2) !important; }
.nav-tg {
  background: rgba(255,255,255,.05) !important; color: var(--ink-2) !important;
  border: 1px solid var(--line-3);
}
.nav-tg:hover { background: rgba(255,255,255,.09) !important; color: var(--ink) !important; }

.mobile-toggle {
  display: none; background: none; border: 1px solid var(--line-3);
  color: var(--ink-2); font-size: 1.15rem; cursor: pointer;
  width: 40px; height: 40px; border-radius: var(--r);
}

/* ==================== HERO ==================== */
.hero { padding: 84px 0 60px; text-align: center; position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(88,101,242,.13);
  border: 1px solid rgba(88,101,242,.3);
  font-size: .68rem; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; color: #a8b0f8;
  margin-bottom: 24px;
}
.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  animation: live 2s ease-in-out infinite;
}
@keyframes live { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 800; line-height: 1.07;
  letter-spacing: -1.9px; margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, #a8b0f8 0%, var(--blurple) 45%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: clamp(.98rem, 1.7vw, 1.12rem);
  color: var(--ink-3); max-width: 640px; margin: 0 auto 32px;
}
.hero p strong { color: var(--ink); font-weight: 700; }

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 25px; border-radius: var(--r);
  font-family: var(--font); font-weight: 700; font-size: .92rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .16s, filter .16s, background .16s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary { background: var(--blurple); color: #fff; box-shadow: 0 6px 20px rgba(88,101,242,.28); }
.btn-telegram { background: var(--cyan); color: #fff; box-shadow: 0 6px 20px rgba(59,169,236,.26); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--ink-2); border: 1px solid var(--line-3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--ink); }
.btn-insta {
  background: linear-gradient(120deg, var(--blurple), var(--pink));
  color: #fff; box-shadow: 0 6px 22px rgba(235,69,158,.24);
}

/* ---------- Hero rozetleri ---------- */
.hero-badges {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--r);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  transition: all .16s;
}
.hero-badge i { color: var(--blurple); font-size: .72rem; }
.hero-badge:hover { border-color: var(--line-2); background: rgba(88,101,242,.09); }

/* ==================== STATS ==================== */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 48px;
}
.stat-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 16px; text-align: center;
  box-shadow: var(--sh-s); transition: transform .2s, border-color .2s;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.stat-card strong {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: var(--blurple); margin-bottom: 4px; letter-spacing: -.6px;
}
.stat-card span {
  font-size: .74rem; color: var(--ink-4); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.1px;
}

/* ==================== SECTION ==================== */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title .eyebrow {
  display: inline-block; font-size: .68rem; font-weight: 800;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--blurple); margin-bottom: 11px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 12px;
}
.section-title p { color: var(--ink-3); max-width: 620px; margin: 0 auto; font-size: .97rem; }

/* ==================== KATEGORI ==================== */
.cat-pills {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.cat-pill {
  padding: 8px 17px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink-3); font-size: .82rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .18s;
}
.cat-pill:hover { border-color: var(--line-2); color: var(--ink); }
.cat-pill.active {
  background: var(--blurple); border-color: var(--blurple);
  color: #fff; font-weight: 700;
}

/* ==================== HIZMET KARTLARI ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-s);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--sh-m);
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(88,101,242,.10), transparent 60%);
  opacity: 0; transition: opacity .28s; pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  display: grid; place-items: center; font-size: 1.2rem;
  margin-bottom: 18px;
  background: rgba(88,101,242,.12);
  border: 1px solid rgba(88,101,242,.24);
  color: #a8b0f8;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 9px; }
.service-card p { font-size: .86rem; color: var(--ink-3); margin-bottom: 22px; flex: 1; }
.service-card .btn {
  width: 100%; padding: 11px; font-size: .85rem;
  background: rgba(255,255,255,.05); color: var(--ink-2);
  border: 1px solid var(--line-3); border-radius: var(--r);
}
.service-card .btn:hover { background: var(--blurple); color: #fff; border-color: var(--blurple); }

.tag {
  position: absolute; top: 16px; right: 16px;
  font-size: .6rem; font-weight: 800; letter-spacing: .9px;
  padding: 4px 9px; border-radius: 4px;
  background: rgba(255,255,255,.08); color: var(--ink-3);
}
.tag.free { background: rgba(35,165,90,.18); color: #5bd98a; }
.tag.vip  { background: linear-gradient(120deg, var(--yellow), #d99b1e); color: #2b1f00; }

/* ==================== FEATURES ==================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 25px;
  box-shadow: var(--sh-s); transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature i {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r);
  background: rgba(88,101,242,.12); color: #a8b0f8;
  font-size: 1.05rem; margin-bottom: 15px;
}
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.feature p { font-size: .85rem; color: var(--ink-3); }

/* ==================== ICERIK ==================== */
.content-block {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; margin-bottom: 16px;
  box-shadow: var(--sh-s);
}
.content-block h3 {
  font-size: 1.16rem; font-weight: 700; margin-bottom: 13px;
  color: var(--blurple); display: flex; align-items: center; gap: 10px;
}
.content-block p, .content-block li { font-size: .89rem; color: var(--ink-3); margin-bottom: 9px; }
.content-block ul { padding-left: 20px; }
.content-block li::marker { color: var(--blurple); }
.content-block strong { color: var(--ink); font-weight: 700; }
.content-block code {
  font-family: var(--mono); font-size: .85em;
  background: rgba(88,101,242,.14); color: #a8b0f8;
  padding: 2px 7px; border-radius: 4px;
}
.content-block .faq-q {
  font-weight: 700; color: var(--ink); font-size: .95rem;
  margin: 18px 0 6px; padding-left: 15px;
  border-left: 3px solid var(--blurple);
}
.content-block .faq-a { margin-bottom: 4px; padding-left: 18px; }

/* ==================== NOTICE ==================== */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(240,178,50,.06);
  border: 1px solid rgba(240,178,50,.24);
  border-radius: var(--r-lg); padding: 20px 24px;
}
.notice i { color: var(--yellow); font-size: 1.05rem; margin-top: 3px; }
.notice p { font-size: .87rem; color: var(--ink-3); margin: 0; }
.notice strong { color: var(--ink); }

/* ==================== CTA ==================== */
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, rgba(88,101,242,.16), rgba(235,69,158,.07));
  border: 1px solid rgba(88,101,242,.32);
  border-radius: var(--r-xl);
  padding: 56px 38px; text-align: center;
}
.cta-box h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -.7px; margin-bottom: 12px; }
.cta-box p { color: var(--ink-3); max-width: 520px; margin: 0 auto 26px; }

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 26px;
  background: rgba(27,29,33,.6);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 34px;
}
.footer-brand p { font-size: .86rem; color: var(--ink-3); margin-top: 14px; max-width: 300px; }
.footer-col h4 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: 1.7px;
  color: var(--ink-4); margin-bottom: 14px; font-weight: 800;
}
.footer-col a {
  display: block; color: var(--ink-3); text-decoration: none;
  font-size: .85rem; margin-bottom: 9px; transition: color .16s;
}
.footer-col a:hover { color: #a8b0f8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-4);
}
.seo-links {
  margin-top: 18px; display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; font-size: .72rem;
}
.seo-links a {
  color: var(--ink-4); text-decoration: none;
  padding: 5px 12px; border-radius: var(--r);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: all .16s;
}
.seo-links a:hover { color: #a8b0f8; border-color: var(--line-2); }

/* ==================== TOAST ==================== */
.toast-wrap {
  position: fixed; bottom: 22px; right: 22px; z-index: 9999;
  display: flex; flex-direction: column; gap: 9px;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-2); border: 1px solid var(--line-3);
  border-left: 3px solid var(--green);
  border-radius: var(--r); padding: 13px 18px;
  color: var(--ink); font-size: .86rem; font-weight: 600;
  box-shadow: var(--sh-l); max-width: 340px;
  animation: toastIn .26s cubic-bezier(.21,.8,.35,1);
}
.toast i { color: var(--green); }
.toast.err { border-left-color: var(--red); }
.toast.err i { color: var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==================== MODAL ==================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(10,11,13,.82); backdrop-filter: blur(7px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .24s, visibility .24s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 420px;
  background: var(--panel-2);
  border: 1px solid var(--line-3);
  border-radius: var(--r-xl);
  padding: 32px 26px 26px; text-align: center;
  box-shadow: var(--sh-l);
  transform: translateY(10px) scale(.97); transition: transform .26s cubic-bezier(.21,.8,.35,1);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--blurple), var(--pink));
  display: inline-grid; place-items: center; margin-bottom: 16px;
  color: #fff; font-size: 1.3rem;
}
.modal h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 9px; }
.modal p { font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; }
.modal p strong { color: var(--ink); }
.modal-actions { display: flex; flex-direction: column; gap: 9px; }
.modal-actions .btn { width: 100%; }
.btn-ghost-line { background: rgba(255,255,255,.05); color: var(--ink-3); border: 1px solid var(--line-3); }
.btn-ghost-line:hover { background: rgba(255,255,255,.1); color: var(--ink); }
body.modal-lock { overflow: hidden; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(30,31,34,.98); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 14px; gap: 4px;
    transform: translateY(-160%); transition: transform .26s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .mobile-toggle { display: grid; place-items: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { padding-top: 62px; }
  .cta-box { padding: 42px 22px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 7px; text-align: center; }
  .toast-wrap { left: 14px; right: 14px; bottom: 14px; }
  .toast { max-width: 100%; }
  .hero h1 { letter-spacing: -1.1px; }
  .service-card { padding: 22px 18px 20px; }
}
