:root {
  --brand: #115E59;
  --brand-dark: #0d4a46;
  --brand-soft: #e8f2f0;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card: #fff;
  --border: #e2e8f0;
  --error: #b42318;
  --ok: #067647;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
}

.brand-link {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  text-align: center;
  padding: 28px 20px calc(48px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p { margin: 0; }
.site-footer a { margin: 0 6px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px calc(40px + env(safe-area-inset-bottom, 0px));
}

.loading { text-align: center; padding: 48px 0; }

.property-form { display: grid; gap: 10px; margin-top: 12px; }
.property-form .form-section { margin: 18px 0 6px; font-size: 0.95rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.property-form label { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.property-form input[type=text],
.property-form input[type=number],
.property-form select,
.property-form textarea { width: 100%; margin-bottom: 4px; }
.property-form .field-emphasis { font-weight: 600; color: var(--text); }
.property-form .field-hint { font-size: 0.8rem; margin: -2px 0 6px; color: var(--muted); font-weight: 400; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 12px; margin: 8px 0 12px; }
.checkbox-grid .group-label { grid-column: 1 / -1; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.checkbox-grid .chk { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text); margin: 0; font-weight: 400; }
.checkbox-grid .chk input { width: auto; margin: 0; }
.proximity-multi { margin-bottom: 12px; }
.proximity-multi-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.proximity-multi-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.proximity-multi-row select { margin-bottom: 0; }
.proximity-remove {
  width: 36px; height: 36px; padding: 0; border: 1px solid var(--border);
  background: #fff; border-radius: 6px; cursor: pointer; font-size: 1.2rem; line-height: 1;
}
.proximity-add { margin-top: 4px; }

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-copy {
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy p {
  margin: 0;
  opacity: 0.94;
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.sample-report-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  max-width: 420px;
  margin: 0 auto;
}
.sample-report-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.sample-report-desc {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.btn-block { display: block; width: 100%; text-align: center; }

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 8px;
}

.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.pricing-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.pricing-table tbody tr:hover {
  background: #f8fafc;
}

.paket-price-inline {
  font-weight: 800;
  color: var(--brand);
  font-size: 1.05rem;
}

.ai-extra-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 88px;
}

.ai-extra-input {
  width: 72px;
  padding: 8px 10px;
  margin: 0;
}

.ai-extra-note {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.row-total {
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.pricing-table .btn-buy {
  min-width: 108px;
  padding-left: 14px;
  padding-right: 14px;
}

.hero-cta { margin-top: 24px; }

.hero-compact {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero-compact h1 { margin: 0 0 8px; font-size: clamp(1.35rem, 4vw, 1.75rem); }
.hero-compact p { margin: 0; opacity: 0.92; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.trust-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand);
  line-height: 1.1;
}

.trust-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.paketler { margin-top: 18px; }
.paket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.paket-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}
.paket-card h3 { margin: 0 0 8px; font-size: 1rem; }
.paket-card p { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; flex: 1; }
.paket-price {
  margin: 0 0 6px;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.paket-list {
  margin: 0 0 14px;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.paket-list li { margin-bottom: 4px; }
.btn-block { width: 100%; margin-top: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--brand); }

.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.steps-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  display: grid;
  gap: 10px;
}

.fine-print { margin: 0 0 12px; font-size: 0.85rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.consent-box {
  margin: 16px 0;
  padding: 14px 16px;
  border: 2px solid var(--brand);
  border-radius: 10px;
  background: #f0faf9;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.consent-input {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.consent-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

#err-bottom, #err-bottom-confirm { margin-top: 4px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h2 { margin: 0 0 12px; font-size: 1.2rem; letter-spacing: -0.02em; }

.muted { color: var(--muted); font-size: 0.92rem; }

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 70px;
  text-align: center;
  padding: 8px 6px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.step.active { background: var(--brand); color: #fff; }
.step.done { background: #c6e3df; color: var(--brand-dark); }

label {
  display: block;
  margin: 12px 0 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(17, 94, 89, 0.35);
  border-color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: #eef2f7;
  color: var(--text);
  min-height: 44px;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }

.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 0.92rem;
}

.alert-error { background: #fef3f2; color: var(--error); border: 1px solid #fecdca; }
.alert-ok { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }

.hidden { display: none !important; }

.suggest {
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
  background: #fff;
}

.suggest button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #eef2f4;
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.suggest button:last-child { border-bottom: none; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.cookie-banner.show { display: block; }

.cookie-banner p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}
.cookie-banner p a { font-weight: 600; color: var(--brand); }
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .paket-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .pricing-table { min-width: 0; }
  .pricing-table thead { display: none; }
  .pricing-table tbody tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
  }
  .pricing-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: none;
    padding: 8px 0;
  }
  .pricing-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .pricing-table tbody td:last-child {
    padding-top: 12px;
  }
  .pricing-table tbody td:last-child::before { display: none; }
  .pricing-table .btn-buy { width: 100%; }
}

@media (max-width: 640px) {
  .wrap { padding: 16px 16px 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
  .hero-copy { padding: 28px 22px; }
  .site-header-inner { padding: 12px 16px; }
  .site-nav { gap: 6px 10px; }
  .site-nav a { font-size: 0.82rem; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .cookie-banner {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .card { padding: 18px 16px; }
}
