*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --primary: #1a73e8; --primary-light: #e8f0fe; --primary-dark: #1557b0; --accent: #00b894; --accent-light: #e6f9f4; --bg: #f5f7fa; --card: #fff; --text: #1e293b; --text-secondary: #4b5563; --text-light: #6b7280; --border: #e2e8f0; --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04); --shadow-hover: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04); --shadow-lg: 0 4px 16px rgba(0,0,0,.08); --radius: 10px; --radius-lg: 14px; --danger: #ef4444; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased; }
.header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: .7rem 2rem; }
.header-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.header-brand .logo { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.header-brand h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.3px; color: var(--text); }
.header-brand h1 span { color: var(--primary); }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: .85rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.container { max-width: 960px; margin: 0 auto; padding: 2rem; }
.page-card + .container, .container + .container { margin-top: 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary); text-decoration: none; font-size: .82rem; font-weight: 500; margin-bottom: 1rem; }
.back-link:hover { text-decoration: underline; }
.fade-in { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#h:empty { min-height: 58px; position: relative; background: linear-gradient(90deg, transparent 0%, var(--border) 40%, transparent 80%); background-size: 200% 100%; animation: header-loading 1.2s ease infinite; }
@keyframes header-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.footer { background: var(--card); border-top: 1px solid var(--border); margin-top: 3rem; padding: 3rem 0 0; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.footer-tools-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.footer-cat h3 { font-size: .75rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-cat h3 a { color: var(--text); text-decoration: none; }
.footer-cat h3 a:hover { color: var(--primary); }
.footer-cat a { display: block; color: var(--text-secondary); text-decoration: none; font-size: .8rem; padding: .2rem 0; transition: color .15s; line-height: 1.4; }
.footer-cat a:hover { color: var(--primary); }
.footer-info-row { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-brand-col .footer-logo { width: 40px; height: 40px; background: var(--primary); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .75rem; }
.footer-brand-col h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.3px; color: var(--text); margin-bottom: .5rem; }
.footer-brand-col h3 span { color: var(--primary); }
.footer-brand-col p { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; margin-top: .3rem; }
.footer-nav-col h3 { font-size: .75rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-nav-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: .8rem; padding: .22rem 0; transition: color .15s; line-height: 1.4; }
.footer-nav-col a:hover { color: var(--primary); }
.footer-connect { margin-top: .5rem; display: flex; gap: .5rem; }
.footer-connect a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--bg); padding: 0; transition: all .15s; }
.footer-connect a:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom .footer-copy { color: var(--text-light); font-size: .8rem; }
.footer-bottom .footer-made { color: var(--text-light); font-size: .78rem; }
.pricing-guide { margin-top: 3rem; }
.guide-intro { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.guide-intro h3 { font-size: 1.35rem; color: var(--text); margin-bottom: .5rem; }
.guide-intro p { color: var(--text-secondary); line-height: 1.7; }
.guide-tool { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.guide-tool:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.guide-tool h3 { font-size: 1.2rem; color: var(--text); margin-bottom: .75rem; }
.guide-tool h4 { font-size: 1rem; color: var(--text); margin: 1.25rem 0 .5rem; }
.guide-tool p { color: var(--text-secondary); line-height: 1.75; margin-bottom: .8rem; }
.guide-tool strong { color: var(--text); font-weight: 600; }
.guide-tool ol { margin: .5rem 0 1rem 1.5rem; color: var(--text-secondary); line-height: 1.75; }
.guide-tool ol li { margin-bottom: .4rem; }
.guide-tool ul { margin: .5rem 0 1rem 1.5rem; color: var(--text-secondary); line-height: 1.75; }
.guide-tool ul li { margin-bottom: .4rem; }
.guide-formula { background: var(--bg); border-left: 3px solid var(--primary); padding: 1rem 1.25rem; margin: .8rem 0 1rem; border-radius: 0 var(--radius) var(--radius) 0; font-family: 'Courier New', Courier, monospace; font-size: .9rem; color: var(--text); overflow-x: auto; }

.tool-header { text-align: center; margin-bottom: 2rem; }
.tool-header .icon { font-size: 2.6rem; display: block; margin-bottom: .5rem; }
.tool-header h2 { font-size: 1.4rem; color: var(--text); letter-spacing: -.3px; }
.tool-header .desc { color: var(--text-secondary); font-size: .88rem; margin-top: .2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.card { background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text); margin-bottom: .3rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .55rem .75rem; border: 1px solid var(--border); border-radius: 6px; font-size: .88rem; outline: none; transition: .15s; font-family: inherit; background: var(--card); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { font-family: 'Courier New', monospace; font-size: .8rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.btn { padding: .6rem 2rem; border: none; border-radius: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s; background: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.btn:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.content-sections { margin-top: 2rem; }
.content-section { background: var(--card); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.content-section h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; letter-spacing: -.2px; }
.content-section h3 .sec-icon { margin-right: .4rem; }
.content-section p, .content-section li { font-size: .88rem; line-height: 1.7; color: var(--text-secondary); }
.content-section ul { padding-left: 1.1rem; }
.content-section li { margin-bottom: .4rem; }
.content-section .formula-box { background: var(--primary-light); border-radius: 6px; padding: .85rem 1rem; font-family: 'Courier New', monospace; font-size: .88rem; color: var(--primary-dark); font-weight: 600; margin: .5rem 0; border: 1px solid rgba(26,115,232,.15); }
.faq-item { border-bottom: 1px solid var(--border); padding: .75rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item .faq-q { font-weight: 600; font-size: .88rem; color: var(--text); margin-bottom: .25rem; }
.faq-item .faq-a { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
.result-box { margin-top: 1rem; padding: 1.15rem; background: #f8fafc; border-radius: 8px; border: 1px solid var(--border); }
.result-item { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.result-item:last-child { border-bottom: none; }
.result-item .label { color: var(--text-secondary); }
.result-item .value { font-weight: 700; color: var(--text); }
.result-item .value.hl { color: var(--primary); font-size: 1.05rem; }
.val-wrap { display: inline-flex; align-items: center; gap: .5rem; }
.val-wrap .value { font-weight: 700; color: var(--text); }
.val-wrap .value.hl { color: var(--primary); font-size: 1.05rem; }
.copy-icon { cursor: pointer; font-size: .82rem; opacity: .5; transition: opacity .15s; user-select: none; line-height: 1; }
.copy-icon:hover { opacity: 1; }
.range-wrap { display: flex; align-items: center; gap: .6rem; }
.range-wrap input[type=range] { flex: 1; height: 6px; border-radius: 3px; background: var(--border); accent-color: var(--primary); cursor: pointer; }
.range-val { font-weight: 700; font-size: .88rem; color: var(--primary); min-width: 3em; text-align: right; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .75rem; max-width: 260px; }
.kp-btn { padding: .65rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .1s; text-align: center; user-select: none; }
.kp-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.kp-btn:active { transform: scale(.95); }
.container-full { max-width:960px; margin:0 auto; padding:2rem; }
.calc-layout { display: grid; grid-template-columns: 1fr 2fr 1fr; max-width:1100px; margin:0 auto; padding:2rem; }
.calc-col { min-width:0; }
.calc-card { padding:1rem; }
.tg-group { display:flex; gap:.4rem; }
.tg-btn { flex:1; padding:.5rem .75rem; border:2px solid var(--border); border-radius:6px; background:var(--card); font-size:.8rem; font-weight:600; cursor:pointer; transition:all .15s; color:var(--text-secondary); text-align:center; user-select:none; }
.tg-btn:hover { border-color:var(--primary); color:var(--primary); }
.tg-btn.tg-active { border-color:var(--primary); background:var(--primary); color:#fff; }

/* Calculator UI (VAT, future calc-style tools) */
.calc-ui { background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:25px; box-shadow:var(--shadow-lg); }
.calc-display { background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:var(--radius); font-size:2.5rem; padding:10px 15px; min-height:75px; display:flex; align-items:center; margin-bottom:20px; font-weight:500; }
.result-row { display:flex; justify-content:space-between; align-items:center; color:var(--text-secondary); font-weight:600; margin-bottom:12px; font-size:1.05rem; }
.result-row .result-value { color:var(--accent); margin-left:auto; margin-right:15px; font-weight:700; }
.copy-btn { background:var(--bg); border:1px solid var(--border); color:var(--text-light); padding:4px 8px; border-radius:var(--radius); font-size:.85rem; cursor:pointer; transition:all .2s; line-height:1; }
.copy-btn:hover { background:var(--primary-light); color:var(--primary); border-color:var(--primary-light); }
.keypad-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:20px; margin-bottom:15px; }
.calc-btn { background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:var(--radius); font-size:1.5rem; padding:12px 0; font-weight:600; display:flex; justify-content:center; align-items:center; box-shadow:var(--shadow); transition:all .2s; cursor:pointer; user-select:none; }
.calc-btn:hover { background:var(--primary-light); color:var(--primary); border-color:transparent; box-shadow:var(--shadow-hover); }
.btn-clear { background:var(--danger); color:#fff; border-color:transparent; }
.btn-clear:hover { background:#dc2626; color:#fff; }
.action-row { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-bottom:20px; }
.btn-action { border:none; border-radius:var(--radius); font-size:1.1rem; font-weight:600; padding:14px 0; text-transform:uppercase; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; transition:all .2s; user-select:none; box-shadow:var(--shadow); }
.btn-action .action-icon { font-size:.8rem; }
.btn-add-vat { background:var(--accent); color:#fff; }
.btn-add-vat:hover { background:#00a383; }
.btn-add-vat:not(.tg-active) { background:var(--border); color:var(--text-secondary); box-shadow:none; }
.btn-add-vat:not(.tg-active):hover { background:#cbd5e1; }
.btn-remove-vat { background:var(--accent); color:#fff; }
.btn-remove-vat:hover { background:#00a383; }
.btn-remove-vat:not(.tg-active) { background:var(--border); color:var(--text-secondary); box-shadow:none; }
.btn-remove-vat:not(.tg-active):hover { background:#cbd5e1; }
.vat-label { color:var(--text-secondary); font-size:1.05rem; font-weight:600; margin-bottom:12px; }
.slider-container { display:flex; align-items:center; gap:15px; }
.custom-range { flex:1; -webkit-appearance:none; appearance:none; background:var(--border); height:6px; border-radius:3px; outline:none; }
.custom-range::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:var(--primary); cursor:pointer; box-shadow:var(--shadow); }
.custom-range::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:var(--primary); cursor:pointer; border:none; box-shadow:var(--shadow); }
.vat-input-box { background:var(--bg); color:var(--text); border:1px solid var(--border); width:70px; text-align:center; padding:6px 0; font-size:1.05rem; font-weight:600; border-radius:var(--radius); }
.percent-symbol { color:var(--text-light); font-size:1.1rem; font-weight:600; }
@media (max-width:600px) {
  .calc-ui { padding:18px; }
  .calc-display { font-size:2rem; padding:8px 12px; min-height:60px; }
  .result-row { font-size:.9rem; flex-wrap:wrap; gap:4px; }
  .result-row .result-value { margin-right:8px; }
  .calc-btn { font-size:1.3rem; padding:10px 0; }
  .keypad-grid { gap:8px; }
  .action-row { gap:10px; }
  .btn-action { font-size:1rem; padding:12px 0; }
  .slider-container { gap:10px; }
  .vat-input-box { width:58px; font-size:1rem; }
}
@media (max-width:400px) {
  .calc-ui { padding:14px; }
  .calc-display { font-size:1.6rem; min-height:50px; padding:6px 10px; }
  .calc-btn { font-size:1.1rem; padding:8px 0; }
}

.breadcrumb { font-size: .8rem; color: var(--text-light); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.success-msg { display: none; background: #dcfce7; color: #166534; padding: .85rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: .85rem; font-weight: 500; }

.page-card { background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); max-width: 960px; margin: 1.5rem auto 0; }
.page-card:first-child { margin-top: 0; }
.page-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.3px; }
.page-card .subtitle { color: var(--text-secondary); font-size: .9rem; margin-bottom: 2rem; }
.page-card h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 .5rem; color: var(--text); }
.page-card p { line-height: 1.7; color: var(--text-secondary); margin-bottom: 1rem; font-size: .9rem; }
.page-card ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.page-card ol { padding-left: 1.35rem; margin-bottom: 1rem; }
.page-card li { line-height: 1.7; color: var(--text-secondary); font-size: .9rem; margin-bottom: .35rem; }
.page-card a { color: var(--primary); font-weight: 500; }
.page-card .formula-box { background: var(--primary-light); border-radius: 6px; padding: .85rem 1rem; font-family: 'Courier New', monospace; font-size: .88rem; color: var(--primary-dark); font-weight: 600; margin: .5rem 0 1rem; border: 1px solid rgba(26,115,232,.15); }

.hero { text-align: center; padding: 2.5rem 0 2rem; }
.hero .hero-badge { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--primary-dark); background: var(--primary-light); padding: .2rem .7rem; border-radius: 20px; letter-spacing: .3px; margin-bottom: .6rem; text-transform: uppercase; }
.hero h2 { font-size: 1.65rem; font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.hero .sub-title { font-size: 1rem; color: var(--primary-dark); font-weight: 600; margin-top: .3rem; }
.hero .hero-tagline { font-size: .95rem; color: var(--text); font-weight: 500; margin-top: .8rem; }
.hero .hero-summary { color: var(--text-secondary); font-size: .88rem; margin-top: .6rem; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.stat-box { background: var(--card); border-radius: var(--radius); padding: 1.1rem; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-box .stat-num { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-box .stat-label { font-size: .7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; margin-top: .2rem; font-weight: 500; }
.section { margin-bottom: 2.5rem; }
.section + .section { margin-top: 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; flex-wrap: wrap; gap: .5rem; }
.section-header h2 { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; color: var(--text); }
.section-header .cat-count { font-size: .75rem; color: var(--text-light); font-weight: 500; background: var(--bg); padding: .15rem .6rem; border-radius: 20px; }
.section .cat-desc { color: var(--text-secondary); font-size: .82rem; margin-bottom: 1rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.tool-card { background: var(--card); border-radius: var(--radius); padding: .9rem 1rem; border: 1px solid var(--border); transition: all .2s; display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.tool-card .t-icon { font-size: 1.3rem; width: 38px; height: 38px; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-card .t-info { flex: 1; min-width: 0; }
.tool-card .t-name { font-weight: 600; font-size: .85rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-card .t-desc { font-size: .73rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .05rem; }
.tool-card .t-arrow { color: var(--text-light); font-size: .75rem; flex-shrink: 0; transition: .15s; }
.tool-card:hover .t-arrow { color: var(--primary); transform: translateX(2px); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.currency-btn { display: flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: .82rem; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; flex-shrink: 0; }
.currency-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.currency-btn img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.currency-btn .cb-sym { font-weight: 700; font-size: .85rem; }
.currency-btn .cb-arr { color: var(--text-light); font-size: .65rem; margin-left: .15rem; }
.currency-dropdown { position: absolute; top: 100%; right: 0; margin-top: 4px; width: 260px; max-height: 320px; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover); z-index: 200; display: none; scrollbar-width: thin; }
.currency-dropdown.open { display: block; }
.currency-dropdown .cd-search { padding: .5rem; border-bottom: 1px solid var(--border); }
.currency-dropdown .cd-search input { width: 100%; padding: .4rem .6rem; border: 1px solid var(--border); border-radius: 6px; font-size: .78rem; outline: none; background: var(--bg); color: var(--text); }
.currency-dropdown .cd-search input:focus { border-color: var(--primary); }
.currency-dropdown .cd-item { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; cursor: pointer; transition: background .1s; font-size: .8rem; }
.currency-dropdown .cd-item:hover { background: var(--primary-light); }
.currency-dropdown .cd-item.selected { background: var(--primary-light); font-weight: 600; }
.currency-dropdown .cd-item img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.currency-dropdown .cd-item .cd-code { color: var(--text); font-weight: 600; min-width: 36px; }
.currency-dropdown .cd-item .cd-name { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.currency-wrap { position: relative; }
.search-box { padding: .5rem 1rem .5rem 2.2rem; border: 1px solid var(--border); border-radius: 8px; width: 240px; font-size: .82rem; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") .7rem center no-repeat; color: var(--text); outline: none; transition: .15s; }
.search-box::placeholder { color: var(--text-light); }
.search-box:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); background-color: var(--card); }
.no-results { text-align: center; padding: 3rem; color: var(--text-secondary); }
.no-results h3 { font-size: 1.05rem; margin-bottom: .3rem; }

.faq-engine { margin: 2.5rem 0; border-top: 1px solid var(--border); padding-top: 2rem; }
.faq-engine h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; text-align: center; }
.faq-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; background: var(--card); box-shadow: var(--shadow); }
.faq-block .faq-q { font-weight: 700; font-size: .9rem; color: var(--text); margin-bottom: .5rem; }
.faq-block .faq-a { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; }
.faq-block .faq-a a { color: var(--primary); font-weight: 500; text-decoration: none; }
.faq-block .faq-a a:hover { text-decoration: underline; }

.trust-section { text-align: center; margin: 2.5rem 0 1rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.trust-section h2 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.trust-section > p { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; max-width: 680px; margin: 0 auto 1.5rem; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.trust-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: left; box-shadow: var(--shadow); }
.trust-item strong { color: var(--text); font-weight: 600; }
.trust-item { font-size: .83rem; color: var(--text-secondary); line-height: 1.7; }

.h-actions { display: flex; align-items: center; gap: .5rem; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; padding:1.5rem 1rem; }
  .ad-col { display:none; }
}

@media (max-width: 1024px) {
  .footer-tools-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: .5rem; }
  .header-right { flex-direction: column; gap: .5rem; width: 100%; }
  .h-actions { width: 100%; flex-wrap: wrap; }
  .h-actions .search-box { flex: 1; min-width: 140px; }
  .search-box { width: 100%; }
  .nav-links { justify-content: center; gap: 1rem; }
  .tool-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .stats-row { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero { padding: 1.5rem 0 1rem; }
  .hero h2 { font-size: 1.3rem; }
  .hero .hero-summary { font-size: .82rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .page-card { padding: 1.5rem; }
  .page-card h2 { font-size: 1.25rem; }
  .footer-tools-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .back-link { font-size: .78rem; }
  .tool-header .icon { font-size: 2rem; }
  .tool-header h2 { font-size: 1.2rem; }
  .guide-tool h3 { font-size: 1.05rem; }
  .content-section { padding: 1.15rem; }
  .currency-dropdown { right: auto; left: 0; width: 240px; }
  .stat-box .stat-num { font-size: 1.2rem; }
  .trust-item { padding: 1rem; }
  .tool-card .t-name, .tool-card .t-desc { white-space: normal; overflow: visible; text-overflow: clip; }
}

@media (max-width: 600px) {
  .container-full { padding:1rem; }
  .calc-layout { padding:1rem .75rem; }
  .container { padding: 1rem; }
  .header-inner { flex-direction: column; text-align: center; }
  .nav-links { justify-content: center; gap: .75rem; }
  .nav-links a { font-size: .8rem; }
  .row { grid-template-columns: 1fr; gap: .65rem; }
  .page-card { padding: 1.25rem; }
  .page-card h3 { font-size: .95rem; }
  .page-card p, .page-card li { font-size: .82rem; }
  .page-card .subtitle { font-size: .82rem; margin-bottom: 1.25rem; }
  .footer-tools-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-info-row { grid-template-columns: 1fr; text-align: center; }
  .footer-nav-col { text-align: center; }
  .footer-connect { justify-content: center; }
  .footer-bottom { padding: 1rem 0; margin-top: 1rem; }
  .hero h2 { font-size: 1.15rem; }
  .hero .hero-summary { font-size: .78rem; }
  .stats-row { grid-template-columns: 1fr; gap: .5rem; }
  .stat-box { padding: .85rem; }
  .stat-box .stat-num { font-size: 1.1rem; }
  .card { padding: 1.25rem; }
  .tool-header .icon { font-size: 1.7rem; }
  .tool-header h2 { font-size: 1.05rem; }
  .tool-header .desc { font-size: .8rem; }
  .rl-wrap { padding: 1rem; }
  .section-header h2 { font-size: 1rem; }
  .section .cat-desc { font-size: .78rem; }
  .faq-block { padding: 1rem; }
  .faq-block .faq-q { font-size: .82rem; }
  .faq-block .faq-a { font-size: .8rem; }
  .guide-tool ol, .guide-tool ul { margin-left: 1rem; }
  .guide-formula { font-size: .8rem; padding: .75rem 1rem; }
  .content-section { padding: 1rem; }
  .content-section h3 { font-size: .95rem; }
  .content-section p, .content-section li { font-size: .82rem; }
  .result-box { padding: .85rem; }
  .result-item { font-size: .82rem; flex-wrap: wrap; gap: .25rem; }
  .h-actions .search-box { font-size: .78rem; }
  .currency-btn { font-size: .78rem; padding: .3rem .5rem; }
  .currency-dropdown { width: 220px; }
  .breadcrumb { font-size: .75rem; }
  .success-msg { font-size: .8rem; padding: .7rem .85rem; }
  .tool-card { gap: .6rem; padding: .75rem .85rem; }
  .tool-card .t-name { font-size: .8rem; }
  .tool-card .t-desc { font-size: .7rem; white-space: normal; overflow: visible; text-overflow: clip; }
  .tool-card .t-icon { width: 32px; height: 32px; font-size: 1.1rem; }
  .cat-pricing .tool-header, .cat-sales .tool-header, .cat-customers .tool-header, .cat-inventory .tool-header, .cat-tax .tool-header, .cat-finance .tool-header { padding-left: .85rem; }
}

@media (max-width: 480px) {
  .container { padding: .75rem; }
  .header-inner { padding: .5rem 1rem; gap: .4rem; }
  .header-brand .logo { width: 30px; height: 30px; font-size: .9rem; }
  .header-brand h1 { font-size: 1rem; }
  .nav-links { gap: .5rem; flex-wrap: wrap; }
  .nav-links a { font-size: .75rem; }
  .h-actions { flex-direction: column; gap: .4rem; }
  .h-actions .search-box { width: 100%; }
  .currency-wrap { width: 100%; }
  .currency-btn { width: 100%; justify-content: center; }
  .currency-dropdown { width: 100%; max-height: 250px; }
  .hero h2 { font-size: 1.05rem; }
  .page-card { padding: 1rem; }
  .page-card h2 { font-size: 1.1rem; }
  .card { padding: 1rem; }
  .tool-header .icon { font-size: 1.4rem; }
  .tool-header h2 { font-size: .95rem; }
  .rl-wrap { padding: .85rem; }
  .rl-wrap h3 { font-size: .85rem; }
  .rl-link { font-size: .76rem; padding: .3rem .6rem; }
  .footer-tools-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-info-row { grid-template-columns: 1fr; text-align: center; }
  .footer-nav-col { text-align: center; }
  .footer-connect { justify-content: center; }
  .btn { padding: .5rem 1.5rem; font-size: .8rem; width: 100%; }
  .content-section { padding: .85rem; }
  .guide-tool { margin-bottom: 2rem; padding-bottom: 1.5rem; }
  .section { margin-bottom: 1.5rem; }
  .tool-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; }
  .tool-card { padding: .6rem .7rem; gap: .5rem; }
  .tool-card .t-icon { width: 28px; height: 28px; font-size: 1rem; }
  .tool-card .t-name { font-size: .75rem; white-space: normal; overflow: visible; text-overflow: clip; }
  .tool-card .t-desc { font-size: .66rem; white-space: normal; overflow: visible; text-overflow: clip; }
  .tool-card .t-arrow { font-size: .65rem; }
  .faq-engine h2 { font-size: 1.05rem; }
  .trust-section h2 { font-size: 1rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: .82rem; padding: .5rem .65rem; }
  .page-card .formula-box, .content-section .formula-box { font-size: .8rem; padding: .65rem .75rem; overflow-x: auto; }
}

@media (max-width: 375px) {
  .container { padding: .6rem; }
  .header-brand h1 { font-size: .9rem; }
  .header-inner { padding: .4rem .75rem; }
  .page-card { padding: .75rem; }
  .page-card h2 { font-size: 1rem; }
  .card { padding: .75rem; }
  .tool-header { margin-bottom: 1rem; }
  .tool-header h2 { font-size: .88rem; }
  .tool-header .desc { font-size: .75rem; }
  .hero h2 { font-size: .95rem; }
  .hero .hero-summary { font-size: .74rem; }
  .stats-row { gap: .4rem; }
  .stat-box { padding: .65rem; }
  .stat-box .stat-num { font-size: 1rem; }
  .stat-box .stat-label { font-size: .62rem; }
  .nav-links { gap: .4rem; }
  .nav-links a { font-size: .7rem; }
  .footer-tools-row { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .footer-inner { padding: 0 .75rem; }
  .footer-brand-col p { font-size: .78rem; }
  .guide-formula { font-size: .74rem; padding: .6rem .75rem; }
  .result-item { font-size: .78rem; padding: .35rem 0; }
  .result-item .value.hl { font-size: .95rem; }
  .tool-grid { grid-template-columns: 1fr; gap: .45rem; }
  .tool-card { padding: .55rem .65rem; gap: .45rem; }
  .tool-card .t-icon { width: 26px; height: 26px; font-size: .9rem; }
}

.cat-pricing .tool-header { border-left: 4px solid #1a73e8; padding-left: 1.25rem; }
.cat-sales .tool-header { border-left: 4px solid #00b894; padding-left: 1.25rem; }
.cat-customers .tool-header { border-left: 4px solid #7c3aed; padding-left: 1.25rem; }
.cat-inventory .tool-header { border-left: 4px solid #f59e0b; padding-left: 1.25rem; }
.cat-tax .tool-header { border-left: 4px solid #ef4444; padding-left: 1.25rem; }
.cat-finance .tool-header { border-left: 4px solid #6366f1; padding-left: 1.25rem; }

.related-section, .rl-wrap { margin-top: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.related-section h3, .rl-wrap h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.related-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.rl-link { display: inline-block; padding: .4rem .75rem; background: var(--primary-light); color: var(--primary); border-radius: 6px; font-size: .82rem; font-weight: 500; text-decoration: none; transition: background .15s, color .15s; }
.rl-link:hover { background: var(--primary); color: #fff; }
.rl-desc { margin-bottom: .75rem; color: var(--text-secondary); font-size: .85rem; }
.rl-wrap + .rl-wrap { margin-top: 0; }

.share-wrap { margin-top: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow); }
.share-wrap h3 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.sc-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.sc-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border-radius: var(--radius);
  font-size: .8rem; font-weight: 500; text-decoration: none;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); cursor: pointer; transition: all .15s;
  line-height: 1; white-space: nowrap;
}
.sc-btn svg { flex-shrink: 0; }
.sc-btn:hover { color: #fff; border-color: transparent; }
.sc-facebook:hover { background: #1877F2; }
.sc-x:hover { background: #000; }
.sc-linkedin:hover { background: #0A66C2; }
.sc-whatsapp:hover { background: #25D366; }
.sc-email:hover { background: #6C757D; }
.sc-chatgpt:hover { background: #10A37F; }
.sc-perplexity:hover { background: #1A1A2E; }
.sc-copy:hover { background: var(--primary); }
@media (max-width: 480px) {
  .sc-wrap { gap: .35rem; }
  .sc-btn { font-size: .75rem; padding: .35rem .55rem; }
}
