/* Prime Bear — shared stylesheet */

:root {
  --bg: #FAFAFA;
  --panel: #FFFFFF;
  --ink: #111111;
  --soft: #6B6B6B;
  --faint: #A3A3A3;
  --gold: #FDBA4D;
  --golddeep: #E8A026;
  --line: #E8E6E1;
}

* { box-sizing: border-box; }

.hidden { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display { font-family: 'Poppins', sans-serif; }

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

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 24px;
  background: rgba(250,250,250,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17,17,17,0.25); }
.nav-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.1rem; }
.dot { width: 12px; height: 12px; border-radius: 999px; background: var(--gold); display: inline-block; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--golddeep); }
.nav-cta {
  background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  transition: transform .3s ease, box-shadow .3s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(17,17,17,0.4); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; margin-top: 12px;
}
.mobile-menu.open { max-height: 480px; }
.mobile-menu a { display: block; padding: 14px 20px; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem;
  padding: 15px 28px; border-radius: 999px; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(253,186,77,0.55); }
.btn-dark { background: var(--ink); color: #fff; font-weight: 500; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(17,17,17,0.35); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- Sections / type ---------- */
section { padding: 96px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 26px 20px; }
}
.section-border { border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--golddeep); font-weight: 600; }
h1.display { font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; }
h1.display b, h2.display b { font-weight: 600; }
h2.display { font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
p.lead { color: var(--soft); font-weight: 300; line-height: 1.7; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
  display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -26px rgba(17,17,17,0.22); }
.card-img { height: 170px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 24px; }
.card-body h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 600; }
.card-body p { margin: 0; font-size: 0.9rem; color: var(--soft); line-height: 1.6; }
.card-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--golddeep); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1.visible { transition-delay: .08s; } .d2.visible { transition-delay: .16s; }
.d3.visible { transition-delay: .24s; } .d4.visible { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 36px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--soft); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--soft); padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.social a:hover { border-color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--faint); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 54px; height: 54px; border-radius: 999px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  transition: transform .3s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Checklist ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  width: 100%;
}
.check-item span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.check-item svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--golddeep);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step-num { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 300; color: var(--line); }

/* ---------- FAQ ---------- */
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .chev { transition: transform .3s ease; color: var(--gold); font-size: 1.2rem; }
details.faq[open] .chev { transform: rotate(45deg); }
details.faq .answer { padding-top: 10px; font-size: 0.9rem; color: var(--soft); line-height: 1.65; }

/* ---------- Form ---------- */
.field {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-size: 0.9rem; font-family: 'Inter', sans-serif; background: var(--panel); color: var(--ink);
}
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(253,186,77,0.25); }
.field::placeholder { color: var(--faint); }

/* ---------- Misc ---------- */
.pill { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.pill:hover { border-color: var(--gold); background: var(--bg); }
.stat b { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 600; display: block; }
.stat span { font-size: 0.85rem; color: var(--soft); }
.quote { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 300; font-style: italic; line-height: 1.5; }
