/* ProsperaCyber — prosperacyber.com
   Design intent: the visual language of an audit firm, not a hacker aesthetic.
   Buyers of offensive security are CISOs and boards; they are reassured by
   clarity, restraint and evidence — not neon-on-black. Light ground, deep navy
   authority, one confident teal accent, gold reserved for premium tiers only. */

:root {
  --navy-900: #0a2540;
  --navy-800: #0f2f4f;
  --navy-700: #16456e;
  --navy-600: #1d5a8f;

  --teal-600: #0b7f8c;
  --teal-500: #0e9aa7;
  --teal-100: #e2f4f6;

  --gold-600: #a5801f;
  --gold-500: #c9a227;
  --gold-100: #faf3dd;

  --ink: #14293c;
  --body: #3c5064;
  --muted: #64798e;

  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --bg-deep: #0a2540;
  --border: #e2eaf2;
  --border-strong: #cbd8e6;

  --ok: #17795e;
  --warn: #b0761c;
  --crit: #b23a3a;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, .08), 0 12px 32px rgba(10, 37, 64, .07);
  --shadow-lg: 0 12px 28px rgba(10, 37, 64, .10), 0 28px 64px rgba(10, 37, 64, .10);

  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.24rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--deep { background: var(--bg-deep); color: #c3d5e6; }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px;
}
.section--deep .eyebrow { color: var(--teal-500); }

.lede { font-size: 1.14rem; color: var(--body); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.hdr__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--body); font-weight: 550; font-size: .95rem; }
.nav a:hover { color: var(--navy-700); text-decoration: none; }
.hdr .btn { padding: 10px 18px; font-size: .93rem; }
.navtoggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 12px; cursor: pointer; color: var(--ink); }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .navtoggle { display: block; }
  .hdr__in .btn { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 10px; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--teal-500); box-shadow: var(--shadow-md); }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy-600); }
.btn--onDeep { background: #fff; color: var(--navy-900); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 76px; background:
  radial-gradient(1100px 460px at 88% -8%, rgba(14, 154, 167, .10), transparent 62%),
  radial-gradient(900px 420px at 5% 8%, rgba(29, 90, 143, .08), transparent 60%),
  var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.2rem; }
.hero__cta { margin: 28px 0 22px; }
.hero__note { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  background: var(--teal-100); color: var(--teal-600);
  border: 1px solid #bfe4e8; border-radius: 999px;
  font-size: .82rem; font-weight: 650; margin-bottom: 22px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }

/* ---------- trust strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); padding: 30px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 760px) { .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.stat__n { font-size: 1.95rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; line-height: 1.1; }
.stat__l { font-size: .85rem; color: var(--muted); margin-top: 3px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.card__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--teal-100); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 27px; margin-bottom: 9px; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal-500); border-bottom: 2.5px solid var(--teal-500);
  transform: rotate(-45deg);
}
.section--deep .ticks li::before { border-color: var(--teal-500); }

/* ---------- service detail blocks ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding: 54px 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: 0; }
.svc--flip .svc__media { order: -1; }
@media (max-width: 940px) { .svc { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; } .svc--flip .svc__media { order: 0; } }
.svc__media { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.section--alt .svc__media { background: #fff; }
.svc__tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-600); background: #eaf1f8; border: 1px solid #d6e3f0; padding: 5px 11px; border-radius: 6px; margin-bottom: 14px; }

/* ---------- figure / charts ---------- */
.fig { margin: 0; }
.fig figcaption { font-size: .86rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.section--deep .fig figcaption { color: #90aac2; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.plan--featured { border: 2px solid var(--navy-800); box-shadow: var(--shadow-lg); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy-800); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 1.16rem; font-weight: 700; color: var(--ink); }
.plan__for { font-size: .9rem; color: var(--muted); margin: 5px 0 20px; min-height: 2.7em; }
.plan__price { font-size: 2.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1.05; }
.plan__unit { font-size: .92rem; color: var(--muted); font-weight: 500; }
.plan__from { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.plan hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.plan .ticks { flex: 1; }
.plan .btn { width: 100%; justify-content: center; margin-top: 22px; }
.plan--gold .plan__price { color: var(--gold-600); }

.compare { width: 100%; border-collapse: collapse; margin-top: 44px; font-size: .94rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--border-strong); }
.tablewrap { overflow-x: auto; }

/* ---------- process ---------- */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start; }
.step__n { counter-increment: s; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.02rem; }
.step__n::before { content: counter(s); }
.step h4 { margin-bottom: 5px; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- quote / differentiator ---------- */
.quote { border-left: 4px solid var(--teal-500); padding: 6px 0 6px 24px; margin: 0; }
.quote p { font-size: 1.16rem; color: var(--ink); font-style: italic; margin-bottom: .5em; }
.quote cite { font-size: .9rem; color: var(--muted); font-style: normal; }

/* ---------- contact ---------- */
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .89rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; padding: 12px 14px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal-500); outline-offset: 1px; border-color: var(--teal-500);
}
.field textarea { min-height: 118px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.formnote { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.formstatus { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .93rem; display: none; }
.formstatus.show { display: block; }
.formstatus--ok { background: #e6f5ef; color: var(--ok); border: 1px solid #bfe3d4; }
.formstatus--err { background: #fdecec; color: var(--crit); border: 1px solid #f3c9c9; }

/* ---------- faq ---------- */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--teal-600); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; font-size: .96rem; }

/* ---------- cta band ---------- */
.band { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #d6e4f0; padding: 66px 0; }
.band h2 { color: #fff; }
.band .lede { color: #b9cee0; }

/* ---------- footer ---------- */
.ft { background: var(--navy-900); color: #94aec6; padding: 56px 0 30px; font-size: .93rem; }
.ft a { color: #b9cee0; }
.ft__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .ft__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.ft h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft li { margin-bottom: 9px; }
.ft__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }
.ft__brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: 14px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-md); }

/* ---- copyable email ------------------------------------------------------
   The contact address used to be a mailto button. A mailto assumes the
   visitor has a desktop mail client configured; on a corporate machine
   without one the click does nothing and the address is never seen. This
   shows it as text, selectable in one click, with a Copy control beside it. */
.emailbox {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden;
}
.emailbox__addr {
  flex: 1; min-width: 0; padding: 13px 15px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .95rem; color: var(--ink); line-height: 1.4;
  overflow-wrap: anywhere;
  /* One click selects the whole address — the point of the change. */
  user-select: all; -webkit-user-select: all;
}
.emailbox__copy {
  flex: none; border: 0; border-left: 1px solid var(--border-strong);
  background: var(--bg-alt, #f4f8fc); color: var(--navy-700);
  padding: 0 20px; font: inherit; font-weight: 650; font-size: .92rem;
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.emailbox__copy:hover { background: var(--navy-700); color: #fff; }
.emailbox__copy:active { transform: translateY(1px); }
.emailbox__ok {
  display: block; margin-top: 9px; min-height: 1.1em;
  font-size: .86rem; font-weight: 600; color: #1d7a4f;
  opacity: 0; transition: opacity .18s ease;
}
.emailbox__ok.show { opacity: 1; }
@media (max-width: 420px) {
  .emailbox { flex-direction: column; }
  .emailbox__copy { border-left: 0; border-top: 1px solid var(--border-strong); padding: 11px 0; }
}
