/* ============================================================
   Antique Identifier — Website Stylesheet
   ============================================================ */

:root {
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark:  #A8872E;
  --bg:         #0B0B0B;
  --bg2:        #111111;
  --bg3:        #181818;
  --surface:    #1C1C1C;
  --border:     rgba(201,168,76,0.18);
  --text:       #F0EDE6;
  --text-muted: #8A8580;
  --text-dim:   #5A5550;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 4px 32px rgba(0,0,0,0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--text-muted); line-height: 1.75; }
a  { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,11,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .85rem !important;
}
.nav-cta:hover { opacity: .9; color: #000 !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; border-radius: 2px;
  transition: all .3s;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
}
.btn-primary:hover { opacity: .88; color: #000; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,168,76,.3); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card:hover { border-color: rgba(201,168,76,0.35); }

/* ── Gold badge ──────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Section header ──────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }

/* ── Gold gradient text ──────────────────────────── */
.gold { color: var(--gold); }
.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ─────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── Forms ───────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  background: rgba(201,168,76,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.form-success h3 { margin-bottom: 8px; }

/* ── FAQ Accordion ───────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gold);
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Page hero (inner pages) ─────────────────────── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* ── Prose (legal pages) ─────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 48px 0 14px; color: var(--text); }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text); }
.prose p  { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; color: var(--text-muted); margin-bottom: 16px; }
.prose li { margin-bottom: 8px; line-height: 1.75; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .last-updated {
  display: inline-block;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: .9rem;
  max-width: 260px;
  line-height: 1.65;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-dim);
}

/* ── Hero (home) ─────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(201,168,76,.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(201,168,76,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { max-width: 680px; }
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.15rem; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.hero-stat span { font-size: .85rem; color: var(--text-muted); }

/* ── Features grid ───────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card { transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }

/* ── How it works ────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step { text-align: center; }
.step-number {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  color: var(--gold);
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }

/* ── Help categories ─────────────────────────────── */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.help-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.help-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.help-card-icon {
  font-size: 22px;
  width: 44px; height: 44px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.help-card-text strong { display: block; color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.help-card-text span  { font-size: .82rem; color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid, .steps-grid, .help-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .features-grid, .steps-grid, .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
