:root {
  --bg: #050505;
  --card-bg: #0c0c0f;
  --accent: #9b5cff;
  --accent-soft: rgba(155, 92, 255, 0.15);
  --text: #f8f8ff;
  --text-muted: #a0a0b5;
  --border: #262636;
  --error: #ff4c61;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151022 0, #050505 55%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 32px;
}

/* Layout */
.page {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .page {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    padding: 16px 12px 24px;
  }
}

/* Card */
.card {
  background: linear-gradient(145deg, #09090c, #050505);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 28px 28px 26px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.card-inner {
  position: relative;
  z-index: 1;
}

/* Hero (üst açıklama) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.9);
}

h1 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 14px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }
}

h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 22px;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.highlight-box {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--accent-soft);
  background: rgba(10, 7, 20, 0.9);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.highlight-box strong {
  color: var(--accent);
  font-weight: 600;
}

.note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Form kartı */
.form-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

label {
  font-size: 12px;
  color: var(--text-muted);
}

.required {
  color: var(--accent);
  margin-left: 2px;
}

input,
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.9);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition), transform var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #5b5b71;
  font-size: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(155, 92, 255, 0.5);
  transform: translateY(-0.5px);
  background: #080810;
}

textarea {
  min-height: 70px;
  resize: vertical;
}

/* Checkbox & KVKK link */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-row span {
  font-size: 11px;
  color: var(--text-muted);
}

.kvkk-link {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 2px;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.kvkk-link:hover {
  opacity: 0.9;
}

/* Form footer & button */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.hint {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.9;
  max-width: 280px;
}

.btn-primary {
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #d48bff);
  color: #050505;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition),
    filter var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
  filter: brightness(0.97);
}

.btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #050505;
}

/* Footer */
.footer {
  width: 100%;
  max-width: 1040px;
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* KVKK Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 640px;
  background: #07070a;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 720px);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-backdrop.is-open .modal {
  opacity: 1;
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 16px;
}

.modal-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 10px 18px 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.modal-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.modal-scroll ul {
  padding-left: 18px;
  margin-top: 4px;
}

.modal-scroll li {
  margin-bottom: 4px;
}

.modal-footer {
  padding: 10px 18px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* Scrollbar (isteğe bağlı hafif) */
.modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll::-webkit-scrollbar-track {
  background: #050505;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border-radius: 999px;
}

/* Toast (başvuru alındı bildirimi) */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(10, 7, 20, 0.95);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.9);
  margin-top: 3px;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-content strong {
  font-size: 13px;
}

.toast-content span {
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .toast {
    left: 12px;
    right: 12px;
    bottom: 16px;
  }
}
