/* EsnekQR - site stilleri (Bootstrap 5.3 üzerine) */
:root {
  --eq-p: #5B3DF5;
  --eq-p-dark: #4527D6;
  --eq-p-soft: #EFECFF;
  --eq-ink: #0F172A;
  --eq-muted: #64748b;
  --eq-line: #e6e8f0;
  --eq-bg: #f6f7fb;
  --eq-radius: 16px;
  --bs-primary: #5B3DF5;
  --bs-primary-rgb: 91, 61, 245;
  --bs-link-color: #5B3DF5;
  --bs-link-hover-color: #4527D6;
  --bs-body-font-family: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --eq-grad: linear-gradient(135deg, #5B3DF5 0%, #9333EA 55%, #DB2777 100%);
}
html { font-size: 17px; }
body { background: var(--eq-bg); color: var(--eq-ink); }
h1, h2, h3, .h3, .h4, .h5 { font-weight: 700; letter-spacing: -.01em; }
a { color: var(--eq-p); }
.btn-primary { background-image: var(--eq-grad); border: 0; --bs-btn-bg: var(--eq-p); --bs-btn-border-color: var(--eq-p); --bs-btn-hover-bg: var(--eq-p-dark); --bs-btn-hover-border-color: var(--eq-p-dark); --bs-btn-active-bg: var(--eq-p-dark); --bs-btn-disabled-bg: #A99CF7; --bs-btn-disabled-border-color: #A99CF7; }
.btn-outline-primary { --bs-btn-color: var(--eq-p); --bs-btn-border-color: #CFC6FB; --bs-btn-hover-bg: var(--eq-p); --bs-btn-hover-border-color: var(--eq-p); --bs-btn-active-bg: var(--eq-p); --bs-btn-active-border-color: var(--eq-p); }
.form-control:focus, .form-select:focus { border-color: #A99CF7; box-shadow: 0 0 0 .2rem rgba(91, 61, 245, .15); }
.form-check-input:checked { background-color: var(--eq-p); border-color: var(--eq-p); }
.eq-btn { border-radius: 12px; font-weight: 600; }
.eq-btn-soft { background: var(--eq-p-soft); color: var(--eq-p); border: 0; border-radius: 12px; font-weight: 600; }
.eq-btn-soft:hover, .eq-btn-soft.active { background: #E2DCFF; color: var(--eq-p-dark); }

/* Navigasyon */
.eq-nav { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--eq-line); padding: .6rem 0; }
.eq-nav .nav-link { font-weight: 500; color: #334155; font-size: 1rem; padding-left: .9rem !important; padding-right: .9rem !important; }
.eq-nav .nav-link.active, .eq-nav .nav-link:hover { color: var(--eq-p); }
.eq-brand-img { height: 40px; width: auto; display: block; }
.eq-footer .eq-brand-img { height: 40px; margin-bottom: 14px; }
.eq-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.25rem; color: var(--eq-ink) !important; letter-spacing: -.02em; text-decoration: none; }
.eq-logo { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; color: #fff; background: var(--eq-grad); font-size: 1.1rem; }
.eq-types-menu .dropdown-item i { width: 22px; display: inline-block; color: var(--eq-p); }

/* Hero */
.eq-hero { padding: 56px 0 28px; text-align: center; background: radial-gradient(1200px 400px at 50% -80px, #E7E1FF 0%, rgba(246, 247, 251, 0) 70%); }
.eq-hero h1 { font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.1; }
.eq-hero .lead { color: var(--eq-muted); max-width: 760px; margin: 18px auto 0; font-size: 1.2rem; line-height: 1.6; }
.eq-grad-text { background: linear-gradient(90deg, #5B3DF5, #9333EA 50%, #DB2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eq-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 18px; color: #334155; font-weight: 500; font-size: .95rem; }
.eq-hero-points i { color: #16a34a; }

.eq-main { padding-top: 12px; padding-bottom: 56px; }
.eq-card { background: #fff; border: 1px solid var(--eq-line); border-radius: var(--eq-radius); padding: 22px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.eq-step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; }
.eq-step > span:first-child { width: 28px; height: 28px; border-radius: 50%; background: var(--eq-p-soft); color: var(--eq-p); display: inline-grid; place-items: center; font-size: .9rem; }

/* Tür seçici */
.eq-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 10px; }
.eq-type { position: relative; line-height: 1.25; text-align: center; border: 1px solid var(--eq-line); background: #fff; border-radius: 14px; padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: #334155; transition: .15s; }
.eq-type i { font-size: 1.45rem; color: var(--eq-p); }
.eq-type:hover:not(:disabled) { border-color: #CFC6FB; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(91, 61, 245, .08); }
.eq-type.active { border-color: var(--eq-p); background: var(--eq-p-soft); box-shadow: inset 0 0 0 1px var(--eq-p); }
.eq-type:disabled:not(.active) { opacity: .45; }
.eq-badge { position: absolute; top: 6px; right: 6px; font-size: .58rem; padding: 1px 6px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.eq-badge.dyn { background: #FDE7F3; color: #BE185D; }
.eq-badge.sta { background: #e0f2fe; color: #0369a1; }

.eq-mode .btn { font-weight: 600; font-size: .9rem; }
.eq-note { background: var(--eq-p-soft); border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: #3B2A9E; }
.eq-note code { color: #3B2A9E; background: rgba(255, 255, 255, .6); padding: 1px 5px; border-radius: 6px; }
.eq-note-soft { background: #f1f5f9; color: #334155; }
.form-label { font-weight: 500; font-size: .95rem; color: #334155; margin-bottom: .3rem; }
.eq-menu-sec { background: #fafbff; border-color: var(--eq-line); }
.eq-acc .accordion-button { font-weight: 600; }
.eq-acc .accordion-button:not(.collapsed) { background: var(--eq-p-soft); color: var(--eq-p-dark); box-shadow: none; }
.eq-acc .accordion-item { border-color: var(--eq-line); }

/* Önizleme */
.eq-preview-wrap { position: sticky; top: 84px; }
.eq-preview { text-align: center; }
.eq-qr { display: inline-block; line-height: 0; }
.eq-qr canvas, .eq-qr svg { width: 100% !important; max-width: 300px; height: auto !important; }
.eq-frame { display: inline-block; padding: 0; border-radius: 18px; }
.eq-frame .eq-frame-qr { background: transparent; border-radius: 12px; line-height: 0; }
.eq-frame .eq-frame-label { font-weight: 800; letter-spacing: .02em; }
.eq-frame-bottom, .eq-frame-top { background: var(--fc); padding: 14px 14px 0; }
.eq-frame-bottom .eq-frame-qr, .eq-frame-top .eq-frame-qr { background: var(--qbg); padding: 8px; }
.eq-frame-bottom .eq-frame-label, .eq-frame-top .eq-frame-label { color: var(--ftc); padding: 12px 6px 14px; font-size: 1.3rem; }
.eq-frame-top { display: inline-flex; flex-direction: column-reverse; padding: 0 14px 14px; }
.eq-frame-badge .eq-frame-label { display: inline-block; margin-top: 10px; background: var(--fc); color: var(--ftc); padding: 8px 28px; border-radius: 999px; font-size: 1.05rem; }
.eq-short { margin-top: 14px; font-weight: 600; word-break: break-all; }
.eq-dl { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; }
.eq-dl .btn { border-radius: 10px; font-weight: 600; font-size: .9rem; }
.eq-check { font-size: .84rem; text-align: left; padding: 7px 10px; border-radius: 10px; margin-bottom: 6px; }
.eq-check.error { background: #fef2f2; color: #b91c1c; }
.eq-check.warn { background: #fffbeb; color: #92400e; }
.eq-check.info { background: #f1f5f9; color: #334155; }
.eq-tip { font-size: .8rem; color: var(--eq-muted); text-align: left; background: #f8fafc; border-radius: 10px; padding: 8px 10px; }

.eq-how { margin-top: 40px; text-align: center; }
.eq-how h2 { font-weight: 800; letter-spacing: -.02em; }
.eq-how-item { background: #fff; border: 1px solid var(--eq-line); border-radius: var(--eq-radius); padding: 26px 22px; height: 100%; text-align: left; }
.eq-how-item i { font-size: 1.8rem; color: var(--eq-p); }
.eq-how-item h3 { font-size: 1.1rem; font-weight: 700; margin: 12px 0 6px; }
.eq-how-item p { color: var(--eq-muted); margin: 0; }

/* Panel */
.eq-qr-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--eq-line); }
.eq-qr-item:last-child { border-bottom: 0; }
.eq-thumb { width: 76px; height: 76px; border-radius: 10px; background: #fff; border: 1px solid var(--eq-line); display: grid; place-items: center; overflow: hidden; }
.eq-thumb canvas { width: 70px !important; height: 70px !important; }
.eq-qr-title { font-weight: 700; color: var(--eq-ink); text-decoration: none; }
.eq-qr-meta { font-size: .82rem; color: var(--eq-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 3px; }
.eq-pill { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.eq-pill.dyn { background: #FDE7F3; color: #BE185D; }
.eq-pill.sta { background: #e0f2fe; color: #0369a1; }
.eq-pill.on { background: #dcfce7; color: #166534; }
.eq-pill.off { background: #fef3c7; color: #92400e; }
.eq-pill.blk { background: #fee2e2; color: #991b1b; }
.eq-scans { text-align: right; min-width: 80px; }
.eq-scans b { font-size: 1.3rem; display: block; line-height: 1; }
.eq-scans small { color: var(--eq-muted); }
.eq-side .list-group-item { border: 0; border-radius: 10px !important; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.eq-side .list-group-item.active { background: var(--eq-p-soft); color: var(--eq-p-dark); }
.eq-usage .progress { height: 8px; border-radius: 99px; }
.eq-usage .progress-bar { background: var(--eq-p); }
.eq-stat { background: #fff; border: 1px solid var(--eq-line); border-radius: var(--eq-radius); padding: 18px; }
.eq-stat small { color: var(--eq-muted); font-weight: 600; }
.eq-stat b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }

/* Fiyatlar */
.eq-plan { background: #fff; border: 1px solid var(--eq-line); border-radius: 20px; padding: 28px; height: 100%; display: flex; flex-direction: column; }
.eq-plan.featured { border: 2px solid var(--eq-p); box-shadow: 0 12px 40px rgba(91, 61, 245, .12); }
.eq-plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.eq-plan ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.eq-plan li { padding: 5px 0; }
.eq-plan li i { color: #16a34a; margin-right: 6px; }

/* Auth */
.eq-auth { max-width: 460px; margin: 40px auto; }

/* Footer */
.eq-footer { background: #fff; border-top: 1px solid var(--eq-line); padding: 44px 0 22px; margin-top: 40px; }
.eq-footer a { display: block; color: #475569; text-decoration: none; padding: 3px 0; font-size: .92rem; }
.eq-footer a:hover { color: var(--eq-p); }
.eq-foot-title { font-weight: 700; margin-bottom: 8px; }
.eq-foot-bottom { border-top: 1px solid var(--eq-line); margin-top: 28px; padding-top: 16px; color: var(--eq-muted); font-size: .82rem; }

/* Toast */
.eq-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: #0F172A; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; z-index: 2000; transition: transform .25s; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.eq-toast.show { transform: translate(-50%, 0); }
.eq-toast.ok { background: #166534; }
.eq-toast.error { background: #b91c1c; }
.eq-toast.warn { background: #92400e; }

@media (max-width: 991.98px) {
  .eq-preview-wrap { position: static; }
  .eq-hero { padding-top: 36px; }
}
@media (max-width: 575.98px) {
  .eq-card { padding: 16px; }
  .eq-types { grid-template-columns: repeat(3, 1fr); }
  .eq-qr-item { grid-template-columns: 60px 1fr; }
  .eq-thumb { width: 60px; height: 60px; }
  .eq-thumb canvas { width: 56px !important; height: 56px !important; }
  .eq-scans { grid-column: 2; text-align: left; }
  .eq-dl { grid-template-columns: 1fr 1fr; }
}
