@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:      #080810;
  --bg2:     #0d0d1a;
  --surface: #12121f;
  --border:  rgba(255,255,255,.07);
  --gold:    #c79b47;
  --gold2:   #e8b96a;
  --text:    #f0eee8;
  --text2:   #9090a8;
  --text3:   #50506a;
  --green:   #4caf7d;
  --red:     #cf5c5c;
  --radius:  12px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
input, textarea, select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus { border-color: rgba(199,155,71,.4); }
label { font-size: 13px; color: var(--text2); display: block; margin-bottom: 6px; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s; font-family: inherit;
  white-space: nowrap; text-decoration: none;
}
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.15); }
.btn-gold { background: var(--gold); color: #080810; }
.btn-gold:hover { background: var(--gold2); }
.btn-red { background: rgba(207,92,92,.15); color: var(--red); border: 1px solid rgba(207,92,92,.2); }
.btn-red:hover { background: rgba(207,92,92,.25); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(8,8,16,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 18px; font-weight: 800; color: var(--gold); letter-spacing: -.5px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text2); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ── PAGE HEADER ─────────────────────────────────────────────────────────── */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,155,71,.1) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.page-label {
  font-size: 12px; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.page-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.05;
  margin-bottom: 20px;
}
.page-sub {
  font-size: 18px; color: var(--text2); max-width: 520px;
  margin: 0 auto; line-height: 1.7;
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── DIVIDER ─────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-size: 16px; font-weight: 800; color: var(--gold); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color .2s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 13px; color: var(--text3); }

/* ── TOAST ───────────────────────────────────────────────────────────────── */
#toastEl { position: fixed; bottom: 24px; right: 24px; z-index: 999; pointer-events: none; }
.toast-msg {
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  animation: fadeUp .3s ease;
}
.toast-ok  { border-color: rgba(76,175,125,.3); color: var(--green); }
.toast-err { border-color: rgba(207,92,92,.3);  color: var(--red);   }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── FORM HELPERS ────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-err { color: var(--red); font-size: 13px; margin-top: 6px; min-height: 18px; }
.form-ok  { color: var(--green); font-size: 13px; margin-top: 6px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 20px; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
