/*
Theme Name: DataClinic
Theme URI: https://dataclinic.com
Description: DataClinic - Veriye Ulaşmanın En Hızlı Yolu. SQL Server verilerinizi WhatsApp üzerinden saniyeler içinde PDF/Excel/Dashboard olarak sunar.
Author: DataClinic Team
Author URI: https://dataclinic.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dataclinic
Tags: one-page, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, sticky-post, threaded-comments, translation-ready
*/

:root {
  --bg: #070b16;
  --bg2: #0b1226;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.55);
  --brand: #2e5bff;
  --brand2: #19c5ff;
  --ok: #2dd4bf;
  --warn: #fbbf24;
  --shadow: 0 20px 70px rgba(0,0,0,0.45);
  --r: 18px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  height: 100%;
  /* iOS Safari için tam ekran */
  height: -webkit-fill-available;
}
body {
  margin: 0;
  min-height: 100vh;
  /* iOS Safari ve mobil tarayıcılar için tam ekran */
  min-height: -webkit-fill-available;
  min-height: 100dvh; /* Modern tarayıcılar için dinamik viewport */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1400px 900px at 20% 10%, rgba(46,91,255,0.35), transparent 65%),
              radial-gradient(1100px 750px at 80% 20%, rgba(25,197,255,0.25), transparent 60%),
              radial-gradient(1100px 750px at 60% 90%, rgba(45,212,191,0.14), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow-x: hidden;
  overscroll-behavior-y: none; /* Mobil bounce effect'i engelle */
  position: relative;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,22,0.55);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .2px;
}
.logo {
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 30px rgba(46,91,255,0.25);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
}
.logo svg { opacity: .95; }
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-links {
  display: flex; gap: 18px; align-items: center;
  color: var(--muted);
  font-weight: 600; font-size: 14px;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.09);
}
.btn-primary {
  background: linear-gradient(135deg, #3a67ff 0%, #2ad2ff 100%);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 10px 40px rgba(46,91,255,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4f7aff 0%, #3ad9ff 100%);
  box-shadow: 0 14px 50px rgba(46,91,255,0.45), 0 0 0 1px rgba(255,255,255,0.12) inset;
  border-color: rgba(255,255,255,0.25);
}

.hero {
  padding: 70px 0 30px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items: center;
}
.badge {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(45,212,191,0.10);
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.6px;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 52ch;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 18px;
}
.mini {
  margin-top: 14px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.55;
}
.mini strong { color: var(--text); }

.phone {
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(7,11,22,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.phone-title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800;
}
.check {
  width: 18px; height: 18px; border-radius: 99px;
  background: rgba(45,212,191,0.15);
  border: 1px solid rgba(45,212,191,0.35);
  display: grid; place-items: center;
  color: var(--ok);
  font-size: 12px;
  font-weight: 900;
}
.chat {
  padding: 14px 14px 18px;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(46,91,255,0.10), transparent 60%),
    radial-gradient(500px 350px at 80% 30%, rgba(25,197,255,0.10), transparent 60%),
    rgba(255,255,255,0.02);
  min-height: 360px;
}
.bubble {
  width: fit-content;
  max-width: 92%;
  margin: 10px 0;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  line-height: 1.4;
  font-size: 14px;
}
.bubble.me {
  margin-left: auto;
  background: rgba(46,91,255,0.16);
  border-color: rgba(46,91,255,0.25);
}
.bubble .muted { color: var(--muted); font-weight: 700; font-size: 12px; }
.pill {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  margin-top: 10px;
  font-weight: 800;
}
.pill small { color: var(--muted); font-weight: 700; }
.pill .icon {
  width: 26px; height: 26px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
}

section {
  padding: 52px 0;
}
.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.subtitle {
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
  margin: 10px 0 0;
  font-size: 15px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card {
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: var(--card2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.kpi {
  display: flex; gap: 10px; align-items: flex-start;
}
.kpi .ic {
  width: 40px; height: 40px; border-radius: 14px;
  background: rgba(46,91,255,0.18);
  border: 1px solid rgba(46,91,255,0.26);
  display: grid; place-items: center;
  flex: 0 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.step:before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 160px; height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46,91,255,0.35), transparent 60%);
  filter: blur(2px);
}
.step b {
  display: inline-flex;
  width: 30px; height: 30px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 15px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

.faq details {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 14px 16px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.faq details:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.faq details + details { margin-top: 10px; }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.contact-card {
  cursor: pointer;
}

.form {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start;
}
.field {
  display: grid; gap: 7px;
  margin-bottom: 12px;
}
label { color: var(--muted); font-weight: 800; font-size: 13px; }
input, textarea, select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(25,197,255,0.40);
  box-shadow: 0 0 0 5px rgba(25,197,255,0.10);
}
textarea { min-height: 120px; resize: vertical; }
select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select option {
  background: rgba(11,18,38,0.98);
  color: rgba(255,255,255,0.92);
  padding: 8px 12px;
  border: none;
}
.toast {
  position: fixed;
  right: 16px; bottom: 16px;
  width: min(360px, 90vw);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(7,11,22,0.75);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 12px 12px;
  display: none;
}
.toast.show { display: block; }
.toast b { display:block; margin-bottom: 4px; }
.toast p { margin:0; color: var(--muted); line-height: 1.45; font-size: 13px; }

/* Form içinde gösterilen toast bildirimi */
.toast-inline {
  border-radius: 14px;
  border: 1px solid rgba(251,191,36,0.35);
  background: rgba(251,191,36,0.10);
  padding: 14px 14px;
  margin-bottom: 16px;
}
.toast-inline b {
  display: block;
  margin-bottom: 6px;
  color: var(--warn);
  font-size: 14px;
}
.toast-inline p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  font-size: 13px;
}

/* Özel buton stilleri */
.btn-primary.btn-nav {
  padding: 10px 14px;
  font-size: 14px;
}

.btn-primary.btn-submit {
  width: 100%;
  font-size: 15px;
  font-weight: 800;
}

footer {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 26px 0 20px;
  color: var(--muted2);
  font-size: 13px;
}
.foot {
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px; flex-wrap: wrap;
}

.hide-mobile { display: inline-flex; }
.show-mobile { display: none; }

@media (max-width: 980px) {
  html {
    height: 100%;
    min-height: 100%;
  }

  body {
    min-height: 100%;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  main {
    flex: 1;
  }

  footer {
    padding: 20px 0 max(12px, env(safe-area-inset-bottom));
    margin-top: auto;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .show-mobile { display: inline-flex; }
  .hide-mobile { display: none; }
  .chat { min-height: 320px; }
}
