:root {
  --bg: #dbe1f5;
  --navy: #14172a;
  --navy2: #1d2140;
  --blue1: #3d5afe;
  --blue2: #6c8bff;
  --ink: #14172a;
  --muted: #5c6178;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }


body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(108, 139, 255, 0.45), transparent 60%),
    radial-gradient(800px 500px at 100% 35%, rgba(61, 90, 254, 0.22), transparent 60%);
  transform: translateZ(0);
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; }


.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.20));
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow:
    0 24px 60px rgba(61, 90, 254, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.panel.glass,
.f-note.glass,
.f-circle.glass {
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}


header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
}

.navpill {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(20, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  will-change: transform;
}

.logo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; }
.logo span {
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navpill nav { display: flex; gap: 6px; }
.navpill nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.navpill nav a:hover { background: rgba(20, 23, 42, 0.06); color: var(--ink); }
.navpill nav a.active { background: var(--navy); color: #fff; }

.navcta {
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(61, 90, 254, 0.3);
}

main { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }


.hero { text-align: center; padding-top: 24px; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero .lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 15px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(20, 23, 42, 0.3);
  transition: transform 0.2s;
}
.btn-dark:hover { transform: translateY(-2px); }


.stage { position: relative; margin-top: 64px; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; will-change: transform; }
.blob-a { width: 320px; height: 320px; background: #3b4fa3; opacity: 0.85; left: -50px; top: 60px; }
.blob-b { width: 280px; height: 280px; background: #6c8bff; opacity: 0.75; right: -40px; bottom: 20px; }
.blob-c { width: 200px; height: 200px; background: #a9b8ff; opacity: 0.9; right: 20%; top: -40px; }


.panel {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  min-height: 460px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; z-index: 3; }
.chip {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: background 0.2s;
}
.chip:hover { background: #fff; }


.bigword {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 10rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--navy);
  user-select: none;
}


.float { position: absolute; z-index: 3; }

.f-white {
  left: 5%; bottom: 27%;
  width: 160px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(20, 23, 42, 0.12);
}
.f-white b { display: block; font-family: 'Poppins'; font-size: 0.9rem; }
.f-white span { font-size: 0.74rem; color: var(--muted); }
.f-white .dots { display: flex; gap: 6px; margin-top: 12px; }
.f-white .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.f-white .dots i:last-child { background: var(--blue2); }

.f-dark {
  left: 17%; bottom: 20%;
  width: 150px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(20, 23, 42, 0.3);
}
.f-dark b { display: block; font-family: 'Poppins'; font-size: 0.9rem; }
.f-dark span { font-size: 0.74rem; color: #aeb4d6; }

.f-note {
  right: 5%; bottom: 24%;
  width: 240px;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
}
.f-note b { display: block; font-family: 'Poppins'; font-size: 0.85rem; margin-bottom: 6px; }
.f-note span { font-size: 0.76rem; color: var(--muted); line-height: 1.5; display: block; }

.f-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.f-circle svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c1 { top: -22px; left: 6%; }
.c2 { top: -18px; right: 9%; }
.c3 { bottom: -22px; right: 3%; }
.c4 { bottom: 34%; left: -24px; }


.bar {
  position: relative;
  z-index: 3;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(20, 23, 42, 0.14);
}
.bar .go {
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(61, 90, 254, 0.4);
}
.bar .go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


.pagehead { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.pagehead h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.02em; }
.pagehead p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

.toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

.toolcard {
  display: block;
  border-radius: 20px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(61, 90, 254, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.18s, box-shadow 0.18s;
}
.toolcard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(61, 90, 254, 0.16), inset 0 1px 0 #fff; }


.toolicon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue1), var(--blue2)); margin-bottom: 14px; }
.toolcard h2 { font-size: 0.98rem; margin-bottom: 6px; }
.toolcard p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }


.crumbs { text-align: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue1); }


.toolbox { border-radius: 28px; padding: 28px; max-width: 760px; margin: 0 auto 60px; }


.dropzone {
  display: block;
  border: 2px dashed rgba(61, 90, 254, 0.35);
  border-radius: 22px;
  padding: 52px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s, border-color 0.2s;
}
.dropzone:hover, .dropzone.drag { background: rgba(255, 255, 255, 0.7); border-color: var(--blue1); }
.dropzone input { display: none; }
.dropzone strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.1rem; margin-bottom: 6px; }
.dropzone span { font-size: 0.85rem; color: var(--muted); }

.btn-blue {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(61, 90, 254, 0.3);
}

.status { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 16px; min-height: 1.2em; }


.results { margin-top: 18px; display: grid; gap: 10px; }
.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.86rem;
  box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06);
}
.result-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.result-row a.dl {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.result-row .state { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }


.section-title { text-align: center; font-size: 1.5rem; margin-bottom: 26px; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto 60px; }
.step { border-radius: 20px; padding: 22px; text-align: center; }
.step .num {
  width: 38px; height: 38px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
}
.step h3 { font-size: 0.98rem; margin-bottom: 6px; }
.step p { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }


.faq { max-width: 760px; margin: 0 auto 40px; display: grid; gap: 10px; }
.faq details { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.faq details p { margin-top: 10px; font-size: 0.86rem; color: var(--muted); line-height: 1.6; }


.quality { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 0.86rem; }
.quality label { font-weight: 600; white-space: nowrap; }
.quality input[type="range"] { flex: 1; accent-color: var(--blue1); }
.quality output { min-width: 44px; text-align: right; font-weight: 600; color: var(--blue1); }


.result-row .left { min-width: 0; display: grid; gap: 2px; }
.result-row .info { font-size: 0.76rem; color: var(--muted); }
.result-row .saved { color: #1a8f4c; font-weight: 600; }


.hidden { display: none !important; }
.workspace { display: none; }
.workspace.show { display: block; }

.preview { background: rgba(255, 255, 255, 0.5); border-radius: 18px; padding: 12px; text-align: center; }
.preview img { display: block; max-width: 100%; max-height: 340px; margin: 0 auto; border-radius: 12px; }
.preview small { display: block; margin-top: 8px; font-size: 0.76rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { min-width: 0; background: #fff; border-radius: 14px; padding: 12px 6px; text-align: center; box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06); }
.stat span { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.stat b { font-family: 'Poppins', sans-serif; font-size: 1rem; }
.stat b.good { color: #1a8f4c; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.act { border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem; padding: 13px 28px; border-radius: 999px; text-decoration: none; text-align: center; }
.act-primary { background: linear-gradient(135deg, var(--blue1), var(--blue2)); color: #fff; box-shadow: 0 10px 24px rgba(61, 90, 254, 0.3); }
.act-download { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(20, 23, 42, 0.25); }
.act-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid rgba(20, 23, 42, 0.12); }

@media (max-width: 600px) {
  .actions .act { flex: 1 1 100%; }
  .stat b { font-size: 0.9rem; }
  .preview img { max-height: 260px; }
}


.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.field input[type="number"]:focus { outline: 2px solid var(--blue2); border-color: transparent; }

.lock { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.86rem; cursor: pointer; }
.lock input { accent-color: var(--blue1); width: 16px; height: 16px; }

.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.preset {
  border: 1px solid rgba(20, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.preset:hover { background: #fff; }


.filelist { display: grid; gap: 10px; margin-top: 14px; }
.row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(20, 23, 42, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.mini:hover { background: #eef0fb; }
.mini:disabled { opacity: 0.35; cursor: default; }
.mini.danger { color: #c0392b; }


.filelist .result-row {
  background: linear-gradient(135deg, #dfe6ff, #c9d6ff);
  border: 1px solid rgba(61, 90, 254, 0.35);
  border-left: 5px solid var(--blue1);
  box-shadow: 0 8px 20px rgba(61, 90, 254, 0.18);
}
.filelist .result-row .name { font-weight: 600; color: var(--navy); }
.filelist .result-row .info { color: #4a5278; }
.filelist .result-row .left { flex: 1; }

.pdficon {
  flex-shrink: 0;
  display: block;
  width: 30px;
  height: 36px;
  filter: drop-shadow(0 3px 6px rgba(20, 23, 42, 0.22));
}
.pdficon svg { display: block; width: 100%; height: 100%; }

.namefield { display: grid; gap: 6px; margin-top: 16px; font-size: 0.82rem; font-weight: 600; }
.namebox { display: flex; align-items: center; background: #fff; border: 1px solid #c9cfe6; border-radius: 12px; padding-right: 14px; }
.namebox:focus-within { outline: 2px solid var(--blue2); border-color: transparent; }
.namebox input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 6px 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.namebox i { font-style: normal; color: var(--muted); font-weight: 500; }

@media (max-width: 600px) {
  .filelist .result-row { padding: 10px; gap: 8px; }
  .pdficon { width: 26px; height: 31px; }
  .mini { width: 30px; height: 30px; }
  .row-actions { gap: 4px; }
}


.preset.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.hint { margin-top: 6px; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.subhead { margin-top: 20px; font-size: 0.92rem; font-weight: 700; font-family: 'Poppins', sans-serif; }


.pagegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; margin-top: 14px; }
.pg {
  min-width: 0;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dfe6ff, #c9d6ff);
  border: 1px solid rgba(61, 90, 254, 0.3);
  box-shadow: 0 6px 16px rgba(61, 90, 254, 0.14);
}
.pg.cut { border-right: 4px dashed var(--blue1); }

.pg-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 23, 42, 0.08);
}
.pg-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pg-thumb.loading::after { content: '...'; color: var(--muted); font-weight: 700; letter-spacing: 2px; }
.pg-thumb.failed::after { content: 'No preview'; color: var(--muted); font-size: 0.72rem; }

.pg-num {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.pg-tag {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--blue1);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.pg-actions { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.pg-actions .mini { display: grid; place-items: center; padding: 0; }
.pg-actions .mini svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-actions .mini.on { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 600px) {
  .pagegrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pg { padding: 6px; }
  .pg-actions .mini { width: 30px; height: 30px; }
}


.pg {
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pg-thumb img { pointer-events: none; -webkit-user-drag: none; }


.pg-del {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #c0392b;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.15s, transform 0.15s, background 0.15s, color 0.15s;
}
.pg-del svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-del:hover { background: #c0392b; color: #fff; }
.pg.tools .pg-del, .pg:focus-within .pg-del { opacity: 1; pointer-events: auto; transform: scale(1); }
@media (hover: hover) {
  .pg:hover .pg-del { opacity: 1; pointer-events: auto; transform: scale(1); }
  .pg:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(61, 90, 254, 0.22); }
}


.pg.dragging { opacity: 0.3; box-shadow: none; transform: none; }
.pg-ghost {
  position: fixed;
  z-index: 1000;
  margin: 0;
  pointer-events: none;
  opacity: 0.96;
  cursor: grabbing;
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 22px 44px rgba(20, 23, 42, 0.35);
}
body.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
body.is-dragging .pg:hover { transform: none; }
body.is-dragging .pg-del { opacity: 0 !important; }


.pg-add {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 7px;
  border: 2px dashed rgba(61, 90, 254, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.pg-add:hover, .pg-add:focus-visible { background: rgba(255, 255, 255, 0.8); border-color: var(--blue1); }
.pg-add-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 3 / 4; text-align: center; }
.pg-add-plus {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  box-shadow: 0 10px 22px rgba(61, 90, 254, 0.35);
}
.pg-add-plus svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.pg-add strong { font-family: 'Poppins', sans-serif; font-size: 0.9rem; }
.pg-add small { font-size: 0.74rem; color: var(--muted); }


.splitbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 0.86rem; }
.splitbar .lock { margin-top: 0; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper input {
  width: 64px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #c9cfe6;
  background: #fff;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.stepper input:disabled { opacity: 0.5; }


.prose { max-width: 760px; margin: 0 auto 50px; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.prose p { margin-bottom: 14px; color: var(--muted); font-size: 0.95rem; }
.prose ul { padding-left: 22px; margin-bottom: 14px; color: var(--muted); font-size: 0.95rem; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue1); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.toolcard h3 { font-size: 0.98rem; margin-bottom: 6px; }

@media (max-width: 600px) {
  .pg-del { top: 10px; right: 10px; width: 28px; height: 28px; }
  .pg-add { padding: 5px; }
  .pg-add-plus { width: 40px; height: 40px; }
  .pg-add strong { font-size: 0.82rem; }
  .prose h2 { font-size: 1.25rem; }
}


.pg-cap { margin-top: 8px; min-width: 0; text-align: center; }
.pg-cap-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.pg-cap-info { display: block; margin-top: 2px; font-size: 0.7rem; color: #4a5278; }

@media (max-width: 600px) {
  .pg-cap { margin-top: 6px; }
  .pg-cap-name { font-size: 0.72rem; }
  .pg-cap-info { font-size: 0.66rem; }
}


.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.opt { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.opt select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
}
.opt select:focus { outline: 2px solid var(--blue2); border-color: transparent; }
.opt select:disabled { opacity: 0.5; }
.hint a { color: var(--blue1); font-weight: 600; text-decoration: none; }
.hint a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opt select { padding: 10px 12px; font-size: 0.86rem; }
}


.nodrag .pg { cursor: default; }
.preset.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.bgrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; }
.bgrow input[type="color"] {
  width: 56px;
  height: 38px;
  padding: 2px;
  border-radius: 10px;
  border: 1px solid #c9cfe6;
  background: #fff;
  cursor: pointer;
}
.bgrow small { font-weight: 500; color: var(--muted); }


.qrlayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas: "main preview" "style preview";
  gap: 18px 24px;
  align-items: start;
  margin-top: 16px;
}
.qr-main { grid-area: main; min-width: 0; }
.qr-style { grid-area: style; min-width: 0; }
.qr-preview { grid-area: preview; min-width: 0; position: sticky; top: 96px; }

.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qgrid .lock { grid-column: 1 / -1; margin-top: 0; }
.qfield { display: grid; gap: 6px; min-width: 0; font-size: 0.82rem; font-weight: 600; }
.qfield.wide { grid-column: 1 / -1; }
.qfield input:not([type="color"]):not([type="checkbox"]):not([type="file"]),
.qfield textarea,
.qfield select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.qfield textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.qfield input[type="color"] {
  width: 100%;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #c9cfe6;
  background: #fff;
  cursor: pointer;
}
.qfield input:focus, .qfield textarea:focus, .qfield select:focus { outline: 2px solid var(--blue2); border-color: transparent; }
.qfield input:disabled, .qfield select:disabled { opacity: 0.5; cursor: default; }

.logorow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.logorow .act { padding: 10px 20px; font-size: 0.84rem; }
.filebtn { display: inline-block; }

.qr-card { padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(20, 23, 42, 0.1); }
.qr-card canvas { display: block; width: 100%; height: auto; border-radius: 8px; }
.qr-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.qr-empty svg { width: 64px; height: 64px; stroke: #aab3d6; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qr-preview .hint { text-align: center; }
.qr-preview .actions { margin-top: 12px; }
.qr-preview .act { flex: 1 1 120px; padding: 12px 10px; }
.qr-preview .act:disabled { opacity: 0.45; cursor: default; }
.warn { margin-top: 8px; font-size: 0.78rem; line-height: 1.5; color: #b45309; text-align: center; }

@media (max-width: 720px) {
  .qrlayout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "preview" "style"; }
  .qr-preview { position: static; width: 100%; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .qgrid { grid-template-columns: 1fr; }
  .qgrid.keep2 { grid-template-columns: 1fr 1fr; }
}


.qr-preview { position: static; }
.qr-preview .namefield { grid-template-columns: minmax(0, 1fr); }
.qr-preview .namebox { min-width: 0; max-width: 100%; }
.qr-preview .namebox input { width: 100%; }
.qr-style .qgrid > div.qfield { order: -1; }


.ytlabel { display: block; margin-bottom: 8px; font-size: 0.86rem; font-weight: 700; }
.ytrow { display: flex; flex-wrap: wrap; gap: 10px; }
.ytrow input[type="text"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.ytrow input[type="text"]:focus { outline: 2px solid var(--blue2); border-color: transparent; }
.ytrow .act { padding: 13px 22px; }

.ytresult { margin-top: 22px; }
.ytmeta { margin-bottom: 14px; font-size: 0.86rem; line-height: 1.6; color: var(--muted); }
.ytmeta a { color: var(--blue1); font-weight: 600; text-decoration: none; }
.ytmeta a:hover { text-decoration: underline; }

.thumbgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; margin-top: 14px; }
.thumbcard {
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dfe6ff, #c9d6ff);
  border: 1px solid rgba(61, 90, 254, 0.3);
  box-shadow: 0 6px 16px rgba(61, 90, 254, 0.14);
}
.thumbimg { position: relative; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 23, 42, 0.08); }
.thumbimg img { display: block; width: 100%; height: auto; }
.thumbimg.loading, .thumbimg.missing { aspect-ratio: 16 / 9; }
.thumbimg.loading img { opacity: 0; }
.thumbimg.missing img { display: none; }
.thumbimg.loading::after, .thumbimg.missing::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.thumbimg.loading::after { content: 'Loading...'; }
.thumbimg.missing::after { content: 'Not available for this video'; }
.thumbtag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue1);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}
.thumbinfo { margin: 10px 2px 8px; min-width: 0; }
.thumbinfo strong { display: block; font-family: 'Poppins', sans-serif; font-size: 0.9rem; }
.thumbinfo span { display: block; margin-top: 2px; font-size: 0.74rem; line-height: 1.4; color: #4a5278; }
.thumbcard .actions { margin-top: 0; }
.thumbcard .act { flex: 1 1 100px; padding: 10px 14px; font-size: 0.82rem; }
.thumbcard .act:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 600px) {
  .ytrow .act { flex: 1 1 120px; }
}


.thumbmain { max-width: 560px; margin: 18px auto 0; }
.ytresult .subhead { margin-top: 16px; }
.ytresult .subhead:first-child { margin-top: 0; }


.toolgrid + .section-title { margin-top: 42px; }


.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc-inputs, .calc-results { min-width: 0; }

.cfield { margin-top: 16px; }
.cfield-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cfield-head label, .cfield-head > span { font-size: 0.84rem; font-weight: 700; }

.igroup { display: flex; align-items: stretch; overflow: hidden; border-radius: 12px; border: 1px solid #c9cfe6; background: #fff; }
.igroup:focus-within { outline: 2px solid var(--blue2); border-color: transparent; }
.igroup > span { display: flex; align-items: center; padding: 0 12px; background: #eef0fb; color: var(--muted); font-size: 0.86rem; font-weight: 700; white-space: nowrap; }
.igroup input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.cfield input[type="range"] { display: block; width: 100%; margin-top: 12px; accent-color: var(--blue1); }
.ferr { margin-top: 6px; font-size: 0.78rem; line-height: 1.4; color: #c0392b; }
.ferr:empty { display: none; }

.seg { display: inline-flex; overflow: hidden; border-radius: 999px; border: 1px solid rgba(20, 23, 42, 0.15); background: rgba(255, 255, 255, 0.7); }
.seg button { border: none; background: transparent; padding: 6px 14px; font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.seg button.active { background: var(--navy); color: #fff; }

.emi-hero {
  padding: 22px 18px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: 0 12px 28px rgba(20, 23, 42, 0.25);
}
.emi-hero > span { display: block; font-size: 0.8rem; color: #c7cbe0; }
.emi-hero > b { display: block; margin-top: 6px; font-family: 'Poppins', sans-serif; font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.emi-hero > small { display: block; margin-top: 8px; font-size: 0.78rem; line-height: 1.5; color: #c7cbe0; }

.rlist { display: grid; margin-top: 14px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06); }
.rlist > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef0fb; font-size: 0.88rem; }
.rlist > div:last-child { border-bottom: none; }
.rlist span { color: var(--muted); }
.rlist b { font-family: 'Poppins', sans-serif; text-align: right; overflow-wrap: anywhere; }

.donutrow { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06); }
.donut { flex: 0 0 120px; width: 120px; height: 120px; }
.legend { flex: 1; display: grid; gap: 10px; min-width: 0; font-size: 0.86rem; }
.legend > div { display: flex; align-items: center; gap: 8px; }
.legend i { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; }
.legend i.dot-p { background: #3d5afe; }
.legend i.dot-i { background: #ffb020; }
.legend b { margin-left: auto; padding-left: 8px; font-family: 'Poppins', sans-serif; }

.savebox { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #e7f8ee; color: #14532d; font-size: 0.86rem; line-height: 1.55; }

.sched-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 26px 0 12px; }
.sched-head .subhead { margin: 0; }
.sched-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sched-tools .act { padding: 8px 18px; font-size: 0.8rem; }
.sched-tools .act:disabled { opacity: 0.45; cursor: default; }

.tablewrap { max-height: 460px; overflow: auto; border-radius: 14px; background: #fff; border: 1px solid rgba(61, 90, 254, 0.18); }
.tablewrap:focus-visible { outline: 2px solid var(--blue2); }
.tablewrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.82rem; }
.tablewrap th, .tablewrap td { padding: 10px 12px; text-align: right; white-space: nowrap; }
.tablewrap th:first-child, .tablewrap td:first-child { text-align: left; }
.tablewrap thead th { position: sticky; top: 0; z-index: 1; background: #eef1ff; font-weight: 700; }
.tablewrap tbody tr:nth-child(even) { background: #f6f8ff; }

@media (max-width: 820px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .donutrow { flex-direction: column; align-items: center; }
  .legend { width: 100%; }
}


.bmi-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.bmi-badge.cat-under { background: #dbeafe; color: #1e3a8a; }
.bmi-badge.cat-normal { background: #dcfce7; color: #14532d; }
.bmi-badge.cat-over { background: #fef3c7; color: #78350f; }
.bmi-badge.cat-obese { background: #fee2e2; color: #7f1d1d; }

.bmi-scale-card {
  margin-top: 14px;
  padding: 16px 14px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06);
}
.bmi-track-wrap {
  position: relative;
  padding-top: 14px;
}
.bmi-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--navy);
  transform: translateX(-50%);
  transition: left 0.15s ease-out;
}
.bmi-bar {
  display: grid;
  grid-template-columns: 18fr 26fr 20fr 36fr;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
}
.bmi-bar > span:nth-child(1) { background: #60a5fa; }
.bmi-bar > span:nth-child(2) { background: #22c55e; }
.bmi-bar > span:nth-child(3) { background: #f59e0b; }
.bmi-bar > span:nth-child(4) { background: #ef4444; }
.bmi-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.bmi-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  font-size: 0.74rem;
  text-align: center;
  color: var(--ink);
}
.bmi-legend > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.bmi-legend i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.bmi-legend i.b-under { background: #60a5fa; }
.bmi-legend i.b-normal { background: #22c55e; }
.bmi-legend i.b-over { background: #f59e0b; }
.bmi-legend i.b-obese { background: #ef4444; }
.tablewrap tbody tr.active-row {
  background: #e0e7ff !important;
  font-weight: 600;
}
@media (max-width: 480px) {
  .bmi-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.ucat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ucat-bar button {
  border: 1px solid rgba(20, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ucat-bar button:hover {
  background: #fff;
}
.ucat-bar button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.u-swap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}
.u-formula {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
}
.u-formula strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}


.st-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 24px;
  align-items: start;
}
.st-box-editor {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.st-box-controls {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
.st-box-fonts {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}
.ud-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.st-textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  resize: vertical;
  outline: none;
}
.st-textarea:focus {
  outline: 2px solid var(--blue2);
  border-color: transparent;
}
.st-sel-banner {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #eef1ff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}
.st-sel-banner.is-active {
  background: #dcfce7;
  color: #14532d;
}
.st-sym-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.st-sym-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(20, 23, 42, 0.14);
  background: #fff;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
}
.st-sym-btn:hover {
  background: #eef1ff;
  transform: translateY(-1px);
}
.st-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 10px;
}
.st-side-head strong {
  font-size: 0.86rem;
}
.st-side-head span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}
.st-font-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.st-font-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(61, 90, 254, 0.14);
  box-shadow: 0 4px 12px rgba(20, 23, 42, 0.04);
  transition: border-color 0.15s ease;
}
.st-font-item:hover {
  border-color: var(--blue2);
}
.st-font-info {
  flex: 1;
  min-width: 0;
}
.st-font-name {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.st-font-preview {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.st-font-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.st-btn-mini {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 23, 42, 0.18);
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.st-btn-mini:hover {
  background: #eef1ff;
}
.st-btn-mini.st-btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.st-btn-mini.st-btn-primary:hover {
  background: var(--blue1);
  border-color: var(--blue1);
}
@media (max-width: 820px) {
  .st-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .st-box-editor,
  .st-box-fonts,
  .st-box-controls {
    grid-column: 1;
    grid-row: auto;
  }
}


.pw-hero {
  padding: 22px 18px 18px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: 0 12px 28px rgba(20, 23, 42, 0.25);
}
.pw-hero > span { display: block; font-size: 0.8rem; color: #c7cbe0; }
.pw-hero > small { display: block; margin-top: 10px; min-height: 1.2em; font-size: 0.8rem; line-height: 1.5; color: #c7cbe0; }

.pw-out {
  margin-top: 12px;
  min-height: 2.4em;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: clamp(1.1rem, 3.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}
.pw-out .pw-d { color: #8fb0ff; }
.pw-out .pw-s { color: #ffcf6b; }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 320px; margin: 14px auto 0; }
.pw-meter i { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); transition: background 0.2s; }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: #ef4444; }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #84cc16; }
.pw-meter[data-level="4"] i:nth-child(-n+4) { background: #22c55e; }

.pw-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pw-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #c9cfe6;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.pw-opt:focus-within { outline: 2px solid var(--blue2); border-color: transparent; }
.pw-opt input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--blue1); }
.pw-opt small { display: block; margin-top: 2px; font-size: 0.74rem; font-weight: 500; color: var(--muted); }

@media (max-width: 360px) {
  .pw-opts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-meter i { transition: none; }
}


.wc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wc-card {
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 23, 42, 0.06);
  text-align: center;
}
.wc-card.wc-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: 0 12px 24px rgba(20, 23, 42, 0.2);
}
.wc-card > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.wc-card.wc-primary > span {
  color: #c7cbe0;
}
.wc-card > b {
  display: block;
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.wc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.wc-tool-btn {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(20, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.wc-tool-btn:hover {
  background: #fff;
  border-color: var(--blue2);
}
.wc-limit-ok {
  color: #14532d;
}
.wc-limit-over {
  color: #c0392b;
}


.tp-ribbon {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(61, 90, 254, 0.16);
  box-shadow: 0 6px 18px rgba(20, 23, 42, 0.05);
}
.tp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tp-select {
  flex: 1 1 120px;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}
.tp-select:focus {
  outline: 2px solid var(--blue2);
  border-color: transparent;
}
.tp-font-select {
  flex: 2 1 170px;
}
.tp-group {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #eef1ff;
}
.tp-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.tp-btn:hover {
  background: #fff;
}
.tp-btn.active {
  background: var(--navy);
  color: #fff;
}
.tp-color-wrap {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}
.tp-color-wrap:hover {
  background: #fff;
}
.tp-color-wrap input[type="color"] {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid rgba(20, 23, 42, 0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.tp-findbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e6f8;
}
.tp-findbar input[type="text"] {
  flex: 1 1 140px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #c9cfe6;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
}
.tp-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 2px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.tp-stage {
  padding: 18px;
  border-radius: 16px;
  background: #e4e8f7;
  overflow-x: auto;
}
.tp-paper {
  width: 100%;
  max-width: 794px;
  min-height: 560px;
  margin: 0 auto;
  padding: 48px 54px;
  border-radius: 6px;
  background: #ffffff;
  color: #14172a;
  box-shadow: 0 10px 28px rgba(20, 23, 42, 0.12);
  font-family: Calibri, 'Inter', sans-serif;
  font-size: 12pt;
  line-height: 1.5;
  outline: none;
  overflow-wrap: break-word;
}
.tp-paper:focus {
  box-shadow: 0 0 0 2px var(--blue2), 0 10px 28px rgba(20, 23, 42, 0.14);
}
.tp-paper h1 { font-size: 22pt; line-height: 1.25; margin: 0 0 10px; }
.tp-paper h2 { font-size: 16pt; line-height: 1.3; margin: 14px 0 8px; }
.tp-paper h3 { font-size: 13pt; line-height: 1.35; margin: 12px 0 6px; }
.tp-paper p { margin: 0 0 10px; }
.tp-paper ul, .tp-paper ol { margin: 0 0 12px 24px; padding: 0; }
.tp-paper li { margin-bottom: 4px; }
.tp-paper blockquote {
  margin: 10px 0;
  padding: 8px 14px;
  border-left: 4px solid #3d5afe;
  background: #f6f8ff;
  color: #333a56;
}
.tp-export-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 16px;
  align-items: end;
}
@media (max-width: 640px) {
  .tp-stage { padding: 10px; }
  .tp-paper { padding: 26px 22px; min-height: 420px; }
  .tp-select { flex: 1 1 45%; }
  .tp-font-select { flex: 1 1 45%; }
}


.hero + .section-title { margin-top: 88px; }
@media (max-width: 600px) {
  .hero + .section-title { margin-top: 56px; }
}


.toolcard.soon { position: relative; cursor: default; }
.toolcard.soon:hover { transform: none; box-shadow: 0 10px 30px rgba(61, 90, 254, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.toolcard.soon .toolicon { background: linear-gradient(135deg, #a9b1d6, #c9cfe6); }
.soon-tag { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.66rem; font-weight: 700; }

@media (max-width: 600px) {
  .soon-tag { top: 10px; right: 10px; padding: 2px 8px; font-size: 0.6rem; }
  .toolcard h3 { font-size: 0.86rem; line-height: 1.25; overflow-wrap: anywhere; }
}


.toolgrid + .prose { margin-top: 64px; }


.toolgrid + .section-title { margin-top: 56px; }
.steps.textcards { max-width: 1000px; }
.steps.textcards .step { text-align: left; }
.steps.textcards .step p { line-height: 1.6; }
.steps.textcards .step a { color: var(--blue1); font-weight: 600; text-decoration: none; }
.steps.textcards .step a:hover { text-decoration: underline; }


.nf-code {
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.nf-actions { justify-content: center; margin-top: 22px; }
.nf-note { max-width: 560px; margin: 8px auto 0; text-align: center; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


.toolicon { position: relative; }
.toolicon[class*=" i-"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  -webkit-mask: var(--ic) center / 22px 22px no-repeat;
  mask: var(--ic) center / 22px 22px no-repeat;
}
@media (max-width: 600px) {
  .toolicon[class*=" i-"]::after {
    -webkit-mask-size: 18px 18px;
    mask-size: 18px 18px;
  }
}
.i-merge-pdf { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l9 5-9 5-9-5 9-5z%22/%3E%3Cpath d=%22M3 13l9 5 9-5%22/%3E%3C/svg%3E"); }
.i-split-pdf { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%223%22 width=%2216%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M12 3v18%22 stroke-dasharray=%222 3%22/%3E%3C/svg%3E"); }
.i-jpg-to-pdf { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Ccircle cx=%229%22 cy=%2210%22 r=%221.6%22/%3E%3Cpath d=%22M21 16l-5-5-8 8%22/%3E%3C/svg%3E"); }
.i-text-to-pdf { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h8l4 4v14H6z%22/%3E%3Cpath d=%22M14 3v4h4%22/%3E%3Cpath d=%22M9 12h6M9 16h6%22/%3E%3C/svg%3E"); }
.i-heic-to-jpg { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%227%22 y=%222%22 width=%2210%22 height=%2220%22 rx=%222%22/%3E%3Cpath d=%22M11 18h2%22/%3E%3C/svg%3E"); }
.i-webp-to-png { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8h13l-3-3%22/%3E%3Cpath d=%22M20 16H7l3 3%22/%3E%3C/svg%3E"); }
.i-image-compressor { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 14h6v6%22/%3E%3Cpath d=%22M20 10h-6V4%22/%3E%3Cpath d=%22M14 10l7-7%22/%3E%3Cpath d=%22M3 21l7-7%22/%3E%3C/svg%3E"); }
.i-image-resizer { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 9V4h5%22/%3E%3Cpath d=%22M20 9V4h-5%22/%3E%3Cpath d=%22M4 15v5h5%22/%3E%3Cpath d=%22M20 15v5h-5%22/%3E%3C/svg%3E"); }
.i-qr-code-generator { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Cpath d=%22M14 14h2v2h-2zM19 14h2M14 19h2M18 18h3v3h-3z%22/%3E%3C/svg%3E"); }
.i-youtube-thumbnail-downloader { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%223%22/%3E%3Cpath d=%22M10 9.5v5l4.5-2.5z%22/%3E%3C/svg%3E"); }
.i-emi-calculator { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%223%22 width=%2214%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M8.5 7h7%22/%3E%3Cpath d=%22M8.5 12h.01M12 12h.01M15.5 12h.01M8.5 16h.01M12 16h.01M15.5 16h.01%22/%3E%3C/svg%3E"); }
.i-bmi-calculator { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 12h4l2-5 4 10 2-5h6%22/%3E%3C/svg%3E"); }
.i-unit-converter { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%228%22 width=%2218%22 height=%228%22 rx=%221.5%22/%3E%3Cpath d=%22M7 8v3M11 8v4M15 8v3M19 8v2%22/%3E%3C/svg%3E"); }
.i-password-generator { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%2210%22 rx=%222%22/%3E%3Cpath d=%22M8 11V8a4 4 0 018 0v3%22/%3E%3Cpath d=%22M12 15v2%22/%3E%3C/svg%3E"); }
.i-word-counter { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 7V5h16v2%22/%3E%3Cpath d=%22M12 5v14%22/%3E%3Cpath d=%22M9 19h6%22/%3E%3C/svg%3E"); }
.i-stylish-text-generator { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z%22/%3E%3Cpath d=%22M19 16v4M17 18h4%22/%3E%3C/svg%3E"); }
.i-documents { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3C/svg%3E"); }
.i-downloader { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v11%22/%3E%3Cpath d=%22M7 11l5 5 5-5%22/%3E%3Cpath d=%22M5 20h14%22/%3E%3C/svg%3E"); }
.i-shortener { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 13a4 4 0 005.66 0l3-3a4 4 0 00-5.66-5.66l-1 1%22/%3E%3Cpath d=%22M14 11a4 4 0 00-5.66 0l-3 3a4 4 0 005.66 5.66l1-1%22/%3E%3C/svg%3E"); }
.i-about { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 11v5%22/%3E%3Cpath d=%22M12 8h.01%22/%3E%3C/svg%3E"); }
.i-contact { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 7l9 6 9-6%22/%3E%3C/svg%3E"); }
.i-pdf-to-word { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h8l4 4v14H6z%22/%3E%3Cpath d=%22M14 3v4h4%22/%3E%3Cpath d=%22M9 15h6%22/%3E%3Cpath d=%22M13 12.5l2.5 2.5-2.5 2.5%22/%3E%3C/svg%3E"); }
.i-word-to-pdf { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h8l4 4v14H6z%22/%3E%3Cpath d=%22M14 3v4h4%22/%3E%3Cpath d=%22M15 15H9%22/%3E%3Cpath d=%22M11 12.5L8.5 15l2.5 2.5%22/%3E%3C/svg%3E"); }
.i-youtube-downloader { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%223%22/%3E%3Cpath d=%22M10 9.5v5l4.5-2.5z%22/%3E%3C/svg%3E"); }
.i-tiktok-downloader { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 18V6l10-2v12%22/%3E%3Ccircle cx=%226.5%22 cy=%2218%22 r=%222.5%22/%3E%3Ccircle cx=%2216.5%22 cy=%2216%22 r=%222.5%22/%3E%3C/svg%3E"); }
.i-pinterest-video-downloader { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-6-5.2-6-10a6 6 0 0112 0c0 4.8-6 10-6 10z%22/%3E%3Ccircle cx=%2212%22 cy=%2211%22 r=%222%22/%3E%3C/svg%3E"); }
.i-url-shortener { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 13a4 4 0 005.66 0l3-3a4 4 0 00-5.66-5.66l-1 1%22/%3E%3Cpath d=%22M14 11a4 4 0 00-5.66 0l-3 3a4 4 0 005.66 5.66l1-1%22/%3E%3C/svg%3E"); }
.i-custom-short-link { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20h4l11-11a2.8 2.8 0 00-4-4L4 16z%22/%3E%3C/svg%3E"); }


@media (max-width: 600px) {
  .toolbox { padding: 14px; border-radius: 22px; margin-bottom: 40px; }
  .dropzone { padding: 34px 14px; border-radius: 18px; }
  .dropzone strong { font-size: 1rem; }
  .section-title { font-size: 1.25rem; margin-bottom: 18px; }
  .steps { margin-bottom: 40px; }
  .step { padding: 18px; }
  .faq details { padding: 14px 16px; }
}


@media (max-width: 860px) {
  .navcta { display: none; }
  .f-white, .f-dark, .f-note, .c4 { display: none; }
  .panel { min-height: 380px; }
}


@media (max-width: 600px) {
  main { padding: 20px 14px 56px; }

  header { padding: 10px 12px; }
  .navpill {
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 8px;
    border-radius: 26px;
  }
  .logo { font-size: 1.05rem; }
  .navpill nav { width: 100%; gap: 2px; }
  .navpill nav a {
    flex: 1;
    text-align: center;
    padding: 8px 2px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .pagehead { margin-bottom: 28px; }
  .pagehead p { font-size: 0.92rem; }

  .toolgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .toolgrid > * { min-width: 0; }
  .toolcard { padding: 14px; border-radius: 16px; }
  .toolicon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
  .toolcard h2 { font-size: 0.86rem; line-height: 1.25; overflow-wrap: anywhere; }
  .toolcard p { font-size: 0.74rem; }

  .hero { padding-top: 8px; }
  .hero .lead { font-size: 0.95rem; }
  .stage { margin-top: 48px; }
  .panel { min-height: 340px; padding: 18px; border-radius: 26px; }
  .bigword { font-size: clamp(2.6rem, 14.5vw, 5rem); }
  .chip { padding: 7px 14px; font-size: 0.76rem; }
  .bar { padding: 6px 6px 6px 20px; font-size: 0.82rem; }
  .bar .go { width: 40px; height: 40px; }
  .f-circle { width: 46px; height: 46px; }
  .f-circle svg { width: 18px; height: 18px; }
  .c1 { top: -18px; left: 4%; }
  .c2 { top: -14px; right: 6%; }
  .c3 { bottom: -18px; right: 3%; }
  .blob-a { width: 220px; height: 220px; left: -20px; }
  .blob-b { width: 200px; height: 200px; right: -20px; }
  .blob-c { width: 140px; height: 140px; }
}


@media (max-width: 360px) {
  .navpill nav a { font-size: 0.72rem; }
}


.site-footer {
  max-width: 1100px;
  margin: 56px auto 28px;
  padding: 32px 28px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 32px rgba(20, 23, 42, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-brand .logo {
  font-size: 1.35rem;
}
.footer-brand p {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}
.footer-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}
.footer-col h3 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.footer-col a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--blue1);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 23, 42, 0.1);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom p {
  margin: 0;
}
.legal-meta {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(61, 90, 254, 0.16);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding: 24px 18px 18px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}