:root{
  --bg:#050712;
  --panel: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.07);

  --text:#eaf0ff;
  --muted:#aab4d8;
  --muted2:#7f8ab4;

  --blue:#2f7df6;
  --blue2:#1dd6f2;
  --purple:#8b5cf6;

  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;

  --shadow: 0 18px 45px rgba(0,0,0,.55);
  --radius:16px;
}

*{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;
  color:var(--text);
  background: #050712;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

body:before{
  content:none;
}

@keyframes floatGlow{
  0%{transform: translateY(0)}
  100%{transform: translateY(-18px)}
}

a{color:inherit; text-decoration:none}
.wrap{width:min(980px, calc(100% - 44px)); margin:0 auto}

body, .hero, .subtitle, .fine, .hero-cta, .details, .criteria, .criteria ul,
.search, .result, .result-top, .checks, .why, #copyStatus, .privacy,
.ai-overview, .ai-actions, .ai-text, .stats{
  transition:
    margin .55s ease,
    padding .55s ease,
    gap .55s ease,
    line-height .55s ease,
    min-height .55s ease;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(4,5,18,.68);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke2);
}
.topbar-inner{
  height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:6px;
  font-weight:900;
  letter-spacing:.3px;
}
.brand-logo{
  height:26px;
  width:auto;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  background: transparent;
}
.brand-name{
  font-size:17px;
  font-weight:800;
  color:#ffffff;
  letter-spacing:.15px;
  text-shadow: 0 0 14px rgba(255,255,255,.35), 0 0 26px rgba(99,102,241,.22);
}

.nav{display:flex; gap:14px; color:var(--muted); font-weight:700; font-size:14px;}
.nav a{padding:10px 10px; border-radius:12px; border:1px solid transparent;}
.nav a:hover{color:var(--text); background: rgba(255,255,255,.03); border-color: var(--stroke2);}

/* Buttons */
.btn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:850;
  border-radius: 14px;
  padding:10px 14px;
  cursor:pointer;
  transition: .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(139,92,246,.55); box-shadow: 0 8px 24px rgba(139,92,246,.22);}
.btn.primary{
  background: linear-gradient(180deg, #5b3bff 0%, #4a2bd6 100%);
  border-color: rgba(125,112,255,.7);
  box-shadow:
    0 10px 24px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 26px rgba(99,102,241,.28);
}
.btn.primary:hover{
  border-color: rgba(155,140,255,.9);
  box-shadow:
    0 12px 28px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 0 32px rgba(99,102,241,.38);
}
.btn.primary:active{transform: translateY(0); filter: brightness(.98);}

/* AI glow button */
.btn.ai{
  position:relative;
  padding:12px 22px 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5b3bff 0%, #4a2bd6 100%);
  border-color: rgba(125,112,255,.7);
  box-shadow:
    0 12px 28px rgba(74,43,214,.45),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 30px rgba(99,102,241,.35);
}
.btn.ai:hover{
  border-color: rgba(155,140,255,.9);
  box-shadow:
    0 14px 32px rgba(74,43,214,.5),
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 0 38px rgba(99,102,241,.45);
}
.btn.ai::before{
  content:"✦";
  display:inline-block;
  margin-right:10px;
  font-size:14px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 0 10px rgba(255,255,255,.35);
}
.btn.ai::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius: 999px;
  background: radial-gradient(120px 60px at 50% 50%, rgba(99,102,241,.35), transparent 70%);
  opacity:.8;
  filter: blur(10px);
  z-index:-1;
}
.btn.ghost{background: transparent;}
.btn.icon{
  padding:10px 12px;
  min-width:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.btn.small{padding:9px 12px; border-radius: 12px; font-size:13px;}

.eye{
  width:16px;height:10px;border:2px solid rgba(234,240,255,.85);
  border-radius: 999px;
  position:relative;
  display:inline-block;
}
.eye:after{
  content:"";
  width:4px;height:4px;border-radius:999px;
  background: rgba(234,240,255,.9);
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
}

/* Hero */
.hero{padding: 86px 0 50px; position:relative; flex:0 0 auto;}
.hero-inner{text-align:center;}
.hero-glow{
  position:absolute;
  left:50%; top:120px;
  width:min(720px, 86vw);
  height:240px;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(47,125,246,.22), transparent 70%),
    radial-gradient(45% 60% at 50% 30%, rgba(139,92,246,.18), transparent 70%);
  filter: blur(18px);
  opacity:.9;
  pointer-events:none;
}
h1{
  margin: 0;
  font-size: clamp(40px, 5.2vw, 74px);
  letter-spacing:-.9px;
  line-height:1.02;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
}
.ai-accent{
  background: linear-gradient(90deg, #8b5cf6 0%, #9b7bff 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 12px rgba(139,92,246,.45),
    0 0 26px rgba(155,140,255,.35);
}
.subtitle{
  margin: 56px auto 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 17px;
  line-height:1.6;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.fine{
  margin: 44px 0 0;
  font-size:12px;
  color: var(--muted2);
}
.link{color: rgba(176,210,255,.95); text-decoration: underline; text-underline-offset: 3px;}
.link:hover{color: #ffffff}

.hero-cta{
  margin: 64px auto 0;
  width:min(720px, 100%);
  display:flex;
  justify-content:center;
}
.hero-cta .btn{padding:12px 18px;}

.details{
  margin-top: 40px;
  display:flex;
  flex-direction:column;
  gap:40px;
  overflow:hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .28s ease, opacity .2s ease, transform .28s ease;
}
.details.is-open{
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}
.details[hidden]{display:none;}
.details > *{
  width:min(720px, 100%);
  margin-left:auto;
  margin-right:auto;
}

.criteria{
  margin: 56px auto 0;
  width:min(720px, 100%);
  text-align:left;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.50);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}
.criteria-title{color: var(--text); font-weight:850; margin-bottom:6px;}
.criteria ul{margin:0; padding-left:18px; display:grid; gap:20px;}

/* Input group */
.search{
  margin: 76px auto 0;
  width:min(720px, 100%);
  display:grid;
  grid-template-columns: 1fr auto auto auto;
  gap:24px;
  align-items:center;
  padding: 28px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(8,12,28,.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.search input{
  height:52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.92);
  color: #0a1020;
  font-size: 15px;
  font-weight: 650;
  outline: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: .15s ease;
}
.search input:focus{border-color: rgba(47,125,246,.55); box-shadow: 0 10px 34px rgba(47,125,246,.18);}
.search .btn{height:52px}

.btn.copy{
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.03);
  border-color: var(--stroke);
  box-shadow: none;
}
.btn.copy:hover{
  border-color: rgba(47,125,246,.45);
  box-shadow: 0 8px 24px rgba(47,125,246,.18);
}

.copy-icon{
  width:16px;
  height:16px;
  display:inline-block;
  position:relative;
  transform: translate(1px, 1px);
}
.copy-icon::before,
.copy-icon::after{
  content:"";
  position:absolute;
  border:2px solid rgba(234,240,255,.85);
  border-radius:4px;
  box-sizing:border-box;
}
.copy-icon::before{
  width:12px;
  height:12px;
  top:2px;
  left:2px;
  background: rgba(255,255,255,.05);
}
.copy-icon::after{
  width:12px;
  height:12px;
  top:-2px;
  left:-2px;
  background: transparent;
  opacity:.7;
}

/* Result */
.result{
  margin: 64px auto 0;
  width:min(720px, 100%);
  text-align:left;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.55);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 16px;
}
.result-top{display:flex; flex-direction:column; gap:24px;}
.label{display:flex; justify-content:space-between; align-items:baseline; gap:12px;}
.strength{
  font-weight: 950;
  letter-spacing:.2px;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.18);
}
.score{color: var(--muted); font-weight:800; font-size:13px;}
.meter .bar{
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid var(--stroke2);
  overflow:hidden;
}
.fill{
  height:100%;
  width:0%;
  border-radius:999px;
  background: linear-gradient(90deg, var(--bad), var(--warn), var(--good));
  transition: width .15s ease;
}

.checks{
  list-style:none;
  padding:0;
  margin: 40px 0 0;
  display:grid;
  gap:24px;
}
.checks li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--muted);
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.18);
  font-size: 13px;
  line-height:1.45;
}
.tick{
  width:18px;height:18px;border-radius:6px;
  background: rgba(29,214,242,.12);
  border:1px solid rgba(29,214,242,.22);
  display:inline-grid; place-items:center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.22) inset;
  flex:0 0 auto;
}
.tick:before{
  content:"";
  width:8px;height:4px;
  border-left:2px solid rgba(29,214,242,.95);
  border-bottom:2px solid rgba(29,214,242,.95);
  transform: rotate(-45deg);
  margin-top:-1px;
  opacity:.35;
}
.checks li.ok{
  color: rgba(234,240,255,.92);
  border-color: rgba(29,214,242,.28);
  background: rgba(29,214,242,.08);
}
.checks li.ok .tick:before{opacity:1}

.why{
  margin-top: 40px;
  color: var(--muted2);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border:1px dashed var(--stroke2);
  background: rgba(0,0,0,.12);
  min-height: 36px;
}

.status{color: var(--muted2); font-size:12px;}
#copyStatus{margin: 38px auto 0; width:min(720px, 100%); text-align:left;}
.privacy{
  margin-top: 40px;
  color: var(--muted2);
  font-size:12px;
  border-top: 1px solid var(--stroke2);
  padding-top: 10px;
}


.ai-overview{
  margin-top: 56px;
  border-radius: 12px;
  border:1px solid rgba(125,112,255,.35);
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(99,102,241,.16), rgba(7,10,22,.35));
  box-shadow: 0 12px 32px rgba(74,43,214,.22), 0 0 0 1px rgba(255,255,255,.06) inset;
  text-align:center;
}
.ai-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
  justify-content:center;
}
.ai-logo{
  width:22px;
  height:22px;
  object-fit:contain;
  filter: drop-shadow(0 0 10px rgba(125,112,255,.5));
}
.ai-title{
  font-weight: 900;
  font-size: 16px;
  letter-spacing:.2px;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(99,102,241,.55);
}
.ai-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  margin-bottom: 30px;
}
.ai-actions .btn.ai{
  padding: 8px 14px 8px 12px;
  font-size: 12px;
}
.ai-actions .status{
  color: var(--muted2);
  font-size: 12px;
}
.ai-text{
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.8;
  min-height: 46px;
  max-width: 56ch;
  margin: 0 auto;
}
.result-ai{
  border:1px solid rgba(99,102,241,.35);
}

/* Stats */
.stats{
  margin: 44px auto 0;
  width:min(720px, 100%);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:32px;
}

body.compact .hero{padding: 38px 0 30px;}
body.compact .subtitle{margin: 14px auto 0;}
body.compact .fine{margin: 10px 0 0;}
body.compact .hero-cta{margin: 18px auto 0;}
body.compact .details{margin-top: 6px; gap:12px;}
body.compact .criteria{margin: 16px auto 0;}
body.compact .criteria ul{gap:6px;}
body.compact .search{margin: 22px auto 0; gap:10px; padding:14px;}
body.compact .result{margin: 18px auto 0;}
body.compact .result-top{gap:10px;}
body.compact .checks{margin: 14px 0 0; gap:10px;}
body.compact .why{margin-top: 10px;}
body.compact #copyStatus{margin: 8px auto 0;}
body.compact .privacy{margin-top: 10px;}
body.compact .ai-overview{margin-top: 14px;}
body.compact .ai-actions{gap:6px; margin-bottom: 10px;}
body.compact .ai-text{line-height: 1.5; min-height: 24px;}
body.compact .stats{margin: 6px auto 0; gap:14px;}
.stat{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.55);
  backdrop-filter: blur(8px);
}
.stat-num{
  font-size: 26px;
  font-weight: 950;
  letter-spacing:-.3px;
  background: linear-gradient(90deg, rgba(176,210,255,1), rgba(29,214,242,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.stat-label{margin-top:6px; color: var(--muted); font-weight:750; font-size:13px;}

/* Footer */
.footer{
  border-top:1px solid var(--stroke2);
  background: transparent;
  backdrop-filter: none;
  padding: 22px 0 28px;
  margin-top:auto;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:8px;
}
.footer-logo{
  height:20px;
  width:auto;
  border-radius:6px;
}
.footer-links{display:flex; gap:14px; color: var(--muted);}
.muted{color: var(--muted2);}

/* Responsive */
@media (max-width: 900px){
  .nav{display:none}
  .search{grid-template-columns: 1fr;}
  .search .btn{width:100%}
  .stats{grid-template-columns: 1fr}
}

/* Generic pages */
.page{
  padding: 70px 0 80px;
  flex: 1 0 auto;
}
.page-hero{
  text-align:center;
  margin-bottom: 50px;
}
.eyebrow{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--muted2);
  margin: 0 0 12px;
}
.page-subtitle{
  color: var(--muted);
  max-width: 70ch;
  margin: 22px auto 0;
  line-height: 1.6;
}
.cta-row{
  margin-top: 28px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.page-section{margin: 36px auto 0;}
.page-grid{
  width:min(980px, calc(100% - 44px));
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:22px;
}
.card{
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.55);
  backdrop-filter: blur(8px);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h2, .card h3{margin-top:0;}
.list{margin: 12px 0 0; padding-left: 18px; color: var(--muted);}
.list li{margin-bottom: 8px;}
.split{
  width:min(980px, calc(100% - 44px));
  margin: 0 auto;
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:22px;
  align-items: start;
}
.note{
  border-radius: 14px;
  border:1px dashed var(--stroke2);
  background: rgba(0,0,0,.12);
  padding: 16px;
  color: var(--muted2);
}

/* Blog */
.blog-grid{
  width:min(980px, calc(100% - 44px));
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:22px;
}
.blog-card p{color: var(--muted);}
.tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(99,102,241,.45);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 18px;}
.post{
  width:min(820px, calc(100% - 44px));
  margin: 0 auto 80px;
  padding: 24px;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.55);
}
.post h2{margin-top: 28px;}
.post-meta{color: var(--muted2); font-size: 12px; margin-bottom: 18px;}
.post-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 26px;}
.breadcrumb{margin-top: 14px; font-size: 13px; color: var(--muted2);}

/* FAQ */
.faq{
  width:min(820px, calc(100% - 44px));
  margin: 0 auto;
  display:grid;
  gap:14px;
}
.faq details{
  border-radius: 14px;
  border:1px solid var(--stroke2);
  background: rgba(10,14,30,.55);
  padding: 14px 16px;
}
.faq summary{
  cursor:pointer;
  font-weight: 750;
}
.faq p{color: var(--muted); margin: 10px 0 0;}

/* Forms */
.form{display:grid; gap:14px;}
.form-row{display:grid; gap:8px;}
.form-row label{font-weight: 700; color: var(--muted);}
.form input, .form select, .form textarea{
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.92);
  color: #0a1020;
  font-size: 14px;
  padding: 10px 12px;
  outline:none;
}
.form textarea{resize: vertical;}
.form-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}
.form-card{width:min(820px, calc(100% - 44px)); margin: 0 auto;}

/* Policies */
.policy p{color: var(--muted);}

@media (max-width: 900px){
  .page-grid{grid-template-columns: 1fr;}
  .blog-grid{grid-template-columns: 1fr;}
  .split{grid-template-columns: 1fr;}
}

/* About hero (layout inspired by provided reference) */
.about-page{
  padding: 0;
}
.about-page .page-subtitle{margin-left:0; margin-right:0;}
.about-hero{
  position:relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(1200px 600px at 70% 40%, rgba(94,90,255,.24), transparent 60%),
    radial-gradient(600px 400px at 15% 30%, rgba(41,92,255,.18), transparent 60%),
    #050712;
  overflow:visible;
}
.about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,.25), transparent 70%),
    radial-gradient(1.5px 1.5px at 30% 60%, rgba(255,255,255,.25), transparent 70%),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(255,255,255,.2), transparent 70%),
    radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,255,.2), transparent 70%);
  opacity:.6;
  pointer-events:none;
  z-index:0;
}
.about-hero::after{
  content:"";
  position:absolute;
  inset:-110px 0 -310px;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(94,90,255,.32), transparent 70%),
    radial-gradient(900px 420px at 50% 100%, rgba(41,92,255,.22), transparent 70%);
  opacity:.9;
  pointer-events:none;
  z-index:0;
}
.about-hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
}
.about-copy h1{
  font-size: clamp(36px, 4.8vw, 64px);
  line-height:1.05;
}
.about-copy .cta-row{justify-content:flex-start;}
.cta-row.left{justify-content:flex-start;}
.about-stats{
  display:flex;
  gap:16px;
  margin-top: 24px;
  flex-wrap:wrap;
}
.stat.mini{
  padding: 12px 14px;
  min-width: 180px;
  background: rgba(10,14,30,.55);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.stat.mini .stat-num{font-size: 18px;}

.about-visual{
  position:relative;
  display:grid;
  place-items:center;
  min-height: 360px;
}
.about-portrait{
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(10,14,30,.6);
  box-shadow:
    0 18px 40px rgba(10,20,60,.45),
    0 0 0 1px rgba(255,255,255,.08) inset;
  filter: drop-shadow(0 30px 60px rgba(34,76,255,.45));
  position:relative;
  z-index:2;
  animation: portraitFloat 12s ease-in-out infinite;
  object-fit: cover;
  object-position: 36% 42%;
}
.portrait-glow{
  position:absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104,120,255,.55), rgba(12,16,38,0));
  filter: blur(6px);
}

@keyframes portraitFloat{
  0%{transform: translate(0, 0) rotate(0deg);}
  20%{transform: translate(6px, -6px) rotate(-0.6deg);}
  45%{transform: translate(-4px, -12px) rotate(0.4deg);}
  70%{transform: translate(5px, -8px) rotate(-0.3deg);}
  100%{transform: translate(0, 0) rotate(0deg);}
}

@media (max-width: 900px){
  .about-hero-inner{grid-template-columns: 1fr; text-align:center;}
  .about-copy .cta-row{justify-content:center;}
  .about-stats{justify-content:center;}
}
