/* ============================================================
   RolePilot — style.css
   Minimal, professional micro-SaaS landing page.
   Theme is driven by CSS variables (edit below to re-skin).
   ============================================================ */

:root {
  --blurple: #5865F2;
  --blurple-dark: #4752c4;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-dark: #0b1020;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: #eef0fb;
  color: var(--blurple-dark);
  padding: .1em .4em;
  border-radius: 6px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blurple); color: #fff; }
.btn--primary:hover { background: var(--blurple-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blurple); color: var(--blurple-dark); }
.btn--small { padding: 9px 16px; font-size: 14px; background: var(--blurple); color: #fff; }
.btn--small:hover { background: var(--blurple-dark); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand { display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.nav__links a:hover { color: var(--blurple-dark); }
.nav__links a.btn { color: #fff; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(88, 101, 242, .14), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blurple);
  margin-bottom: 18px;
}
.hero__title { font-size: clamp(28px, 6vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.hero__sub {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 18px;
  color: var(--ink-soft);
}
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__badges {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
}
.hero__badges li {
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.section__head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.grid { display: grid; gap: 22px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.grid--pricing { grid-template-columns: repeat(3, 1fr); align-items: start; }
.grid--shots { grid-template-columns: repeat(3, 1fr); }
.grid--tech { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature ---------- */
.feature { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7daf7; }
.feature__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #eef0fb;
  color: var(--blurple);
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step__num {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blurple); color: #fff; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price { display: flex; flex-direction: column; height: 100%; }
.price--featured {
  border-color: var(--blurple);
  box-shadow: 0 12px 36px rgba(88, 101, 242, .18);
  position: relative;
}
.price__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blurple); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 14px; border-radius: 999px;
}
.price__name { font-size: 18px; }
.price__amount { font-size: 42px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.price__tag { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.price__list { display: grid; gap: 11px; margin-bottom: 26px; }
.price__list li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft);
}
.price__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--blurple); font-weight: 800;
}
.price__cta { margin-top: auto; text-align: center; }
.price__note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }

/* ---------- Screenshots ---------- */
.shot { margin: 0; }
.shot__placeholder {
  aspect-ratio: 16 / 10;
  border: 1.5px dashed #cdd2e6;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #f3f4fb, #f3f4fb 12px, #eef0f8 12px, #eef0f8 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius); display: block;
}
.shot__placeholder span { font-weight: 700; color: var(--ink-soft); }
.shot__placeholder small { color: var(--muted); font-size: 12.5px; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Tech ---------- */
.tech h3 { font-size: 16px; color: var(--blurple-dark); margin-bottom: 8px; }
.tech p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- About ---------- */
.about p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px;
}
.about__stats li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.about__stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--blurple); }
.about__stats span { font-size: 13.5px; color: var(--muted); }
.about__activity { margin: 34px 0 0; }
.about__activity img {
  width: 100%; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.about__activity figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Contact CTA ---------- */
.section--cta {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(88, 101, 242, .25), transparent 60%),
    var(--bg-dark);
  color: #fff; text-align: center;
}
.section--cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: #fff; }
.section--cta > .container > p { margin-top: 14px; color: #b8c0d9; font-size: 17px; }
/* Inquiry form */
.inquiry {
  max-width: 560px; margin: 36px auto 0; text-align: left;
  display: grid; gap: 16px;
}
.inquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry__field { display: grid; gap: 7px; }
.inquiry__field > span { font-size: 13.5px; font-weight: 600; color: #cdd3e6; }
.inquiry__field em { color: #8b93ad; font-style: normal; font-weight: 400; }
.inquiry input,
.inquiry textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, background .15s ease;
}
.inquiry textarea { resize: vertical; min-height: 96px; }
.inquiry input::placeholder,
.inquiry textarea::placeholder { color: #6f7896; }
.inquiry input:focus,
.inquiry textarea:focus {
  outline: none;
  border-color: var(--blurple);
  background: rgba(255, 255, 255, .1);
}
.inquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inquiry__submit { justify-self: start; margin-top: 4px; }
.contact__or { margin-top: 30px; color: #8b93ad; font-size: 14px; }

.contact__card {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 14px 26px; margin-top: 30px;
}
.contact__label {
  text-transform: uppercase; letter-spacing: .1em; font-size: 12px;
  color: #9aa3c0; font-weight: 700;
}
.contact__value { font-size: 20px; font-weight: 700; color: #fff; }
.contact__fine { margin-top: 22px; color: #7f88a6; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.08); padding: 32px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer__inner img { filter: brightness(0) invert(1); opacity: .92; }
.footer__inner p { color: #8b93ad; font-size: 14px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: #b8c0d9; font-size: 14px; }
.footer__links a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--tech { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; }
  .nav__links a.btn { margin-top: 8px; text-align: center; }

  .hero__br { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .grid--features, .grid--pricing, .grid--shots, .grid--tech,
  .steps, .about__stats, .inquiry__row { grid-template-columns: 1fr; }
  .inquiry__submit { justify-self: stretch; text-align: center; }
  .price--featured { order: -1; }
}
