:root {
  --brand: #004a69;
  --brand-dark: #003d55;
  --brand-light: #006f9e;
  --cta: #ff4735;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --error: #dc2626;
  --success: #16a34a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { height: 32px; width: auto; display: block; }
.header-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--brand);
  background: #e8f2f7;
  border: 1px solid #cde3ee;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%);
  color: #ffffff;
  padding: 44px 0 76px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 540px;
}

/* Cards */
.main-area {
  flex: 1;
  margin-top: -40px;
  padding-bottom: 56px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 32, 46, 0.08);
  padding: 32px;
}

/* Form */
.field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 24px 20px; }
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.req { color: var(--cta); }

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 96px; }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(0, 111, 158, 0.15);
}
.field.has-error input, .field.has-error textarea {
  border-color: var(--error);
}
.field-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--error);
  display: none;
}
.field.has-error .field-error { display: block; }

/* Honeypot — görsel olarak tamamen gizli */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.turnstile-wrap { margin: 0 0 16px; }

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand);
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit:hover:not(:disabled) { background: var(--brand-light); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Alerts */
.alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Success */
.success-card {
  text-align: center;
  padding: 48px 32px;
}
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 30px; height: 30px; }
.success-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.success-card p {
  margin: 0 auto 8px;
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.success-note { font-size: 13px !important; color: #94a3b8 !important; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 18px 0;
}
.site-footer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
