:root{
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 25px rgba(2, 6, 23, .07);
  --shadow-sm: 0 6px 18px rgba(2, 6, 23, .06);
  --radius: 16px;
  --radius-lg: 22px;

  /* Brand accent (adjust later) */
  --primary: #4f46e5;
  --primary-2: #4338ca;
  --primary-soft: rgba(79, 70, 229, .10);
}

*{ 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(--text);
  background: var(--bg);
  line-height: 1.45;
  padding-top: 70px;
}
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.pill-dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-soft);
}

/* Header */
header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark{
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  box-shadow: var(--shadow-sm);
}

.nav-links{
  display: none;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
}
.btn:hover{ box-shadow: var(--shadow-sm); transform: translateY(-1px); text-decoration: none; }
.btn-primary{
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover{ background: var(--primary-2); }
.btn-ghost{ background: transparent; }

/* Mobile menu */
.mobile-toggle{ display: inline-flex; align-items: center; gap: 10px; }
.burger{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.burger span{
  display: block;
  width: 18px; height: 2px;
  background: var(--muted);
  margin: 6px auto;
  border-radius: 2px;
}
.mobile-panel{
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}
.mobile-grid{
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}
.mobile-grid a{
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.mobile-grid a:hover{ box-shadow: var(--shadow-sm); text-decoration: none; }

/* Sections */
section{ padding: 72px 0; }
.soft{
  background: var(--bg-soft);
  border-top: 1px solid rgba(226,232,240,.65);
  border-bottom: 1px solid rgba(226,232,240,.65);
}

h1, h2, h3{ margin: 0 0 10px; letter-spacing: -0.03em; }
h1{
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
}
h2{
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
}
p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.grid{ display: grid; gap: 18px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }

.card{
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: box-shadow .2s ease, transform .08s ease;
}
.card:hover{
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.card h3{
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.card p{ margin: 0; font-size: 14px; color: var(--muted-2); }

.icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border: 1px solid rgba(79, 70, 229, .18);
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 900;
}

/* Subtle robots (sutil) */
.bot{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: .92;
  filter: drop-shadow(0 6px 10px rgba(2,6,23,.10));
  pointer-events: none;
  user-select: none;
}
@media (max-width: 420px){
  .bot{ width: 38px; height: 38px; }
}

/* Hero layout */
.hero{ padding: 72px 0 58px; overflow: hidden; }
.hero-wrap{
  display: grid;
  gap: 26px;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero p{ font-size: 18px; color: var(--muted); max-width: 52ch; }
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.micro{ font-size: 13px; color: var(--muted-2); margin-top: 10px; }

/* Media placeholders */
.media{
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(100,116,139,.55);
  background: linear-gradient(180deg, rgba(79,70,229,.06), rgba(34,197,94,.04));
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.media small{
  color: var(--muted);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.media .hint{
  margin-top: 6px;
  font-weight: 700;
  color: var(--muted-2);
  font-size: 12px;
}
.media-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

/* Problem section */
.problem-lines{
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
}
.problem-lines span{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
}

/* Solution steps */
.steps{ display: grid; gap: 14px; margin-top: 16px; }
.step{
  display: grid;
  gap: 10px;
  grid-template-columns: 44px 1fr;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.step-num{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid rgba(79, 70, 229, .18);
  color: var(--primary);
  font-weight: 900;
}
.step h3{ margin: 0 0 4px; font-size: 15px; }
.step p{ margin: 0; font-size: 14px; color: var(--muted-2); }

/* Differences */
.compare{ display: grid; gap: 12px; margin-top: 18px; }
.row{ display: grid; grid-template-columns: 1fr; gap: 10px; }
.tag{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.tag b{ font-size: 14px; }
.tag span{ color: var(--muted-2); font-size: 14px; }

/* Pricing */
.price-grid{
  display: grid;
  gap: 18px;
  margin-top: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px){
  .price-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1050px){
  .price-grid{ grid-template-columns: repeat(5, 1fr); }
}

.price{
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
}

.price .top{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 10px;
}

.price .plan-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price h3{ margin: 0; font-size: 18px; }

.price .prices{
  text-align: right;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.old-price{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted-2);
  text-decoration: line-through;
}

.new-price{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.per{
  color: var(--muted-2);
  font-weight: 700;
  font-size: 12px;
}

.price p{ margin-top: 8px; }
.price ul{
  margin: 12px 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.price li{ margin: 6px 0; }

.badge-warn,
.badge-sale{
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.badge-warn{
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  color: #92400e;
}
.badge-sale{
  border: 1px solid rgba(79,70,229,.25);
  background: rgba(79,70,229,.08);
  color: var(--primary);
}

.price.featured{
  border-color: rgba(79,70,229,.25);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.price.featured::before{ display: none; }

/* Blog */
.blog-card h3{ font-size: 16px; }
.blog-card .meta{ margin-top: 8px; font-size: 12px; color: var(--muted-2); font-weight: 700; }

/* Final CTA */
.cta{ padding: 70px 0; }
.cta-box{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226,232,240,.85);
  background: linear-gradient(180deg, rgba(79,70,229,.06), rgba(34,197,94,.05));
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  align-items: center;
  grid-template-columns: 1fr;
}
.cta-box h2{ margin-bottom: 6px; }
.cta-box p{ max-width: 56ch; }

/* Footer */
footer{
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  color: var(--muted);
}
.footer-col h4{
  margin: 0 0 10px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: -0.01em;
}
.footer-col a{
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}
.footer-note{
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
}

/* Subtle crew in footer */
.crew{
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.crew-label{
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 800;
}
.crew-icons{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.crew-icons img{
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: .92;
  filter: drop-shadow(0 4px 8px rgba(2,6,23,.10));
  user-select: none;
  pointer-events: none;
}

/* Helpers */
.muted{ color: var(--muted-2); }
.kicker{
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 10px;
}
.anchor{ scroll-margin-top: 90px; }

/* Responsive */
@media (min-width: 900px){
  .nav-links{ display: flex; }
  .mobile-toggle{ display: none; }

  .hero-wrap{ grid-template-columns: 1.05fr .95fr; }
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }

  .row{ grid-template-columns: 1fr 1fr; }

  .cta-box{ grid-template-columns: 1.2fr .8fr; padding: 34px; }
  .footer-grid{ grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

/* Brand */
.brand-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}
.brand-text{
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ------------------------------
   HERO DEMO MOCK (drop-in)
--------------------------------*/
.media.demo{
  border: 1px solid rgba(226,232,240,.85);
  background: linear-gradient(180deg, rgba(79,70,229,.05), rgba(34,197,94,.03));
  min-height: 360px;
  padding: 14px;
}

.demo-shell{
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: var(--shadow-sm);
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px){
  .demo-shell{ grid-template-columns: 0.95fr 1.05fr; }
}

.demo-left, .demo-right{ padding: 14px; }

.demo-left{
  border-right: 0;
  background: rgba(255,255,255,.6);
}
@media (min-width: 900px){
  .demo-left{ border-right: 1px solid rgba(226,232,240,.9); }
}

.demo-topbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}

.demo-dots{
  display:flex;
  gap: 6px;
  align-items:center;
}
.demo-dots span{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(100,116,139,.35);
}

.demo-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 13px;
}

.demo-pill{
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.22);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.demo-search{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  margin-bottom: 12px;
}
.demo-search-ico{ color: var(--muted-2); font-weight: 900; }
.demo-search-txt{ color: var(--muted-2); font-weight: 750; font-size: 12px; }

.demo-section-label{
  font-size: 11px;
  font-weight: 900;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 10px 0 8px;
}

.demo-file{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  margin-bottom: 10px;
}
.demo-file-ico{
  width: 32px; height: 32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.18);
  font-size: 16px;
}
.demo-file-meta{ flex: 1; min-width: 0; }
.demo-file-name{
  font-weight: 900;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-file-sub{
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-chip{
  font-size: 10px;
  font-weight: 900;
  color: #0f766e;
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.22);
  padding: 5px 8px;
  border-radius: 999px;
  text-transform: lowercase;
}
.demo-chip-wip{
  color: #92400e;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.28);
}

.demo-file.muted{ opacity: .75; }

.demo-footer-note{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 750;
}
.demo-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.10);
}

.demo-chat{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 0 10px;
  min-height: 220px;
}

.demo-msg{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.demo-avatar{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  color: var(--text);
}
.demo-avatar-ai{
  background: rgba(79,70,229,.08);
  border-color: rgba(79,70,229,.22);
  color: var(--primary);
}

.demo-bubble{
  flex: 1;
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
}

.demo-ai .demo-bubble{ background: rgba(255,255,255,.92); }

.demo-cite{
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-2);
  border-top: 1px dashed rgba(226,232,240,.95);
  padding-top: 8px;
  font-weight: 750;
}

.demo-input{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  margin-top: 6px;
}
.demo-plus{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.18);
  color: var(--primary);
  font-weight: 900;
}
.demo-input-txt{
  flex: 1;
  color: var(--muted-2);
  font-weight: 750;
  font-size: 12px;
}
.demo-send{
  width: 30px; height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

/* ------------------------------
   PROBLEM VISUAL MOCK
--------------------------------*/
.problem-mock{
  border: 1px solid rgba(226,232,240,.85);
  background: linear-gradient(180deg, rgba(2,6,23,.03), rgba(79,70,229,.03));
  padding: 14px;
  min-height: 360px;
}

.pm-shell{
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-sm);
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px){
  .pm-shell{ grid-template-columns: 1fr 70px 1fr; }
}

.pm-side{ padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.pm-head{ display: grid; gap: 4px; }
.pm-title{
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 11px;
  color: var(--muted-2);
}
.pm-sub{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 13px;
  color: var(--text);
  opacity: .85;
}

.pm-divider{
  display: none;
  place-items: center;
  background: linear-gradient(180deg, rgba(79,70,229,.06), rgba(34,197,94,.04));
  border-left: 1px solid rgba(226,232,240,.92);
  border-right: 1px solid rgba(226,232,240,.92);
}
.pm-arrow{
  width: 44px; height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--primary);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px){
  .pm-divider{ display: grid; }
}

/* CHAOS stack */
.pm-chaos{
  background:
    radial-gradient(circle at 20% 10%, rgba(239,68,68,.12), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(245,158,11,.12), transparent 55%),
    transparent;
}
.pm-stack{ position: relative; min-height: 210px; }
.pm-card{
  position: absolute;
  width: 78%;
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.92);
  padding: 12px;
  box-shadow: 0 10px 20px rgba(2,6,23,.08);
  transform-origin: center;
}
.pm-card-1{ top: 8px; left: 6%; transform: rotate(-6deg); }
.pm-card-2{ top: 44px; left: 14%; transform: rotate(7deg); }
.pm-card-3{ top: 86px; left: 10%; transform: rotate(-2deg); }
.pm-card-4{ top: 132px; left: 18%; transform: rotate(9deg); }

.pm-line{ font-size: 12px; color: var(--muted-2); font-weight: 750; }
.pm-bold{ color: var(--text); font-weight: 900; margin-bottom: 2px; }

.pm-tag{
  display:inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(226,232,240,.92);
}
.pm-red{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.22);
  color: #991b1b;
}
.pm-amber{
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.24);
  color: #92400e;
}

/* CLEAR panel */
.pm-clear{
  background:
    radial-gradient(circle at 25% 20%, rgba(79,70,229,.10), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.08), transparent 55%),
    transparent;
}

.pm-panel{
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.92);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.pm-q{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  color: var(--text);
}
.pm-qdot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(79,70,229,.10);
}

.pm-a{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(79,70,229,.22);
  background: rgba(79,70,229,.06);
}
.pm-a-title{
  font-size: 12px;
  color: var(--text);
  font-weight: 750;
}
.pm-a-src{
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 800;
  border-top: 1px dashed rgba(79,70,229,.22);
  padding-top: 6px;
}

.pm-tags{ display:flex; flex-wrap: wrap; gap: 8px; }
.pm-pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  color: var(--muted);
}
.pm-pill-green{
  border-color: rgba(34,197,94,.26);
  background: rgba(34,197,94,.08);
  color: #166534;
}

.pm-fileok{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
}
.pm-fileico{
  width: 34px; height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.18);
}
.pm-fn{ font-weight: 900; font-size: 12px; color: var(--text); }
.pm-fmeta{ margin-top: 2px; font-weight: 800; font-size: 11px; color: var(--muted-2); }

.pm-foot{
  display:flex;
  gap: 8px;
  align-items:center;
  font-size: 11px;
  font-weight: 850;
  color: var(--muted-2);
}
.pm-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
}
.pm-dot-bad{
  background: rgba(239,68,68,.9);
  box-shadow: 0 0 0 6px rgba(239,68,68,.10);
}
.pm-dot-good{
  background: rgba(34,197,94,.9);
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

/* ------------------------------
   CHAT DEMO MOCK
--------------------------------*/
.chat-mock{
  border: 1px solid rgba(226,232,240,.85);
  background: linear-gradient(180deg, rgba(79,70,229,.05), rgba(34,197,94,.03));
  padding: 14px;
  min-height: 360px;
}

.cm-shell{
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cm-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.75);
}

.cm-title{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 13px;
  color: var(--text);
}
.cm-spark{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.18);
  color: var(--primary);
  font-weight: 900;
}

.cm-chips{ display:flex; gap: 8px; align-items:center; }
.cm-chip{
  font-size: 11px;
  font-weight: 900;
  color: var(--primary);
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.22);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.cm-chip-soft{
  color: #166534;
  background: rgba(34,197,94,.08);
  border-color: rgba(34,197,94,.22);
}

.cm-body{
  padding: 12px 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.cm-msg{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.cm-avatar{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  color: var(--text);
  flex: 0 0 auto;
}
.cm-avatar-ai{
  background: rgba(79,70,229,.08);
  border-color: rgba(79,70,229,.22);
  color: var(--primary);
}

.cm-bubble{
  flex: 1;
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
}

.cm-bubble-ai{
  background: rgba(255,255,255,.94);
  border-color: rgba(79,70,229,.16);
}

.cm-sources{
  margin-top: 10px;
  border-top: 1px dashed rgba(226,232,240,.95);
  padding-top: 10px;
  display:grid;
  gap: 8px;
}
.cm-src-title{
  font-size: 11px;
  font-weight: 900;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cm-src{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  color: var(--text);
  text-decoration: none;
}
.cm-src:hover{
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.cm-src-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(79,70,229,.10);
  flex: 0 0 auto;
}
.cm-src-meta{
  color: var(--muted-2);
  font-weight: 800;
  margin-left: 6px;
  font-size: 12px;
}

.cm-highlight{
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(34,197,94,.20);
  background: rgba(34,197,94,.06);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  font-weight: 750;
}
.cm-hl-label{
  display:inline-flex;
  margin-right: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.22);
  font-size: 10px;
  font-weight: 900;
  color: #166534;
}

.cm-input{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.75);
}
.cm-plus{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.18);
  color: var(--primary);
  font-weight: 900;
}
.cm-placeholder{
  flex: 1;
  color: var(--muted-2);
  font-weight: 800;
  font-size: 12px;
}
.cm-send{
  width: 32px; height: 32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

/* ------------------------------
   USE CASES CAROUSEL
--------------------------------*/
.uc-mock{
  border: 1px solid rgba(226,232,240,.85);
  background: linear-gradient(180deg, rgba(79,70,229,.05), rgba(34,197,94,.03));
  padding: 14px;
  min-height: 280px;
}

.uc-shell{
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.uc-head{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.75);
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}

.uc-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 14px;
  color: var(--text);
}

.uc-sub{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 750;
  color: var(--muted-2);
}

.uc-controls{ display:flex; gap: 8px; align-items:center; }
.uc-btn{
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease;
}
.uc-btn:hover{ box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.uc-viewport{ padding: 12px 14px; overflow: hidden; }

.uc-track{
  display: flex;
  gap: 12px;
  will-change: transform;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
}

.uc-card{
  flex: 0 0 calc(100% - 0px);
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.92);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
  transition: box-shadow .2s ease, transform .08s ease;
}

@media (min-width: 720px){
  .uc-card{ flex-basis: calc(50% - 6px); }
}
@media (min-width: 1050px){
  .uc-card{ flex-basis: calc(33.333% - 8px); }
}

.uc-card:hover{ box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.uc-top{ display:flex; align-items:center; justify-content: space-between; gap: 10px; }

.uc-pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79,70,229,.22);
  background: rgba(79,70,229,.07);
  color: var(--primary);
  font-weight: 900;
  font-size: 11px;
  white-space: nowrap;
}
.uc-kind{
  font-size: 11px;
  font-weight: 900;
  color: var(--muted-2);
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(248,250,252,.9);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.uc-q{
  font-size: 12.5px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}

.uc-a{
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  line-height: 1.35;
}

.uc-src{
  margin-top: 8px;
  font-size: 11px;
  font-weight: 850;
  color: var(--muted-2);
  border-top: 1px dashed rgba(226,232,240,.95);
  padding-top: 8px;
}

.uc-footer{
  padding: 10px 14px;
  border-top: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.75);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.uc-dots{ display:flex; gap: 8px; align-items:center; }
.uc-dotbtn{
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(100,116,139,.35);
  background: rgba(100,116,139,.18);
  cursor: pointer;
}
.uc-dotbtn.is-active{
  background: var(--primary);
  border-color: rgba(79,70,229,.4);
  box-shadow: 0 0 0 6px rgba(79,70,229,.10);
}

.uc-footnote{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  font-weight: 850;
  color: var(--muted-2);
}
.uc-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.9);
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

/* ------------------------------
   SECURITY MOCK
--------------------------------*/
.security-mock{
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sec-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  opacity: .85;
}

.sec-badge{
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.sec-status{
  font-size: 12px;
  opacity: .6;
}

.sec-grid{
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.sec-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
}

.sec-title{
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
  color: #ffffff;
}

.sec-line{
  font-size: 12px;
  opacity: .75;
  margin-bottom: 4px;
}
