/* ================================================================
   /rehberler/ - Ucretsiz Rehber Merkezi (hub)
   Tum yayindaki lead_magnets'lari premium kart grid olarak listeler.
   Modal stilleri components/guide-magnet.css'ten gelir (paylasilir).
   ================================================================ */

/* ---------- HERO LEAD - desktop'ta 2 satira sabitle ---------- */
@media (min-width: 768px){
  .subhero .lead{ max-width: 800px; margin-left: auto; margin-right: auto; }
}

/* ---------- KART GRID ---------- */
.guides-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px; margin: 0 auto;
}
@media (max-width: 980px){ .guides-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 600px){ .guides-grid{ grid-template-columns: 1fr; gap: 16px; } }

/* ---------- KART ---------- */
.guide-card{
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(15,23,44,.94), rgba(10,16,32,.9));
  border: 1px solid var(--border-strong, rgba(255,255,255,.1));
  border-radius: 22px;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s;
}
.guide-card::before{
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 100% 0%, rgba(34,211,238,.12), transparent 58%);
  pointer-events: none;
}
.guide-card:hover{
  transform: translateY(-6px);
  border-color: rgba(34,211,238,.4);
  box-shadow: 0 30px 64px rgba(0,0,0,.5), 0 0 38px rgba(34,211,238,.1);
}

/* Kapak alani - kitap kapagi hissi */
.guide-card .gc-cover{
  position: relative; z-index: 1;
  display: grid; place-items: center;
  padding: 34px 26px 8px;
}
.guide-card .gc-cover-inner{
  position: relative;
  width: 192px; aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #024da1, #22d3ee);
  box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: rotate(-3deg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.guide-card:hover .gc-cover-inner{ transform: rotate(0) translateY(-2px) scale(1.02); }
.guide-card .gc-cover-inner img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card .gc-cover-inner .gc-ph{
  display: grid; place-items: center; width: 100%; height: 100%;
}
.guide-card .gc-cover-inner .gc-ph svg{ width: 46px; height: 46px; stroke: #fff; opacity: .92; }
.guide-card .gc-fmt{
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 8px; font-size: 10px; font-weight: 800; letter-spacing: .5px;
  color: #06121c; background: var(--neon, #22d3ee); border-radius: 5px;
}

/* Govde */
.guide-card .gc-body{
  position: relative; z-index: 1;
  display: flex; flex-direction: column; flex: 1;
  padding: 16px 24px 24px;
  text-align: center;
}
.guide-card .gc-badge{
  align-self: center;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; margin-bottom: 12px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--neon, #22d3ee);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.34);
  border-radius: 999px;
}
.guide-card .gc-badge .gc-pulse{
  width: 7px; height: 7px; border-radius: 50%; background: var(--neon, #22d3ee);
  animation: gcPulse 1.6s ease-out infinite;
}
@keyframes gcPulse{
  0%{ box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70%{ box-shadow: 0 0 0 8px rgba(34,211,238,0); }
  100%{ box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
@media (prefers-reduced-motion: reduce){ .guide-card .gc-pulse{ animation: none; } }

.guide-card h3{
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18.5px; font-weight: 700; line-height: 1.28;
  color: var(--text, #e6ebf5); text-wrap: balance;
}
.guide-card .gc-desc{
  margin: 0 0 16px;
  font-size: 13.5px; line-height: 1.6; color: var(--text-muted, #94a3b8);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card .gc-meta{
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin: auto auto 16px;
  font-size: 12px; color: var(--text-dim, #64748b);
}
.guide-card .gc-meta svg{ width: 14px; height: 14px; color: var(--text-muted, #94a3b8); }

.guide-card .gc-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px; font-weight: 700; font-family: inherit;
  color: #06121c;
  background: linear-gradient(135deg, var(--neon, #22d3ee), #38bdf8);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(34,211,238,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.guide-card .gc-btn svg{ width: 17px; height: 17px; transition: transform .2s ease; }
.guide-card:hover .gc-btn{ box-shadow: 0 16px 34px rgba(34,211,238,.32); }
.guide-card .gc-btn:hover svg{ transform: translateX(3px); }

/* ---------- BOS DURUM ---------- */
.guides-empty{
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 48px 28px;
  background: rgba(255,255,255,.02);
  border: 1px dashed var(--border, rgba(255,255,255,.12));
  border-radius: 18px;
}
.guides-empty .ge-ic{
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(34,211,238,.08);
}
.guides-empty .ge-ic svg{ width: 30px; height: 30px; stroke: var(--neon, #22d3ee); }
.guides-empty h3{
  margin: 0 0 8px; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 20px;
}
.guides-empty p{ color: var(--text-muted, #94a3b8); margin: 0 0 18px; }

/* ---------- "NASIL CALISIR" 3 ADIM ---------- */
.guides-how{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 940px; margin: 0 auto;
}
@media (max-width: 720px){ .guides-how{ grid-template-columns: 1fr; } }
.guides-how .gh-step{
  position: relative;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 16px;
}
.guides-how .gh-num{
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 16px; font-weight: 800;
  color: var(--neon, #22d3ee);
  background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3);
  border-radius: 11px;
}
.guides-how .gh-step h4{
  margin: 0 0 7px; font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px; color: var(--text, #e6ebf5);
}
.guides-how .gh-step p{ margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted, #94a3b8); }
