:root{
  --blue:#5471ef;
  --mint:#75fdd6;
  --ink:#151717;
  --ink-2:#232a32;
  --bg:#e3fef7;
  --surface:#ffffff;
  --muted:#eef6ff;
  --border:rgba(21,23,23,.12);
  --shadow:0 12px 34px rgba(21,23,23,.10);
  --shadow-2:0 7px 18px rgba(21,23,23,.08);
  --radius:20px;
  --radius-sm:16px;
  --ring:0 0 0 4px rgba(84,113,239,.16);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:
    radial-gradient(1200px 800px at 16% 10%, rgba(117,253,214,.42), transparent 60%),
    radial-gradient(900px 600px at 86% 18%, rgba(84,113,239,.33), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, rgba(227,254,247,.60) 38%, #ffffff 100%);
}

a{color:inherit;text-decoration:none}
small{color:rgba(21,23,23,.72)}

.container{width:min(1200px, 92vw); margin:0 auto;}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,.76);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.brand img{
  width:44px;
  height:44px;
  border-radius:14px;
  box-shadow: var(--shadow-2);
}
.brand-title{display:flex; flex-direction:column; line-height:1.1;}
.brand-title b{font-size:15px; letter-spacing:.2px}
.brand-title span{font-size:12px;color:rgba(21,23,23,.62)}

.nav{display:flex; gap:6px; flex-wrap:wrap; justify-content:center;}
.nav a{
  padding:10px 12px;
  border-radius:14px;
  color:rgba(21,23,23,.75);
  font-weight:800;
  font-size:13px;
  border:1px solid transparent;
}
.nav a:hover{background:rgba(84,113,239,.07)}
.nav a.active{
  background:rgba(84,113,239,.12);
  border-color:rgba(84,113,239,.20);
  color:var(--ink);
}

.nav-cta{display:flex; align-items:center; justify-content:flex-end; min-width:170px; gap:8px}

/* Typography */
.h2{margin:0 0 6px; letter-spacing:-.35px;}
.lead{margin:0; color:rgba(21,23,23,.70); line-height:1.6;}

/* Sections */
.section{padding:26px 0 44px; scroll-margin-top:92px;}

/* Hero */
.hero{padding:12px 0 0;}
.hero-card{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  padding:22px;
  background:linear-gradient(135deg, rgba(84,113,239,.12), rgba(117,253,214,.18));
  border:1px solid rgba(84,113,239,.18);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-card:after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 320px at 18% 10%, rgba(117,253,214,.24), transparent 65%),
    radial-gradient(520px 320px at 82% 15%, rgba(84,113,239,.20), transparent 65%);
  pointer-events:none;
  mix-blend-mode:multiply;
  opacity:.9;
}
.hero-left,.hero-right{position:relative; z-index:2}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(21,23,23,.12);
  font-weight:900;
  font-size:12px;
}
.kicker .dot{width:10px;height:10px;border-radius:50%; background:linear-gradient(135deg, var(--blue), var(--mint));}

h1{margin:12px 0 8px; font-size:36px; letter-spacing:-.7px;}
.hero p{margin:0; font-size:15px; line-height:1.65; color:rgba(21,23,23,.75)}
.hero p.sub{margin-top:6px; color:rgba(21,23,23,.68)}

.hero-actions{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap;}

.btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,.88);
  padding:11px 14px;
  border-radius:14px;
  font-weight:900;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow-2)}
.btn.primary{
  background:linear-gradient(135deg, rgba(84,113,239,.96), rgba(117,253,214,.76));
  border-color:rgba(84,113,239,.33);
  color:#101315;
}
.btn.primary:hover{box-shadow:0 12px 26px rgba(84,113,239,.18)}
.btn.small{padding:10px 12px; font-size:12px; border-radius:13px}
.btn .icon{width:26px;height:26px;border-radius:10px;background:rgba(21,23,23,.08);display:grid;place-items:center;font-size:14px}
.btn.primary .icon{background:rgba(255,255,255,.28)}

/* Stats */
.stats{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; margin-top:14px;}
.stat{padding:14px; background:rgba(255,255,255,.72); border:1px solid rgba(21,23,23,.12); border-radius:16px;}
.stat b{font-size:18px}
.stat span{display:block; font-size:12px; color:rgba(21,23,23,.62); margin-top:4px}

/* Layout helpers */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.mini{margin:8px 0 0; padding-left:18px; color:rgba(21,23,23,.72)}
.mini li{margin:6px 0}

hr.soft{border:0; height:1px; background:linear-gradient(90deg, transparent, rgba(21,23,23,.12), transparent); margin:18px 0;}

/* Cards */
.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
.card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(21,23,23,.12);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow-2);
  padding:14px;
  transition:transform .12s ease, background .12s ease;
}
.card:hover{transform:translateY(-1px); background:rgba(255,255,255,.90)}
.card h3{margin:8px 0 6px; font-size:14px; letter-spacing:-.2px;}

.pills{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
.pill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(21,23,23,.14);
  background:rgba(255,255,255,.72);
  font-weight:900;
  font-size:11px;
  color:rgba(21,23,23,.72);
}
.pill.blue{border-color:rgba(84,113,239,.30); background:rgba(84,113,239,.10)}
.pill.mint{border-color:rgba(117,253,214,.55); background:rgba(117,253,214,.18)}
.pill.dark{border-color:rgba(21,23,23,.18)}
.pill.warn{border-color:rgba(240, 150, 60, .35); background:rgba(240,150,60,.10)}
.pill.ai{border-color:rgba(117,253,214,.55); background:linear-gradient(135deg, rgba(84,113,239,.14), rgba(117,253,214,.26))}

/* Callouts */
.callout{
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(84,113,239,.18);
  background:linear-gradient(135deg, rgba(84,113,239,.06), rgba(117,253,214,.10));
}
.callout-title{font-weight:900; font-size:12px; text-transform:uppercase; letter-spacing:.2px; color:rgba(21,23,23,.62)}
.callout-body{margin-top:8px; color:rgba(21,23,23,.76); line-height:1.6}

/* Modules layout */
.modules-layout{display:grid; grid-template-columns: 260px 1fr; gap:12px;}
.sidebar{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(21,23,23,.12);
  border-radius:var(--radius-sm);
  padding:12px;
  box-shadow:var(--shadow-2);
  position:sticky;
  top:92px;
  align-self:start;
  height: fit-content;
}
.sidebar h4{margin:6px 8px 10px; font-size:12px; color:rgba(21,23,23,.62); letter-spacing:.2px; text-transform:uppercase}

.module-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  font-weight:900;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
  color:rgba(21,23,23,.80);
}
.module-link:hover{background:rgba(84,113,239,.08)}
.module-link.active{background:rgba(84,113,239,.12); border-color:rgba(84,113,239,.22); color:var(--ink)}
.module-dot{width:10px;height:10px;border-radius:50%; background:linear-gradient(135deg, var(--blue), var(--mint));}

.filters{display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 12px;}
.input, select{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(21,23,23,.16);
  background:rgba(255,255,255,.86);
  font-weight:800;
  font-size:13px;
  outline:none;
}
.input:focus, select:focus{box-shadow:var(--ring); border-color:rgba(84,113,239,.40)}

/* Stepper */
.stepper{display:flex; flex-wrap:wrap; gap:10px;}
.step{
  flex: 1 1 160px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(21,23,23,.12);
  background:rgba(255,255,255,.78);
  cursor:pointer;
  transition:transform .12s ease, background .12s ease;
}
.step:hover{transform:translateY(-1px); background:rgba(255,255,255,.92)}
.step b{display:block; font-size:13px}
.step span{display:block; font-size:12px; color:rgba(21,23,23,.62); margin-top:4px}
.step.active{background:linear-gradient(135deg, rgba(84,113,239,.14), rgba(117,253,214,.24)); border-color:rgba(84,113,239,.22)}

/* Value */
.tabs{display:flex; gap:8px; flex-wrap:wrap;}
.tab{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(21,23,23,.14);
  background:rgba(255,255,255,.76);
  font-weight:900;
  font-size:12px;
  cursor:pointer;
}
.tab:hover{background:rgba(84,113,239,.06)}
.tab.active{border-color:rgba(84,113,239,.24); background:rgba(84,113,239,.12)}

.value-layout{display:grid; grid-template-columns: 1.05fr .95fr; gap:12px;}
.value-panels{display:grid; grid-template-columns: 1fr; gap:10px; margin-top:10px;}

.panel{
  padding:12px 12px;
  border-radius:16px;
  background:rgba(84,113,239,.05);
  border:1px solid rgba(84,113,239,.14);
}
.panel h4{margin:0 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:.2px; color:rgba(21,23,23,.62)}
.panel ul{margin:0; padding-left:18px; color:rgba(21,23,23,.76)}
.panel li{margin:6px 0}

/* Personas */
.persona-layout{display:grid; grid-template-columns: 1.05fr .95fr; gap:12px;}
.hint{display:block; margin-top:8px; color:rgba(21,23,23,.62)}

/* Footer */
.footer{padding:28px 0 36px; color:rgba(21,23,23,.60); font-size:12px;}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.footer .muted{margin-top:4px; color:rgba(21,23,23,.60)}

/* Drawer */
.drawer{
  position:fixed;
  top:0; right:0;
  width:min(540px, 92vw);
  height:100vh;
  background:rgba(255,255,255,.97);
  border-left:1px solid rgba(21,23,23,.14);
  box-shadow:-20px 0 45px rgba(21,23,23,.18);
  transform:translateX(110%);
  transition:transform .18s ease;
  z-index:60;
  padding:18px 18px 26px;
  overflow:auto;
}
.drawer.open{transform:translateX(0)}
.drawer .close{position:sticky; top:10px; display:flex; justify-content:flex-end; margin-bottom:8px;}
.drawer .close button{
  border:1px solid rgba(21,23,23,.16);
  background:rgba(255,255,255,.88);
  border-radius:14px;
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
}
.drawer h2{margin:8px 0 8px; font-size:18px; letter-spacing:-.3px;}
.drawer p{margin:0; color:rgba(21,23,23,.76); line-height:1.65}
.drawer .block{
  margin-top:14px;
  padding:12px 12px;
  background:rgba(84,113,239,.06);
  border:1px solid rgba(84,113,239,.16);
  border-radius:16px;
}
.drawer .block h5{margin:0 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:.2px; color:rgba(21,23,23,.62)}
.drawer ul{margin:0; padding-left:18px; color:rgba(21,23,23,.76)}
.drawer li{margin:6px 0}

/* Modal */
.modal{position:fixed; inset:0; display:none; z-index:80;}
.modal.open{display:block}
.modal-backdrop{position:absolute; inset:0; background:rgba(15,20,26,.55);}
.modal-card{
  position:relative;
  width:min(820px, 92vw);
  margin:72px auto;
  background:rgba(255,255,255,.98);
  border-radius:20px;
  border:1px solid rgba(21,23,23,.14);
  box-shadow:0 30px 70px rgba(0,0,0,.25);
  padding:16px;
}
.modal-head{display:flex; justify-content:space-between; align-items:flex-start; gap:10px;}
.modal-body{padding:4px 2px 2px}
.steps{margin:0; padding-left:18px; color:rgba(21,23,23,.78)}
.steps li{margin:10px 0; line-height:1.6}



/* Guided demo tour */
.tour{position:fixed; inset:0; z-index:120; display:none; pointer-events:none;}
.tour.open{display:block}
.tour-spotlight{
  position:absolute;
  border-radius:18px;
  border:2px solid rgba(117,253,214,.85);
  box-shadow: 0 0 0 9999px rgba(15,20,26,.55);
  pointer-events:none;
  transition: all .16s ease;
}
.tour-tooltip{
  position:absolute;
  width:min(420px, 92vw);
  background:rgba(255,255,255,.98);
  border-radius:20px;
  border:1px solid rgba(21,23,23,.14);
  box-shadow:0 30px 70px rgba(0,0,0,.25);
  padding:16px;
  pointer-events:auto;
}
.tour-head{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.tour-text{color:rgba(21,23,23,.76); line-height:1.65; font-size:13px;}
.tour-actions{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;}
.tour-progress{margin-top:10px; font-size:12px; color:rgba(21,23,23,.62)}
.tour-select{width:100%; margin-top:10px;}
.tour-bullets{margin:10px 0 0; padding-left:18px; color:rgba(21,23,23,.76)}
.tour-bullets li{margin:6px 0; line-height:1.5}

/* Responsive */
@media (max-width: 980px){
  .hero-card{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:repeat(2,1fr)}
  .modules-layout{grid-template-columns:1fr}
  .sidebar{position:relative; top:auto}
  .value-layout{grid-template-columns:1fr}
  .persona-layout{grid-template-columns:1fr}
  .nav-cta{display:none}
}
@media (max-width: 520px){
  h1{font-size:30px}
  .grid{grid-template-columns:1fr}
  .nav{justify-content:flex-start}
  .two-col{grid-template-columns:1fr}
  .modal-card{margin:22px auto}
}
