/* Made by: Bert Rendon — VabcV CRM product landing styles (16Jul2026). */
/* Palette inherited from the product login: deep purple dominant + single gold
   accent, on light pharma-clean backgrounds. Never dark mode. */

:root {
  --purple-900: #2D0845;
  --purple-700: #541A81;
  --purple-600: #7028A6;
  --purple-400: #9A41DB;
  --gold:       #C8A84E;
  --gold-deep:  #A98A34;

  --ink:        #241634;
  --ink-soft:   #5b5470;
  --bg:         #ffffff;
  --bg-soft:    #f6f3fb;
  --bg-tint:    #faf8fe;
  --line:       #ece7f4;

  --shadow-sm: 0 2px 10px rgba(45, 8, 69, .06);
  --shadow-md: 0 14px 40px rgba(45, 8, 69, .12);
  --radius:    16px;
  --maxw:      1140px;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.01em; color: var(--purple-900); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--gold   { background: var(--gold); color: var(--purple-900); box-shadow: 0 8px 22px rgba(200,168,78,.35); }
.btn--gold:hover { background: #d8ba63; }
.btn--ghost  { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--outline{ background: transparent; color: var(--purple-700); border-color: var(--purple-400); }
.btn--outline:hover { background: var(--purple-700); color: #fff; border-color: var(--purple-700); }
.btn--lg { padding: 16px 34px; font-size: 16px; }

/* ---------------- Burger menu ---------------- */
.nav-toggle {
  position: fixed; top: 18px; right: 18px; z-index: 60;
  width: 48px; height: 48px; border: none; cursor: pointer;
  border-radius: 12px;
  background: rgba(45, 8, 69, .85);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease;
}
.nav-toggle:hover { background: var(--purple-700); }
.nav-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav-toggle__bar {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(20, 4, 34, .45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s ease;
}
.nav-backdrop.is-open { opacity: 1; }

.nav-panel {
  position: fixed; top: 0; right: 0; z-index: 55;
  height: 100%; width: min(320px, 82vw);
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700));
  padding: 92px 30px 30px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 50px rgba(0,0,0,.3);
}
.nav-panel.is-open { transform: translateX(0); }
.nav-panel a {
  color: #efe8fa; font-family: var(--font-display); font-weight: 500; font-size: 17px;
  padding: 13px 14px; border-radius: 10px; transition: background .18s ease, color .18s ease;
}
.nav-panel a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-panel__login {
  background: var(--gold) !important; color: var(--purple-900) !important;
  font-weight: 700 !important; text-align: center; margin-bottom: 12px;
}
.nav-panel__login:hover { background: #d8ba63 !important; }

/* ---------------- Hero ---------------- */
/* Full-viewport hero: fills the screen so the next (white) section starts below
   the fold. 100dvh keeps it exact on mobile browsers with dynamic toolbars.
   Made by: Bert Rendon (17Jul2026). */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--purple-900) 0%, var(--purple-700) 48%, var(--purple-600) 100%);
  color: #fff;
  min-height: 100vh;          /* fallback */
  min-height: 100dvh;         /* dynamic viewport (mobile toolbars) */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* vertical centering of the hero content */
  padding: 72px 0;
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
/* Brand lockup — VERTICAL: logo on top, wordmark centered beneath it, whole
   lockup centered as a block. Sized for real brand presence. Made by: Bert Rendon (17Jul2026). */
.hero__brand { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero__logo { width: 116px; height: 116px; border-radius: 22px; box-shadow: var(--shadow-sm); }
.hero__wordmark { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: .5px; }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin-bottom: 20px; }
.hero__sub { max-width: 720px; margin: 0 auto 32px; font-size: clamp(1rem, 2.2vw, 1.2rem); color: #e7ddf3; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 18px 24px; min-width: 210px;
}
.stat__k { display: block; font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 15px; }
.stat__v { display: block; color: #e7ddf3; font-size: 14px; margin-top: 4px; }

.hero__glow {
  position: absolute; z-index: 1; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(154,65,219,.55) 0%, rgba(154,65,219,0) 68%);
  top: -180px; right: -160px; pointer-events: none;
}

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 20px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink-soft); }
.section .sub { color: var(--ink-soft); max-width: 640px; margin: 0 auto 44px; font-size: 1.08rem; }

.section--why { background: var(--bg-soft); }
.section--why h2 { max-width: 760px; }
.section--why .lead { margin-top: 8px; }

/* ---------------- Pillars ---------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--purple-700), var(--purple-400));
  display: flex; align-items: center; justify-content: center;
}
.pillar__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.pillar h3 { font-size: 1.16rem; margin-bottom: 10px; }
.pillar p { font-size: .95rem; color: var(--ink-soft); }

/* ---------------- Feature grid ---------------- */
.section--grid { background: var(--bg-tint); }
.modules {
  list-style: none; margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.modules li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; position: relative; padding-left: 46px;
  transition: border-color .18s ease, transform .18s ease;
}
.modules li:hover { border-color: var(--purple-400); transform: translateY(-2px); }
.modules li::before {
  content: ""; position: absolute; left: 18px; top: 22px;
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
}
.modules li span { display: block; font-family: var(--font-display); font-weight: 600; color: var(--purple-900); }
.modules li em { display: block; font-style: normal; font-size: .85rem; color: var(--ink-soft); margin-top: 3px; }

/* ---------------- Training ---------------- */
.section--training { background: linear-gradient(150deg, var(--purple-900), var(--purple-700)); color: #fff; }
.section--training h2 { color: #fff; }
.section--training .lead { color: #e7ddf3; }
.section--training .eyebrow { color: var(--gold); }

/* ---------------- Pricing ---------------- */
.section--pricing { background: var(--bg-soft); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier--featured {
  border: 2px solid var(--gold); position: relative;
  box-shadow: 0 18px 46px rgba(112,40,166,.18);
}
.tier__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--purple-900);
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .05em;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.tier__name { font-size: 1.5rem; margin-bottom: 6px; }
.tier__pitch { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; min-height: 48px; }
.tier__list { list-style: none; margin: 0 0 24px; flex-grow: 1; }
.tier__list li {
  position: relative; padding-left: 26px; margin-bottom: 12px; font-size: .93rem; color: var(--ink);
}
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--purple-600); border-bottom: 2px solid var(--purple-600);
  transform: rotate(-45deg);
}
.tier__price { font-family: var(--font-display); font-weight: 600; color: var(--gold-deep); margin-bottom: 18px; font-size: 1.05rem; }
.tier .btn { width: 100%; text-align: center; }

/* ---------------- Contact ---------------- */
.section--contact { background: var(--bg-tint); }
.section--contact .lead { margin: 0 auto 30px; max-width: 640px; }
.note { margin-top: 16px; color: var(--ink-soft); font-size: .9rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--purple-900); color: #d9cceb; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; color: #fff; }
.footer__logo { width: 34px; height: 34px; border-radius: 8px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: #d9cceb; font-size: .92rem; transition: color .18s ease; }
.footer__links a:hover { color: var(--gold); }
.footer__credit { width: 100%; text-align: center; font-size: .82rem; color: #9b86b8; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; margin-top: 6px; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier--featured { order: -1; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0; }
  .hero__logo { width: 80px; height: 80px; border-radius: 16px; }
  .hero__wordmark { font-size: 26px; }
  .hero__brand { gap: 10px; margin-bottom: 20px; }
  .pillars { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* Short viewports (e.g. 768–800px-tall laptops): compress the hero's vertical
   rhythm so the full lockup + eyebrow + H1 + sub + CTAs + stats fit within one
   screen without cutting content. Made by: Bert Rendon (17Jul2026). */
@media (max-height: 820px) {
  .hero { padding: 28px 0; }
  .hero__brand { margin-bottom: 14px; gap: 10px; }
  .hero__logo { width: 90px; height: 90px; }
  .hero__wordmark { font-size: 28px; }
  .eyebrow { margin-bottom: 10px; }
  .hero__title { margin-bottom: 12px; }
  .hero__sub { margin-bottom: 18px; }
  .hero__cta { margin-bottom: 24px; }
  .stat { padding: 10px 18px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .pillar:hover, .tier:hover, .modules li:hover { transform: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
