/* Proje sunum sayfaları: Reklam & Sponsorluk bölümü ve teklif pop-up'ı
   (Tailwind derlemesine bağlı kalmamak için ayrı dosya; renkler tailwind.config.js brand paletiyle aynı) */

.sp-section { background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); }
.sp-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .sp-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }

.sp-title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: #0f172a; }
@media (min-width: 640px) { .sp-title { font-size: 2.25rem; } }
.sp-lead { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.75; color: #334155; }
.sp-text { margin-top: 1rem; font-size: 1rem; line-height: 1.75; color: #475569; }
.sp-strong { font-weight: 600; color: #0f172a; }

.sp-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem; }
.sp-actions button { cursor: pointer; border: 0; font-family: inherit; }
.sp-btn-wa { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600; color: #fff; background: #1faa55; box-shadow: 0 8px 24px -10px rgba(31, 170, 85, 0.7); transition: transform .2s, background .2s; text-decoration: none; }
.sp-btn-wa:hover { background: #178f47; transform: translateY(-2px); }
.sp-btn-wa svg { width: 1.125rem; height: 1.125rem; }

.sp-flash { margin-top: 1rem; border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500; }
.sp-flash.is-ok { background: #ecfdf5; color: #047857; }
.sp-flash.is-err { background: #fef2f2; color: #b91c1c; }

.sp-panel { border-radius: 1.25rem; background: #fff; padding: 2rem; box-shadow: 0 8px 30px -8px rgba(17, 26, 63, 0.15); border: 1px solid #e8eefc; }
.sp-panel-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #2547d0; }
.sp-panel-label + * { margin-top: 0.875rem; }
.sp-panel-label:not(:first-child) { margin-top: 1.75rem; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.sp-chips li { border-radius: 9999px; background: #eef4ff; color: #1f39a8; padding: 0.375rem 0.875rem; font-size: 0.8125rem; font-weight: 600; }
.sp-list { list-style: none; padding: 0; display: grid; gap: 0.875rem; }
.sp-list li { position: relative; padding-left: 1.5rem; }
.sp-list li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #3763f4; }
.sp-list strong { display: block; font-size: 0.9375rem; color: #0f172a; }
.sp-list span { display: block; margin-top: 0.125rem; font-size: 0.875rem; line-height: 1.6; color: #64748b; }
.sp-fits { margin-top: 1.75rem; border-top: 1px solid #f1f5f9; padding-top: 1.25rem; font-size: 0.875rem; line-height: 1.65; color: #475569; }
.sp-fits span { font-weight: 600; color: #0f172a; }

/* Pop-up */
html.sp-lock { overflow: hidden; }
.sp-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.sp-modal[hidden] { display: none; }
.sp-backdrop { position: absolute; inset: 0; background: rgba(17, 26, 63, 0.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; }
.sp-dialog { position: relative; width: 100%; max-width: 40rem; max-height: calc(100vh - 2rem); overflow-y: auto; border-radius: 1.25rem; background: #fff; padding: 2rem; box-shadow: 0 30px 80px -20px rgba(17, 26, 63, 0.45); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .18s, transform .18s; }
.sp-modal.is-open .sp-backdrop { opacity: 1; }
.sp-modal.is-open .sp-dialog { opacity: 1; transform: none; }
@media (max-width: 639px) { .sp-dialog { padding: 1.5rem 1.25rem; } }

.sp-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 9999px; background: #f1f5f9; color: #475569; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sp-close:hover { background: #e2e8f0; color: #0f172a; }
.sp-modal-title { margin-top: 0.875rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #0f172a; }
.sp-modal-text { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: #64748b; }

.sp-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.sp-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .sp-row { grid-template-columns: 1fr 1fr; } }
.sp-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: #334155; }
.sp-form input, .sp-form select, .sp-form textarea { display: block; width: 100%; margin-top: 0.375rem; border: 0; border-radius: 0.625rem; padding: 0.625rem 0.75rem; font: inherit; font-size: 0.875rem; font-weight: 400; color: #0f172a; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; outline: none; transition: box-shadow .15s; }
.sp-form input:focus, .sp-form select:focus, .sp-form textarea:focus { box-shadow: inset 0 0 0 2px #3763f4; }
.sp-form textarea { resize: vertical; }
.sp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sp-error { border-radius: 0.625rem; background: #fef2f2; color: #b91c1c; padding: 0.625rem 0.875rem; font-size: 0.875rem; }
.sp-error[hidden] { display: none; }
.sp-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.sp-form-actions button { border: 0; cursor: pointer; font-family: inherit; }
.sp-form-actions button:disabled { opacity: .7; cursor: wait; }
.sp-link-wa { font-size: 0.875rem; font-weight: 600; color: #178f47; text-decoration: none; }
.sp-link-wa:hover { text-decoration: underline; }
.sp-note { font-size: 0.75rem; color: #94a3b8; }

.sp-success { text-align: center; padding: 1rem 0; }
.sp-success[hidden], .sp-form-wrap[hidden] { display: none; }
.sp-success-icon { margin: 0 auto; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: #ecfdf5; color: #059669; display: flex; align-items: center; justify-content: center; }
.sp-success-icon svg { width: 1.75rem; height: 1.75rem; }
.sp-success .btn-secondary { margin-top: 1.5rem; border: 0; cursor: pointer; font-family: inherit; }
