/* ============================================================
   NextPSA — Alternative site
   Professional B2B theme: steel-navy + teal on soft off-white
   ============================================================ */

:root{
  /* Surfaces */
  --bg:            #f5f8fc;
  --bg-grad-top:   #eef4fb;
  --surface:       #ffffff;
  --surface-2:     #f0f5fb;

  /* Brand */
  --navy:          #0d2440;   /* deep ink-navy — headings */
  --navy-700:      #14365e;
  --steel:         #1f5f8b;   /* primary steel-blue */
  --steel-600:     #2a76aa;
  --teal:          #0fb5a6;   /* accent */
  --teal-600:      #0c9b8e;
  --amber:         #f2a73b;   /* sparing warm highlight */

  /* Text */
  --text:          #16263b;
  --text-secondary:#46586e;
  --muted:         #74849a;

  /* Lines & shadows */
  --border:        #e0e8f2;
  --border-strong: #cdd9e8;
  --shadow-sm:     0 2px 8px rgba(13,36,64,.06);
  --shadow:        0 14px 40px rgba(13,36,64,.10);
  --shadow-lg:     0 30px 70px rgba(13,36,64,.16);

  --radius:        16px;
  --radius-sm:     12px;
  --header-h:      72px;
  --maxw:          1180px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
html,body{ margin:0; padding:0; }

body{
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 520px at 50% -120px, var(--bg-grad-top), transparent 70%),
    var(--bg);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

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

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

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  height:var(--header-h);
  display:flex; align-items:center;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(14px) saturate(160%);
  border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; width:100%; }

.brand{ display:flex; align-items:center; gap:11px; font-weight:800; font-size:19px; letter-spacing:-.3px; color:var(--navy); }
.brand-logo{ height:30px; width:auto; display:block; }
.brand b{ color:var(--steel); font-weight:800; }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  padding:9px 14px; border-radius:10px; font-weight:500; font-size:15px;
  color:var(--text-secondary); transition:.18s;
}
.nav a:hover{ color:var(--navy); background:var(--surface-2); }
.nav a.active{ color:var(--steel); background:var(--surface-2); }
.nav .btn{ margin-left:8px; }
.nav a.btn-primary{ color:#fff; }
.nav a.btn-primary:hover{ color:#fff; background:linear-gradient(135deg, var(--steel), var(--steel-600)); }

.burger{ display:none; width:42px; height:42px; border:1px solid var(--border); border-radius:10px;
  background:var(--surface); cursor:pointer; flex-direction:column; gap:5px; align-items:center; justify-content:center; }
.burger span{ width:20px; height:2px; background:var(--navy); border-radius:2px; transition:.25s; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:11px; font-weight:600; font-size:15px;
  border:1px solid transparent; cursor:pointer; transition:.22s; white-space:nowrap;
}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--steel), var(--steel-600));
  box-shadow:0 10px 24px rgba(31,95,139,.28);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(31,95,139,.36); }
.btn-accent{
  color:#04231f;
  background:linear-gradient(135deg, var(--teal), #4fd6c6);
  box-shadow:0 10px 24px rgba(15,181,166,.30);
}
.btn-accent:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(15,181,166,.40); }
.btn-ghost{
  color:var(--navy); background:var(--surface); border-color:var(--border-strong);
}
.btn-ghost:hover{ border-color:var(--steel); color:var(--steel); transform:translateY(-2px); }
.btn-lg{ padding:15px 30px; font-size:16px; }

/* ---------- Layout primitives ---------- */
main{ padding-top:var(--header-h); }
.section{ padding:84px 0; }
.section.tight{ padding:56px 0; }
.section.alt{ background:linear-gradient(180deg, var(--surface) , var(--surface-2)); border-block:1px solid var(--border); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.10em; text-transform:uppercase;
  color:var(--steel); background:var(--surface-2);
  border:1px solid var(--border); border-radius:999px; padding:7px 14px; margin-bottom:18px;
}
.section-head{ max-width:720px; margin:0 auto 52px; text-align:center; }
.section-head.left{ margin-left:0; text-align:left; }

h1,h2,h3{ color:var(--navy); letter-spacing:-.02em; line-height:1.15; margin:0 0 14px; }
h1{ font-size:clamp(34px, 5vw, 56px); font-weight:800; }
h2{ font-size:clamp(28px, 3.4vw, 40px); font-weight:800; }
h3{ font-size:20px; font-weight:700; }
.lead{ font-size:clamp(17px,1.6vw,20px); color:var(--text-secondary); line-height:1.65; }
.muted{ color:var(--muted); }

.grid{ display:grid; gap:24px; }
.cols-2{ grid-template-columns:repeat(2,1fr); }
.cols-3{ grid-template-columns:repeat(3,1fr); }

/* ---------- Cards ---------- */
.card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm);
  transition:.25s; position:relative;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--border-strong); }
.card .ico{
  width:50px; height:50px; border-radius:13px; display:grid; place-items:center;
  font-size:24px; margin-bottom:18px;
  background:linear-gradient(135deg, rgba(31,95,139,.12), rgba(15,181,166,.12));
  border:1px solid var(--border);
}
.card h3{ margin-bottom:8px; }
.card p{ color:var(--text-secondary); margin:0; }

/* ---------- Hero ---------- */
.hero{ padding:calc(var(--header-h) + 64px) 0 72px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1 span{
  background:linear-gradient(120deg, var(--steel), var(--teal));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero .lead{ margin:20px 0 30px; max-width:560px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-trust{ display:flex; gap:26px; flex-wrap:wrap; margin-top:34px; }
.hero-trust .t{ display:flex; align-items:center; gap:9px; color:var(--text-secondary); font-size:14.5px; font-weight:500; }
.hero-trust .dot{ color:var(--teal); font-weight:800; }

.hero-visual{
  background:linear-gradient(160deg,#0d2440,#173f6b);
  border-radius:22px; padding:26px; box-shadow:var(--shadow-lg);
  position:relative; overflow:hidden;
}
.hero-visual::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(420px 220px at 80% 0%, rgba(15,181,166,.28), transparent 60%);
}
.hv-bar{ display:flex; gap:7px; margin-bottom:18px; position:relative; z-index:1; }
.hv-bar i{ width:11px; height:11px; border-radius:50%; background:rgba(255,255,255,.25); }
.hv-bar i:first-child{ background:#ff6b5c; } .hv-bar i:nth-child(2){ background:var(--amber); } .hv-bar i:nth-child(3){ background:var(--teal); }
.hv-panel{ position:relative; z-index:1; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  border-radius:14px; padding:20px; }
.hv-tree{ font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace; font-size:13px; color:#bcd3ea; line-height:2; }
.hv-tree .gate{ color:#fff; font-weight:700; }
.hv-tree .ok{ color:var(--teal); }
.hv-tree .warn{ color:var(--amber); }
.hv-metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; position:relative; z-index:1; }
.hv-metric{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:11px; padding:12px 14px; }
.hv-metric .n{ font-size:22px; font-weight:800; color:#fff; }
.hv-metric .l{ font-size:11.5px; color:#9fb6cf; text-transform:uppercase; letter-spacing:.06em; }

/* ---------- Logos / trust strip ---------- */
.trust-strip{ text-align:center; }
.trust-strip p{ font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:0 0 22px; }
.trust-logos{ display:flex; gap:40px; flex-wrap:wrap; justify-content:center; align-items:center; color:var(--text-secondary); font-weight:700; opacity:.7; }
.trust-logos span{ font-size:17px; display:inline-flex; align-items:center; gap:8px; }

/* ---------- Feature split rows ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.split.flip .split-media{ order:2; }
.split + .split{ margin-top:64px; }
.split-media{
  background:var(--surface); border:1px solid var(--border); border-radius:18px;
  box-shadow:var(--shadow); padding:24px; min-height:240px;
  display:flex; flex-direction:column; gap:14px;
}
.split ul{ margin:18px 0 0; padding:0; list-style:none; }
.split ul li{ position:relative; padding:7px 0 7px 30px; color:var(--text-secondary); }
.split ul li::before{ content:"✓"; position:absolute; left:0; top:7px; color:var(--teal); font-weight:800; }

/* real media frames (videos / screenshots) */
.frame{
  border-radius:14px; overflow:hidden; border:1px solid var(--border);
  background:var(--surface-2); box-shadow:var(--shadow-sm); line-height:0;
}
.frame video, .frame img{ display:block; width:100%; height:auto; }
.frame .cap{ line-height:1.4; padding:11px 15px; font-size:13px; color:var(--muted);
  background:var(--surface); border-top:1px solid var(--border); }
.split-media.media-only{ padding:14px; gap:0; }

/* mock chips for feature media */
.mockrow{ display:flex; gap:10px; align-items:center; }
.chip{ padding:7px 13px; border-radius:9px; font-size:13px; font-weight:600;
  background:var(--surface-2); border:1px solid var(--border); color:var(--navy-700); }
.chip.accent{ background:rgba(15,181,166,.12); border-color:rgba(15,181,166,.3); color:var(--teal-600); }
.chip.warn{ background:rgba(242,167,59,.14); border-color:rgba(242,167,59,.35); color:#b5781a; }
.bar{ height:10px; border-radius:6px; background:var(--surface-2); overflow:hidden; }
.bar i{ display:block; height:100%; background:linear-gradient(90deg,var(--steel),var(--teal)); }

/* ---------- Pricing ---------- */
.pricing{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; align-items:stretch; max-width:940px; margin-inline:auto; }
.plan{
  background:var(--surface); border:1px solid var(--border); border-radius:20px;
  padding:34px 30px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:.25s;
}
.plan:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.plan.featured{
  border:1.5px solid var(--steel);
  box-shadow:0 24px 60px rgba(31,95,139,.18);
  background:linear-gradient(180deg,#fff, #f7fbff);
}
.plan .tag{ position:absolute; }
.plan-badge{
  align-self:flex-start; margin-bottom:14px;
  font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background:linear-gradient(135deg,var(--steel),var(--teal));
  padding:5px 12px; border-radius:999px;
}
.plan h3{ font-size:22px; margin-bottom:4px; }
.plan .price{ font-size:38px; font-weight:800; color:var(--navy); margin:14px 0 2px; letter-spacing:-.02em; }
.plan .price small{ font-size:15px; font-weight:600; color:var(--muted); }
.plan .desc{ color:var(--text-secondary); min-height:46px; margin-bottom:14px; }
.plan ul{ list-style:none; margin:14px 0 26px; padding:0; }
.plan ul li{ position:relative; padding:9px 0 9px 28px; color:var(--text-secondary); border-top:1px solid var(--border); }
.plan ul li:first-child{ border-top:0; }
.plan ul li::before{ content:"✓"; position:absolute; left:0; top:9px; color:var(--teal); font-weight:800; }
.plan ul li.off{ color:var(--muted); }
.plan ul li.off::before{ content:"—"; color:var(--border-strong); }
.plan .btn{ margin-top:auto; width:100%; }

.pill-row{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.pill{ padding:8px 16px; border-radius:999px; background:var(--surface-2); border:1px solid var(--border);
  font-size:14px; color:var(--text-secondary); font-weight:500; }

.faq{ max-width:820px; margin:48px auto 0; }
.faq details{
  background:var(--surface); border:1px solid var(--border); border-radius:13px;
  padding:4px 22px; margin-bottom:14px; box-shadow:var(--shadow-sm);
}
.faq summary{ cursor:pointer; padding:18px 0; font-weight:700; color:var(--navy); list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--steel); font-size:22px; font-weight:600; }
.faq details[open] summary::after{ content:"–"; }
.faq details p{ margin:0 0 18px; color:var(--text-secondary); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:start; }
.info-card{ display:flex; gap:16px; padding:22px; background:var(--surface); border:1px solid var(--border);
  border-radius:14px; box-shadow:var(--shadow-sm); margin-bottom:16px; }
.info-card .ico{
  width:46px; height:46px; flex:0 0 46px; border-radius:12px; display:grid; place-items:center; font-size:20px;
  background:linear-gradient(135deg, rgba(31,95,139,.12), rgba(15,181,166,.12)); border:1px solid var(--border);
}
.info-card h4{ margin:0 0 4px; color:var(--navy); font-size:16px; }
.info-card p{ margin:0; color:var(--text-secondary); font-size:15px; }
.info-card a{ color:var(--steel); font-weight:600; }

form.lead-form{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:32px; box-shadow:var(--shadow); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:600; font-size:14px; color:var(--navy); margin-bottom:7px; }
.field input,.field select,.field textarea{
  width:100%; padding:13px 15px; border:1px solid var(--border-strong); border-radius:11px;
  font-family:inherit; font-size:15px; color:var(--text); background:var(--surface-2); transition:.18s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--steel); background:#fff; box-shadow:0 0 0 4px rgba(31,95,139,.10);
}
.field textarea{ min-height:130px; resize:vertical; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note{ font-size:13px; color:var(--muted); margin-top:6px; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(135deg,#0d2440, #1f5f8b);
  border-radius:24px; padding:56px; text-align:center; color:#fff; position:relative; overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.cta-band::after{ content:""; position:absolute; inset:0;
  background:radial-gradient(500px 240px at 80% -10%, rgba(15,181,166,.35), transparent 60%); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#cfe0f0; max-width:600px; margin:0 auto 28px; font-size:18px; }
.cta-band .hero-actions{ justify-content:center; }

/* ---------- Footer ---------- */
.site-footer{ background:#0c1f37; color:#aebfd4; padding:60px 0 30px; margin-top:0; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; }
.site-footer .brand{ color:#fff; margin-bottom:14px; }
.site-footer p{ color:#8ea3bd; font-size:14.5px; max-width:300px; }
.footer-col h5{ color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.08em; margin:0 0 16px; }
.footer-col a{ display:block; color:#9fb3cc; padding:6px 0; font-size:14.5px; transition:.15s; }
.footer-col a:hover{ color:var(--teal); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.10); margin-top:42px; padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13.5px; color:#7e93ad; }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-grid,.split,.contact-grid{ grid-template-columns:1fr; }
  .split.flip .split-media{ order:0; }
  .cols-3,.pricing{ grid-template-columns:1fr; }
  .cols-2{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .nav{ position:fixed; inset:var(--header-h) 0 auto 0; flex-direction:column; align-items:stretch;
    background:var(--surface); border-bottom:1px solid var(--border); padding:14px 24px; gap:6px;
    box-shadow:var(--shadow); display:none; }
  .nav.open{ display:flex; }
  .nav a{ padding:13px 12px; }
  .nav .btn{ margin:6px 0 0; }
  .burger{ display:flex; }
  .section{ padding:60px 0; }
  .cta-band{ padding:40px 24px; }
  .field-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
}
