/*
Theme Name: Sanitas Flagship SaaS Theme V5 Safe
Theme URI: https://sanitas.ca
Author: Sanitas
Description: Flagship token-gated healthcare SaaS theme with wallet connect, onboarding, module marketplace, live dashboard preview, and Command Center integration.
Version: 5.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sanitas
*/

:root{
  --san-bg:#f6f9fc;
  --san-ink:#0b1020;
  --san-muted:#657085;
  --san-card:#ffffff;
  --san-line:#e8eef7;
  --san-primary:#635bff;
  --san-primary-dark:#4942d8;
  --san-aqua:#3ddbd9;
  --san-green:#22c55e;
  --san-warning:#f59e0b;
  --san-danger:#ef4444;
  --san-shadow:0 24px 60px rgba(15,23,42,.12);
  --san-radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 12% 10%, rgba(99,91,255,.16), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(61,219,217,.18), transparent 34%),
    var(--san-bg);
  color:var(--san-ink);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a{color:inherit}
.san-shell{min-height:100vh}
.san-topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 32px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(232,238,247,.9);
}
.san-brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.04em;font-size:20px}
.san-logo{
  width:38px;height:38px;border-radius:14px;
  background:linear-gradient(135deg,var(--san-primary),var(--san-aqua));
  box-shadow:0 12px 30px rgba(99,91,255,.35);
}
.san-nav{display:flex;gap:20px;align-items:center;color:var(--san-muted);font-size:14px;font-weight:700}
.san-nav a{text-decoration:none}
.san-actions{display:flex;align-items:center;gap:12px}
.san-btn{
  border:0;
  border-radius:14px;
  padding:13px 18px;
  font-weight:850;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.san-btn:hover{transform:translateY(-2px)}
.san-btn-primary{background:var(--san-primary);color:#fff;box-shadow:0 14px 28px rgba(99,91,255,.28)}
.san-btn-dark{background:#0b1020;color:#fff}
.san-btn-ghost{background:#fff;color:#0b1020;border:1px solid var(--san-line)}
.san-hero{
  position:relative;
  overflow:hidden;
  padding:94px 32px 74px;
}
.san-hero-inner{
  max-width:1220px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:center;
}
.san-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  color:#342db4;
  background:rgba(99,91,255,.1);
  font-size:13px;
  font-weight:900;
  margin-bottom:20px;
}
.san-hero h1{
  margin:0;
  font-size:64px;
  line-height:.94;
  letter-spacing:-.07em;
}
.san-gradient-text{
  background:linear-gradient(135deg,var(--san-primary),#00b8d9,#22c55e);
  -webkit-background-clip:text;
  color:transparent;
}
.san-hero p{
  margin:22px 0 30px;
  max-width:620px;
  color:var(--san-muted);
  font-size:20px;
  line-height:1.62;
}
.san-hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.san-status{
  margin-top:18px;
  font-weight:800;
  color:#31405a;
  min-height:24px;
}
.san-panel{
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(18px);
  border:1px solid rgba(232,238,247,.95);
  border-radius:32px;
  padding:22px;
  box-shadow:var(--san-shadow);
}
.san-browser{
  background:#0b1020;
  color:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 32px 90px rgba(15,23,42,.35);
}
.san-browser-top{
  display:flex;gap:8px;align-items:center;padding:15px 18px;background:#111827;
}
.san-dot{width:10px;height:10px;border-radius:50%;background:#475569}
.san-browser-body{padding:22px}
.san-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.san-mini-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
}
.san-mini-card strong{font-size:22px;display:block}
.san-mini-card span{color:#94a3b8;font-size:12px}
.san-chart{
  height:130px;
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(99,91,255,.32),rgba(99,91,255,0)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 38px);
  position:relative;
  overflow:hidden;
}
.san-chart:after{
  content:"";
  position:absolute;left:0;right:0;bottom:32px;height:4px;
  background:linear-gradient(90deg,var(--san-primary),var(--san-aqua),var(--san-green));
  border-radius:99px;
  transform:skewY(-7deg);
}
.san-section{max-width:1220px;margin:0 auto;padding:48px 32px}
.san-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.san-section h2{font-size:42px;letter-spacing:-.05em;margin:0}
.san-section p.san-lead{color:var(--san-muted);font-size:17px;max-width:720px}
.san-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.san-card{
  position:relative;
  background:var(--san-card);
  border:1px solid var(--san-line);
  border-radius:var(--san-radius);
  padding:22px;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
  transition:transform .22s ease, box-shadow .22s ease;
}
.san-card:hover{transform:translateY(-6px);box-shadow:0 26px 65px rgba(15,23,42,.14)}
.san-card h3{margin:0 0 8px;font-size:20px;letter-spacing:-.025em}
.san-card p{margin:0 0 16px;color:var(--san-muted);line-height:1.55}
.san-price{font-weight:900;color:#111827}
.san-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  font-size:12px;
  font-weight:900;
  margin-bottom:14px;
}
.san-onboarding{
  background:#fff;
  border:1px solid var(--san-line);
  border-radius:30px;
  padding:26px;
  box-shadow:var(--san-shadow);
}
.san-progress{height:9px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin:14px 0 22px}
.san-progress-bar{height:100%;background:linear-gradient(90deg,var(--san-primary),var(--san-aqua));width:20%;transition:width .32s ease}
.san-step{display:none}
.san-step.active{display:block;animation:sanFadeUp .34s ease both}
.san-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.san-table td,.san-table th{text-align:left;padding:14px;background:#fff}
.san-table th{color:var(--san-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.san-table td:first-child{border-radius:14px 0 0 14px}
.san-table td:last-child{border-radius:0 14px 14px 0}
.san-footer{padding:40px 32px;text-align:center;color:var(--san-muted)}
@keyframes sanFadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.san-animate{animation:sanFadeUp .6s ease both}
@media(max-width:1000px){
  .san-hero-inner{grid-template-columns:1fr}
  .san-hero h1{font-size:48px}
  .san-grid{grid-template-columns:1fr}
  .san-nav{display:none}
}
@media(max-width:640px){
  .san-topbar{padding:14px 18px}
  .san-actions{display:none}
  .san-hero{padding:70px 20px 44px}
  .san-hero h1{font-size:40px}
  .san-section{padding:38px 20px}
  .san-mini-grid{grid-template-columns:1fr}
}
