.zbk-apply-page {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  position: relative;
  overflow: hidden;
}

.zbk-apply-page::before,
.zbk-apply-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
  z-index: 0;
}

.zbk-apply-page::before {
  width: 800px;
  height: 800px;
  top: 10%;
  right: -20%;
  background: radial-gradient(circle, rgba(44, 76, 59, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  animation: zbk-float 20s ease-in-out infinite;
}

.zbk-apply-page::after {
  width: 600px;
  height: 600px;
  bottom: 0;
  left: -10%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  animation: zbk-float 15s ease-in-out infinite reverse;
}

.zbk-apply-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.zbk-apply-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--foreground) / 0.05);
}

.zbk-apply-header-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
}

.zbk-apply-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.zbk-apply-back:hover {
  color: hsl(var(--foreground));
}

.zbk-apply-main {
  position: relative;
  z-index: 10;
  padding: 96px 16px 112px;
}

.zbk-apply-shell {
  max-width: 512px;
  margin: 0 auto;
}

.zbk-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 300;
  animation: zbk-rise 500ms ease-out both;
}

.zbk-dot {
  position: relative;
  display: inline-flex;
  width: 10px;
  height: 10px;
}

.zbk-dot::before,
.zbk-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #22c55e;
}

.zbk-dot::before {
  opacity: 0.75;
  animation: zbk-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.zbk-apply-title {
  color: #2c4c3b;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 48px;
  animation: zbk-rise 700ms ease-out 80ms both;
}

.zbk-apply-form {
  display: grid;
  gap: 24px;
}

.zbk-field {
  display: grid;
  gap: 8px;
  animation: zbk-rise 700ms ease-out both;
}

.zbk-field label,
.zbk-field-head label {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 300;
}

.zbk-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zbk-count {
  color: hsl(var(--muted-foreground));
  font-size: 12px;
}

.zbk-count.zbk-over {
  color: #ef4444;
}

.zbk-input,
.zbk-textarea {
  width: 100%;
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 8px;
  background: hsl(var(--foreground) / 0.02);
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 16px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.zbk-input {
  height: 56px;
  padding: 0 16px;
}

.zbk-textarea {
  min-height: 132px;
  padding: 16px;
  resize: vertical;
}

.zbk-input:focus,
.zbk-textarea:focus {
  outline: none;
  border-color: hsl(var(--foreground) / 0.4);
  background: hsl(var(--foreground) / 0.04);
  box-shadow: 0 16px 32px hsl(var(--foreground) / 0.05);
}

.zbk-input::placeholder,
.zbk-textarea::placeholder {
  color: hsl(var(--muted-foreground) / 0.55);
}

.zbk-video-wrap {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: hsl(var(--foreground) / 0.04);
}

.zbk-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.zbk-sticky-submit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 16px;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  border-top: 1px solid hsl(var(--foreground) / 0.05);
}

.zbk-sticky-inner {
  max-width: 512px;
  margin: 0 auto;
}

.zbk-submit {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 8px;
  background: #2c4c3b;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.zbk-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(44, 76, 59, 0.2);
}

.zbk-submit:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.zbk-apply-success {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.zbk-success-card {
  max-width: 448px;
  text-align: center;
  display: grid;
  gap: 24px;
  animation: zbk-scale-in 600ms ease-out both;
}

.zbk-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #2c4c3b;
  color: white;
  font-size: 36px;
  position: relative;
}

.zbk-success-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(44, 76, 59, 0.3);
  animation: zbk-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.zbk-success-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zbk-success-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400;
}

.zbk-success-copy {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

.zbk-success-link {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.zbk-success-link:hover {
  color: hsl(var(--foreground));
}

.zbk-error {
  display: none;
  color: #ef4444;
  font-size: 13px;
  font-weight: 300;
}

.zbk-error.zbk-visible {
  display: block;
}

@keyframes zbk-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zbk-scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zbk-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes zbk-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
}

@media (min-width: 768px) {
  .zbk-apply-main {
    padding-top: 120px;
  }

  .zbk-apply-title,
  .zbk-success-title {
    font-size: 48px;
  }
}

@media (max-width: 520px) {
  .zbk-apply-title,
  .zbk-success-title {
    font-size: 32px;
  }
}
