/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0e0c14;
  color: #e8e2f0;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #14111f; }
::-webkit-scrollbar-thumb { background: #7e22ce; border-radius: 3px; }

:root {
  --bg-dark:    #0e0c14;
  --bg-mid:     #14111f;
  --bg-card:    #1c1829;
  --bg-border:  #2e2845;
  --purple:     #9333ea;
  --purple-dim: #7e22ce;
  --green:      #22c55e;
  --green-dim:  #16a34a;
  --red:        #ef4444;
  --red-dim:    #dc2626;
  --white:      #f4f0ff;
  --gray-light: #a1a1aa;
  --gray-mid:   #71717a;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(14,12,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
}
nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: .12em;
  background: linear-gradient(90deg, var(--purple), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-back {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--gray-light); text-decoration: none; font-size: .88rem;
  font-weight: 500; transition: color .2s;
}
.nav-back:hover { color: var(--purple); }
.nav-back svg { width: 16px; height: 16px; stroke: currentColor; }

/* ── Page wrapper ── */
.page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 65px);
}
@media (max-width: 900px) { .page { grid-template-columns: 1fr; } }

/* ── Left panel ── */
.panel-left {
  background: linear-gradient(160deg, #1a1530 0%, #110e1e 100%);
  padding: 4rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  border-right: 1px solid var(--bg-border);
}
@media (max-width: 900px) { .panel-left { padding: 3rem 1.8rem; border-right: none; border-bottom: 1px solid var(--bg-border); } }
.panel-glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,.1) 0%, transparent 70%);
  top: -100px; right: -80px; pointer-events: none;
}
.panel-glow2 {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.07) 0%, transparent 70%);
  bottom: -60px; left: 10%; pointer-events: none;
}
.panel-content { position: relative; z-index: 1; }
.panel-tag {
  display: inline-block; padding: .25rem .75rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple); border: 1px solid var(--purple-dim);
  background: rgba(147,51,234,.1); margin-bottom: 1.5rem;
}
.panel-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--white); line-height: 1.2;
  margin-bottom: 1rem;
}
.panel-title span {
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.panel-sub {
  color: var(--gray-light); font-size: 1rem; max-width: 380px;
  line-height: 1.75; margin-bottom: 2.5rem;
}
.info-list { display: flex; flex-direction: column; gap: .9rem; }
.info-item {
  display: flex; align-items: center; gap: .75rem;
  color: var(--gray-light); font-size: .9rem; text-decoration: none;
  transition: color .2s;
}
.info-item:hover { color: var(--purple); }
.info-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(147,51,234,.12); border: 1px solid rgba(147,51,234,.2);
}
.info-icon svg { width: 16px; height: 16px; stroke: var(--purple); }
.info-item:nth-child(2) .info-icon { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.2); }
.info-item:nth-child(2) .info-icon svg { stroke: var(--green); }
.info-item:nth-child(3) .info-icon { background: rgba(113,113,122,.1); border-color: rgba(113,113,122,.2); }
.info-item:nth-child(3) .info-icon svg { stroke: var(--gray-light); }
.divider { height: 1px; background: var(--bg-border); margin: 2rem 0; }
.availability {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: var(--gray-light);
}
.dot-green {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,.6);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 6px rgba(34,197,94,.6); }
  50%      { box-shadow: 0 0 14px rgba(34,197,94,.9); }
}

/* ── Right panel (form) ── */
.panel-right {
  background: var(--bg-dark);
  padding: 4rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 900px) { .panel-right { padding: 3rem 1.8rem; } }

.form-title { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .3rem; }
.form-sub { font-size: .88rem; color: var(--gray-light); margin-bottom: 2rem; }

form { display: flex; flex-direction: column; gap: 1.3rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

label {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gray-light);
}
.req { color: var(--purple); margin-left: .15rem; }

input, textarea, select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--bg-border);
  background: var(--bg-card);
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--gray-mid); }
input:focus, textarea:focus, select:focus {
  border-color: var(--purple-dim);
  box-shadow: 0 0 0 3px rgba(147,51,234,.15);
  background: #201c30;
}
input:valid:not(:placeholder-shown) { border-color: rgba(34,197,94,.4); }
textarea { resize: vertical; min-height: 130px; }

.char-count { font-size: .75rem; color: var(--gray-mid); text-align: right; margin-top: .2rem; }

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 2rem; border-radius: 8px; border: none;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 20px rgba(147,51,234,.3);
  width: 100%; margin-top: .5rem;
}
.btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(147,51,234,.45); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-submit svg { width: 18px; height: 18px; stroke: currentColor; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast / feedback ── */
.toast {
  display: none; align-items: flex-start; gap: .9rem;
  padding: 1.1rem 1.3rem; border-radius: 10px;
  margin-top: 1.2rem;
  border: 1px solid;
  animation: slideUp .35s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.toast.show { display: flex; }
.toast.success {
  background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); color: #bbf7d0;
}
.toast.error {
  background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: #fecaca;
}
.toast-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: .1rem; }
.toast-icon svg { width: 22px; height: 22px; }
.toast.success .toast-icon svg { stroke: var(--green); }
.toast.error   .toast-icon svg { stroke: var(--red); }
.toast-body strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.toast-body span   { font-size: .85rem; opacity: .9; }
