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

:root {
  --bg: #120808;
  --bg-card: #1a0e0e;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-dark: #a08030;
  --text: #e8dcc8;
  --text-muted: #8a7e6e;
  --border: #2a1a1a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 40px;
}

.logo-img {
  width: 140px;
  height: 70px;
  margin-bottom: 16px;
}

.logo h1 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
}

.logo .divider {
  width: 200px;
  height: 1px;
  background: var(--gold-dark);
  margin: 12px auto 0;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}

.card-badge {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.card h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.card p.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--gold-dark);
}

.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Role selector */
.role-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.role-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.role-card:hover {
  border-color: var(--gold-dark);
}

.role-card.active {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.role-card .role-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.role-card .role-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.role-card .role-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  border-radius: 12px;
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  opacity: 0.9;
}

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

.consent {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.4;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #c0392b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  transition: transform 0.3s;
  z-index: 100;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* About page */
.about-hero {
  text-align: center;
  padding: 40px 0;
}

.about-hero h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

.about-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
  text-align: center;
}

.about-section h3 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}

.about-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.success-check {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 28px;
}

@media (max-width: 520px) {
  .card {
    padding: 28px 20px;
  }
  .card h2 {
    font-size: 22px;
  }
  .logo h1 {
    font-size: 18px;
    letter-spacing: 4px;
  }
}
