@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  /* Core palette — dark navy fintech theme (Puzzle-inspired) */
  --bg:#06070d;
  --bg-elevated:#0b0d16;
  --surface:#12141f;
  --surface-soft:rgba(255,255,255,.035);
  --card:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.09);
  --border-strong:rgba(255,255,255,.16);

  /* Accents */
  --mint:#1fe8a8;
  --mint-dark:#0fb987;
  --violet:#8b6bff;
  --blue:#1fe8a8;      /* legacy var name, repointed to mint accent */
  --green:#8b6bff;     /* legacy var name, repointed to violet accent for gradients */
  --navy:#f6f8fb;       /* legacy var name, now used as the "heading" colour (near-white) */

  --text:#eef1f6;
  --muted:#9aa3b2;
  --muted-2:#767f8e;
  --radius:18px;
  --radius-sm:12px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{background:var(--bg);}
body{
  font-family:'Inter','Segoe UI',Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  min-height:100vh;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(139,107,255,.16), transparent 60%),
    radial-gradient(ellipse 900px 600px at 85% 0%, rgba(31,232,168,.13), transparent 60%);
  background-repeat:no-repeat;
}
a{color:var(--mint);text-decoration:none;}
a:hover{text-decoration:underline;}
::selection{background:rgba(31,232,168,.3);color:#fff;}

/* ---------------- Header / nav ---------------- */
header.site-header{
  background:rgba(6,7,13,.72);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  color:#fff;
  padding:14px 24px;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1800px;
  width:96%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.logo{
  font-size:1.4rem;
  font-weight:800;
  color:#fff;
  letter-spacing:-.02em;
}
.logo span{color:var(--mint);}
nav ul{
  list-style:none;
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  align-items:center;
}
nav a{color:#cbd2dc;font-weight:500;}
nav a:hover{color:#fff;text-decoration:underline;}

/* ---- Professional dropdown nav ---- */
.main-nav{list-style:none;display:flex;gap:2px;flex-wrap:wrap;align-items:center;}
.main-nav > li{position:relative;}
.main-nav > li > a,
.dropdown-toggle{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#cbd2dc;
  font-weight:500;
  font-size:.94rem;
  padding:9px 13px;
  border-radius:8px;
  background:transparent;
  border:none;
  font-family:inherit;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
.main-nav > li > a:hover,
.dropdown-toggle:hover,
.dropdown.open > .dropdown-toggle{
  color:#fff;
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.dropdown-toggle .caret{
  font-size:.7rem;
  transition:transform .2s ease;
}
.dropdown.open .dropdown-toggle .caret,
.dropdown:hover .dropdown-toggle .caret{
  transform:rotate(180deg);
}
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  margin-top:8px;
  background:#0e101a;
  border:1px solid var(--border);
  min-width:230px;
  border-radius:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.55);
  padding:8px;
  list-style:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:80;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown-menu li a{
  display:block;
  padding:9px 12px;
  border-radius:8px;
  color:#dde2ea;
  font-weight:500;
  font-size:.9rem;
  transition:background .15s ease, color .15s ease, padding-left .15s ease;
}
.dropdown-menu li a:hover{
  background:rgba(31,232,168,.12);
  color:var(--mint);
  text-decoration:none;
  padding-left:16px;
}
@media (max-width:700px){
  .dropdown-menu{position:static;box-shadow:none;opacity:1;visibility:visible;transform:none;display:none;margin-top:4px;background:rgba(255,255,255,.04);border:none;}
  .dropdown.open .dropdown-menu{display:block;}
}

/* ---------------- Auth nav controls (injected by script.js) ---------------- */
.nav-auth{display:flex;align-items:center;gap:10px;margin-left:6px;}
.btn-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:inherit;
  font-weight:600;
  font-size:.9rem;
  padding:9px 18px;
  border-radius:999px;
  cursor:pointer;
  transition:all .18s ease;
  white-space:nowrap;
}
.btn-pill-outline{
  background:transparent;
  color:#fff;
  border:1px solid var(--border-strong);
}
.btn-pill-outline:hover{
  border-color:var(--mint);
  color:var(--mint);
  text-decoration:none;
}
.btn-pill-solid{
  background:var(--mint);
  color:#04120c;
  border:1px solid var(--mint);
  box-shadow:0 6px 20px rgba(31,232,168,.25);
}
.btn-pill-solid:hover{
  background:#3ff2bd;
  text-decoration:none;
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(31,232,168,.35);
}
.nav-user{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.88rem;
  color:#cbd2dc;
}
.nav-user .nav-user-email{
  max-width:140px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nav-user a{color:#cbd2dc;font-weight:500;}
.nav-user a:hover{color:var(--mint);}

main{
  max-width:1800px;
  width:96%;
  margin:0 auto;
  padding:32px 20px;
  animation:fadeInUp .55s ease both;
}

@keyframes fadeInUp{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}
@keyframes gradientShift{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
@keyframes floatSlow{
  0%,100%{transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-10px) rotate(2deg);}
}
@keyframes pulseGlow{
  0%,100%{opacity:.55;}
  50%{opacity:1;}
}
.hero{
  text-align:center;
  padding:24px 12px 40px;
}
.hero h1{
  font-size:2.1rem;
  margin-bottom:12px;
  color:var(--navy);
  letter-spacing:-.02em;
}
.hero p{
  color:var(--muted);
  max-width:640px;
  margin:0 auto;
  font-size:1.05rem;
}
.hero-pro{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:76px 20px 86px;
  margin:-32px -20px 40px;
  border-radius:0 0 28px 28px;
  color:#fff;
  background-color:#070810;
  background-image:
    radial-gradient(ellipse 640px 420px at 20% 10%, rgba(139,107,255,.38), transparent 65%),
    radial-gradient(ellipse 640px 420px at 82% 15%, rgba(31,232,168,.32), transparent 65%),
    linear-gradient(180deg, #070810 0%, #0a0c16 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Crect width='44' height='44' fill='none' stroke='rgba(255,255,255,0.045)' stroke-width='1'/%3E%3C/svg%3E");
  background-size:auto, auto, auto, 44px 44px;
  border-bottom:1px solid var(--border);
}
.hero-pro .badge{
  display:inline-block;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border-strong);
  color:#dde2ea;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:20px;
  margin-bottom:18px;
}
.hero-pro h1{
  color:#fff;
  font-size:2.6rem;
  font-weight:800;
  letter-spacing:-.03em;
  margin-bottom:14px;
  position:relative;
  z-index:2;
}
.hero-pro p{
  color:#a9b1bf;
  max-width:640px;
  margin:0 auto;
  font-size:1.08rem;
  position:relative;
  z-index:2;
}
.hero-calc-icon{
  position:absolute;
  right:-40px;
  bottom:-50px;
  width:260px;
  height:260px;
  opacity:.1;
  z-index:1;
  pointer-events:none;
  animation:floatSlow 8s ease-in-out infinite;
}
.hero-calc-icon.left{
  right:auto;
  left:-60px;
  top:-40px;
  bottom:auto;
  width:200px;
  height:200px;
  animation:floatSlow 10s ease-in-out infinite reverse;
}
@media (max-width:700px){
  .hero-calc-icon{display:none;}
}
.tool-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-top:32px;
}
.tool-card{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  position:relative;
  overflow:hidden;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  animation:fadeInUp .5s ease both;
}
.tool-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--mint), var(--violet));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.tool-card:hover{
  box-shadow:0 20px 44px rgba(0,0,0,.4);
  transform:translateY(-4px);
  border-color:rgba(31,232,168,.35);
}
.tool-card:hover::before{transform:scaleX(1);}
.tool-grid .tool-card:nth-child(1){animation-delay:.02s;}
.tool-grid .tool-card:nth-child(2){animation-delay:.06s;}
.tool-grid .tool-card:nth-child(3){animation-delay:.1s;}
.tool-grid .tool-card:nth-child(4){animation-delay:.14s;}
.tool-grid .tool-card:nth-child(5){animation-delay:.18s;}
.tool-grid .tool-card:nth-child(6){animation-delay:.22s;}
.tool-grid .tool-card:nth-child(7){animation-delay:.26s;}
.tool-grid .tool-card:nth-child(8){animation-delay:.3s;}
.tool-grid .tool-card:nth-child(9){animation-delay:.34s;}
.tool-card h3{margin-bottom:8px;color:var(--navy);font-weight:700;}
.tool-card p{color:var(--muted);font-size:.95rem;margin-bottom:14px;}

.btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--mint);
  color:#04120c;
  padding:11px 20px;
  border-radius:999px;
  font-weight:700;
  border:1px solid var(--mint);
  cursor:pointer;
  font-size:.95rem;
  font-family:inherit;
  box-shadow:0 6px 20px rgba(31,232,168,.22);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{
  background:#3ff2bd;
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(31,232,168,.32);
}
.btn:active{transform:translateY(0);box-shadow:0 3px 10px rgba(31,232,168,.28);}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:transparent;
  color:#fff;
  padding:10px 19px;
  border-radius:999px;
  font-weight:600;
  border:1px solid var(--border-strong);
  cursor:pointer;
  font-size:.95rem;
  font-family:inherit;
  transition:all .18s ease;
}
.btn-secondary:hover{border-color:var(--mint);color:var(--mint);text-decoration:none;}

.btn-oauth{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  background:#fff;
  color:#1a1a1a;
  padding:11px 19px;
  border-radius:999px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  font-size:.95rem;
  font-family:inherit;
  transition:all .18s ease;
  margin-top:10px;
  text-decoration:none;
}
.btn-oauth:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.18);text-decoration:none;}
.btn-oauth svg{flex-shrink:0;}
.btn-oauth-facebook{background:#1877F2;color:#fff;}
.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:var(--muted);
  font-size:.85rem;
}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--border-strong);}

.calc-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  margin-top:8px;
}
@media (max-width:800px){
  .calc-wrap{grid-template-columns:1fr;}
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  backdrop-filter:blur(6px);
  transition:box-shadow .2s ease, border-color .2s ease;
}
.card:focus-within,
.card:hover{
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  border-color:var(--border-strong);
}
.field{margin-bottom:16px;}
.field label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
  font-size:.92rem;
  color:#dde2ea;
}
.field input,.field select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:10px;
  font-size:1rem;
  font-family:inherit;
  transition:border-color .15s ease, background .15s ease;
}
.field input::placeholder{color:var(--muted-2);}
.field input:focus,.field select:focus{
  outline:none;
  border-color:var(--mint);
  background:rgba(31,232,168,.06);
}
.field select option{background:#12141f;color:var(--text);}

.result-box{
  background:linear-gradient(180deg, rgba(31,232,168,.09), rgba(31,232,168,.03));
  border:1px solid rgba(31,232,168,.28);
  border-radius:var(--radius);
  padding:20px;
}
.result-row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.12);
  font-size:.98rem;
  color:var(--muted);
}
.result-row:last-child{border-bottom:none;}
.result-row .val{font-weight:700;color:var(--navy);}
.result-headline{
  font-size:1.6rem;
  font-weight:800;
  color:var(--mint);
  margin-bottom:14px;
}
.disclaimer{
  font-size:.85rem;
  color:var(--muted);
  background:rgba(245,158,11,.08);
  border:1px solid rgba(245,158,11,.28);
  border-radius:10px;
  padding:12px 14px;
  margin-top:18px;
}
.content-block{
  margin-top:40px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.content-block h2{color:var(--navy);margin-bottom:10px;font-size:1.3rem;font-weight:700;}
.content-block p{margin-bottom:12px;color:var(--muted);}
.ad-slot{
  border:1px dashed var(--border-strong);
  background:rgba(255,255,255,.02);
  color:var(--muted-2);
  text-align:center;
  padding:28px 12px;
  border-radius:12px;
  font-size:.85rem;
  margin:28px 0;
}
.related{margin-top:28px;}
.related h3{margin-bottom:10px;color:var(--navy);font-size:1.05rem;font-weight:700;}
.related ul{list-style:none;display:flex;flex-wrap:wrap;gap:12px;}
.related a{
  background:rgba(31,232,168,.08);
  border:1px solid rgba(31,232,168,.25);
  color:#dde2ea;
  padding:7px 12px;
  border-radius:20px;
  font-size:.88rem;
}
.related a:hover{color:var(--mint);text-decoration:none;border-color:var(--mint);}
footer{
  background:var(--bg-elevated);
  color:var(--muted);
  margin-top:60px;
  padding:32px 20px;
  border-top:1px solid var(--border);
}
.footer-inner{
  max-width:1800px;
  width:96%;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  font-size:.9rem;
}
.footer-inner a{color:#9aa3b2;}
.footer-inner a:hover{color:var(--mint);}
.legal-page h1{color:var(--navy);margin-bottom:16px;}
.legal-page h2{color:var(--navy);margin:20px 0 8px;font-size:1.15rem;}
.legal-page p, .legal-page li{color:var(--muted);margin-bottom:10px;}
.legal-page ul{padding-left:22px;}
.legal-page strong{color:var(--text);}

.faq-block{margin-top:28px;}
.faq-block h2{color:var(--navy);margin-bottom:14px;font-size:1.3rem;font-weight:700;}
.faq-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  margin-bottom:10px;
  padding:4px 18px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:600;
  padding:12px 0;
  color:var(--navy);
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::before{
  content:"+ ";
  color:var(--mint);
  font-weight:800;
}
.faq-item[open] summary::before{
  content:"\2212 ";
}
.faq-item p{
  color:var(--muted);
  padding-bottom:14px;
  margin:0;
}

/* ---------------- Contrast fixes for inline styles baked into page HTML ----------------
   These pages use inline style="color:#64748b" for subtitle text, tuned for the old light
   theme. An !important rule in an author stylesheet legitimately overrides a plain (non-
   !important) inline style, so this repoints them to the new muted colour without editing
   every HTML file individually. */
p[style*="64748b"]{color:var(--muted) !important;}

/* ---------------- Auth pages (login / signup / dashboard) ---------------- */
.auth-wrap{
  max-width:420px;
  margin:40px auto;
}
.auth-wrap .card{padding:32px;}
.auth-wrap h1{font-size:1.6rem;margin-bottom:8px;color:var(--navy);text-align:center;}
.auth-wrap .auth-sub{color:var(--muted);text-align:center;margin-bottom:26px;font-size:.95rem;}
.auth-wrap .btn{width:100%;justify-content:center;margin-top:6px;}
.auth-wrap .auth-switch{text-align:center;margin-top:18px;font-size:.9rem;color:var(--muted);}
.auth-error{
  background:rgba(239,68,68,.1);
  border:1px solid rgba(239,68,68,.35);
  color:#fca5a5;
  padding:10px 14px;
  border-radius:10px;
  font-size:.88rem;
  margin-bottom:16px;
  display:none;
}
.auth-success{
  background:rgba(31,232,168,.1);
  border:1px solid rgba(31,232,168,.35);
  color:var(--mint);
  padding:10px 14px;
  border-radius:10px;
  font-size:.88rem;
  margin-bottom:16px;
  display:none;
}

/* ---------------- Dashboard ---------------- */
.dash-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:28px;}
.dash-header h1{color:var(--navy);font-size:1.9rem;}
.dash-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:32px;}
.dash-stat{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px;}
.dash-stat .label{color:var(--muted);font-size:.85rem;margin-bottom:6px;}
.dash-stat .value{color:var(--navy);font-size:1.6rem;font-weight:800;}
.dash-stat .value.pos{color:var(--mint);}
.dash-stat .value.neg{color:#f87171;}
.dash-table-wrap{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;}
table.dash-table{width:100%;border-collapse:collapse;font-size:.92rem;}
table.dash-table th{text-align:left;padding:14px 16px;color:var(--muted);font-weight:600;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--border);}
table.dash-table td{padding:14px 16px;border-bottom:1px solid var(--border);color:var(--text);}
table.dash-table tr:last-child td{border-bottom:none;}
table.dash-table tr:hover td{background:rgba(255,255,255,.02);}
.dash-empty{padding:48px 20px;text-align:center;color:var(--muted);}
.save-result-btn{
  margin-top:16px;
  width:100%;
  justify-content:center;
}
.dash-delete{color:#f87171;cursor:pointer;font-size:.85rem;background:none;border:none;font-family:inherit;padding:4px 8px;}
.dash-delete:hover{text-decoration:underline;}

/* ---------------- Dashboard widget-collage additions ---------------- */
.dash-toolbar{display:flex;justify-content:flex-end;margin-bottom:16px;}
.dash-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;}
.dash-tab{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  color:var(--muted);
  padding:8px 16px;
  border-radius:999px;
  font-size:.86rem;
  font-weight:600;
  cursor:pointer;
  font-family:inherit;
  transition:all .15s ease;
}
.dash-tab.active,
.dash-tab:hover{
  color:#fff;
  border-color:var(--mint);
  background:rgba(31,232,168,.1);
}
.dash-chart-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-bottom:20px;}
@media (max-width:800px){.dash-chart-grid{grid-template-columns:1fr;}}
.dash-chart-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:22px;}
.dash-chart-card h3{color:var(--navy);font-size:1.05rem;margin-bottom:14px;font-weight:700;}
.dash-chart-card canvas{max-height:220px;}
.dash-donut-legend{display:flex;flex-direction:column;gap:8px;margin-top:14px;font-size:.85rem;}
.dash-donut-legend .legend-row{display:flex;align-items:center;gap:8px;color:var(--muted);}
.dash-donut-legend .swatch{width:10px;height:10px;border-radius:3px;flex-shrink:0;}
.dash-highlight-card{
  background:linear-gradient(135deg, rgba(139,107,255,.12), rgba(31,232,168,.08));
  border:1px solid var(--border-strong);
  border-radius:var(--radius);
  padding:24px;
  margin-bottom:24px;
}
.dash-highlight-card h3{color:var(--navy);font-size:1.05rem;margin-bottom:16px;font-weight:700;}
.dash-highlight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;}
.dash-highlight-grid .hl-label{color:var(--muted);font-size:.82rem;margin-bottom:4px;}
.dash-highlight-grid .hl-value{color:var(--navy);font-size:1.35rem;font-weight:800;}
.dash-highlight-grid .hl-value.pos{color:var(--mint);}
.dash-highlight-grid .hl-value.neg{color:#f87171;}

/* ---------------- "With CalcVault vs Without" comparison section ---------------- */
.compare-section{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:56px 24px;
  margin:48px 0;
  background-color:#070810;
  background-image:
    radial-gradient(ellipse 700px 500px at 10% 20%, rgba(139,107,255,.28), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 80%, rgba(31,232,168,.22), transparent 60%);
  border:1px solid var(--border);
  text-align:center;
}
.compare-section h2{color:#fff;font-size:1.9rem;margin-bottom:10px;font-weight:800;letter-spacing:-.02em;}
.compare-section .compare-sub{color:var(--muted);max-width:560px;margin:0 auto 32px;}
.compare-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border-strong);
  border-radius:999px;
  padding:6px;
  margin-bottom:36px;
}
.compare-toggle button{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 20px;
  border-radius:999px;
  border:none;
  background:transparent;
  color:var(--muted);
  font-family:inherit;
  font-weight:600;
  font-size:.92rem;
  cursor:pointer;
  transition:all .18s ease;
}
.compare-toggle button .dot{width:9px;height:9px;border-radius:50%;background:var(--muted-2);}
.compare-toggle button.active{background:rgba(31,232,168,.14);color:#fff;}
.compare-toggle button.active .dot{background:var(--mint);box-shadow:0 0 8px rgba(31,232,168,.6);}
.compare-anim-bar{
  max-width:520px;
  margin:0 auto 28px;
  display:flex;
  align-items:center;
  gap:14px;
}
.compare-play-btn{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#fff;
  color:#0b0c14;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.35);
  transition:transform .15s ease;
}
.compare-play-btn:hover{transform:scale(1.07);}
.compare-play-btn svg{width:15px;height:15px;}
.compare-progress-track{
  flex:1;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.compare-progress-fill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--mint), var(--violet));
  transition:width .2s linear;
}
.compare-timeline{
  position:relative;
  max-width:520px;
  margin:0 auto;
  text-align:left;
}
.compare-timeline::before{
  content:"";
  position:absolute;
  left:7px;
  top:8px;
  bottom:8px;
  width:2px;
  background:linear-gradient(180deg, var(--border-strong), transparent);
}
.compare-step{
  position:relative;
  padding:0 0 22px 32px;
}
.compare-step::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#1a1c28;
  border:2px solid var(--muted-2);
  transition:all .3s ease;
}
.compare-step.done::before{border-color:var(--mint);background:var(--mint);box-shadow:0 0 10px rgba(31,232,168,.6);}
.compare-step .step-card{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 16px;
  color:#dde2ea;
  font-size:.94rem;
  opacity:.5;
  transition:all .35s ease;
}
.compare-step.done .step-card{
  border-color:rgba(31,232,168,.4);
  color:var(--mint);
  font-weight:600;
  background:rgba(31,232,168,.08);
  opacity:1;
}

/* ---------------- "AI-Powered Tools" section ---------------- */
.ai-tools-section{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:56px 28px;
  margin:48px 0;
  background-color:#070810;
  border:1px solid var(--border);
}
.ai-tools-grid{
  display:grid;
  grid-template-columns:380px 1fr;
  gap:48px;
  align-items:center;
}
@media (max-width:860px){
  .ai-tools-grid{grid-template-columns:1fr;}
}
.ai-tools-mock{
  position:relative;
  background:linear-gradient(160deg, rgba(31,232,168,.16), rgba(139,107,255,.10));
  border:1px solid var(--border-strong);
  border-radius:26px;
  padding:22px;
}
.ai-tools-tabs{
  display:inline-flex;
  gap:6px;
  background:rgba(255,255,255,.05);
  border-radius:999px;
  padding:4px;
  margin-bottom:18px;
}
.ai-tools-tabs button{
  border:none;
  background:transparent;
  color:var(--muted);
  font-family:inherit;
  font-weight:600;
  font-size:.82rem;
  padding:7px 14px;
  border-radius:999px;
  cursor:pointer;
  transition:all .18s ease;
}
.ai-tools-tabs button.active{background:var(--mint);color:#04140e;}
.ai-tools-mock-heading{color:#fff;font-size:1.15rem;font-weight:800;margin:0 0 6px;line-height:1.3;}
.ai-tools-mock-sub{color:var(--muted);font-size:.85rem;margin:0 0 20px;}
.ai-tools-testimonial{
  background:rgba(6,7,13,.6);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  min-height:150px;
  transition:opacity .18s ease;
}
.ai-tools-quote{color:#dde2ea;font-size:.92rem;line-height:1.5;margin:0 0 14px;}
.ai-tools-person{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.ai-tools-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--mint), var(--violet));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#04140e;
  font-size:.85rem;
  flex:0 0 auto;
}
.ai-tools-name{color:#fff;font-weight:700;font-size:.85rem;}
.ai-tools-role{color:var(--muted);font-size:.75rem;}
.ai-tools-readmore{color:var(--mint);font-size:.8rem;font-weight:600;}
.ai-tools-dots{display:flex;gap:6px;justify-content:center;margin-top:16px;}
.ai-tools-dots .dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--muted-2);
  cursor:pointer;
  transition:all .2s ease;
}
.ai-tools-dots .dot.active{background:var(--mint);width:18px;border-radius:4px;}
.ai-tools-copy{position:relative;text-align:center;padding:40px 10px;}
.ai-tools-rings{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:0;
}
.ai-tools-rings .ring{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(31,232,168,.5);
  width:80px;
  height:80px;
  animation:ringPulse 3.6s ease-out infinite;
}
.ai-tools-rings .r2{animation-delay:.9s;}
.ai-tools-rings .r3{animation-delay:1.8s;}
.ai-tools-rings .r4{animation-delay:2.7s;}
@keyframes ringPulse{
  0%{width:80px;height:80px;opacity:.9;border-color:rgba(31,232,168,.6);}
  100%{width:520px;height:520px;opacity:0;border-color:rgba(139,107,255,.05);}
}
.ai-tools-copy h2{position:relative;z-index:1;color:#fff;font-size:2.1rem;font-weight:800;letter-spacing:-.02em;margin:0 0 14px;}
.ai-tools-copy p{position:relative;z-index:1;color:var(--muted);max-width:420px;margin:0 auto 22px;}
.ai-tools-cta{position:relative;z-index:1;}

/* ---------------- CalcBot floating assistant ---------------- */
#calcbot-launcher{
  position:fixed;
  bottom:22px;
  right:22px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--mint);
  border:none;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(31,232,168,.4);
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .18s ease;
}
#calcbot-launcher:hover{transform:scale(1.06);}
#calcbot-launcher svg{width:26px;height:26px;}
#calcbot-panel{
  position:fixed;
  bottom:92px;
  right:22px;
  width:340px;
  max-width:calc(100vw - 40px);
  max-height:70vh;
  background:#0d0f18;
  border:1px solid var(--border-strong);
  border-radius:20px;
  box-shadow:0 24px 60px rgba(0,0,0,.55);
  z-index:200;
  display:none;
  flex-direction:column;
  overflow:hidden;
}
#calcbot-panel.open{display:flex;}
.calcbot-header{
  padding:16px 18px;
  background:linear-gradient(135deg, rgba(139,107,255,.18), rgba(31,232,168,.14));
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.calcbot-header .title{font-weight:800;color:#fff;font-size:.98rem;}
.calcbot-header .sub{color:var(--muted);font-size:.76rem;margin-top:2px;}
.calcbot-close{background:none;border:none;color:var(--muted);font-size:1.2rem;cursor:pointer;line-height:1;}
.calcbot-close:hover{color:#fff;}
.calcbot-messages{
  flex:1;
  overflow-y:auto;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.calcbot-msg{
  max-width:85%;
  padding:10px 13px;
  border-radius:14px;
  font-size:.88rem;
  line-height:1.5;
}
.calcbot-msg.bot{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:#dde2ea;
  align-self:flex-start;
  border-bottom-left-radius:4px;
}
.calcbot-msg.user{
  background:rgba(31,232,168,.14);
  border:1px solid rgba(31,232,168,.3);
  color:#fff;
  align-self:flex-end;
  border-bottom-right-radius:4px;
}
.calcbot-msg a{color:var(--mint);font-weight:600;}
.calcbot-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px;}
.calcbot-chip{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  color:#cbd2dc;
  padding:6px 11px;
  border-radius:999px;
  font-size:.78rem;
  cursor:pointer;
  font-family:inherit;
}
.calcbot-chip:hover{border-color:var(--mint);color:var(--mint);}
.calcbot-input-row{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid var(--border);
}
.calcbot-input-row input{
  flex:1;
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  color:var(--text);
  padding:9px 12px;
  border-radius:10px;
  font-size:.86rem;
  font-family:inherit;
}
.calcbot-input-row input:focus{outline:none;border-color:var(--mint);}
.calcbot-input-row button{
  background:var(--mint);
  border:none;
  color:#04120c;
  font-weight:700;
  padding:0 16px;
  border-radius:10px;
  cursor:pointer;
  font-family:inherit;
  font-size:.86rem;
}
