/* Ücretsiz Demo Talep formu + admin uyarı */

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}
.hero-cta-stack .hero-actions {
  width: 100%;
}
.btn-demo-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #0b1e3f;
  background: linear-gradient(135deg, #5defff 0%, #3fd1e5 55%, #2eb8d4 100%);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(63, 209, 229, 0.4);
}
.btn-demo-hero:hover {
  color: #0b1e3f;
  filter: brightness(1.06);
  box-shadow: 0 16px 36px rgba(63, 209, 229, 0.5);
}
@media (max-width: 640px) {
  .hero-cta-stack {
    width: 100%;
  }
  .hero-cta-stack .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-cta-stack .hero-actions .btn {
    justify-content: center;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }
  .btn-demo-hero {
    min-height: 50px;
    font-size: 15px;
  }
}

.demo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.demo-lightbox[hidden] { display: none !important; }
html.demo-lightbox-open { overflow: hidden; }
.demo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
}
.demo-lightbox-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
  text-align: left;
}
.demo-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.demo-lightbox-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.demo-lightbox-panel .section-label {
  margin-bottom: 6px;
}
.demo-lightbox-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.3px;
  color: #0f172a;
}
.demo-lightbox-desc {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.55;
  font-size: 14px;
}
.demo-lightbox-panel .auth-alert {
  margin-bottom: 14px;
}
.demo-lightbox-panel .demo-form-actions {
  justify-content: stretch;
}
.demo-lightbox-panel .demo-submit {
  width: 100%;
  min-width: 0;
}
@media (max-width: 640px) {
  .demo-lightbox-panel {
    padding: 22px 16px 18px;
  }
  .demo-lightbox-panel .demo-form-grid {
    grid-template-columns: 1fr;
  }
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.demo-form input,
.demo-form select {
  appearance: none;
  border: 1px solid #d8def0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
}
.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: #2e6cff;
  box-shadow: 0 0 0 3px rgba(46, 108, 255, 0.15);
}
.demo-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.demo-kvkk {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.45;
}
.demo-kvkk input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.demo-kvkk a { color: #2e6cff; }
.demo-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}
.demo-submit {
  min-width: 220px;
}

.demo-page {
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(63, 209, 229, 0.18), transparent 36%),
    linear-gradient(160deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 70vh;
}
.demo-page-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}
.demo-page-copy h1 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: #fff;
}
.demo-page-copy > p {
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.65;
  max-width: 460px;
}
.demo-bullets {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.demo-bullets li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #cbd5e1;
}
.demo-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3fd1e5;
  font-weight: 800;
}
.demo-page-card {
  background: #fff;
  color: #0f172a;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.demo-page-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}
.demo-thanks-page {
  padding: 72px 0 96px;
  min-height: 56vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(63, 209, 229, 0.16), transparent 36%),
    radial-gradient(circle at 12% 80%, rgba(46, 108, 255, 0.12), transparent 40%),
    linear-gradient(165deg, #0f2740 0%, #163552 45%, #1a4060 100%);
}
.demo-thanks-inner {
  display: flex;
  justify-content: center;
}
.demo-thanks-card {
  width: min(560px, 100%);
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.demo-thanks-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
  font-size: 28px;
  font-weight: 800;
}
.demo-thanks-card h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.4px;
  color: #0f172a;
}
.demo-thanks-card p {
  margin: 0 0 24px;
  color: #475569;
  line-height: 1.6;
  font-size: 16px;
}
.demo-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

/* Admin uyarı lightbox */
.demo-alert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.demo-alert-lightbox[hidden] { display: none !important; }
.demo-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.demo-alert-panel {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}
.demo-alert-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
}
.demo-alert-ico {
  font-size: 40px;
  margin-bottom: 8px;
}
.demo-alert-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #b45309;
}
.demo-alert-panel p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.5;
}
.demo-alert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Admin liste */
.demo-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 16px;
}
.demo-admin-filtre {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-admin-filtre input,
.demo-admin-filtre select {
  border: 1px solid #d8def0;
  border-radius: 8px;
  padding: 8px 10px;
}
.demo-admin-table-wrap { overflow-x: auto; }
.demo-admin-table tr.is-new { background: #fffbeb; }
.demo-durum {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.demo-durum--yeni { background: #fef3c7; color: #92400e; }
.demo-durum--incelendi { background: #dbeafe; color: #1d4ed8; }
.demo-durum--kapandi { background: #e2e8f0; color: #475569; }
.demo-durum-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.demo-durum-form select {
  border: 1px solid #d8def0;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 12px;
}

/* Video lightbox CTA */
.hv-demo-cta {
  display: flex;
  justify-content: center;
  padding: 0 12px 12px;
}
.hv-demo-cta a,
.hv-demo-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.hv-demo-cta a:hover,
.hv-demo-cta button:hover { filter: brightness(1.05); }
.hv-lightbox.is-min .hv-demo-cta { display: none; }

@media (max-width: 860px) {
  .demo-page-inner { grid-template-columns: 1fr; }
  .demo-form-grid { grid-template-columns: 1fr; }
}
