/* ===== Liviu Gold — Registration page ===== */

:root {
  --gold: #b8860b;
  --gold-bright: #d4af37;
  --gold-deep: #9c7314;
  --bg: #f6f7f9;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --card-2: #f1f3f6;
  --line: #e2e6ec;
  --text: #1a1f27;
  --muted: #6b7480;
  --error: #d83a3a;
  --success: #1ea25a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(26, 31, 39, 0.10);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(212, 175, 55, 0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
}
.logo { display: flex; align-items: center; }
.logo:hover { text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 16px; }
.header-help { color: var(--muted); font-size: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); text-decoration: none; }
.btn-primary {
  color: #1a1500;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(212, 175, 55, 0.45); }
.btn-block { width: 100%; padding: 15px; font-size: 16px; }

/* ===== Layout ===== */
.page { padding: 56px 0 72px; }
.grid {
  display: flex;
  justify-content: center;
}

/* ===== Hero ===== */
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12.5px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.gold { color: var(--gold); }
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  margin: 20px 0 36px;
  max-width: 520px;
}

.benefits { list-style: none; display: grid; gap: 22px; margin-bottom: 40px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 20px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.benefits h3 { font-size: 16px; font-weight: 700; }
.benefits p { color: var(--muted); font-size: 14.5px; }

.trust {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 22px; color: var(--gold); font-weight: 800; }
.trust-item span { color: var(--muted); font-size: 13px; }
.trust-divider { width: 1px; height: 38px; background: var(--line); }

/* ===== Form ===== */
.form-wrap { width: 100%; max-width: 460px; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-head { margin-bottom: 24px; }
.form-head h2 { font-size: 24px; font-weight: 800; }
.form-head p { color: var(--gold-bright); font-size: 14px; margin-top: 4px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
input::placeholder { color: #67727e; }
input:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa6b2' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
select option { background: var(--card); color: var(--text); }

.phone-group { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.phone-group select { text-overflow: ellipsis; }

.password-group { position: relative; }
.password-group input { padding-right: 46px; }
.toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 17px;
  cursor: pointer;
  padding: 8px;
  opacity: 0.7;
}
.toggle-password:hover { opacity: 1; }

/* Password strength */
.strength { display: flex; gap: 6px; margin-top: 9px; }
.strength-bar {
  height: 4px;
  flex: 1;
  border-radius: 3px;
  background: var(--line);
  transition: background 0.2s ease;
}
.strength.s1 .strength-bar:nth-child(1) { background: var(--error); }
.strength.s2 .strength-bar:nth-child(-n+2) { background: #ffa94d; }
.strength.s3 .strength-bar:nth-child(-n+3) { background: var(--gold-bright); }
.strength.s4 .strength-bar { background: var(--success); }
.strength-label { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; }

/* Checkbox */
.checkbox-field { margin-top: 6px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox span { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Errors */
.error {
  display: none;
  color: var(--error);
  font-size: 12.5px;
  margin-top: 6px;
}
.error.show { display: block; }
.field.invalid input,
.field.invalid select { border-color: var(--error); }

/* Divider + social */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12.5px;
}
.divider::before,
.divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-social {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 600;
}
.btn-social:hover { border-color: var(--gold); }
.g-icon {
  font-weight: 800;
  color: var(--gold-bright);
}
.a-icon::before { content: ""; font-size: 16px; }

.login-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

.risk-note {
  color: #6c7682;
  font-size: 11.5px;
  line-height: 1.55;
  margin-top: 22px;
  text-align: center;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--card-2);
  border: 1px solid var(--success);
  color: var(--text);
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14.5px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  text-align: center;
}
.site-footer p { color: var(--muted); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .form-wrap { position: static; }
  .hero { order: 2; }
  .form-wrap { order: 1; }
}
@media (max-width: 560px) {
  .page { padding: 32px 0 48px; }
  .form-card { padding: 24px 20px; }
  .trust { flex-wrap: wrap; gap: 18px; }
  .trust-divider { display: none; }
  .header-help { display: none; }
  .social-row { grid-template-columns: 1fr; }
  .phone-group { grid-template-columns: 120px 1fr; }
}
