/* ============================================================
   VAULT — Real Estate Investing Toolkit
   Brand: black (#000) + gold (#C9A84C). Bebas Neue + Inter.
   ============================================================ */

:root {
  --black: #000000;
  --gold: #C9A84C;
  --gold-dark: #B8860B;
  --white: #FFFFFF;
  --grey: #CCCCCC;
  --divider: #1A1A1A;
  --gold-border: rgba(201, 168, 76, 0.35);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.96;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--black); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 15px 34px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.btn--lg {
  font-size: 1.85rem;
  padding: 18px 54px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img { height: 30px; width: auto; }

.nav__btn {
  font-size: 1.05rem;
  padding: 11px 22px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 90px;
}

.hero__title {
  font-size: clamp(5.5rem, 23vw, 13rem);
  line-height: 0.88;
}

.hero__sub {
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.3;
  max-width: 780px;
  margin: 30px auto 0;
}

.hero__body {
  color: var(--grey);
  max-width: 620px;
  margin: 24px auto 0;
}

.hero__cta { margin-top: 42px; }

.hero__note {
  color: var(--grey);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-top: 20px;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  border-top: 1px solid var(--divider);
}

.section__title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.section__sub {
  color: var(--grey);
  text-align: center;
  max-width: 660px;
  margin: 22px auto 0;
}

.prose {
  max-width: 700px;
  margin: 38px auto 0;
  text-align: center;
  color: var(--white);
}

.prose p + p { margin-top: 22px; }

/* ---------- Social proof bar ---------- */
.proof {
  background: var(--divider);
  padding: 58px 0;
}

.proof__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 90px;
  text-align: center;
}

.proof__num {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--gold);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1;
}

.proof__label {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-top: 8px;
}

/* ---------- The 5 tools ---------- */
.tools__list { margin-top: 64px; }

.tool {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 60px 0;
}

.tool:not(:last-child) { border-bottom: 1px solid var(--divider); }
.tool--reverse { flex-direction: row-reverse; }

.tool__text { flex: 1 1 0; }

.tool__name {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--gold);
}

.tool__desc { color: var(--white); margin-top: 18px; }
.tool__desc p + p { margin-top: 16px; }

.tool__visual {
  flex: 1 1 0;
  align-self: stretch;
  min-height: 330px;
  background: var(--divider);
  border: 1px solid var(--gold-border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

/* ---------- How it works ---------- */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step__num {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--gold);
  font-size: 3.6rem;
  line-height: 1;
}

.step__title {
  font-size: 1.85rem;
  margin-top: 8px;
}

.step__desc { color: var(--white); margin-top: 14px; }

/* ---------- Founder ---------- */
.founder .prose { max-width: 650px; }

.founder__sign {
  text-align: center;
  color: var(--gold);
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 28px;
}

/* ---------- Pricing ---------- */
.pricing__card {
  max-width: 540px;
  margin: 56px auto 0;
  background: var(--divider);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 56px 48px;
  text-align: center;
}

.pricing__price {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--gold);
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 0.85;
}

.pricing__per {
  color: var(--white);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.pricing__divider {
  height: 1px;
  background: var(--gold-border);
  margin: 32px 0;
}

.pricing__list {
  list-style: none;
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
}

.pricing__list li {
  color: var(--white);
  position: relative;
  padding: 9px 0 9px 36px;
}

.pricing__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--gold);
  font-weight: 700;
}

.pricing__btn {
  margin-top: 36px;
  width: 100%;
  font-size: 1.7rem;
  padding: 18px 0;
}

.pricing__note {
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 780px;
  margin: 52px auto 0;
}

.faq__item { border-bottom: 1px solid var(--divider); }

.faq__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--gold);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq__item.open .faq__a { max-height: 400px; }

.faq__a-inner {
  color: var(--white);
  padding: 0 0 26px;
}

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final__title { font-size: clamp(3rem, 9vw, 6rem); }
.final .btn--lg { margin-top: 38px; }
.final .hero__note { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--divider);
  padding: 60px 0;
  text-align: center;
}

.footer img {
  height: 26px;
  width: auto;
  margin: 0 auto 22px;
}

.footer p {
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 6px;
}

.footer__url { color: var(--white); letter-spacing: 0.04em; }
.footer a { color: var(--gold); }
.footer a:hover { color: var(--gold-dark); }

/* ---------- Success page ---------- */
.success {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.success__inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.success__logo { height: 34px; width: auto; margin: 0 auto 36px; }
.success__title { font-size: clamp(3rem, 11vw, 6rem); }

.success__sub {
  font-size: clamp(1.2rem, 3.2vw, 1.7rem);
  color: var(--white);
  font-weight: 500;
  margin-top: 22px;
}

.success__body { color: var(--white); margin-top: 20px; }

.tool-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 40px 0 28px;
}

.tool-link {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  padding: 18px 24px;
  border-radius: 3px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.tool-link:hover { background: var(--gold-dark); transform: translateY(-2px); }

.success__bookmark {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.instructions {
  text-align: left;
  background: var(--divider);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 30px 34px;
}

.instructions__title {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.instructions ul { list-style: none; }
.instructions li { color: var(--white); padding: 7px 0; }
.instructions li strong { color: var(--gold); font-weight: 600; }

.success__footer {
  margin-top: 40px;
  color: var(--grey);
  font-size: 0.9rem;
}

.success__footer a { color: var(--gold); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .tool,
  .tool--reverse {
    flex-direction: column;
    gap: 30px;
    padding: 46px 0;
  }

  .tool__visual { width: 100%; min-height: 220px; }
  .steps { grid-template-columns: 1fr; gap: 46px; text-align: center; }
  .section { padding: 80px 0; }
  .proof__grid { gap: 36px 60px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav__inner { height: 64px; }
  .nav__logo img { height: 25px; }
  .nav__btn { font-size: 0.92rem; padding: 9px 16px; }
  .btn--lg { font-size: 1.55rem; padding: 16px 0; width: 100%; max-width: 380px; }
  .hero { padding: 110px 0 70px; }
  .pricing__card { padding: 44px 26px; }
  .faq__q { font-size: 1.35rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .tool-link:hover { transform: none; }
}
