:root{
  --paper:#F7F8F6;
  --paper-dim:#EEF1EE;
  --ink:#10161C;
  --ink-soft:#3A4450;
  --muted:#6B7680;
  --line:#DDE3DE;
  --deep:#0E1A16;
  --deep-2:#132821;
  --pass:#1F8A5F;
  --pass-dim:#E4F1EA;
  --flag:#E4572E;
  --flag-dim:#FCEAE3;
  --white:#FFFFFF;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius:10px;
  --radius-sm:6px;
  --shadow-soft:0 1px 2px rgba(14,26,22,.06), 0 8px 24px rgba(14,26,22,.06);
  --shadow-lift:0 4px 10px rgba(14,26,22,.08), 0 20px 40px rgba(14,26,22,.10);
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

h1,h2,h3,h4,.font-display{
  font-family:var(--font-display);
  letter-spacing:-0.02em;
  color:var(--ink);
}

.font-mono{ font-family:var(--font-mono); letter-spacing:0; }

a{ color:inherit; text-decoration:none; }

::selection{ background:var(--pass); color:var(--white); }

:focus-visible{
  outline:2px solid var(--pass);
  outline-offset:2px;
  border-radius:4px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--pass);
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.eyebrow::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--pass);
  box-shadow:0 0 0 3px var(--pass-dim);
}

.text-muted-c{ color:var(--muted) !important; }
.text-pass{ color:var(--pass) !important; }

.section{ padding:6.5rem 0; }
@media (max-width:767px){ .section{ padding:4rem 0; } }

.section-head{ max-width:640px; margin-bottom:3rem; }
.section-head p{ color:var(--muted); font-size:1.05rem; }

/* ---------- Buttons ---------- */
.btn{
  font-family:var(--font-body);
  font-weight:600;
  border-radius:999px;
  padding:.7rem 1.5rem;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  border:1px solid transparent;
}
.btn:active{ transform:translateY(1px); }

.btn-pass{
  background:var(--pass);
  color:var(--white);
}
.btn-pass:hover{
  background:#186f4b;
  color:var(--white);
  box-shadow:0 8px 20px rgba(31,138,95,.28);
}

.btn-outline-ink{
  border-color:var(--line);
  color:var(--ink);
  background:transparent;
}
.btn-outline-ink:hover{
  border-color:var(--ink);
  background:var(--ink);
  color:var(--white);
}

.btn-ghost-light{
  border-color:rgba(255,255,255,.25);
  color:var(--white);
  background:rgba(255,255,255,.04);
}
.btn-ghost-light:hover{
  border-color:rgba(255,255,255,.6);
  background:rgba(255,255,255,.1);
  color:var(--white);
}

.btn-sm-pill{ padding:.45rem 1rem; font-size:.85rem; border-radius:999px; }

/* ---------- Navbar ---------- */
.qa-nav{
  position:sticky; top:0; z-index:1030;
  background:rgba(247,248,246,.85);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.qa-logo{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.25rem;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
}
.qa-logo .dot{
  width:11px;height:11px;border-radius:3px;
  background:var(--pass);
  transform:rotate(45deg);
  display:inline-block;
}
.qa-nav .nav-link{
  font-weight:500;
  color:var(--ink-soft);
  padding:.5rem 1rem !important;
}
.qa-nav .nav-link:hover{ color:var(--ink); }
.qa-nav .nav-link.active{ color:var(--pass); }

.burger{
  width:42px;height:42px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line);
  background:var(--white);
  display:inline-flex; align-items:center; justify-content:center;
  gap:4px;
}
.burger span{
  display:block; width:16px; height:2px; background:var(--ink);
}
.burger .bars{ display:flex; flex-direction:column; gap:4px; }

/* ---------- Off-canvas sidebar menu (mobile), opens left -> right ---------- */
.qa-offcanvas{
  width:min(84vw, 360px);
  background:var(--deep);
  color:var(--white);
  border:none;
}
.qa-offcanvas .offcanvas-header{ border-bottom:1px solid rgba(255,255,255,.1); }
.qa-offcanvas .nav-link{
  color:rgba(255,255,255,.8);
  font-size:1.05rem;
  padding:.85rem 0 !important;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.qa-offcanvas .nav-link:hover, .qa-offcanvas .nav-link.active{ color:var(--pass); }
.qa-offcanvas .btn-close{ filter:invert(1); }

/* ---------- Hero ---------- */
.hero{
  background:var(--deep);
  color:var(--white);
  position:relative;
  overflow:hidden;
  padding:6rem 0 5rem;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(ellipse at 30% 20%, black, transparent 75%);
  pointer-events:none;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.3rem, 4.2vw, 3.6rem);
  line-height:1.05;
}
.hero p.lead{
  color:rgba(255,255,255,.68);
  font-size:1.15rem;
  max-width:520px;
}
.hero-stats{ gap:2rem; }
.hero-stats .num{ font-family:var(--font-mono); font-size:1.4rem; color:var(--pass); }
.hero-stats .label{ font-size:.78rem; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.08em; }

/* Terminal signature panel */
.term{
  background:var(--deep-2);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  overflow:hidden;
  font-family:var(--font-mono);
  font-size:.86rem;
}
.term-bar{
  display:flex; align-items:center; gap:.4rem;
  padding:.7rem .9rem;
  background:rgba(255,255,255,.03);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.term-bar span{ width:10px;height:10px;border-radius:50%; background:rgba(255,255,255,.18); }
.term-bar .title{
  margin-left:.5rem; color:rgba(255,255,255,.45); font-size:.75rem;
}
.term-body{ padding:1.1rem 1.2rem 1.3rem; color:rgba(255,255,255,.72); }
.term-line{
  display:flex; align-items:center; gap:.6rem;
  padding:.32rem 0;
  opacity:0;
  animation:termIn .4s ease forwards;
}
.term-line .id{ color:rgba(255,255,255,.4); width:64px; flex-shrink:0; }
.term-line .name{ flex:1; color:rgba(255,255,255,.8); }
.term-line .status{
  font-weight:600; font-size:.78rem;
  padding:.1rem .5rem; border-radius:4px;
}
.term-line .status.pass{ color:var(--pass); background:rgba(31,138,95,.14); }
.term-line .status.pending{ color:rgba(255,255,255,.4); background:rgba(255,255,255,.06); }
.term-line .status.run{ color:#E8B33D; background:rgba(232,179,61,.14); }
@keyframes termIn{ from{ opacity:0; transform:translateY(4px);} to{ opacity:1; transform:translateY(0);} }
.term-summary{
  margin-top:.6rem; padding-top:.8rem; border-top:1px dashed rgba(255,255,255,.12);
  display:flex; justify-content:space-between; color:rgba(255,255,255,.5); font-size:.78rem;
}
.blink-cursor{ display:inline-block; width:7px; height:14px; background:var(--pass); animation:blink 1s step-end infinite; vertical-align:middle; margin-left:2px;}
@keyframes blink{ 50%{ opacity:0; } }

/* ---------- Logo strip ---------- */
.trust-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-strip .brandname{
  font-family:var(--font-mono); color:var(--muted); font-size:.95rem; letter-spacing:.02em;
}

/* ---------- Cards ---------- */
.qa-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:2rem 1.75rem;
  height:100%;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.qa-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lift);
  border-color:transparent;
}
.qa-icon{
  width:46px; height:46px; border-radius:var(--radius-sm);
  background:var(--pass-dim); color:var(--pass);
  display:inline-flex; align-items:center; justify-content:center;
  margin-bottom:1.1rem;
}
.qa-icon svg{ width:22px; height:22px; }

.tc-tag{
  font-family:var(--font-mono); font-size:.72rem; color:var(--muted);
}

/* ---------- Why choose ---------- */
.why-row{
  border-top:1px solid var(--line);
  padding:1.6rem 0;
}
.why-row:last-child{ border-bottom:1px solid var(--line); }
.why-row .n{ font-family:var(--font-mono); color:var(--pass); font-size:.85rem; }

/* ---------- Pricing ---------- */
.price-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:2.2rem 1.9rem;
  height:100%;
  position:relative;
}
.price-card.featured{
  background:var(--deep);
  color:var(--white);
  border-color:var(--deep);
  box-shadow:var(--shadow-lift);
  transform:translateY(-10px);
}
.price-card.featured .text-muted-c{ color:rgba(255,255,255,.55) !important; }
.price-card.featured .plan-line{ border-color:rgba(255,255,255,.12); }
.price-card .badge-pop{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--pass); color:#fff; font-size:.72rem; font-weight:600;
  padding:.28rem .8rem; border-radius:999px; font-family:var(--font-mono);
}
.price-amount{ font-family:var(--font-display); font-size:2.6rem; }
.plan-line{
  border-top:1px solid var(--line);
  padding:1.7rem 0;
  margin-top:1.7rem;
}
.plan-feat{ padding:.35rem 0; font-size:.94rem; display:flex; gap:.6rem; align-items:flex-start; }
.plan-feat svg{ flex-shrink:0; margin-top:.2rem; color:var(--pass); }
.price-card.featured .plan-feat svg{ color:var(--pass); }

/* ---------- FAQ ---------- */
.accordion-item{
  background:transparent;
  border:none;
  border-bottom:1px solid var(--line);
}
.accordion-button{
  font-family:var(--font-display);
  font-weight:600;
  background:transparent;
  color:var(--ink);
  padding:1.4rem 0;
  box-shadow:none !important;
}
.accordion-button:not(.collapsed){ color:var(--pass); background:transparent; }
.accordion-button::after{ filter:none; }
.accordion-body{ padding:0 0 1.5rem; color:var(--muted); max-width:640px; }

/* ---------- Footer ---------- */
.qa-footer{ background:var(--deep); color:rgba(255,255,255,.6); }
.qa-footer h6{ color:#fff; font-family:var(--font-display); }
.qa-footer a:hover{ color:var(--pass); }
.qa-footer .qa-logo{ color:#fff; }

/* =========================================================
   Auth (login) page
   ========================================================= */
.auth-wrap{ min-height:100vh; }
.auth-brand{
  background:var(--deep);
  color:#fff;
  position:relative;
  overflow:hidden;
  padding:3rem;
}
.auth-brand::before{
  content:"";
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:38px 38px;
  mask-image:radial-gradient(ellipse at 20% 10%, black, transparent 70%);
}
.auth-form-side{ background:var(--paper); padding:2rem; }
.auth-card{ width:100%; max-width:400px; }
.form-control-qa{
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:.75rem 1rem;
  font-size:.95rem;
}
.form-control-qa:focus{
  border-color:var(--pass);
  box-shadow:0 0 0 3px var(--pass-dim);
}
.input-icon-wrap{ position:relative; }
.input-icon-wrap svg{
  position:absolute; left:.9rem; top:50%; transform:translateY(-50%);
  color:var(--muted); width:17px; height:17px;
}
.input-icon-wrap .form-control-qa{ padding-left:2.6rem; }
.pw-toggle{
  position:absolute; right:33px; top:50%; transform:translateY(-50%);
  background:none; border:none; color:var(--muted); padding:.3rem;
}

/* =========================================================
   Dashboard
   ========================================================= */
.dash-body{ background:var(--paper-dim); }
.dash-sidebar{
  width:260px;
  background:var(--deep);
  color:rgba(255,255,255,.75);
  min-height:100vh;
  position:fixed; top:0; left:0; bottom:0;
  z-index:1040;
  transition:transform .28s ease;
  display:flex; flex-direction:column;
}
.dash-sidebar .qa-logo{ color:#fff; }
.dash-nav-link{
  display:flex; align-items:center; gap:.8rem;
  padding:.7rem .95rem;
  border-radius:var(--radius-sm);
  color:rgba(255,255,255,.65);
  font-weight:500; font-size:.92rem;
  margin-bottom:.15rem;
}
.dash-nav-link svg{ width:18px; height:18px; flex-shrink:0; }
.dash-nav-link:hover{ background:rgba(255,255,255,.06); color:#fff; }
.dash-nav-link.active{ background:var(--pass); color:#fff; }
.dash-nav-link .badge-mini{
  margin-left:auto; background:rgba(255,255,255,.12); font-family:var(--font-mono);
  font-size:.68rem; padding:.15rem .4rem; border-radius:4px;
}

.dash-main{ margin-left:260px; min-height:100vh; }
.dash-topbar{
  position:sticky; top:0; z-index:1020;
  background:rgba(247,248,246,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  padding:.85rem 1.5rem;
}
.dash-content{ padding:1.75rem; }

.stat-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.4rem 1.5rem;
}
.stat-card .label{ font-size:.8rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.stat-card .value{ font-family:var(--font-display); font-size:1.9rem; }
.stat-card .delta{ font-family:var(--font-mono); font-size:.78rem; }
.stat-card .delta.up{ color:var(--pass); }
.stat-card .delta.down{ color:var(--flag); }

.panel{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
}

.chart-wrap{
  position:relative;
  height:260px;
  width:100%;
}
.chart-wrap canvas{
  width:100% !important;
  height:100% !important;
}
.panel-head{
  padding:1.15rem 1.4rem; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
}

.table-qa{ margin-bottom:0; }
.table-qa thead th{
  font-family:var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em;
  color:var(--muted); border-bottom:1px solid var(--line); font-weight:600; padding:.9rem 1.4rem;
}
.table-qa tbody td{ padding:.9rem 1.4rem; vertical-align:middle; border-bottom:1px solid var(--line); font-size:.9rem; }
.table-qa tbody tr:last-child td{ border-bottom:none; }
.table-qa .tid{ font-family:var(--font-mono); color:var(--muted); font-size:.82rem; }

.status-pill{
  font-family:var(--font-mono); font-size:.72rem; font-weight:600;
  padding:.25rem .6rem; border-radius:999px; display:inline-flex; align-items:center; gap:.4rem;
}
.status-pill.passed{ background:var(--pass-dim); color:var(--pass); }
.status-pill.failed{ background:var(--flag-dim); color:var(--flag); }
.status-pill.running{ background:#FDF3DC; color:#B4820F; }
.status-pill::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }

.progress-qa{ height:6px; border-radius:999px; background:var(--paper-dim); }
.progress-qa .bar{ height:100%; border-radius:999px; background:var(--pass); }

.suite-item{
  display:flex; align-items:center; gap:.9rem;
  padding:.9rem 1.4rem; border-bottom:1px solid var(--line);
}
.suite-item:last-child{ border-bottom:none; }
.suite-dot{ width:9px;height:9px;border-radius:50%; flex-shrink:0; }
.suite-dot.pass{ background:var(--pass); }
.suite-dot.fail{ background:var(--flag); }
.suite-dot.run{ background:#E8B33D; }

/* ---------- Chat widget ---------- */
.chat-fab{
  position:fixed; right:1.5rem; bottom:1.5rem; z-index:1050;
  width:58px; height:58px; border-radius:50%;
  background:var(--pass); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lift); border:none;
  transition:transform .18s ease;
}
.chat-fab:hover{ transform:translateY(-3px) scale(1.03); }
.chat-fab svg{ width:24px; height:24px; }

.chat-panel{
  position:fixed; right:1.5rem; bottom:5.5rem; z-index:1050;
  width:340px; max-width:88vw; height:440px; max-height:70vh;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  border:1px solid var(--line);
  display:flex; flex-direction:column;
  overflow:hidden;
  transform:translateY(12px) scale(.97);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:all .2s ease;
}
.chat-panel.open{
  transform:translateY(0) scale(1); opacity:1; visibility:visible; pointer-events:auto;
}
.chat-head{
  background:var(--deep); color:#fff;
  padding:1rem 1.2rem; display:flex; align-items:center; gap:.7rem;
}
.chat-head .dot-live{ width:8px;height:8px;border-radius:50%; background:var(--pass); box-shadow:0 0 0 3px rgba(31,138,95,.3); }
.chat-body{ flex:1; overflow-y:auto; padding:1rem 1.1rem; display:flex; flex-direction:column; gap:.7rem; background:var(--paper-dim); }
.msg{ max-width:80%; padding:.6rem .85rem; border-radius:12px; font-size:.87rem; line-height:1.4; }
.msg.bot{ background:#fff; border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:3px; }
.msg.me{ background:var(--pass); color:#fff; align-self:flex-end; border-bottom-right-radius:3px; }
.chat-foot{ padding:.7rem; border-top:1px solid var(--line); display:flex; gap:.5rem; background:#fff; }
.chat-foot input{
  flex:1; border:1px solid var(--line); border-radius:999px; padding:.5rem 1rem; font-size:.87rem;
}
.chat-foot input:focus{ outline:none; border-color:var(--pass); }
.chat-foot button{
  width:36px; height:36px; border-radius:50%; background:var(--pass); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.chat-foot button svg{ width:16px; height:16px; }

@media (max-width:991.98px){
  .dash-sidebar{ transform:translateX(-100%); }
  .dash-sidebar.open{ transform:translateX(0); }
  .dash-main{ margin-left:0; }
}

.sidebar-overlay{
  position:fixed; inset:0; background:rgba(14,26,22,.5); z-index:1035;
  opacity:0; visibility:hidden; transition:opacity .2s ease;
}
.sidebar-overlay.show{ opacity:1; visibility:visible; }

a.navbar-brand img {
    width: auto;
    height: 45px;
}
a.qa-logo img {
    width: auto;
    height: 45px;
}

ul.plan-feats {
    font-size: 14px;
    font-style: italic;
}

ul.plan-feats li {
    margin: 10px 0;
}

ul.plan-feats li::marker {
    color: #19bd7b;
}
#cookiePopup h4 {
        font-size: 25px;
        color: #fff;
        margin-bottom: 15px;
    }
    #cookiePopup p {
        font-size: 15px;
        color: #fff;
        margin-bottom: 15px;
        letter-spacing: 1px;
        line-height: 1.5;
        max-width: 850px;
    }
    #cookiePopup p a {
        color: #fff;
        text-decoration: underline;
    }
    .cookieBtns {
        display: inline-flex;
        gap: 10px;
    }
    .cookieBtns button {
        font-size: 15px;
        margin: 10px 0;
        color: #fff;
padding: 10px 20px;
border-radius: 5px;
background: #000;
cursor: pointer;
transition: all 0.5s ease;
border: 2px solid #fff;
}
.cookieBtns button:last-child {
background-color: #fff;
color: #666 !important;
}