* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0b1116;
  color: #e5eef2;
  margin: 0;
  padding: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: #0f1720;
  border-bottom: 1px solid #1c2733;
}
header h1 { font-size: 18px; margin: 0; }
header h1 a { color: #e5eef2; text-decoration: none; }
header a.logout { color: #9aa7b0; text-decoration: none; }
.card {
  max-width: 960px;
  margin: 24px auto;
  padding: 24px;
  background: #101820;
  border: 1px solid #1c2733;
  border-radius: 10px;
}
.card h2 { margin-top: 0; font-size: 16px; color: #cdd9e0; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #1c2733; font-size: 14px; vertical-align: middle; }
th { color: #7c8a94; font-weight: 600; }
code { background: #0b1116; padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-active { background: #123528; color: #4ade80; }
.badge-expired { background: #3a2b0f; color: #fbbf24; }
.badge-revoked { background: #3a1420; color: #fb7185; }
.new-license-form { display: flex; flex-wrap: wrap; gap: 10px; }
.new-license-form input { flex: 1 1 160px; }
input, button {
  background: #0b1116;
  border: 1px solid #1c2733;
  color: #e5eef2;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
button { cursor: pointer; background: #164e3f; border-color: #1e6650; color: #7dfff6; font-weight: 600; }
button:hover { background: #1c614e; }
.btn-danger { background: #3a1420; border-color: #5c1f2f; color: #fb7185; }
.btn-danger:hover { background: #4a1a29; }
.btn-ok { background: #123528; border-color: #1c4a38; color: #4ade80; }
.btn-small { padding: 6px 10px; font-size: 12px; }
.login-body { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-card { background: #101820; border: 1px solid #1c2733; border-radius: 12px; padding: 40px; width: 360px; text-align: center; }
.login-card input { width: 100%; margin-bottom: 12px; }
.login-card button { width: 100%; }
.error { color: #fb7185; font-size: 13px; }

/* Ana sayfa (/) — tanıtım/landing sayfası */
.home-body {
  overflow-x: hidden;
  position: relative;
}
.home-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,209,197,0.16) 0%, rgba(79,209,197,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.home-hero {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 110px auto 90px;
  text-align: center;
  padding: 0 24px;
}
.home-badge {
  display: inline-block;
  color: #4fd1c5;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 18px;
}
.home-hero h1 { font-size: 42px; line-height: 1.2; margin: 0 0 20px; letter-spacing: -0.5px; }
.home-tagline { color: #9aa7b0; font-size: 16px; line-height: 1.7; margin: 0 auto 36px; max-width: 560px; }
.home-actions { display: flex; gap: 14px; justify-content: center; }
.home-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s;
}
.home-btn-primary { background: #164e3f; color: #7dfff6; border: 1px solid #1e6650; }
.home-btn-primary:hover { background: #1c614e; }
.home-btn-secondary { background: transparent; color: #9aa7b0; border: 1px solid #1c2733; }
.home-btn-secondary:hover { border-color: #2c3a48; color: #cdd9e0; }
.home-btn-large { padding: 16px 40px; font-size: 15px; }

.home-section {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 24px;
}
.home-section-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 28px;
  color: #e5eef2;
}
.home-section-text {
  text-align: center;
  color: #9aa7b0;
  font-size: 15px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 30px; }
}
.feature-card {
  background: #101820;
  border: 1px solid #1c2733;
  border-radius: 12px;
  padding: 26px 22px;
  transition: border-color 0.15s, transform 0.15s;
}
.feature-card:hover { border-color: #2c4a44; transform: translateY(-2px); }
.feature-icon { font-size: 26px; margin-bottom: 12px; }
.feature-card h3 { font-size: 15px; margin: 0 0 8px; color: #e5eef2; }
.feature-card p { font-size: 13.5px; color: #8b98a2; line-height: 1.6; margin: 0; }

.home-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 70px 24px;
  margin: 40px auto 0;
  max-width: 640px;
}
.home-cta h2 { font-size: 26px; margin: 0 0 10px; }
.home-cta p { color: #9aa7b0; font-size: 15px; margin: 0 0 28px; }

.home-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px 60px;
  color: #7c8a94;
  font-size: 12.5px;
  line-height: 1.8;
  border-top: 1px solid #1c2733;
  margin-top: 40px;
}
.home-footer a { color: #4fd1c5; }

/* Kayit formu (/register) */
.register-card { width: 420px; }
.register-subtitle { color: #9aa7b0; font-size: 13px; margin-bottom: 18px; }
.register-hint { color: #7c8a94; font-size: 12px; margin-top: 16px; }
textarea {
  background: #0b1116;
  border: 1px solid #1c2733;
  color: #e5eef2;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  margin-bottom: 12px;
  resize: vertical;
}
.success-msg { color: #4ade80; font-size: 14px; line-height: 1.6; }
.inline-approve-form { display: flex; gap: 6px; align-items: center; }
