* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FAF6EE;
  --cream-2: #F2EBDF;
  --ink: #1A1B2E;
  --ink-2: #4A4C66;
  --purple: #233993;
  --plum: #4F3A8E;
  --accent: #E45D7B;
  --gold: #C9A96E;
  --border: rgba(26, 27, 46, 0.12);
  --danger: #D32F2F;
  --success-green: #2D8C5F;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(140deg, var(--cream) 0%, #FBE9D8 50%, #E8DEF6 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  position: relative;
}

/* Floating blobs decoration */
.blob {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.blob.b1 {
  background: rgba(79, 58, 142, 0.18);
  top: -100px;
  right: -100px;
}

.blob.b2 {
  background: rgba(228, 93, 123, 0.14);
  bottom: -100px;
  left: -100px;
}

.blob.b3 {
  background: rgba(201, 169, 110, 0.16);
  top: 35%;
  left: 30%;
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(228, 93, 123, 0.18);
}

.brand small {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-top: 2px;
}

.badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--plum);
  background: rgba(79, 58, 142, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
}

/* Hero / Landing Pitch (Page 1) */
.hero {
  margin-bottom: 36px;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--plum);
  background: rgba(79, 58, 142, 0.09);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(38px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.3px;
  color: var(--ink);
  margin-bottom: 14px;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--plum) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 650px;
  font-weight: 400;
}

/* Genres Showcase Pills / Cards */
.genres-container {
  margin-top: 24px;
  margin-bottom: 36px;
}

.genres-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.genres-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-chip {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 58, 142, 0.15);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.genre-chip:hover {
  background: #FFFFFF;
  border-color: var(--plum);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79, 58, 142, 0.12);
}

.genre-icon {
  font-size: 14px;
}

/* Section divider label (Page 2) */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
}

/* Alert Banner */
.alert-banner {
  display: none;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}

.alert-banner.error {
  display: block;
  background: #FDEDED;
  border: 1px solid #F5C2C7;
  color: #842029;
}

.alert-banner ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.alert-banner li {
  margin-bottom: 4px;
}

/* Inline Field Errors */
.field-error {
  font-size: 12.5px;
  color: #842029;
  margin-top: 4px;
  display: none;
  animation: fadeIn 0.25s ease;
}

.field-error:not(:empty) {
  display: block;
}

/* Social rows are CSS grid — span the full row for the error */
.social-row .field-error {
  grid-column: 1 / -1;
}

/* Red border highlight on the field itself */
.input-clean.error {
  border-bottom-color: #F5C2C7;
  border-bottom-width: 1.5px;
}

.input-with-icon.error input {
  border-bottom-color: #F5C2C7;
}

.pdf-card.error,
.avatar-zone.error {
  border-color: #F5C2C7;
}

.social-row.error {
  border-bottom-color: #F5C2C7;
}

.social-row.error .input-clean.error {
  border-bottom: none;
}

.terms.error label {
  color: #842029;
}

/* Main Card */
.card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 44px;
  box-shadow:
    0 20px 60px -20px rgba(75, 55, 135, 0.16),
    0 1px 2px rgba(0, 0, 0, 0.04);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 42px;
}

/* Avatar Zone */
.avatar-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avatar-zone {
  aspect-ratio: 4/5;
  border: 1.5px dashed rgba(75, 55, 135, 0.30);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(228, 233, 247, 0.4));
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.avatar-zone:hover {
  border-color: var(--plum);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(228, 233, 247, 0.6));
}

.avatar-zone.has-image {
  border: 1.5px solid var(--accent);
  background: transparent;
}

.avatar-prompt {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar-prompt .arrow {
  align-self: flex-end;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: 0.3s;
}

.avatar-zone:hover .arrow {
  background: var(--accent);
  transform: rotate(-30deg) scale(1.1);
}

.avatar-prompt .bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avatar-prompt .title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.avatar-prompt .desc {
  font-size: 12px;
  color: var(--ink-2);
}

.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.avatar-zone.has-image .avatar-prompt {
  display: none;
}

.avatar-zone.has-image .avatar-img {
  display: block;
}

.tip {
  padding: 16px 18px;
  background: rgba(201, 169, 110, 0.10);
  border-left: 2px solid var(--gold);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  border-radius: 0 12px 12px 0;
}

.tip b {
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
}

.file-hidden {
  display: none;
}

/* Right side Form Fields (Page 2) */
.fields {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.req-star {
  color: var(--accent);
  font-size: 15px;
}

.field-help {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: -3px;
}

.input-clean {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
  width: 100%;
}

.input-clean::placeholder {
  color: rgba(26, 27, 46, 0.32);
}

.input-clean:focus {
  border-color: var(--accent);
}

/* Contact Row Grid (Email + WhatsApp) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 0;
  color: var(--ink-2);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  padding-left: 28px;
}

/* Social handles */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--border);
}

.social-row:last-child {
  border-bottom: none;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  transition: 0.2s;
}

.social-row:focus-within .social-icon {
  background: var(--plum);
}

.social-row:focus-within .social-icon svg {
  filter: brightness(0) invert(1);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-row .platform {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-row .input-clean {
  border-bottom: none;
}

/* PDF upload card */
.pdf-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream-2);
  cursor: pointer;
  transition: 0.25s;
}

.pdf-card:hover {
  background: rgba(228, 221, 246, 0.7);
  border-color: var(--plum);
}

.pdf-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--plum), var(--accent));
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 1px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pdf-info {
  flex: 1;
}

.pdf-info .t1 {
  font-family: 'Fraunces', serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.pdf-info .t2 {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}

.pdf-info .placeholder {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink-2);
  font-size: 14.5px;
}

.pdf-remove {
  background: transparent;
  color: var(--ink-2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.pdf-remove:hover {
  background: rgba(228, 93, 123, 0.15);
  color: var(--accent);
}

/* Submit Section */
.submit-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.terms {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 400px;
}

/* Terms moved below Google Drive / WeTransfer field — match input width */
.field-group .terms {
  width: 100%;
  max-width: 100%;
}

.terms a {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-color: rgba(79, 58, 142, 0.30);
}

.submit-btn {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover:not(:disabled) {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(228, 93, 123, 0.5);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn.success {
  background: var(--success-green);
}

.submit-btn svg {
  transition: 0.2s;
}

.submit-btn:hover:not(:disabled) svg {
  transform: translateX(4px);
}

/* Success Card */
.success-card {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(45, 140, 95, 0.12), rgba(79, 58, 142, 0.10));
  border: 1.5px solid rgba(45, 140, 95, 0.40);
  display: none;
  align-items: center;
  gap: 18px;
  animation: fadeIn 0.4s ease;
}

.success-card.show {
  display: flex;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--success-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.success-text h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.success-text p {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

.ref-badge {
  display: inline-block;
  background: var(--plum);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* Footer */
footer {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
}

footer a {
  color: var(--ink-2);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 28px 20px;
  }
  .submit-section {
    grid-template-columns: 1fr;
  }
}
