/* MyLaptopTools V1 */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #112033;
  --muted: #617085;
  --line: #dce4ed;
  --brand: #1769e0;
  --brand-2: #0d4fac;
  --good: #14865c;
  --warn: #b57200;
  --bad: #c63c3c;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(22, 42, 68, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video, canvas { max-width: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px);
  background: rgba(246,248,251,.90); border-bottom: 1px solid rgba(220,228,237,.85);
}
.nav { min-height: 70px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.025em; font-size: 1.06rem; white-space: nowrap; }
.brand svg { width: 33px; height: 33px; }
.nav-links { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { padding: 9px 11px; color: var(--muted); border-radius: 10px; font-size: .94rem; }
.nav-links a:hover { background: var(--surface); color: var(--text); }
.hero { padding: 86px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.17fr .83fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; color: var(--brand); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 5px rgba(20,134,92,.1); }
h1 { font-size: clamp(2.65rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.055em; margin: 18px 0 22px; max-width: 830px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 12px; }
h3 { letter-spacing: -.025em; margin: 0; }
.hero p { font-size: 1.11rem; color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; padding: 12px 16px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 46px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22,42,68,.08); }
.btn-primary { background: var(--brand); color: white; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-2); }
.btn-danger { border-color: rgba(198,60,60,.25); color: var(--bad); }
.hero-card { background: linear-gradient(160deg, #10233d 0%, #17355d 100%); color: white; border-radius: 28px; padding: 24px; box-shadow: 0 30px 70px rgba(9,31,58,.20); }
.hero-card .panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 20px; }
.health-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.health-score { font-size: 2.4rem; font-weight: 800; letter-spacing: -.05em; }
.check-list { display: grid; gap: 10px; }
.check-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.status-good { color: #86e8c1; font-weight: 700; }
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; max-width: 650px; }
.search-wrap { position: relative; width: min(460px,100%); }
.search-wrap input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px 13px 42px; background: var(--surface); outline: none; }
.search-wrap input:focus { border-color: rgba(23,105,224,.55); box-shadow: 0 0 0 4px rgba(23,105,224,.08); }
.search-icon { position: absolute; left: 15px; top: 12px; color: var(--muted); }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 13px; color: var(--muted); }
.tab.active, .tab:hover { background: var(--text); color: white; border-color: var(--text); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-height: 190px; display: flex; flex-direction: column; transition: .18s ease; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d5e5; }
.tool-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #ebf3ff; color: var(--brand); font-size: 1.2rem; margin-bottom: 24px; }
.tool-card h3 { font-size: 1.08rem; }
.tool-card p { color: var(--muted); margin: 7px 0 0; font-size: .93rem; }
.tool-card .card-bottom { display: flex; margin-top: auto; padding-top: 22px; font-size: .84rem; color: var(--brand); font-weight: 700; justify-content: space-between; align-items: center; }
.pill { padding: 5px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .72rem; font-weight: 700; }
.privacy-banner { margin: 24px 0 0; padding: 18px 20px; border-radius: 16px; background: #ecf8f3; color: #195c46; border: 1px solid #ccebdd; display: flex; gap: 12px; align-items: flex-start; }
.page-hero { padding: 58px 0 24px; }
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); margin: 0 0 14px; max-width: 900px; }
.page-hero p { color: var(--muted); max-width: 760px; font-size: 1.05rem; }
.tool-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; padding: 18px 0 60px; align-items: start; }
.tool-shell { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 10px 30px rgba(17,32,51,.04); }
.tool-shell h2 { font-size: 1.45rem; margin-bottom: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.side-card h3 { font-size: 1rem; margin-bottom: 7px; }
.side-card p, .side-card li { color: var(--muted); font-size: .88rem; }
.side-card ul { padding-left: 18px; margin-bottom: 0; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; background: #fbfcfe; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(23,105,224,.55); box-shadow: 0 0 0 4px rgba(23,105,224,.08); }
.inline-fields { display: grid; grid-template-columns: 1fr 150px; gap: 10px; }
.result { margin-top: 18px; border-radius: 16px; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.result.good { background: #ecf8f3; border-color: #ccebdd; }
.result.warn { background: #fff7e8; border-color: #f1ddb7; }
.result.bad { background: #fff0f0; border-color: #f0caca; }
.result-title { font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; color: var(--muted); }
.result-value { font-weight: 800; font-size: clamp(1.7rem, 5vw, 3.1rem); letter-spacing: -.04em; margin-top: 4px; word-break: break-word; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.metric { background: #fbfcfe; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.metric .label { color: var(--muted); font-size: .78rem; }
.metric .value { font-size: 1.18rem; font-weight: 800; margin-top: 3px; }
.progress { height: 10px; background: #e6edf5; border-radius: 999px; overflow: hidden; margin: 12px 0 4px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s; }
.helper { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.note { background: #f0f5fb; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: .9rem; }
.big-textarea { min-height: 270px; resize: vertical; }
.counter-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 12px; }
.counter { background: var(--surface-2); border-radius: 12px; padding: 12px; text-align: center; }
.counter strong { display: block; font-size: 1.25rem; }
.counter span { color: var(--muted); font-size: .75rem; }
.password-box { display: flex; gap: 10px; align-items: stretch; }
.password-box input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.05rem; }
.option-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.option-row label { display: flex; align-items: center; gap: 7px; font-size: .9rem; }
.keyboard { display: grid; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.key-row { display: flex; gap: 7px; min-width: 640px; }
.key { min-width: 45px; height: 44px; border: 1px solid var(--line); background: #fbfcfe; border-radius: 9px; display: grid; place-items: center; font-size: .79rem; font-weight: 700; padding: 0 8px; }
.key.wide { min-width: 74px; }
.key.space { flex: 1; }
.key.active { background: var(--brand); color: white; border-color: var(--brand); transform: translateY(1px); }
.media-frame { min-height: 280px; background: #0f1722; border-radius: 16px; display: grid; place-items: center; overflow: hidden; color: #b7c3d1; }
.media-frame video { width: 100%; height: 100%; object-fit: cover; }
.meter { height: 18px; border-radius: 999px; background: #e6edf5; overflow: hidden; }
.meter > span { height: 100%; display: block; width: 0%; background: var(--brand); transition: width .05s linear; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f5f7fa; min-height: 180px; display: grid; place-items: center; }
.preview-box img { width: 100%; height: 100%; object-fit: contain; max-height: 340px; }
.deadpixel-stage { position: fixed; inset: 0; z-index: 9999; display: none; background: #000; }
.deadpixel-stage.active { display: block; }
.deadpixel-controls { position: absolute; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; gap: 8px; padding: 10px; border-radius: 999px; background: rgba(10,15,22,.75); backdrop-filter: blur(10px); }
.color-btn { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; }
.exit-btn { border: 0; background: white; color: #111; border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.health-grid { display: grid; gap: 10px; }
.health-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.health-item:last-child { border-bottom: 0; }
.health-name { font-weight: 700; }
.health-detail { font-size: .83rem; color: var(--muted); margin-top: 2px; }
.badge { font-size: .75rem; font-weight: 800; border-radius: 999px; padding: 6px 9px; background: var(--surface-2); color: var(--muted); }
.badge.good { background: #dff4ea; color: var(--good); }
.badge.warn { background: #fff0cf; color: var(--warn); }
.badge.bad { background: #ffe1e1; color: var(--bad); }
.content-page { padding: 54px 0 72px; }
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px,4vw,48px); max-width: 880px; margin: 0 auto; }
.content-card h1 { font-size: clamp(2.2rem,4vw,3.8rem); margin-top: 0; }
.content-card h2 { font-size: 1.55rem; margin-top: 34px; }
.content-card p, .content-card li { color: #43536a; }
.content-card a { color: var(--brand); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); padding: 42px 0 30px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 26px; }
.footer-brand p { color: var(--muted); max-width: 350px; font-size: .9rem; }
.footer-col h4 { margin: 0 0 12px; font-size: .87rem; }
.footer-col a { display: block; color: var(--muted); margin: 8px 0; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--muted); font-size: .82rem; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
@media (max-width: 900px) {
  .hero-grid, .tool-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .tool-grid { grid-template-columns: repeat(2,1fr); }
  .tool-layout aside { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .side-card { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1120px); }
  .nav { padding: 10px 0; align-items: flex-start; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: .78rem; padding: 7px 6px; }
  .hero { padding-top: 44px; }
  h1 { font-size: 3rem; }
  .tool-grid { grid-template-columns: 1fr; }
  .section-head { align-items: stretch; flex-direction: column; }
  .metric-grid, .counter-grid { grid-template-columns: repeat(2,1fr); }
  .tool-shell { padding: 17px; border-radius: 17px; }
  .tool-layout aside { grid-template-columns: 1fr; }
  .inline-fields { grid-template-columns: 1fr 110px; }
  .preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
