*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #1E1F21;
  --bg2:     #252628;
  --bg3:     #2C2D30;
  --border:  #2E2E30;
  --border2: #3A3A3C;
  --w:       #ECEAE6;
  --w2:      #B0AEA8;
  --w3:      #6A6866;
  --gold:    #D4A849;
  --gold-dim: rgba(212,168,73,0.08);
  --green:   #4CAF82;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--w);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Subtle top glow */
.glow {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(212,168,73,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(30,31,33,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,73,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.nav-logo-mark svg { width: 15px; height: 15px; fill: var(--gold); }

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--w);
}

.nav-logo-text span.nav-logo-sub-text {
  color:var(--gold);
  font-family:'DM Sans',sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:0
}

.nav-cta {
  height: 34px;
  padding: 0 16px;
  background: var(--gold);
  border: none;
  border-radius: 7px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #1E1F21;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: flex; align-items: center;
}

.nav-cta:hover { opacity: 0.88; }

/* HERO / 404 */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,73,0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(90px, 18vw, 200px);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
  animation: fadeUp 0.6s ease 0.05s both;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  letter-spacing: 1px;
  max-width: 900px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.1s both;
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--w2);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.2s both;
}

/* EMAIL FORM (kept for consistency, unused on this page) */
.form-wrap {
  width: 100%;
  max-width: 460px;
  animation: fadeUp 0.6s ease 0.3s both;
}

.form-row {
  display: flex;
  gap: 8px;
}

input[type="email"] {
  flex: 1;
  height: 52px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--w);
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]::placeholder { color: var(--w3); }
input[type="email"]:focus { border-color: rgba(212,168,73,0.45); }

.form-btn {
  height: 52px;
  padding: 0 22px;
  background: var(--gold);
  border: none;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #1E1F21;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.form-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.form-btn:active { transform: translateY(0); }

.form-note {
  font-size: 11px;
  color: var(--w3);
  text-align: center;
  margin-top: 12px;
}

.success-msg {
  display: none;
  padding: 16px;
  background: rgba(76,175,130,0.08);
  border: 1px solid rgba(76,175,130,0.2);
  border-radius: 10px;
  color: var(--green);
  font-size: 14px;
  text-align: center;
}

.success-msg.show { display: block; }

.error-msg {
  display: none;
  padding: 14px;
  background: rgba(224,92,92,0.08);
  border: 1px solid rgba(224,92,92,0.2);
  border-radius: 8px;
  color: #E05C5C;
  font-size: 14px;
  text-align: center;
}

.error-msg.show { display: block; }

/* ACTIONS */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s ease 0.3s both;
}

.btn {
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.15s, border-color 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: #1E1F21;
  border: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg2);
  color: var(--w);
  border: 1px solid var(--border2);
}

.btn-secondary:hover { border-color: rgba(212,168,73,0.45); transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0); }

/* DIVIDER */
.section-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-label { font-size: 10px; color: var(--w3); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }

/* FEATURES */
.features {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--border2); }

.feature-icon {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,73,0.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--w);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--w2);
  line-height: 1.6;
  font-weight: 300;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--w3);
}

footer a {
  color: var(--w3);
  text-decoration: none;
}

footer a:hover {
  color: var(--w2);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .form-row { flex-direction: column; }
  .form-btn { width: 100%; }
  .actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { width: 100%; }
  nav { padding: 0 16px; }
}