:root {
  --ink: #071d35;
  --muted: #5b6f86;
  --blue: #0d5ea6;
  --blue2: #287bd8;
  --teal: #0f9f92;
  --mint: #e5fff8;
  --sky: #eaf7ff;
  --gold: #f2bd55;
  --line: rgba(14, 89, 152, .16);
  --paper: rgba(255, 255, 255, .82);
  --shadow: 0 30px 90px rgba(6, 32, 64, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Aptos", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 159, 146, .18), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(40, 123, 216, .22), transparent 26rem),
    linear-gradient(180deg, #eef8ff 0%, #fbfdff 42%, #f0fbf7 100%);
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 24%, rgba(13, 94, 166, .07) 24% 26%, transparent 26% 100%),
    linear-gradient(155deg, transparent 0 58%, rgba(15, 159, 146, .10) 58% 72%, transparent 72%);
}

.ambient:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32vh;
  background:
    linear-gradient(145deg, transparent 0 22%, rgba(98, 160, 232, .18) 22% 44%, transparent 44%),
    linear-gradient(160deg, transparent 0 44%, rgba(15, 159, 146, .12) 44% 60%, transparent 60%);
}

.pdf-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.pdf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.pdf-brand,
.pdf-nav a,
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 950;
}

.pdf-brand {
  gap: 12px;
  letter-spacing: -.02em;
}

.pdf-brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.78), transparent 28%),
    linear-gradient(135deg, #073763, #0d5ea6 58%, #0f9f92);
  box-shadow: 0 18px 38px rgba(13, 94, 166, .28);
}

.pdf-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pdf-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.pdf-nav a {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #0b416e;
  box-shadow: 0 12px 28px rgba(7, 29, 53, .07);
}

.pdf-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 189, 85, .28), transparent 18rem),
    radial-gradient(circle at 16% 100%, rgba(15, 159, 146, .18), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(232, 247, 255, .84));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.92);
}

.pdf-hero:before {
  content: "";
  position: absolute;
  inset: -120px -160px auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, rgba(13,94,166,.10), rgba(15,159,146,.28), rgba(242,189,85,.24), rgba(13,94,166,.10));
  filter: blur(1px);
}

.hero-copy,
.hero-console {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13,94,166,.10);
  color: var(--blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pdf-hero h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero-lead {
  max-width: 700px;
  margin: 0;
  color: #455e78;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.78;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-btn {
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #0b416e;
  box-shadow: 0 14px 34px rgba(7, 29, 53, .09);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hero-btn.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #073763, #0d5ea6 55%, #0f9f92);
  box-shadow: 0 20px 48px rgba(13, 94, 166, .28);
}

.hero-btn:hover,
.tool-card:hover,
.quick-band a:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(7, 29, 53, .15);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(13,94,166,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: #426077;
  font-size: .82rem;
  font-weight: 850;
}

.hero-console {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.20), transparent 12rem),
    linear-gradient(150deg, #073763, #0d5ea6 58%, #0f9f92);
  color: #fff;
  box-shadow: 0 28px 70px rgba(7, 29, 53, .24);
}

.console-orbit {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  margin-bottom: 18px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
}

.console-orbit:before {
  content: "PDF";
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 34px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 22px 50px rgba(0,0,0,.14);
  font-size: 1.45rem;
  font-weight: 1000;
}

.console-orbit span {
  position: absolute;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  animation: pdfOrbit 8s linear infinite;
}

.console-orbit span:nth-child(1) { width: 190px; height: 92px; transform: rotate(-18deg); }
.console-orbit span:nth-child(2) { width: 238px; height: 128px; animation-duration: 11s; animation-direction: reverse; }
.console-orbit span:nth-child(3) { width: 296px; height: 156px; animation-duration: 14s; }

@keyframes pdfOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.console-kicker {
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-console h2 {
  margin: 8px 0;
  font-size: 1.7rem;
  letter-spacing: -.04em;
}

.hero-console p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.62;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.signal-card {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.12);
}

.signal-card strong,
.signal-card span {
  display: block;
}

.signal-card strong {
  font-size: 1.28rem;
}

.signal-card span {
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
  font-weight: 850;
}

.quick-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quick-band a,
.tool-card,
.workflow-panel,
.notice-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(7, 29, 53, .09);
  backdrop-filter: blur(16px);
}

.quick-band a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 16px;
  border-radius: 24px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.quick-band a:after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,94,166,.12), transparent 68%);
}

.quick-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0d5ea6, #0f9f92);
  box-shadow: 0 14px 28px rgba(13,94,166,.18);
  font-size: .74rem;
  font-weight: 1000;
  letter-spacing: .03em;
}

.quick-icon--core-pdf { background: linear-gradient(135deg, #083a6b, #0d5ea6); }
.quick-icon--conversion { background: linear-gradient(135deg, #0e7490, #14b8a6); }
.quick-icon--office-conversion { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.quick-icon--image-tools { background: linear-gradient(135deg, #b45309, #f59e0b); }
.quick-icon--office-marking { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.quick-icon--security { background: linear-gradient(135deg, #14532d, #16a34a); }
.quick-icon--ocr { background: linear-gradient(135deg, #334155, #0f766e); }

.quick-band strong,
.quick-band span {
  display: block;
}

.quick-band .quick-icon {
  display: inline-grid;
}

.quick-band strong {
  font-size: 1.02rem;
}

.quick-band span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
  font-size: .85rem;
}

.smart-panel {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1.28fr);
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(28px, 5vw, 52px);
}

.finder-card,
.finder-controls,
.popular-panel,
.privacy-grid article {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(7, 29, 53, .09);
  backdrop-filter: blur(16px);
}

.finder-card,
.finder-controls {
  padding: 22px;
}

.finder-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.052em;
}

.finder-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.finder-controls {
  display: grid;
  gap: 14px;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: #0b416e;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(13,94,166,.20);
  border-radius: 22px;
  padding: 14px 16px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(236,249,255,.90));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px rgba(7,29,53,.06);
  font: inherit;
  font-weight: 850;
  outline: none;
}

.search-box input:focus {
  border-color: rgba(15,159,146,.58);
  box-shadow: 0 0 0 5px rgba(15,159,146,.12), inset 0 1px 0 rgba(255,255,255,.95);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(13,94,166,.16);
  border-radius: 999px;
  padding: 9px 13px;
  color: #0b416e;
  background: rgba(255,255,255,.72);
  font: inherit;
  font-size: .84rem;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.category-tabs button:hover,
.category-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #0d5ea6, #0f9f92);
  box-shadow: 0 14px 30px rgba(13,94,166,.18);
  transform: translateY(-2px);
}

.tab-icon {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0d5ea6, #0f9f92);
  font-size: .64rem;
  font-weight: 1000;
  letter-spacing: .02em;
}

.tab-icon--all { background: linear-gradient(135deg, #073763, #0f9f92); }
.tab-icon--core-pdf { background: linear-gradient(135deg, #083a6b, #0d5ea6); }
.tab-icon--conversion { background: linear-gradient(135deg, #0e7490, #14b8a6); }
.tab-icon--office-conversion { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.tab-icon--image-tools { background: linear-gradient(135deg, #b45309, #f59e0b); }
.tab-icon--office-marking { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.tab-icon--security { background: linear-gradient(135deg, #14532d, #16a34a); }
.tab-icon--ocr { background: linear-gradient(135deg, #334155, #0f766e); }

.popular-panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 32px);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.popular-card {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(13,94,166,.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(15,159,146,.14), transparent 10rem),
    rgba(255,255,255,.72);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.popular-card .rank {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #073763, #0d5ea6);
  font-weight: 1000;
}

.popular-card strong,
.popular-card small {
  display: block;
}

.popular-card strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.popular-card small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 850;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin: clamp(30px, 5vw, 58px) 0 18px;
}

.section-head.compact {
  margin-top: 0;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  --tool-a: #0d5ea6;
  --tool-b: #0f9f92;
  --tool-soft: rgba(13, 94, 166, .11);
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, var(--tool-soft), transparent 11rem),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,251,255,.78));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tool-card:after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--tool-a), var(--tool-b));
}

.tool-card--core-pdf {
  --tool-a: #083a6b;
  --tool-b: #0d5ea6;
  --tool-soft: rgba(13, 94, 166, .13);
}

.tool-card--conversion {
  --tool-a: #0e7490;
  --tool-b: #14b8a6;
  --tool-soft: rgba(20, 184, 166, .13);
}

.tool-card--office-conversion {
  --tool-a: #1d4ed8;
  --tool-b: #7c3aed;
  --tool-soft: rgba(124, 58, 237, .12);
}

.tool-card--image-tools {
  --tool-a: #b45309;
  --tool-b: #f59e0b;
  --tool-soft: rgba(245, 158, 11, .15);
}

.tool-card--office-marking {
  --tool-a: #7f1d1d;
  --tool-b: #dc2626;
  --tool-soft: rgba(220, 38, 38, .10);
}

.tool-card--security {
  --tool-a: #14532d;
  --tool-b: #16a34a;
  --tool-soft: rgba(22, 163, 74, .12);
}

.tool-card--ocr {
  --tool-a: #334155;
  --tool-b: #0f766e;
  --tool-soft: rgba(15, 118, 110, .12);
}

.tool-card[hidden],
.no-results[hidden] {
  display: none;
}

.tool-card:before {
  content: "";
  position: absolute;
  inset: auto -50px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,159,146,.15), transparent 68%);
}

.tool-top,
.tool-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-code,
.tool-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.52), transparent 24%),
    linear-gradient(135deg, var(--tool-a), var(--tool-b));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--tool-a) 28%, transparent);
  font-weight: 1000;
}

.tool-icon span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  font-size: .78rem;
  letter-spacing: .04em;
}

.tool-code-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tool-code-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tool-a) 10%, #fff);
  color: color-mix(in srgb, var(--tool-a) 86%, #071d35);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tool-badge,
.tool-bottom span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15,159,146,.10);
  color: #087367;
  font-size: .73rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tool-badge {
  background: rgba(13,94,166,.10);
  color: #0b416e;
}

.tool-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 9px;
  font-size: 1.25rem;
  letter-spacing: -.035em;
}

.tool-card p {
  position: relative;
  z-index: 1;
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tool-bottom {
  margin-top: 18px;
}

.tool-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0d5ea6, #0f9f92);
  text-decoration: none;
  font-weight: 950;
}

.no-results {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px dashed rgba(13,94,166,.26);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font-weight: 850;
  text-align: center;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(30px, 5vw, 58px);
}

.privacy-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
}

.privacy-grid article:after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,159,146,.14), transparent 68%);
}

.privacy-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #073763, #0d5ea6);
  box-shadow: 0 14px 28px rgba(13,94,166,.18);
  font-weight: 1000;
}

.privacy-grid h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -.035em;
}

.privacy-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.workflow-panel,
.notice-panel {
  margin-top: clamp(30px, 5vw, 58px);
  padding: clamp(22px, 4vw, 34px);
  border-radius: 34px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}

.workflow-grid strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #073763, #0d5ea6);
}

.workflow-grid h3 {
  margin: 14px 0 7px;
  font-size: 1rem;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.notice-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0, rgba(242,189,85,.20), transparent 18rem),
    rgba(255,255,255,.82);
}

.notice-panel h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  letter-spacing: -.05em;
}

.notice-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.office-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 22px 0 0;
  padding: 15px 17px;
  border: 1px solid rgba(15, 95, 168, .18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(15, 155, 142, .14), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(237,248,255,.76));
  box-shadow: 0 18px 42px rgba(8, 38, 72, .10);
}

.office-note strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--blue) 58%, var(--teal));
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.office-note span {
  color: #36516e;
  font-weight: 850;
  line-height: 1.55;
}

.pdf-footer {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.pdf-footer a {
  color: #0b416e;
  font-weight: 900;
}

.mobile-action-dock {
  display: none;
}

@media (max-width: 980px) {
  .pdf-hero,
  .notice-panel {
    grid-template-columns: 1fr;
  }

  .smart-panel,
  .tool-grid,
  .workflow-grid,
  .popular-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pdf-shell {
    width: min(100% - 20px, 1180px);
  }

  .pdf-topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pdf-nav,
  .hero-actions {
    flex-direction: column;
  }

  .pdf-nav a,
  .hero-btn {
    width: 100%;
  }

  .pdf-hero {
    padding: 22px;
    border-radius: 30px;
  }

  .quick-band,
  .tool-grid,
  .workflow-grid,
  .signal-grid,
  .smart-panel,
  .popular-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .office-note {
    grid-template-columns: 1fr;
  }

  .mobile-action-dock {
    position: sticky;
    z-index: 10;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(100% - 20px, 480px);
    margin: 18px auto 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 18px 46px rgba(7,29,53,.18);
    backdrop-filter: blur(18px);
  }

  .mobile-action-dock a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #0d5ea6, #0f9f92);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 950;
  }
}

/* Premium visual harmony pass - DDEE PDF Tools */
:root {
  --ink: #081f38;
  --muted: #526a83;
  --blue: #125f9f;
  --blue2: #1f8bd8;
  --teal: #0c8f86;
  --mint: #e7fbf6;
  --sky: #eef8ff;
  --gold: #d99a22;
  --line: rgba(28, 91, 141, .16);
  --paper: rgba(255, 255, 255, .88);
  --shadow: 0 30px 90px rgba(6, 34, 66, .13);
  --font-display: "Aptos Display", "Bahnschrift", "Segoe UI Variable Display", "Noto Sans", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Noto Sans", "Segoe UI", sans-serif;
  --brand-navy: #082b4c;
  --brand-blue: #1268aa;
  --brand-cyan: #20a7d8;
  --brand-teal: #0b8f86;
  --brand-cream: #fff8e8;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 10% 8%, rgba(32, 167, 216, .16), transparent 25rem),
    radial-gradient(circle at 86% 10%, rgba(11, 143, 134, .18), transparent 26rem),
    radial-gradient(circle at 52% 92%, rgba(217, 154, 34, .10), transparent 28rem),
    linear-gradient(180deg, #f0f8ff 0%, #fbfdff 48%, #f3fbf8 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pdf-brand,
.pdf-nav a,
.hero-btn,
.eyebrow,
.section-head h2,
.finder-card h2,
.popular-card strong,
.tool-card h3,
.workflow-panel h3,
.notice-panel h2,
.pdf-footer strong {
  font-family: var(--font-display);
}

.pdf-brand {
  color: #0a2c4b;
  font-weight: 900;
}

.pdf-brand small,
.trust-strip span,
.tool-card p,
.finder-card p,
.section-head p {
  color: var(--muted);
}

.pdf-brand-mark {
  border: 1px solid rgba(255,255,255,.72);
  background:
    linear-gradient(145deg, rgba(255,255,255,.40), transparent 32%),
    conic-gradient(from 210deg, #082b4c, #1268aa, #20a7d8, #0b8f86, #082b4c);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(18, 104, 170, .24), inset 0 1px 0 rgba(255,255,255,.42);
}

.pdf-nav a,
.hero-btn,
.category-tabs button,
.popular-card,
.quick-band a {
  color: #103657;
  border-color: rgba(28, 91, 141, .14);
  background: rgba(255,255,255,.82);
}

.pdf-nav a:hover,
.category-tabs button:hover {
  color: #082b4c;
  border-color: rgba(32, 167, 216, .38);
  background: rgba(245, 251, 255, .94);
}

.pdf-hero h1 {
  color: #09243e;
  letter-spacing: -.045em;
  font-family: var(--font-display);
  font-weight: 900;
}

.hero-lead {
  color: #425d77;
}

.hero-btn.primary,
.tool-bottom a,
.mobile-action-dock a {
  background:
    linear-gradient(135deg, #082b4c, #1268aa 52%, #0b8f86);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 104, 170, .24);
}

.hero-console {
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.20), transparent 13rem),
    linear-gradient(145deg, #082b4c, #1268aa 54%, #0b8f86);
}

.quick-icon,
.tab-icon,
.tool-icon,
.rank {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 14px 28px rgba(8, 43, 76, .16), inset 0 1px 0 rgba(255,255,255,.28);
}

.quick-icon,
.tab-icon {
  font-family: var(--font-display);
  letter-spacing: .035em;
}

.quick-icon--core-pdf,
.tab-icon--core-pdf,
.tool-card--core-pdf {
  --tool-a: #082b4c;
  --tool-b: #1f8bd8;
  --tool-soft: rgba(31, 139, 216, .13);
}

.quick-icon--conversion,
.tab-icon--conversion,
.tool-card--conversion {
  --tool-a: #006d77;
  --tool-b: #20c5ba;
  --tool-soft: rgba(32, 197, 186, .13);
}

.quick-icon--office-conversion,
.tab-icon--office-conversion,
.tool-card--office-conversion {
  --tool-a: #143f74;
  --tool-b: #4d8fe8;
  --tool-soft: rgba(77, 143, 232, .13);
}

.quick-icon--image-tools,
.tab-icon--image-tools,
.tool-card--image-tools {
  --tool-a: #8a5a13;
  --tool-b: #eab246;
  --tool-soft: rgba(234, 178, 70, .15);
}

.quick-icon--office-marking,
.tab-icon--office-marking,
.tool-card--office-marking {
  --tool-a: #8a3b12;
  --tool-b: #e07b22;
  --tool-soft: rgba(224, 123, 34, .14);
}

.quick-icon--security,
.tab-icon--security,
.tool-card--security {
  --tool-a: #0f513f;
  --tool-b: #1fb979;
  --tool-soft: rgba(31, 185, 121, .13);
}

.quick-icon--ocr,
.tab-icon--ocr,
.tool-card--ocr {
  --tool-a: #334155;
  --tool-b: #0f8a83;
  --tool-soft: rgba(15, 138, 131, .13);
}

.quick-icon--all,
.tab-icon--all {
  background: linear-gradient(135deg, #082b4c, #20a7d8 58%, #0b8f86);
}

.quick-icon,
.tab-icon,
.tool-icon {
  background:
    linear-gradient(145deg, rgba(255,255,255,.32), transparent 34%),
    linear-gradient(135deg, var(--tool-a, #082b4c), var(--tool-b, #0b8f86));
}

.category-tabs button.active {
  background:
    linear-gradient(135deg, #082b4c, #1268aa 58%, #0b8f86);
  color: #ffffff;
  border-color: transparent;
}

.tool-card {
  border-color: rgba(28, 91, 141, .14);
  background:
    radial-gradient(circle at 100% 0, var(--tool-soft), transparent 11rem),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,250,255,.84));
}

.tool-icon span {
  background: rgba(255,255,255,.16);
  font-family: var(--font-display);
  font-weight: 900;
}

.tool-code-line span,
.tool-badge {
  color: #174368;
  background: rgba(232, 244, 255, .88);
}

.tool-bottom a {
  border: 0;
}

.office-note strong {
  background: linear-gradient(135deg, #082b4c, #1268aa 58%, #0b8f86);
}

/* Premium Pro Upgrade: softer glass, richer icons and better motion */
:root {
  --premium-ring: rgba(32, 167, 216, .18);
  --premium-glow: 0 34px 92px rgba(8, 43, 76, .16);
  --premium-card: linear-gradient(145deg, rgba(255,255,255,.97), rgba(239,249,255,.86));
}

body {
  text-rendering: geometricPrecision;
}

.pdf-topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.74);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(235,248,255,.78)),
    rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 58px rgba(8, 43, 76, .11);
}

.pdf-brand {
  letter-spacing: -.01em;
}

.pdf-brand-mark,
.quick-icon,
.tab-icon,
.tool-icon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 18px 34px rgba(8, 43, 76, .16);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.pdf-brand-mark:before,
.quick-icon:before,
.tab-icon:before,
.tool-icon:before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 32px;
  height: 40px;
  border-radius: 9px 9px 12px 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.26));
  opacity: .20;
  transform: rotate(8deg);
  z-index: 0;
  pointer-events: none;
}

.pdf-brand-mark:after,
.quick-icon:after,
.tab-icon:after,
.tool-icon:after {
  content: "";
  position: absolute;
  inset: -55% -70% auto auto;
  width: 90%;
  height: 150%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.34), transparent);
  transform: rotate(18deg);
  z-index: 0;
  pointer-events: none;
}

.tool-icon span {
  position: relative;
  z-index: 2;
  letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0,0,0,.12);
}

.pdf-hero {
  border-color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 87% 18%, rgba(255, 210, 92, .18), transparent 15rem),
    radial-gradient(circle at 8% 14%, rgba(32, 167, 216, .22), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(233,248,255,.82));
  box-shadow: var(--premium-glow);
}

.pdf-hero:after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}

.pdf-hero h1,
.section-head h2,
.notice-panel h2 {
  text-wrap: balance;
}

.hero-lead,
.section-head p,
.tool-card p,
.popular-card span {
  line-height: 1.72;
}

.hero-btn,
.category-tabs button,
.quick-band a,
.tool-card,
.popular-card,
.workflow-panel,
.notice-panel,
.privacy-grid article,
.office-note {
  transform: translateZ(0);
}

.hero-btn {
  box-shadow: 0 18px 34px rgba(8, 43, 76, .11);
}

.hero-btn.primary {
  background:
    linear-gradient(135deg, #082b4c, #1268aa 55%, #0b8f86);
  box-shadow: 0 22px 44px rgba(18, 104, 170, .26);
}

.quick-band {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(229,246,255,.72));
  box-shadow: 0 24px 58px rgba(8, 43, 76, .10);
}

.quick-band a {
  min-height: 118px;
  border-color: rgba(28, 91, 141, .13);
  background:
    radial-gradient(circle at 100% 0, var(--tool-soft, rgba(32,167,216,.12)), transparent 8rem),
    rgba(255,255,255,.92);
}

.quick-band a:hover {
  border-color: var(--premium-ring);
  background:
    radial-gradient(circle at 100% 0, var(--tool-soft, rgba(32,167,216,.18)), transparent 10rem),
    rgba(255,255,255,.98);
}

.quick-band a:hover .quick-icon,
.category-tabs button:hover .tab-icon,
.category-tabs button.active .tab-icon,
.tool-card:hover .tool-icon {
  transform: translateY(-3px) scale(1.045) rotate(-1deg);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.52),
    0 22px 42px rgba(8, 43, 76, .21);
}

.smart-panel,
.popular-panel,
.tool-card,
.workflow-panel,
.notice-panel,
.privacy-grid article,
.office-note {
  border-color: rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 100% 0, rgba(32, 167, 216, .10), transparent 12rem),
    var(--premium-card);
  box-shadow: 0 26px 62px rgba(8, 43, 76, .11);
}

.tool-card {
  min-height: 268px;
}

.tool-card:hover {
  border-color: rgba(32, 167, 216, .32);
  background:
    radial-gradient(circle at 95% 0, var(--tool-soft), transparent 13rem),
    linear-gradient(145deg, rgba(255,255,255,1), rgba(236,249,255,.94));
}

.tool-card:before {
  opacity: .78;
}

.tool-card:after {
  background: linear-gradient(90deg, transparent, var(--tool-b, #20a7d8), transparent);
  opacity: .48;
}

.tool-code-line {
  gap: 10px;
}

.tool-code-line span,
.tool-badge {
  border: 1px solid rgba(28, 91, 141, .10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.64);
}

.category-tabs {
  gap: 12px;
}

.category-tabs button {
  box-shadow: 0 12px 28px rgba(8, 43, 76, .08);
}

.category-tabs button.active {
  box-shadow: 0 20px 40px rgba(18, 104, 170, .24);
}

.popular-card {
  border-color: rgba(28, 91, 141, .10);
  background: rgba(255,255,255,.90);
}

.popular-card:hover {
  border-color: rgba(32, 167, 216, .28);
  box-shadow: 0 18px 40px rgba(8, 43, 76, .12);
}

.office-note {
  align-items: center;
}

.office-note strong {
  box-shadow: 0 16px 30px rgba(18, 104, 170, .20);
}

@media (max-width: 720px) {
  .pdf-topbar {
    top: 6px;
    margin-top: 6px;
    border-radius: 24px;
  }

  .quick-band {
    border-radius: 24px;
  }

  .quick-band a {
    min-height: auto;
  }

  .tool-card {
    min-height: auto;
  }
}

/* Production utility additions */
.pwa-install {
  cursor: pointer;
  font: inherit;
}

.pwa-install:not([hidden]) {
  display: inline-flex;
}

.hero-btn.pwa-install {
  color: #08365e;
  border-color: rgba(242, 189, 85, .45);
  background:
    radial-gradient(circle at 100% 0, rgba(242, 189, 85, .28), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,225,.88));
}

.hero-btn.pwa-install:hover {
  box-shadow: 0 22px 44px rgba(217, 119, 6, .18);
}

.privacy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.analytics-card,
.analytics-table-wrap,
.settings-panel,
.help-panel,
.status-panel {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.analytics-card:hover,
.help-card:hover,
.tool-toggle:hover,
.status-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 167, 216, .26);
  box-shadow: 0 22px 48px rgba(8,43,76,.11);
}

@media (max-width: 1100px) {
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* Readability hotfix: keep all text above decorative effects */
.pdf-brand-mark:before,
.pdf-brand-mark:after,
.quick-icon:before,
.quick-icon:after,
.tab-icon:before,
.tab-icon:after {
  display: none;
}

.pdf-brand-mark,
.quick-icon,
.tab-icon,
.tool-icon,
.rank,
.privacy-grid span {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

.quick-band a,
.tool-card,
.popular-card,
.privacy-grid article,
.workflow-panel,
.notice-panel,
.office-note,
.finder-card,
.finder-controls,
.analytics-card,
.analytics-table-wrap,
.settings-panel,
.help-panel,
.status-panel {
  color: #09243e;
}

.quick-band strong,
.tool-card h3,
.popular-card strong,
.privacy-grid h3,
.workflow-panel h3,
.notice-panel h2,
.finder-card h2,
.section-head h2,
.analytics-card strong,
.settings-panel h1,
.help-panel h1,
.status-panel h1 {
  color: #09243e !important;
}

.quick-band a > span:not(.quick-icon),
.tool-card p,
.popular-card small,
.privacy-grid p,
.workflow-panel p,
.notice-panel p,
.office-note span,
.finder-card p,
.section-head p,
.hero-lead {
  color: #435d77 !important;
}

.category-tabs button.active,
.category-tabs button:hover {
  color: #ffffff !important;
}

.category-tabs button.active .tab-icon,
.category-tabs button:hover .tab-icon {
  color: #ffffff !important;
}

.tool-icon span {
  color: #ffffff !important;
  position: relative;
  z-index: 3;
}

/* Premium SVG icon system for the PDF Tools homepage */
.pdf-tool-svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.pdf-brand-mark .pdf-tool-svg {
  width: 30px;
  height: 30px;
}

.quick-icon .pdf-tool-svg {
  width: 24px;
  height: 24px;
}

.tab-icon .pdf-tool-svg {
  width: 18px;
  height: 18px;
}

.tool-icon .pdf-tool-svg {
  width: 30px;
  height: 30px;
}

.quick-band {
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
}

.quick-band a {
  min-height: 112px;
  padding: 18px;
  border-color: rgba(28, 91, 141, .16);
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.92), transparent 4.8rem),
    radial-gradient(circle at 100% 0, rgba(32,167,216,.13), transparent 7rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,249,255,.88));
}

.quick-band a:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.36), transparent 34%, rgba(32,167,216,.08));
  opacity: .72;
  pointer-events: none;
}

.quick-band a > * {
  position: relative;
  z-index: 1;
}

.quick-band .quick-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 4px;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 18px 34px rgba(8,43,76,.18);
}

.quick-band a:hover .quick-icon {
  transform: translateY(-4px) scale(1.07) rotate(-2deg);
}

.tool-card {
  overflow: hidden;
}

.tool-card .tool-icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    0 22px 44px color-mix(in srgb, var(--tool-a) 28%, transparent);
}

.tool-icon span {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.32), transparent 38%),
    rgba(255,255,255,.14);
}

.tool-card:hover .tool-icon .pdf-tool-svg,
.quick-band a:hover .pdf-tool-svg,
.category-tabs button:hover .pdf-tool-svg,
.category-tabs button.active .pdf-tool-svg {
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.18));
}

.tool-card:hover .tool-icon {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.56),
    0 28px 58px color-mix(in srgb, var(--tool-b) 34%, transparent);
}

.pdf-brand-mark {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.35), transparent 36%),
    linear-gradient(135deg, #082b4c, #20a7d8 55%, #0b8f86);
}

@media (max-width: 720px) {
  .quick-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-band a {
    min-height: 104px;
    padding: 15px;
  }

  .quick-band .quick-icon {
    width: 44px;
    height: 44px;
  }
}
