:root {
  --bg:          #060B18;
  --bg2:         #0B1222;
  --bg3:         #101828;
  --panel:       #131D30;
  --border:      #1C2A42;
  --blue:        #3B9EFF;
  --blue-bright: #60B5FF;
  --silver:      #C8D4E8;
  --silver-dim:  rgba(200,212,232,.08);
  --blue-dim:    rgba(59,158,255,.12);
  --text:        #E4EBF8;
  --muted:       #7A8BA8;
  --small:       #4A5870;
  --r:           14px;
  --r-sm:        8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.display  { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.heading  { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -.02em; }
.eyebrow  { font-family: 'Space Grotesk', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-bright); }

/* ── NAV (shared with main pages) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .85rem 2rem;
  background: rgba(6,11,24,.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.02em; display: flex; align-items: center; gap: .65rem;
}
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }
.nav-logo .name { color: var(--text); }
.nav-logo .suite { color: var(--blue-bright); }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: .48rem 1.2rem; background: var(--blue); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .83rem;
  border-radius: 100px; transition: opacity .2s, transform .15s; white-space: nowrap;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

.lang-switch {
  display: flex; align-items: center; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 100px; overflow: hidden; flex-shrink: 0;
}
.lang-switch a {
  padding: .38rem .85rem; font-family: 'Space Grotesk', sans-serif; font-size: .75rem;
  font-weight: 600; letter-spacing: .06em; color: var(--muted); border-radius: 100px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.lang-switch a.active { background: var(--blue); color: #fff; }
.lang-switch a:not(.active):hover { color: var(--text); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.9rem; background: var(--blue); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem;
  border-radius: 100px; transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(59,158,255,.28);
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 0 48px rgba(59,158,255,.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem; background: transparent; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--border); border-radius: 100px;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--blue); background: var(--blue-dim); }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1000px; margin: 0 auto; padding: 6.5rem 2rem 0;
  font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb span.sep { color: var(--small); }
.breadcrumb span.current { color: var(--text); }

/* ── TOOL HERO ── */
.tool-hero {
  max-width: 1000px; margin: 0 auto; padding: 2rem 2rem 3.5rem;
}
.tool-hero-icon {
  width: 64px; height: 64px; border-radius: var(--r);
  background: var(--blue-dim); border: 1px solid rgba(59,158,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.4rem; overflow: hidden;
}
.tool-hero-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 1px); }
.tool-hero-icons { display: flex; gap: .7rem; margin-bottom: 1.4rem; }
.tool-hero-icons .tool-hero-icon { margin-bottom: 0; }
.tool-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .6rem 0 1.1rem; }
.tool-hero-desc { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 2rem; }
.tool-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CONTENT SECTIONS ── */
.tool-content { max-width: 1000px; margin: 0 auto; padding: 0 2rem 5rem; }
.content-block { padding: 2.6rem 0; border-top: 1px solid var(--border); }
.content-block:first-child { border-top: none; }
.content-block h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.content-block h2 img { width: 32px; height: 32px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.content-block > p { color: var(--muted); font-size: .98rem; max-width: 760px; margin-bottom: 1rem; }
.content-block > p:last-child { margin-bottom: 0; }

.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.4rem;
}
.info-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
}
.info-item h4 {
  font-family: 'Space Grotesk', sans-serif; font-size: .88rem; font-weight: 600;
  color: var(--blue-bright); margin-bottom: .4rem;
}
.info-item p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

.steps { list-style: none; counter-reset: step; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.steps li {
  counter-increment: step; display: flex; gap: 1rem; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 1rem 1.3rem;
}
.steps li::before {
  content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-dim); color: var(--blue-bright); font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center;
}
.steps li span { font-size: .92rem; color: var(--text); padding-top: .15rem; }
.steps li span b { font-weight: 600; }

.formula-box {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 1.1rem 1.4rem; margin-top: 1.4rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; color: var(--blue-bright); overflow-x: auto;
}
.formula-box small { display: block; font-family: 'Inter', sans-serif; font-size: .78rem; color: var(--muted); margin-top: .4rem; font-weight: 400; }

.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.tag-pill {
  padding: .4rem .9rem; background: var(--blue-dim); border: 1px solid rgba(59,158,255,.22);
  border-radius: 100px; font-size: .8rem; color: var(--blue-bright); font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}

/* ── RELATED TOOLS ── */
.related-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 2rem; }
.related-inner { max-width: 1000px; margin: 0 auto; }
.related-inner > p.eyebrow { margin-bottom: .5rem; }
.related-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.related-card {
  display: block; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.4rem; transition: border-color .2s, transform .2s;
}
.related-card:hover { border-color: rgba(59,158,255,.35); transform: translateY(-3px); }
.related-card .related-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .8rem;
}
.related-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.related-card p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ── CTA BANNER ── */
.cta-banner {
  max-width: 1000px; margin: 0 auto; padding: 4.5rem 2rem; text-align: center;
}
.cta-banner-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: 24px;
  padding: 3rem; position: relative; overflow: hidden;
}
.cta-banner-box::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 70%; padding-bottom: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,158,255,.08) 0%, transparent 70%);
}
.cta-banner-box h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .5rem 0 .8rem; position: relative; }
.cta-banner-box p { color: var(--muted); margin-bottom: 1.8rem; position: relative; font-size: .95rem; }
.cta-banner-box .btn-primary { position: relative; }

/* ── FOOTER (shared with main pages) ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.footer-logo img { width: 28px; height: 28px; object-fit: contain; }
.footer-logo .suite { color: var(--blue-bright); }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: .83rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .78rem; color: var(--small); }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav { padding: .75rem 1rem; gap: .5rem; }
  .nav-links { display: none; }
  .cta-banner-box { padding: 2.2rem 1.4rem; }
}
