/* GETY Brand Typography */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors from GETY brand */
  --primary: #9c1aff;
  --primary-hover: #7400cc;
  --gold: #caa869;
  --background: #f6f4ef;
  --text-dark: #1a1a2e;
  --text-gray: #666666;
  --border: #e9ecef;
  --error: #cc000e;
  --success: #4aa785;
  --light-purple-border: #f4e5ff;

  /* Typography */
  --font-family:
    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--primary);
}

.lang-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Steps */
.step {
  display: none;
}

.step.active {
  display: block;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* Form */
.form {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

input,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 16px;
  transition: border-color 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

input::placeholder {
  color: #adb5bd;
}

/* Form validation errors */
.form-group.error input,
.form-group.error select {
  border-color: var(--error);
}

.form-group.error label {
  color: var(--error);
}

.error-message {
  display: none;
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
}

.form-group.error .error-message {
  display: block;
}

/* Buttons - 24px border-radius per GETY brand guidelines */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 24px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 14px 28px;
  border: 1px solid var(--light-purple-border);
  border-radius: 24px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
  width: 100%;
  margin-top: 12px;
}

.btn-secondary:hover {
  background: #f0e6ff;
}

/* Document Preview */
.document {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.document h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 24px;
}

.document .field {
  border-bottom: 1px solid var(--text-dark);
  display: inline;
  padding: 0 4px;
}

.document p {
  margin-bottom: 8px;
}

.document ul {
  margin: 16px 0;
  padding-left: 24px;
}

.document li {
  margin-bottom: 8px;
}

/* Instructions */
.instruction-list {
  margin: 32px 0;
}

.instruction {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 12px;
}

.instruction .number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.instruction h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.instruction p {
  color: var(--text-gray);
  font-size: 14px;
}

.instruction a {
  color: var(--primary);
}

/* Actions */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-back {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
}

.link-back:hover {
  text-decoration: underline;
}

/* Error State */
#step-error {
  text-align: center;
  padding: 48px 24px;
}

#step-error h1 {
  color: var(--error);
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  .form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .document {
    padding: 24px;
  }
}
