:root {
  --bg: #050814;
  --panel: rgba(13, 17, 32, .74);
  --panel2: rgba(15, 20, 38, .82);
  --stroke: rgba(255, 255, 255, .105);
  --text: #f8f9ff;
  --muted: #a8aec4;
  --primary: #6368D8;
  --teal: #00C2A8;
  --green: #20D47B;
  --amber: #F2A20D;
  --blue: #2394F2;
  --pink: #F15AA5;
  --violet: #9A5BFF;
  --orange: #F07A18;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 72% 17%, rgba(99,104,216,.22), transparent 32%),
    radial-gradient(circle at 20% 65%, rgba(0,194,168,.08), transparent 31%),
    linear-gradient(180deg, #050814 0%, #080b17 48%, #050814 100%);
}
body::before {
  content: ""; position: fixed; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 20%, black, transparent 55%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-header {
  height: 86px; padding: 0 48px; border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(99,104,216,.18), transparent 34%),
    linear-gradient(90deg, rgba(0,194,168,.08), transparent 42%),
    rgba(7, 10, 24, .72);
  backdrop-filter: blur(22px) saturate(130%);
  box-shadow: 0 18px 50px rgba(0,0,0,.22), inset 0 -1px 0 rgba(255,255,255,.035);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; inset: 0 0 auto; z-index: 99;
}
.site-header::after {
  content: ""; position: absolute; left: 48px; right: 48px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,104,216,.62), rgba(0,194,168,.34), transparent);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 24px; height: 34px;
  background: linear-gradient(145deg, #7f85ff, #2355ff);
  clip-path: polygon(58% 0, 0 54%, 42% 54%, 23% 100%, 100% 36%, 58% 36%);
  filter: drop-shadow(0 0 18px rgba(99,104,216,.6));
}
.brand-text strong { display: block; font-size: 19px; letter-spacing: .3px; }
.brand-text small { color: var(--muted); font-size: 12px; display: block; margin-top: 1px; }
.desktop-nav { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.86); }
.desktop-nav a { padding: 10px 12px; border-radius: 999px; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.desktop-nav a:hover { color: white; background: rgba(255,255,255,.065); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.circle-action, .hamburger {
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); cursor: pointer; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px rgba(0,0,0,.18);
}
.search-action::before { content: ""; width: 15px; height: 15px; border: 2px solid white; border-radius: 50%; position: absolute; left: 14px; top: 12px; }
.search-action::after { content: ""; width: 10px; height: 2px; background: white; transform: rotate(45deg); position: absolute; left: 27px; top: 29px; border-radius: 5px; }
.hamburger { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { width: 19px; height: 2px; background: white; border-radius: 4px; }
.mobile-nav { display: none; }
.search-overlay {
  position: fixed; inset: 0; z-index: 120; display: none; place-items: start center;
  padding: 110px 24px 24px; background: rgba(3,5,13,.62); backdrop-filter: blur(14px);
}
.search-overlay.open { display: grid; }
.search-panel {
  width: min(680px, 100%); position: relative; padding: 28px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(99,104,216,.20), transparent 38%),
    linear-gradient(90deg, rgba(0,194,168,.08), transparent 48%),
    rgba(10,14,29,.94);
  box-shadow: 0 34px 90px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.08);
}
.search-panel h2 { margin: 0 44px 18px 0; font-size: 26px; line-height: 1.18; }
.search-close {
  position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); cursor: pointer;
}
.search-close::before, .search-close::after {
  content: ""; position: absolute; left: 11px; top: 18px; width: 16px; height: 2px;
  border-radius: 6px; background: white;
}
.search-close::before { transform: rotate(45deg); }
.search-close::after { transform: rotate(-45deg); }
.global-search-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.global-search-row input {
  min-width: 0; height: 56px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px;
  background: rgba(255,255,255,.05); color: white; outline: 0; padding: 0 16px;
}
.global-search-row button {
  height: 56px; padding: 0 24px; border: 0; border-radius: 13px; color: white; cursor: pointer;
  font-weight: 900; background: linear-gradient(135deg, #7d82ff, var(--primary));
  box-shadow: 0 16px 30px rgba(99,104,216,.24);
}
.global-search-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.global-search-tags a {
  padding: 8px 13px; border-radius: 999px; color: white; border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04); font-size: 13px;
}
main { width: min(1160px, calc(100% - 52px)); margin: 0 auto; }
.hero { min-height: 560px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; padding: 62px 0 32px; }
.pill {
  color: #d9dcff; display: inline-flex; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 900; letter-spacing: .2px;
  border: 1px solid rgba(99,104,216,.45); background: rgba(99,104,216,.13);
  box-shadow: inset 0 0 14px rgba(99,104,216,.09);
}
.hero h1 { margin: 23px 0 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.03; letter-spacing: -2.4px; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--primary); text-shadow: 0 0 34px rgba(99,104,216,.22); }
.hero p { color: #d8dcea; font-size: 18px; line-height: 1.72; max-width: 650px; margin: 25px 0 30px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-outline {
  height: 58px; padding: 0 26px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900;
}
.btn-primary { background: linear-gradient(135deg, #7d82ff, var(--primary)); box-shadow: 0 20px 44px rgba(99,104,216,.35); }
.btn-outline { border: 1px solid rgba(99,104,216,.70); background: rgba(255,255,255,.025); }
.hero-art { width: 100%; max-width: 100%; height: 460px; position: relative; display: grid; place-items: center; overflow: hidden; }
.orbit { position: absolute; width: 520px; height: 205px; border: 1px solid rgba(99,104,216,.30); border-radius: 50%; transform: rotate(-8deg); box-shadow: inset 0 0 30px rgba(99,104,216,.08), 0 0 70px rgba(99,104,216,.16); }
.orbit::after { content: ""; position: absolute; inset: 35px; border-radius: 50%; border: 1px dashed rgba(99,104,216,.14); }
.calc-device {
  width: 250px; padding: 17px; border-radius: 30px; border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, #192034, #090d19 63%);
  box-shadow: 0 38px 80px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.10);
  transform: rotate(7deg); z-index: 2;
}
.calc-display { height: 82px; border-radius: 16px; background: #050814; border: 1px solid rgba(255,255,255,.09); padding: 14px; box-shadow: inset 0 18px 28px rgba(0,0,0,.35); }
.calc-display small { color: #aeb4cd; display: block; margin-bottom: 10px; }
.calc-display strong { color: #858aff; font-size: 28px; }
.calc-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 13px; }
.calc-buttons i { height: 39px; display: grid; place-items: center; border-radius: 9px; font-style: normal; color: #f8f9ff; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); box-shadow: inset 0 -9px 18px rgba(0,0,0,.28), 0 4px 10px rgba(0,0,0,.30); }
.calc-buttons .eq { background: linear-gradient(135deg, #7d82ff, #3b69f0); }
.mini-card { position: absolute; width: 102px; min-height: 112px; padding: 14px; border-radius: 20px; background: rgba(12,16,30,.80); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(18px); display: grid; place-items: center; box-shadow: 0 20px 45px rgba(0,0,0,.32); }
.mini-card small { color: white; font-weight: 700; font-size: 12px; }
.mini-percent { left: 20px; top: 48px; --accent: var(--violet); }
.mini-finance { right: 30px; top: 86px; --accent: var(--green); }
.mini-user { right: 62px; top: 220px; --accent: var(--amber); }
.mini-pie { right: 114px; bottom: 12px; --accent: var(--blue); }
.search-box, .stats-strip, .info-card, .tool-card, .category-card, .tools-section { background: var(--panel); border: 1px solid var(--stroke); backdrop-filter: blur(20px); }
.search-box { border-radius: 18px; overflow: hidden; box-shadow: 0 26px 80px rgba(0,0,0,.28); }
.search-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 18px; align-items: center; padding: 24px 29px; border-bottom: 1px solid var(--stroke); }
.big-search { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); position: relative; }
.big-search::before { content: ""; width: 18px; height: 18px; border: 2px solid white; border-radius: 50%; position: absolute; left: 15px; top: 13px; }
.big-search::after { content: ""; width: 12px; height: 2px; background: white; border-radius: 6px; transform: rotate(45deg); position: absolute; left: 31px; top: 32px; }
.search-field label { font-size: 20px; font-weight: 900; display: block; margin-bottom: 5px; }
.search-field input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 15px; }
.search-row button { height: 56px; padding: 0 29px; border: 0; border-radius: 12px; color: white; cursor: pointer; font-weight: 900; background: linear-gradient(135deg, #7d82ff, var(--primary)); box-shadow: 0 16px 30px rgba(99,104,216,.24); }
.tag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 29px 22px; color: var(--muted); font-size: 14px; }
.tag-row a { color: white; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,.035); }
.tag-row a:hover { border-color: var(--primary); }
.block, .all-tools { margin-top: 34px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.title-row h2 { margin: 0; font-size: 22px; letter-spacing: -.3px; }
.title-row a { color: #c1c4ff; font-weight: 900; white-space: nowrap; }
.soft-label { color: var(--muted); font-size: 14px; }
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tool-card {
  min-height: 245px; border-radius: 15px; padding: 24px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center;
  border-color: color-mix(in srgb, var(--accent) 40%, rgba(255,255,255,.08));
  box-shadow: inset 0 0 32px color-mix(in srgb, var(--accent) 8%, transparent);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-card:hover, .category-card:hover, .mini-tool:hover {
  transform: translateY(-6px); border-color: var(--accent);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 18%, transparent), inset 0 0 34px color-mix(in srgb, var(--accent) 11%, transparent);
}
.round-icon { width: 68px; height: 68px; border-radius: 24px; margin-bottom: 22px; display: grid; place-items: center; background: radial-gradient(circle at 32% 18%, color-mix(in srgb, var(--accent) 65%, white 8%), transparent 70%), color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.tool-card h3 { font-size: 17px; margin: 0 0 11px; }
.tool-card p { color: #c7ccdb; line-height: 1.55; margin: 0 0 22px; min-height: 68px; }
.tool-card b { margin-top: auto; min-height: 42px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #11182c), color-mix(in srgb, var(--accent) 44%, #0a0d18)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner-card {
  min-height: 190px; padding: 22px; border-radius: 15px; display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent) 38%, rgba(255,255,255,.08)); backdrop-filter: blur(20px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.partner-card:hover {
  transform: translateY(-5px); border-color: var(--accent);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 16%, transparent), inset 0 0 34px color-mix(in srgb, var(--accent) 10%, transparent);
}
.partner-card .round-icon { margin: 0; }
.partner-card h3 { margin: 0 0 9px; font-size: 18px; }
.partner-card p { margin: 0; color: #c7ccdb; line-height: 1.55; }
.partner-card b { min-height: 42px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #11182c), color-mix(in srgb, var(--accent) 44%, #0a0d18)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.stats-strip { margin-top: 28px; border-radius: 18px; min-height: 108px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.stat-item { display: grid; grid-template-columns: 56px auto; column-gap: 18px; align-content: center; padding: 22px 42px; border-right: 1px solid var(--stroke); }
.stat-item:last-child { border-right: 0; }
.stat-icon { width: 54px; height: 54px; grid-row: span 2; border-radius: 17px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, transparent); }
.stat-item strong { font-size: 29px; line-height: 1.1; }
.stat-item small { color: var(--muted); font-size: 15px; margin-top: 4px; }
.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.category-card { min-height: 154px; border-radius: 15px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; border-color: color-mix(in srgb, var(--accent) 38%, rgba(255,255,255,.08)); box-shadow: inset 0 0 26px color-mix(in srgb, var(--accent) 7%, transparent); transition: .2s ease; }
.category-icon { width: 59px; height: 59px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 13px; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.category-card strong { line-height: 1.25; font-size: 15px; }
.category-card small { color: var(--muted); margin-top: 8px; font-size: 13px; }
.tools-section { margin-top: 18px; border-radius: 18px; padding: 24px; border-color: color-mix(in srgb, var(--accent) 30%, rgba(255,255,255,.09)); box-shadow: inset 0 0 34px color-mix(in srgb, var(--accent) 5%, transparent); }
.tools-section-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.tools-section-head > div { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; align-items: center; }
.section-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); grid-row: span 2; }
.tools-section h2 { margin: 0; font-size: 22px; }
.tools-section p { margin: 5px 0 0; color: var(--muted); }
.tools-section-head a { color: white; font-weight: 800; border: 1px solid color-mix(in srgb, var(--accent) 35%, rgba(255,255,255,.10)); padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.03); white-space: nowrap; }
.mini-tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-tool { min-height: 92px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); transition: .2s ease; }
.mini-tool strong { display: block; font-size: 15px; margin-bottom: 6px; }
.mini-tool small { color: var(--muted); line-height: 1.45; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0 28px; }
.info-card { border-radius: 18px; padding: 30px; min-height: 238px; }
.info-card h2 { margin: 0 0 18px; font-size: 24px; }
.info-card p, .info-card li, .seo-text p { color: #cdd2e3; line-height: 1.7; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { margin: 11px 0; padding-left: 28px; position: relative; }
.info-card li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--primary); position: absolute; left: 0; top: 6px; box-shadow: 0 0 16px rgba(99,104,216,.5); }
.info-card li::after { content: ""; width: 6px; height: 3px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); position: absolute; left: 4px; top: 10px; }
.why-card { display: grid; grid-template-columns: 1fr 180px; gap: 22px; align-items: center; }
.shield-art { width: 170px; height: 170px; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgba(99,104,216,.22), transparent 65%); display: grid; place-items: center; }
.shield-check { width: 112px; height: 132px; background: linear-gradient(145deg, rgba(120,125,255,.85), rgba(17,22,40,.95)); clip-path: polygon(50% 0, 92% 16%, 86% 70%, 50% 100%, 14% 70%, 8% 16%); position: relative; filter: drop-shadow(0 24px 35px rgba(99,104,216,.35)); }
.shield-check::after { content: ""; width: 44px; height: 23px; border-left: 9px solid white; border-bottom: 9px solid white; transform: rotate(-45deg); position: absolute; left: 32px; top: 48px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 25px; }
.badges span { border: 1px solid color-mix(in srgb, var(--accent) 30%, rgba(255,255,255,.10)); border-radius: 13px; padding: 14px; background: rgba(255,255,255,.028); display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; }
.badges i { width: 26px; height: 26px; color: var(--accent); }
.badges b, .badges small { grid-column: 2; }
.badges b { font-size: 13px; }
.badges small { color: var(--muted); font-size: 11px; margin-top: -4px; }
.app-card { display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.app-card::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -74px; top: -62px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,194,168,.22), transparent 68%);
  pointer-events: none;
}
.app-copy { position: relative; z-index: 1; }
.app-kicker {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; margin-bottom: 14px;
  border-radius: 999px; color: #cbfff4; border: 1px solid rgba(0,194,168,.36);
  background: rgba(0,194,168,.10); font-size: 12px; font-weight: 900; letter-spacing: .2px;
}
.app-actions {
  display: inline-grid; gap: 3px; margin-top: 8px; padding: 13px 16px; border-radius: 13px;
  border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.035);
}
.app-actions span { font-weight: 900; color: white; }
.app-actions small { color: var(--muted); }
.phone-preview {
  width: 124px; height: 214px; padding: 14px 12px 13px; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.16); background: linear-gradient(145deg, #1a2237, #080c18 68%);
  box-shadow: 0 28px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.13);
  transform: rotate(7deg); position: relative; z-index: 1;
}
.phone-speaker { display: block; width: 38px; height: 4px; margin: 0 auto 11px; border-radius: 999px; background: rgba(255,255,255,.28); }
.phone-screen { display: grid; gap: 9px; }
.phone-screen strong { font-size: 13px; margin-bottom: 3px; }
.phone-screen span {
  display: block; padding: 9px 10px; border-radius: 10px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08);
  color: #eef1ff; font-size: 12px; font-weight: 800;
}
.tool-page { padding-top: 30px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.breadcrumb a { color: #dfe2ff; }
.breadcrumb strong { color: white; }
.tool-hero {
  min-height: 286px; display: grid; grid-template-columns: 1fr 190px; gap: 28px; align-items: center;
  padding: 38px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255,255,255,.10));
  background:
    radial-gradient(circle at 86% 22%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--panel);
  box-shadow: inset 0 0 38px color-mix(in srgb, var(--accent) 7%, transparent), 0 26px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(20px);
}
.tool-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -1.2px; }
.tool-hero p { max-width: 720px; color: #d8dcea; font-size: 17px; line-height: 1.72; margin: 20px 0 0; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tool-meta span {
  padding: 8px 12px; border-radius: 999px; color: #e7eaff; font-size: 13px; font-weight: 850;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
}
.tool-hero-icon {
  width: 160px; height: 160px; border-radius: 40px; display: grid; place-items: center; justify-self: end;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, rgba(255,255,255,.035));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255,255,255,.10));
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 12%, transparent);
}
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: 18px; margin-top: 24px; align-items: stretch; }
.payroll-single-layout { grid-template-columns: 1fr; }
.payroll-single-layout .calculator-card { max-width: none; }
.calculator-card, .result-panel, .content-panel {
  border: 1px solid var(--stroke); border-radius: 20px; background: var(--panel); backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(0,0,0,.20);
}
.calculator-card { padding: 28px; }
.calculator-head h2 { margin: 0 0 8px; font-size: 24px; }
.calculator-head p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.calculator-form { display: grid; gap: 16px; }
.calculator-form label { display: grid; gap: 8px; }
.calculator-form label span { color: #e7e9f6; font-weight: 800; font-size: 14px; }
.calculator-form input {
  height: 56px; width: 100%; border-radius: 13px; border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045); color: white; outline: 0; padding: 0 15px;
}
.calculator-form input:focus { border-color: rgba(99,104,216,.72); box-shadow: 0 0 0 4px rgba(99,104,216,.14); }
.duration-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: -4px; }
.duration-presets button {
  height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.10); color: #e7eaff;
  background: rgba(255,255,255,.035); cursor: pointer; font-weight: 850;
}
.duration-presets button.active {
  color: white; border-color: rgba(35,148,242,.56);
  background: linear-gradient(135deg, rgba(35,148,242,.24), rgba(99,104,216,.16));
  box-shadow: 0 10px 24px rgba(35,148,242,.14);
}
.form-hint { margin: -2px 0 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.form-error { min-height: 20px; margin: -4px 0 0; color: #ffb7c8; font-size: 13px; font-weight: 800; }
.calculator-form button {
  height: 58px; padding: 0 26px; border: 0; border-radius: 13px; color: white; cursor: pointer; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #7d82ff, var(--primary)); box-shadow: 0 20px 44px rgba(99,104,216,.35);
}
.legacy-tool-form form { display: grid; gap: 15px; }
.legacy-tool-form fieldset {
  margin: 0; padding: 18px 14px 16px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.025);
}
.legacy-tool-form legend {
  padding: 0 10px; color: #dfe5ff; font-weight: 900; font-size: 14px;
}
.legacy-tool-form label { color: #e7e9f6; font-weight: 800; font-size: 14px; }
.legacy-tool-form input,
.legacy-tool-form select,
.legacy-tool-form textarea {
  width: 100%; min-height: 54px; border-radius: 13px; border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045); color: white; outline: 0; padding: 0 15px;
}
.legacy-tool-form input[type="number"],
.calculator-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.legacy-tool-form input[type="number"]::-webkit-outer-spin-button,
.legacy-tool-form input[type="number"]::-webkit-inner-spin-button,
.calculator-form input[type="number"]::-webkit-outer-spin-button,
.calculator-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.legacy-tool-form input:focus,
.legacy-tool-form select:focus,
.legacy-tool-form textarea:focus {
  border-color: rgba(99,104,216,.72); box-shadow: 0 0 0 4px rgba(99,104,216,.14);
}
.legacy-tool-form textarea { min-height: 112px; padding: 14px 15px; resize: vertical; }
.legacy-tool-form select option { color: #111827; }
.legacy-tool-form input[type="checkbox"],
.legacy-tool-form input[type="radio"] { width: auto; min-height: auto; accent-color: var(--primary); }
.legacy-tool-form button,
.legacy-tool-form input[type="submit"] {
  min-height: 58px; padding: 0 26px; border: 0; border-radius: 13px; color: white; cursor: pointer; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #7d82ff, var(--primary)); box-shadow: 0 20px 44px rgba(99,104,216,.35);
}
.legacy-result {
  margin-top: 18px; padding: 18px; border-radius: 16px; border: 1px solid rgba(35,148,242,.24);
  background: linear-gradient(135deg, rgba(35,148,242,.16), rgba(124,128,255,.10)) !important;
  color: #f8f9ff !important; line-height: 1.65;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 38px rgba(0,0,0,.18);
}
.legacy-result:empty { display: none; }
.legacy-result p { margin: 8px 0; }
.legacy-result strong, .legacy-result b { color: white !important; }
.legacy-result span, .legacy-result li, .legacy-result small { color: #dbe5ff !important; }
.legacy-result [style*="color"] { color: #dbe5ff !important; }
.legacy-result [style*="color: #4e54c8"],
.legacy-result [style*="color:#4e54c8"],
.legacy-result [style*="color: #007acc"],
.legacy-result [style*="color:#007acc"],
.legacy-result [style*="color: #5cb85c"],
.legacy-result [style*="color:#5cb85c"] { color: #8fc8ff !important; }
.legacy-result [style*="color: #d9534f"],
.legacy-result [style*="color:#d9534f"],
.legacy-result [style*="color: #f0ad4e"],
.legacy-result [style*="color:#f0ad4e"] { color: #ffb4a8 !important; }
.legacy-result table { width: 100%; color: #f8f9ff; border-color: rgba(255,255,255,.16) !important; }
.legacy-result th, .legacy-result td { border-color: rgba(255,255,255,.16) !important; }
.legacy-result thead { background: rgba(124,128,255,.28) !important; }
.payroll-summary-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px;
}
.payroll-summary-grid div {
  min-height: 86px; padding: 13px; border-radius: 13px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
}
.payroll-summary-grid span { display: block; color: var(--muted) !important; font-size: 12px; margin-bottom: 8px; }
.payroll-summary-grid strong { display: block; font-size: 16px; line-height: 1.25; }
.payroll-table-wrap { margin-top: 16px; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); }
.payroll-table { min-width: 1120px; border-collapse: collapse; }
.compensation-table { min-width: 760px; }
.payroll-table th, .payroll-table td { padding: 10px 12px; text-align: left; font-size: 13px; }
.payroll-table tbody tr.is-selected { background: rgba(124,128,255,.16); }
.payroll-table tbody tr:nth-child(even):not(.is-selected) { background: rgba(255,255,255,.025); }
.legacy-content { margin-top: 24px; }
.legacy-content h2, .legacy-content h3 { color: white; margin: 22px 0 10px; }
.legacy-content p, .legacy-content li { color: #cdd2e3; line-height: 1.72; }
.legacy-content ul, .legacy-content ol { padding-left: 22px; }
.legacy-compat { display: none !important; }
.result-panel {
  padding: 30px; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(35,148,242,.22), transparent 34%),
    var(--panel2);
}
.result-label { color: var(--muted); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; }
.result-panel > strong { font-size: clamp(58px, 8vw, 92px); line-height: .95; margin-top: 12px; color: #8fc8ff; text-shadow: 0 0 40px rgba(35,148,242,.28); }
.result-panel > small { color: #d8dcea; margin-top: 10px; font-size: 15px; }
.progress-track {
  height: 10px; margin-top: 18px; overflow: hidden; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
}
.progress-track span {
  display: block; width: 0%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  box-shadow: 0 0 22px rgba(35,148,242,.35);
  transition: width .35s ease;
}
.result-panel.is-ready { border-color: rgba(35,148,242,.30); }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.result-grid div { min-height: 84px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.result-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.result-grid b { color: white; font-size: 16px; line-height: 1.25; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.insight-card, .scenario-panel {
  border: 1px solid var(--stroke); border-radius: 20px; background: var(--panel); backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(0,0,0,.18); padding: 28px;
}
.insight-card h2, .scenario-panel h2 { margin: 8px 0 12px; font-size: 24px; }
.insight-card p { margin: 0; color: #cdd2e3; line-height: 1.72; }
.suggestion-list { display: grid; gap: 10px; margin-top: 4px; }
.suggestion-list a {
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 13px 14px; border-radius: 13px; color: white; font-weight: 850;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035);
}
.guide-steps { display: grid; gap: 10px; padding: 0; margin: 4px 0 0; list-style: none; counter-reset: guide; }
.guide-steps li {
  counter-increment: guide; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; align-items: center;
  min-height: 74px; padding: 11px 13px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.032);
}
.guide-steps li::before {
  grid-row: 1 / 3;
  content: counter(guide); width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center;
  color: white; font-weight: 900; background: linear-gradient(135deg, #7d82ff, var(--primary));
  box-shadow: 0 10px 24px rgba(99,104,216,.24);
}
.guide-steps strong { grid-column: 2; display: block; color: white; margin-bottom: 0; line-height: 1.25; }
.guide-steps span { grid-column: 2; display: block; color: var(--muted); line-height: 1.35; font-size: 13px; }
.scenario-panel { margin-top: 24px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scenario-item {
  min-height: 136px; padding: 16px; border-radius: 15px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: 8px;
}
.scenario-item strong { color: white; font-size: 18px; }
.scenario-item span { color: var(--muted); line-height: 1.45; font-size: 13px; }
.scenario-item b { color: #8fc8ff; margin-top: auto; font-size: 16px; }
.tool-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; align-items: stretch; margin-top: 24px; margin-bottom: 45px; }
.tool-info-grid .content-panel, .tool-info-grid .insight-card { margin: 0; }
.content-panel { margin: 24px 0 45px; padding: 30px; }
.content-panel h2 { margin: 0 0 14px; }
.content-panel p { color: #cdd2e3; line-height: 1.72; margin: 12px 0 0; }
.category-page { padding-top: 30px; }
.category-hero {
  min-height: 300px; display: grid; grid-template-columns: 1fr 210px; gap: 28px; align-items: center;
  padding: 38px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255,255,255,.10));
  background:
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--panel);
  box-shadow: inset 0 0 38px color-mix(in srgb, var(--accent) 7%, transparent), 0 26px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(20px);
}
.category-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -1.2px; }
.category-hero p { max-width: 760px; color: #d8dcea; font-size: 17px; line-height: 1.72; margin: 20px 0 0; }
.category-hero-panel {
  width: 180px; height: 180px; border-radius: 42px; display: grid; place-items: center; justify-self: end;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, rgba(255,255,255,.035));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255,255,255,.10));
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 12%, transparent);
}
.category-hero-panel strong { color: white; font-size: 44px; line-height: 1; }
.category-hero-panel small { color: var(--muted); font-weight: 800; }
.category-tools-section { margin-top: 28px; }
.category-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.category-tool-item {
  min-height: 172px; display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: start;
  padding: 22px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 32%, rgba(255,255,255,.09));
  background: var(--panel); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 32px color-mix(in srgb, var(--accent) 6%, transparent);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.category-tool-item:hover {
  transform: translateY(-5px); border-color: var(--accent);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 16%, transparent), inset 0 0 34px color-mix(in srgb, var(--accent) 10%, transparent);
}
.category-tool-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.category-tool-item h3 { margin: 0 0 9px; font-size: 18px; }
.category-tool-item p { color: #cdd2e3; line-height: 1.55; margin: 0; }
.category-tool-item b { grid-column: 2; color: #dfe2ff; font-size: 14px; }
.category-helper {
  margin-top: 24px; padding: 28px; border-radius: 20px; border: 1px solid var(--stroke);
  background: var(--panel); backdrop-filter: blur(20px); box-shadow: 0 22px 70px rgba(0,0,0,.18);
}
.category-helper h2 { margin: 0 0 18px; font-size: 24px; }
.helper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.helper-item {
  min-height: 128px; padding: 16px; border-radius: 15px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: 9px;
}
.helper-item span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.helper-item a { color: white; font-weight: 900; margin-top: auto; }
.formula-section {
  margin-top: 24px; padding: 28px; border-radius: 20px; border: 1px solid var(--stroke);
  background: var(--panel); backdrop-filter: blur(20px); box-shadow: 0 22px 70px rgba(0,0,0,.18);
}
.formula-section h2 { margin: 0 0 7px; font-size: 24px; }
.formula-section > p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.formula-card {
  min-height: 132px; padding: 16px; border-radius: 15px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.formula-card strong { display: block; color: white; margin-bottom: 10px; }
.formula-card code {
  display: block; white-space: normal; color: #cbfff4; line-height: 1.5; font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.category-bottom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: stretch; }
.related-panel {
  margin: 24px 0 45px; padding: 30px; border-radius: 20px; border: 1px solid var(--stroke);
  background: var(--panel); backdrop-filter: blur(20px); box-shadow: 0 22px 70px rgba(0,0,0,.20);
}
.related-panel h2 { margin: 0 0 16px; font-size: 22px; }
.related-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); color: #e9ebff; font-weight: 800;
}
.seo-text { border: 1px solid var(--stroke); background: rgba(13,17,32,.62); border-radius: 18px; padding: 30px; margin-bottom: 45px; }
.seo-text h2 { margin-top: 0; }
.site-footer { width: min(1160px, calc(100% - 52px)); margin: 0 auto; padding: 30px 0 38px; border-top: 1px solid var(--stroke); color: var(--muted); display: flex; justify-content: space-between; gap: 30px; }
.site-footer strong { color: white; }
.site-footer p { margin-bottom: 0; }
.site-footer a { display: inline-block; margin: 8px 0 8px 22px; }

/* ICONS */
[class^="icon-"], [class*=" icon-"] { width: 42px; height: 42px; display: inline-block; position: relative; color: var(--accent); }
.icon-percent::before, .icon-percent::after { content: ""; position: absolute; background: currentColor; }
.icon-percent::before { width: 7px; height: 42px; border-radius: 8px; transform: rotate(35deg); left: 18px; top: 0; }
.icon-percent::after { width: 13px; height: 13px; border: 5px solid currentColor; background: transparent; border-radius: 50%; left: 0; top: 2px; box-shadow: 24px 23px 0 0 currentColor; }
.icon-chart::before { content: ""; position: absolute; inset: 7px 6px 6px; background: linear-gradient(currentColor 0 0) 0 100%/8px 17px no-repeat, linear-gradient(currentColor 0 0) 15px 100%/8px 28px no-repeat, linear-gradient(currentColor 0 0) 30px 100%/8px 38px no-repeat; border-radius: 6px; }
.icon-user::before { content: ""; position: absolute; width: 16px; height: 16px; background: currentColor; border-radius: 50%; left: 13px; top: 4px; box-shadow: 0 21px 0 8px color-mix(in srgb, currentColor 80%, transparent); }
.icon-pie { border-radius: 50%; background: conic-gradient(currentColor 0 35%, transparent 35% 42%, color-mix(in srgb, currentColor 65%, white 10%) 42% 70%, color-mix(in srgb, currentColor 30%, transparent) 70% 100%); }
.icon-home::before { content: ""; position: absolute; width: 34px; height: 25px; background: currentColor; left: 4px; top: 15px; clip-path: polygon(0 40%, 50% 0, 100% 40%, 88% 40%, 88% 100%, 12% 100%, 12% 40%); }
.icon-wallet::before { content: ""; position: absolute; width: 36px; height: 28px; border: 4px solid currentColor; border-radius: 8px; left: 3px; top: 9px; }
.icon-wallet::after { content: ""; position: absolute; width: 17px; height: 13px; border: 4px solid currentColor; border-right: 0; border-radius: 8px 0 0 8px; right: 1px; top: 17px; }
.icon-card::before { content: ""; position: absolute; width: 38px; height: 27px; border: 4px solid currentColor; border-radius: 7px; left: 2px; top: 8px; }
.icon-card::after { content: ""; position: absolute; width: 30px; height: 4px; background: currentColor; left: 6px; top: 17px; box-shadow: 0 10px 0 -1px currentColor; }
.icon-calculator::before { content: ""; position: absolute; width: 30px; height: 36px; border: 4px solid currentColor; border-radius: 7px; left: 6px; top: 3px; }
.icon-calculator::after { content: ""; position: absolute; width: 18px; height: 5px; background: currentColor; left: 12px; top: 10px; box-shadow: 0 11px 0 -1px currentColor, 10px 11px 0 -1px currentColor, 0 21px 0 -1px currentColor, 10px 21px 0 -1px currentColor; }
.icon-bank::before { content: ""; position: absolute; width: 38px; height: 9px; background: currentColor; left: 2px; top: 29px; box-shadow: 0 -20px 0 currentColor; }
.icon-bank::after { content: ""; position: absolute; width: 40px; height: 18px; background: currentColor; left: 1px; top: 4px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.icon-briefcase::before { content: ""; position: absolute; width: 36px; height: 28px; border: 4px solid currentColor; border-radius: 8px; left: 3px; top: 11px; }
.icon-briefcase::after { content: ""; position: absolute; width: 16px; height: 9px; border: 4px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; left: 13px; top: 4px; }
.icon-clock::before { content: ""; position: absolute; width: 34px; height: 34px; border: 4px solid currentColor; border-radius: 50%; left: 4px; top: 4px; }
.icon-clock::after { content: ""; position: absolute; width: 15px; height: 15px; border-left: 4px solid currentColor; border-bottom: 4px solid currentColor; left: 21px; top: 11px; }
.icon-calendar::before { content: ""; position: absolute; width: 34px; height: 32px; border: 4px solid currentColor; border-radius: 7px; left: 4px; top: 7px; }
.icon-calendar::after { content: ""; position: absolute; width: 26px; height: 4px; background: currentColor; left: 8px; top: 17px; box-shadow: 0 10px 0 -1px currentColor, 10px 10px 0 -1px currentColor; }
.icon-heart::before, .icon-heart::after { content: ""; position: absolute; width: 22px; height: 34px; background: currentColor; border-radius: 22px 22px 0 0; top: 5px; }
.icon-heart::before { left: 20px; transform: rotate(45deg); transform-origin: 0 100%; }
.icon-heart::after { left: 0; transform: rotate(-45deg); transform-origin: 100% 100%; }
.icon-health::before { content: ""; position: absolute; width: 38px; height: 30px; border: 4px solid currentColor; border-radius: 50%; left: 2px; top: 6px; clip-path: polygon(0 0, 100% 0, 100% 100%, 61% 100%, 52% 72%, 42% 100%, 0 100%); }
.icon-health::after { content: ""; position: absolute; width: 25px; height: 4px; background: currentColor; left: 9px; top: 23px; box-shadow: 9px -8px 0 -1px currentColor, 16px 8px 0 -1px currentColor; }
.icon-education::before { content: ""; position: absolute; width: 40px; height: 22px; background: currentColor; clip-path: polygon(50% 0, 100% 35%, 50% 70%, 0 35%); left: 1px; top: 6px; }
.icon-education::after { content: ""; position: absolute; width: 25px; height: 13px; border: 4px solid currentColor; border-top: 0; left: 8px; top: 23px; border-radius: 0 0 12px 12px; }
.icon-car::before { content: ""; position: absolute; width: 38px; height: 18px; background: currentColor; border-radius: 8px 8px 5px 5px; left: 2px; top: 16px; }
.icon-car::after { content: ""; position: absolute; width: 9px; height: 9px; background: #050814; border-radius: 50%; left: 8px; top: 29px; box-shadow: 18px 0 0 #050814, 5px -17px 0 5px currentColor; }
.icon-shield::before { content: ""; position: absolute; width: 34px; height: 38px; background: currentColor; left: 4px; top: 2px; clip-path: polygon(50% 0, 92% 17%, 84% 70%, 50% 100%, 16% 70%, 8% 17%); }
.icon-refresh::before { content: ""; position: absolute; width: 32px; height: 32px; border: 5px solid currentColor; border-left-color: transparent; border-radius: 50%; left: 5px; top: 5px; }
.icon-refresh::after { content: ""; position: absolute; border: 8px solid transparent; border-top-color: currentColor; right: 0; top: 3px; transform: rotate(28deg); }
.icon-check::before { content: ""; width: 28px; height: 15px; border-left: 6px solid currentColor; border-bottom: 6px solid currentColor; transform: rotate(-45deg); position: absolute; left: 8px; top: 10px; }
.icon-lock::before { content: ""; position: absolute; width: 30px; height: 22px; background: currentColor; border-radius: 6px; left: 6px; top: 18px; }
.icon-lock::after { content: ""; position: absolute; width: 18px; height: 17px; border: 4px solid currentColor; border-bottom: 0; border-radius: 12px 12px 0 0; left: 12px; top: 3px; }
.theme-teal { --accent: var(--teal); }
.theme-green { --accent: var(--green); }
.theme-amber { --accent: var(--amber); }
.theme-purple { --accent: var(--primary); }
.theme-blue { --accent: var(--blue); }
.theme-pink { --accent: var(--pink); }
.theme-violet { --accent: var(--violet); }
.theme-orange { --accent: var(--orange); }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open {
    display: grid; gap: 10px; padding: 18px 26px 20px;
    background:
      linear-gradient(135deg, rgba(99,104,216,.16), transparent 42%),
      linear-gradient(90deg, rgba(0,194,168,.07), transparent 48%),
      rgba(7,10,24,.88);
    backdrop-filter: blur(20px) saturate(125%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 44px rgba(0,0,0,.24);
  }
  .mobile-nav.open a { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 420px; }
  .orbit { width: min(520px, 92vw); }
  .tools-grid {
    display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    padding: 2px 2px 14px; -webkit-overflow-scrolling: touch;
  }
  .tools-grid::-webkit-scrollbar { height: 7px; }
  .tools-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.035); border-radius: 999px; }
  .tools-grid::-webkit-scrollbar-thumb { background: rgba(99,104,216,.62); border-radius: 999px; }
  .tool-card { flex: 0 0 260px; scroll-snap-align: start; }
  .payroll-summary-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 64px 1fr; }
  .partner-card b { grid-column: 1 / -1; justify-content: center; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .all-tools .mini-tools-grid {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    padding: 2px 2px 12px; -webkit-overflow-scrolling: touch;
  }
  .all-tools .mini-tools-grid::-webkit-scrollbar { height: 7px; }
  .all-tools .mini-tools-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.035); border-radius: 999px; }
  .all-tools .mini-tools-grid::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.12)); border-radius: 999px; }
  .all-tools .mini-tool { flex: 0 0 240px; scroll-snap-align: start; }
  .helper-grid, .formula-grid {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    padding: 2px 2px 12px; -webkit-overflow-scrolling: touch;
  }
  .helper-grid::-webkit-scrollbar, .formula-grid::-webkit-scrollbar { height: 7px; }
  .helper-grid::-webkit-scrollbar-track, .formula-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.035); border-radius: 999px; }
  .helper-grid::-webkit-scrollbar-thumb, .formula-grid::-webkit-scrollbar-thumb { background: rgba(99,104,216,.62); border-radius: 999px; }
  .helper-item, .formula-card { flex: 0 0 270px; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .site-header { height: 78px; padding: 0 18px; }
  .site-header::after { left: 18px; right: 18px; }
  main, .site-footer { width: min(100% - 32px, 1160px); }
  .hero { padding-top: 42px; }
  .hero-art { height: 330px; }
  .orbit { width: 92vw; height: 155px; }
  .calc-device { width: min(230px, 72vw); padding: 15px; border-radius: 25px; transform: rotate(4deg); }
  .calc-display { height: 74px; }
  .calc-buttons { gap: 7px; }
  .calc-buttons i { height: 34px; }
  .mini-card { display: none; }
  .search-row { grid-template-columns: 1fr; }
  .big-search { display: none; }
  .search-row button { width: 100%; }
  .search-overlay { padding: 92px 16px 18px; align-items: start; }
  .search-panel { padding: 22px; border-radius: 17px; }
  .search-panel h2 { font-size: 22px; }
  .global-search-row { grid-template-columns: 1fr; }
  .global-search-row button { width: 100%; }
  .stats-strip, .info-grid { grid-template-columns: 1fr; }
  .tool-card { flex-basis: min(78vw, 292px); }
  .all-tools .mini-tool { flex-basis: min(78vw, 282px); }
  .app-card { grid-template-columns: 1fr; }
  .phone-preview { width: 100%; max-width: 190px; height: 236px; transform: none; justify-self: center; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--stroke); }
  .stat-item:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }
  .tools-section-head, .title-row { align-items: flex-start; flex-direction: column; }
  .tools-section-head > div { grid-template-columns: 1fr; }
  .section-icon { margin-bottom: 12px; }
  .tool-page { padding-top: 22px; }
  .tool-hero { grid-template-columns: 1fr; padding: 26px; border-radius: 20px; }
  .tool-hero-icon { width: 112px; height: 112px; border-radius: 28px; justify-self: start; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-card, .result-panel, .content-panel { padding: 22px; }
  .payroll-summary-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .insight-grid, .scenario-grid { grid-template-columns: 1fr; }
  .insight-card, .scenario-panel { padding: 22px; }
  .tool-info-grid { grid-template-columns: 1fr; margin-bottom: 28px; }
  .category-page { padding-top: 22px; }
  .category-hero { grid-template-columns: 1fr; padding: 26px; border-radius: 20px; }
  .category-hero-panel { width: 128px; height: 128px; border-radius: 30px; justify-self: start; }
  .category-tool-grid { grid-template-columns: 1fr; }
  .category-tool-item { grid-template-columns: 56px 1fr; padding: 18px; }
  .category-tool-icon { width: 54px; height: 54px; border-radius: 17px; }
  .category-helper { padding: 22px; overflow: hidden; }
  .helper-grid {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    padding: 2px 2px 12px; -webkit-overflow-scrolling: touch;
  }
  .helper-grid::-webkit-scrollbar, .formula-grid::-webkit-scrollbar { height: 7px; }
  .helper-grid::-webkit-scrollbar-track, .formula-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.035); border-radius: 999px; }
  .helper-grid::-webkit-scrollbar-thumb, .formula-grid::-webkit-scrollbar-thumb { background: rgba(99,104,216,.62); border-radius: 999px; }
  .helper-item { flex: 0 0 min(78vw, 292px); scroll-snap-align: start; }
  .formula-section { padding: 22px; }
  .formula-grid {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    padding: 2px 2px 12px; -webkit-overflow-scrolling: touch;
  }
  .formula-card { flex: 0 0 min(78vw, 292px); scroll-snap-align: start; }
  .category-bottom-grid { grid-template-columns: 1fr; }
  .related-panel { margin-top: 0; padding: 22px; }
  .site-footer { flex-direction: column; }
  .site-footer a { margin-left: 0; margin-right: 18px; }
}
