/* Hero Section */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-content {
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
  line-height: 1.3;
  text-shadow: 0 0 40px rgba(212, 168, 67, 0.15);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
  line-height: 1.6;
}

/* Form Container */
.form-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
  animation: scaleIn 0.6s ease;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--gold-primary);
  text-align: center;
  margin-bottom: 32px;
}

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

.form-row {
  display: flex;
  gap: 16px;
}

.form-group-half {
  flex: 1;
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 16px 16px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: all var(--transition-normal);
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.form-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) hue-rotate(0deg) brightness(1.2);
  cursor: pointer;
}

/* Floating Labels */
.form-label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  transition: all var(--transition-fast);
  pointer-events: none;
  background: transparent;
  padding: 0 4px;
}

.form-input:focus ~ .form-label, 
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: var(--gold-primary);
  background: var(--bg-primary); /* Use solid color to hide border behind text */
}

.form-label-static {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  display: none;
  box-shadow: var(--shadow-lg);
  margin-top: 4px;
}

.autocomplete-dropdown.active {
  display: block;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(212, 168, 67, 0.05);
  transition: background var(--transition-fast);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover, .autocomplete-item.active {
  background: rgba(212, 168, 67, 0.1);
  color: var(--text-primary);
}

.autocomplete-item small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Gender Group */
.gender-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gender-option {
  display: flex;
}

.gender-option input[type="radio"] {
  display: none;
}

.gender-option span {
  padding: 10px 24px;
  border-radius: 25px;
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gender-option input:checked + span {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #0a0e1a;
  border-color: var(--gold-primary);
  font-weight: 600;
}

.gender-option span:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

/* Form Errors */
.form-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
  animation: fadeIn 0.3s ease;
  display: block;
}

.form-input.error {
  border-color: var(--danger);
}
