/* =======================
   APEXVAULT — THEME CSS
   Dark Obsidian + Warm Gold
   ======================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --fg: #e8e0d0;
  --fg-muted: #8a8078;
  --fg-dim: #4a4540;
  --accent: #c9a550;
  --accent-dim: rgba(201,165,80,0.12);
  --accent-glow: rgba(201,165,80,0.06);
  --border: rgba(201,165,80,0.15);
  --border-dim: rgba(201,165,80,0.07);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Barlow', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =======================
   NAV
   ======================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
}
.nav__brand { display: flex; align-items: center; gap: 0.75rem; }
.nav__logo { width: 28px; height: 28px; }
.nav__name { font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0.05em; color: var(--fg); }
.nav__tagline { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 400; }

/* =======================
   HERO
   ======================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(201,165,80,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 80% 20%, rgba(201,165,80,0.03) 0%, transparent 60%),
    linear-gradient(160deg, #0d0d0d 0%, #080808 50%, #0a0808 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,165,80,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,165,80,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero__car-silhouette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  font-weight: 300;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}
.hero__divider {
  width: 1px;
  height: 40px;
  background: var(--border-dim);
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =======================
   PHILOSOPHY
   ======================= */
.philosophy {
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 7rem 4rem;
}
.philosophy__inner { max-width: 720px; }
.philosophy__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
}
.philosophy__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}
.philosophy__body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  padding-left: 2rem;
}

/* =======================
   FEATURES
   ======================= */
.features {
  padding: 8rem 4rem;
  background: var(--bg);
}
.features__header { max-width: 560px; margin-bottom: 4rem; }
.features__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.features__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.features__title em { font-style: italic; color: var(--accent); }
.features__desc { font-size: 1rem; color: var(--fg-muted); line-height: 1.6; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
}
.features__card {
  background: var(--bg);
  padding: 3rem;
  transition: background 0.3s ease;
}
.features__card:hover { background: var(--bg-3); }
.features__card-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.features__card-icon svg { width: 100%; height: 100%; }
.features__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.features__card-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* =======================
   COLLECTIVE
   ======================= */
.collective {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
.collective__left {
  padding: 7rem 4rem;
  border-right: 1px solid var(--border-dim);
}
.collective__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.collective__badge-num {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.collective__badge-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.5;
}
.collective__counter-text {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 340px;
}
.collective__right {
  padding: 7rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.collective__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.collective__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.collective__brand {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--border-dim);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
}

/* =======================
   CLOSING
   ======================= */
.closing {
  padding: 10rem 4rem;
  background: var(--bg);
  text-align: center;
}
.closing__inner { max-width: 640px; margin: 0 auto; }
.closing__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
}
.closing__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.closing__body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}
.closing__line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2rem;
  opacity: 0.6;
}
.closing__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* =======================
   FOOTER
   ======================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  padding: 4rem 4rem 3rem;
  text-align: center;
}
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer__logo { width: 24px; height: 24px; }
.footer__name { font-family: var(--font-serif); font-size: 1rem; letter-spacing: 0.05em; }
.footer__copy { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.footer__legal { font-size: 0.7rem; color: var(--fg-dim); line-height: 1.6; max-width: 480px; margin: 0 auto; }

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav__tagline { display: none; }
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero__meta { gap: 1.25rem; }
  .hero__stat-num { font-size: 1.4rem; }
  .hero__scroll { display: none; }
  .philosophy { padding: 4rem 1.5rem; }
  .features { padding: 5rem 1.5rem; }
  .features__grid { grid-template-columns: 1fr; }
  .collective { grid-template-columns: 1fr; }
  .collective__left { border-right: none; border-bottom: 1px solid var(--border-dim); padding: 4rem 1.5rem; }
  .collective__right { padding: 4rem 1.5rem; }
  .closing { padding: 6rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 2rem; }
}