:root{
  --text:#0f172a;
  --sub:#475569;
  --bg:#f6f7ff;

  --card-bg:rgba(255,255,255,0.65);
  --card-border:rgba(255,255,255,0.42);
  --shadow:0 6px 26px rgba(0,0,0,0.06);

  --indigo:#6366f1;
  --indigo-soft:#eef2ff;
  --blue-soft:#edf5ff;

  --green:#16a34a;
  --red:#dc2626;
}

/* ===================== WRAPPER & GLOBAL ===================== */

.tg-wrapper{
  max-width:880px;
  margin:0 auto;
  padding:clamp(16px,4vw,24px) clamp(14px,4vw,20px) 64px;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--text);
}

/* Sadece rehber alanı içinde box-sizing kontrolü */
.tg-wrapper *,
.tg-wrapper *::before,
.tg-wrapper *::after{
  box-sizing:border-box;
}

/* Görseller & pre kodlar taşmasın */
.tg-wrapper img,
.tg-wrapper pre{
  max-width:100%;
  height:auto;
}

/* ===================== SOFT GLASS HERO ===================== */

.tg-hero-card{
  width:100%;
  max-width:860px;
  margin:0 auto 22px auto;
  padding:clamp(18px,3.2vw,26px);

  background:rgba(255,255,255,0.45);
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);

  border:2px solid rgba(255,255,255,0.35);
  border-radius:22px;

  box-shadow:0 16px 46px rgba(99,102,241,0.12);

  text-align:center;
  position:relative;
  overflow:hidden;

  transition:all .32s cubic-bezier(.22,.61,.36,1);
}

/* lens glow */
.tg-hero-card::before{
  content:"";
  position:absolute;
  top:-40px;
  left:-30px;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
  filter:blur(40px);
  pointer-events:none;
}

/* hover glow ring — desktop’ta hafif efekt, mobile’da zaten hover yok */
.tg-hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  padding:2px;
  background:linear-gradient(135deg, #818cf8, #a855f7);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .32s;
}

.tg-hero-card:hover{
  transform:scale(1.012);
  box-shadow:0 22px 60px rgba(99,102,241,0.16);
}
.tg-hero-card:hover::after{
  opacity:1;
}

.tg-hero-icon{
  font-size:36px;
  margin-bottom:8px;
  opacity:.9;
}

.tg-hero-title{
  font-size:clamp(20px,3.3vw,24px);
  font-weight:900;
  color:#6366f1;
  margin-bottom:8px;
  line-height:1.25;
}

.tg-hero-desc{
  font-size:14px;
  color:#475569;
  line-height:1.55;
  max-width:640px;
  margin:0 auto;
}

/* Mobile tune */
@media (max-width:600px){
  .tg-hero-card{
    margin-bottom:18px;
    padding:18px 14px;
    border-radius:18px;
    box-shadow:0 12px 32px rgba(99,102,241,0.14);
  }
  .tg-hero-icon{ font-size:30px; }
  .tg-hero-title{ font-size:19px; }
  .tg-hero-desc{ font-size:13px; }
}

/* ===================== KARTLAR (İÇERİK BLOKLARI) ===================== */

.tg-box{
  background:var(--card-bg);
  border:1px solid var(--card-border);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-radius:18px;
  padding:16px 16px 18px;
  box-shadow:var(--shadow);
  margin-bottom:16px;
}

/* BÖLÜM BAŞLIĞI VURGUSU */
.tg-box h2{
  font-size:16px;
  font-weight:800;
  margin-bottom:10px;
  color:var(--indigo);
  display:flex;
  align-items:center;
  gap:8px;
  position:relative;
  padding-left:10px;
}

.tg-box h2::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#6366f1,#8b5cf6);
  opacity:.85;
}

/* Alt başlıklar */
.tg-box h3{
  font-size:14.5px;
  font-weight:700;
  margin:14px 0 6px;
  color:#0f172a;
}

.tg-box h2 + h3{
  margin-top:8px;
}

/* Başlıktan sonra gelen bloklar için nefes alan boşluklar */
.tg-box p + h3,
.tg-box ul + h3,
.tg-box ol + h3{
  margin-top:14px;
}

/* METİN */
.tg-box p{
  font-size:14px;
  line-height:1.5;
  color:var(--sub);
  margin-bottom:8px;
}

.tg-box ul,
.tg-box ol{
  margin:8px 0 10px;
}

/* ICON COLORS */
.tg-ok{color:var(--green);}
.tg-no{color:var(--red);}

/* ===================== LİSTELER ===================== */

.tg-list{
  list-style:none;
  padding:0;
  margin:8px 0 10px;
}

.tg-list li{
  font-size:14px;
  padding:4px 0;
  display:flex;
  gap:8px;
  align-items:flex-start;
  flex-wrap:wrap;           /* mobilde satır taşmasın */
}

/* Komutlu listelerde otomatik bullet */
.tg-list.tg-list-cmd li::before{
  content:"•";
  font-size:16px;
  line-height:1.2;
  color:#94a3b8;
  margin-top:1px;
}

/* SUBLIST */
.tg-sublist{
  margin:4px 0 4px 24px;
  list-style:none;
  padding:0;
}
.tg-sublist li{
  padding:3px 0;
  font-size:14px;
}

/* MINI NOTE & CALLOUT */
.tg-note{
  background:var(--indigo-soft);
  border-left:3px solid var(--indigo);
  padding:10px 12px;
  border-radius:10px;
  margin:10px 0;
  font-size:13.5px;
  line-height:1.45;
}

.tg-callout{
  background:var(--blue-soft);
  border-left:3px solid var(--indigo);
  padding:12px;
  border-radius:12px;
  margin:12px 0;
  font-size:14px;
  line-height:1.5;
}

/* STEPS */
.tg-step{
  display:flex;
  gap:10px;
  margin-bottom:12px;
}

.tg-num{
  background:var(--indigo);
  color:#fff;
  font-size:12px;
  font-weight:700;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
}

.tg-step-text h3{
  font-size:14.5px;
  margin-bottom:2px;
  font-weight:700;
}
.tg-step-text p{
  font-size:13.5px;
  margin:0;
}

/* ===================== TEXTAREA & KOPYALAMA ===================== */

.tg-area{
  width:100%;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:10px 12px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size:13px;
  height:130px;
  resize:none;
}

.tg-copy{
  background:var(--indigo);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  font-size:13px;
  margin-top:8px;
  cursor:pointer;
  font-weight:600;
  transition:.25s;
}
.tg-copy:hover{
  background:#4f46e5;
}
.tg-copy.copied{
  background:#16a34a !important;
}

/* ===================== KOD BLOKLARI ===================== */

/* Inline komut pill’leri */
.tg-box code{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:12px;
  background:rgba(15,23,42,0.96);
  color:#e5edff;
  padding:3px 9px;
  border-radius:999px;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:6px;
  box-shadow:0 0 0 1px rgba(148,163,184,0.45);
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tg-box code::before{
  content:"›";
  font-size:11px;
  opacity:.7;
}

/* Çok satırlı / blok komutlar için */
.tg-code{
  background:#ffffffbd;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:10px 10px 12px;
  margin:10px 0 12px;
}

.tg-code code{
  background:#0b1120;
  color:#e5edff;
  padding:10px 12px;
  border-radius:10px;
  display:block;
  white-space:pre-wrap;
  font-size:13px;
  box-shadow:none;
  max-width:100%;
  overflow-x:auto;  /* çok uzun satırlarda yatay scroll, kutu taşmaz */
}

/* Tek satır kopya butonu (kullanırsan) */
.copy-line{
  background:var(--indigo);
  padding:2px 8px;
  border-radius:6px;
  color:#fff;
  border:none;
  font-size:11px;
  cursor:pointer;
}
.copy-line.copied{
  background:#16a34a !important;
}

/* ===================== CTA BLOKU ===================== */

.tg-cta{
  margin-top:26px;
  background:rgba(255,255,255,0.55);
  border-radius:22px;
  padding:24px 22px;
  text-align:center;
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border:1px solid rgba(255,255,255,0.38);
  box-shadow:0 18px 50px rgba(99,102,241,0.12);
  transition:.3s cubic-bezier(.22,.61,.36,1);
}

.tg-cta:hover{
  transform:scale(1.012);
  box-shadow:0 22px 70px rgba(99,102,241,0.18);
}

.tg-cta-title{
  font-size:20px;
  font-weight:800;
  color:#4f46e5;
  margin-bottom:8px;
}

.tg-cta-desc{
  font-size:14px;
  color:#475569;
  margin-bottom:18px;
  line-height:1.55;
}

/* CTA BUTTON */
.tg-cta-btn{
  display:inline-block;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:#fff;
  padding:12px 22px;
  border-radius:50px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 25px rgba(99,102,241,0.22);
  transition:.28s;
}

.tg-cta-btn:hover{
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  box-shadow:0 14px 32px rgba(99,102,241,0.28);
  transform:translateY(-2px);
}

/* ===================== MOBİL FİNİŞİNG TOUCHES ===================== */

@media (max-width:600px){
  .tg-box{
    padding:14px 12px 15px;
    border-radius:16px;
  }

  .tg-box p,
  .tg-list li,
  .tg-callout,
  .tg-note{
    font-size:13px;
  }

  .tg-sublist li{
    font-size:13px;
  }

  .tg-cta{
    padding:22px 16px;
    border-radius:18px;
  }
}

/* TELEGRAM HİZMET LİSTESİ CTA */

.tg-cta.tg-cta-services{
  text-align:left;
  margin-top:32px;
}

/* Grid */
.tg-service-grid,
.tg-service-grid li{
  list-style:none;
  margin:0;
  padding:0;
}

/* Kart */
.tg-service-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(148,163,184,0.35);
  text-decoration:none;
  color:var(--text);
  font-size:13px;
  box-shadow:0 10px 26px rgba(15,23,42,0.06);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

/* Sol: ikon + başlık */
.tg-service-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.tg-service-icon{
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#eef2ff,#e0f2fe);
  color:#4f46e5;
  flex-shrink:0;
  font-size:15px;
}

.tg-service-text{
  min-width:0;
}

.tg-service-title{
  display:block;
  font-weight:600;
  font-size:13px;
  color:#0f172a;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

/* Sağ: sadece ok ikonu */
.tg-service-cta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-shrink:0;
}

.tg-service-cta .chev{
  font-size:14px;
  color:#94a3b8;
}

/* Hover efekti */
.tg-service-card:hover{
  transform:translateY(-1px);
  background:#ffffff;
  border-color:#6366f1;
  box-shadow:0 14px 34px rgba(99,102,241,0.16);
}

.tg-service-card:hover .chev{
  color:#6366f1;
}

/* Mobil optimizasyon */
@media(max-width:600px){
  .tg-service-grid{
    grid-template-columns:1fr;
    gap:8px;
  }
  .tg-service-card{
    padding:9px 11px;
    font-size:12.5px;
  }
  .tg-service-title{
    font-size:12.5px;
  }
}