/* Perqo — shared sub-page styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --purple: #6C47FF; --purple-dark: #5535DD; --purple-faint: #f3f0ff;
  --ink: #111827; --ink-2: #374151; --muted: #6b7280;
  --border: #e5e7eb; --bg: #fff; --bg-2: #f9f8ff; --dark: #0d0d1a;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Nav */
nav:not(.footer-nav) { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 60px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.2rem; font-weight: 800; color: var(--purple); letter-spacing: -.04em; }
.nav-back { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-back:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .375rem; font-family: 'Inter',sans-serif; font-size: .875rem; font-weight: 600; padding: .625rem 1.25rem; border-radius: 8px; cursor: pointer; transition: background .15s, opacity .15s; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-primary-lg { background: var(--purple); color: #fff; padding: .875rem 1.75rem; font-size: 1rem; font-weight: 700; border-radius: 8px; display: inline-flex; align-items: center; text-decoration: none; transition: background .15s; }
.btn-primary-lg:hover { background: var(--purple-dark); }
.btn-white-lg { background: #fff; color: var(--purple); padding: .875rem 1.75rem; font-size: 1rem; font-weight: 700; border-radius: 8px; display: inline-flex; align-items: center; text-decoration: none; transition: opacity .15s; }
.btn-white-lg:hover { opacity: .9; }

/* Page hero */
.page-hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 1.5rem 4rem; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: #fff; max-width: 700px; margin-bottom: 1.25rem; }
.page-hero h1 .hl { color: rgba(210,195,255,1); }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,.72); line-height: 1.72; max-width: 540px; margin-bottom: 2.25rem; }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--dark); }
.wrap { max-width: 1100px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin-bottom: .875rem; display: block; }
.eyebrow-light { color: rgba(167,139,250,1); }
.section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 1.25rem; }
.section-dark h2 { color: #fff; }
.body-text { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.body-text-light { color: rgba(255,255,255,.55); }

/* Feature list */
.feat-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.feat-item { display: flex; gap: 1rem; align-items: flex-start; }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.feat-title { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.feat-desc { font-size: .8125rem; color: var(--muted); line-height: 1.65; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.step-item { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { width: 28px; height: 28px; border-radius: 7px; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .78rem; font-weight: 800; margin-top: .1rem; }
.step-title { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.step-desc { font-size: .8125rem; color: var(--muted); line-height: 1.65; }

/* ROI table */
.roi-list { display: flex; flex-direction: column; gap: .625rem; margin-top: 1.75rem; }
.roi-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-radius: 8px; gap: 1rem; }
.roi-default { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.roi-accent { background: rgba(108,71,255,.2); border: 1px solid rgba(108,71,255,.4); }
.roi-label { font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.75); }
.roi-val { font-size: 1.125rem; font-weight: 800; }
.roi-brand { color: #a78bfa; }
.roi-green { color: #4ade80; }
.roi-white { color: #fff; }
.roi-dim { color: rgba(255,255,255,.45); font-size: .875rem; }

/* Tag chips */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.5rem; }
.tag-pill { background: var(--bg-2); border: 1px solid var(--border); color: var(--ink-2); font-size: .8125rem; font-weight: 600; padding: .5rem 1rem; border-radius: 100px; }

/* CTA */
.cta-band { background: var(--purple); padding: 5rem 1.5rem; text-align: center; }
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; margin-bottom: 1rem; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 420px; margin: 0 auto 2rem; line-height: 1.7; }

/* Footer */
footer { background: var(--dark); }
.footer-top { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem 3rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-wordmark { font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: #fff; flex-shrink: 0; }
.footer-tagline { font-size: .9375rem; color: rgba(255,255,255,.35); line-height: 1.6; max-width: 280px; padding-bottom: .5rem; text-align: right; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0; }
.footer-nav-group { display: flex; flex-wrap: wrap; align-items: center; }
.footer-nav-group + .footer-nav-group { margin-left: 1.5rem; }
.footer-nav a { font-size: .8125rem; color: rgba(255,255,255,.38); transition: color .15s; padding: .25rem .5rem; }
.footer-nav a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.2); white-space: nowrap; }

/* Responsive */
@media (max-width: 768px) {
  .nav-back { display: none; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-img { aspect-ratio: 4/3; }
  .page-hero { min-height: 65vh; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-direction: column; gap: .25rem; }
  .footer-nav-group { flex-direction: column; align-items: flex-start; }
  .footer-nav-group + .footer-nav-group { margin-left: 0; margin-top: 1rem; }
  .footer-nav a { padding: .375rem 0; }
}
