/* ── Custom Properties ─────────────────────────────── */
:root {
  --md-blue-dark:      #0a3880;
  --md-blue:           #1a73e8;
  --md-blue-light:     #e8f0fe;
  --md-blue-tonal:     #d2e3fc;
  --md-red:            #ea4335;
  --md-red-surface:    #fce8e6;
  --md-green:          #34a853;
  --md-green-surface:  #e6f4ea;
  --md-yellow:         #fbbc04;
  --md-yellow-surface: #fef7e0;

  --tool-color:   #1a73e8;
  --tool-surface: #e8f0fe;

  --md-surface:    #f0f4ff;
  --md-on-surface: #202124;
  --md-subtle:     #5f6368;
  --md-muted:      #9aa0a6;
  --md-outline:    #dadce0;
  --md-white:      #ffffff;

  --md-success:         #34a853;
  --md-success-surface: #e6f4ea;
  --md-error:           #ea4335;
  --md-error-surface:   #fce8e6;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-pill: 9999px;

  --elev-1:   0 1px 3px rgba(0,0,0,.08);
  --elev-2:   0 2px 10px rgba(0,0,0,.07);
  --elev-3:   0 4px 24px rgba(26,115,232,.15);
  --elev-4:   0 8px 24px rgba(0,0,0,.12);
  --elev-btn: 0 2px 10px rgba(26,115,232,.35);
  --elev-fab: 0 4px 16px rgba(26,115,232,.4);
  --max-w: 1200px;
}

body.tool-blue   { --tool-color: #1a73e8; --tool-surface: #e8f0fe; }
body.tool-red    { --tool-color: #ea4335; --tool-surface: #fce8e6; }
body.tool-green  { --tool-color: #34a853; --tool-surface: #e6f4ea; }
body.tool-yellow { --tool-color: #fbbc04; --tool-surface: #fef7e0; }

/* ── Reset & Base ──────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Roboto', system-ui, sans-serif;
  background: var(--md-surface);
  color: var(--md-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--md-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1; display: inline-block; vertical-align: middle; user-select: none;
}

/* ── Navigation ────────────────────────────────────── */
.nav {
  background: linear-gradient(135deg, #0a3880 0%, #1a73e8 100%);
  position: sticky; top: 0; z-index: 100;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 58px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.15rem; font-weight: 700; color: var(--md-white);
  text-decoration: none; letter-spacing: -.01em;
}
.nav__logo:hover { text-decoration: none; }
.nav__logo-pill {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav__logo-pill .material-symbols-rounded { font-size: 20px; color: var(--md-white); }
.nav__links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav__links a {
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(255,255,255,.15); color: var(--md-white); text-decoration: none; }
.nav__links a.active { color: var(--md-white); }
.nav__hamburger {
  display: none; background: none; border: none; color: var(--md-white);
  padding: 6px; border-radius: 50%; transition: background .15s; line-height: 1;
}
.nav__hamburger:hover { background: rgba(255,255,255,.15); }
.nav__hamburger .material-symbols-rounded { font-size: 24px; }
.nav__drawer {
  display: none;
  background: linear-gradient(135deg, #0a3880 0%, #1a73e8 100%);
  padding: 8px 0 16px;
}
.nav__drawer.open { display: block; }
.nav__drawer ul { list-style: none; }
.nav__drawer a {
  display: block; padding: 12px 24px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: background .15s;
}
.nav__drawer a:hover { background: rgba(255,255,255,.1); text-decoration: none; color: white; }
/* ── Hero (homepage) ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a3880 0%, #1a73e8 100%);
  text-align: center; padding: 56px 24px 48px;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 5px 16px; margin-bottom: 20px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  color: var(--md-white); letter-spacing: -.02em; line-height: 1.15;
}
.hero__title em { color: #fdd663; font-style: normal; }
.hero__sub { margin-top: 12px; font-size: 1.05rem; color: rgba(255,255,255,.82); }
.hero__trust {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 24px;
}
.hero__trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .85rem; color: rgba(255,255,255,.75);
}
.hero__trust-item .material-symbols-rounded { font-size: 16px; }

/* ── Tool Grid ─────────────────────────────────────── */
.tool-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 32px 0 48px;
}
.tool-card {
  border-radius: var(--radius-xl); padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
  animation: fade-up .4s cubic-bezier(.4,0,.2,1) both;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--elev-4); text-decoration: none; }
.tool-card:active { transform: translateY(-1px); }
.tool-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tool-card__icon .material-symbols-rounded { font-size: 24px; color: var(--md-white); }
.tool-card__name {
  font-family: 'Google Sans', system-ui, sans-serif; font-size: .9rem; font-weight: 700; color: var(--md-on-surface);
}
.tool-card__desc { font-size: .775rem; color: var(--md-subtle); line-height: 1.4; }

/* ── Trust Bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--md-white); border-radius: var(--radius-lg);
  box-shadow: var(--elev-1); padding: 20px 24px;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
}
.trust-bar__item { display: flex; align-items: center; gap: 8px; font-size: .825rem; color: var(--md-subtle); }
.trust-bar__item .material-symbols-rounded { font-size: 17px; color: var(--md-blue); }
.trust-bar__item strong {
  font-family: 'Google Sans', system-ui, sans-serif; font-weight: 700; color: var(--md-on-surface);
}
/* ── Tool Page Hero ────────────────────────────────── */
.tool-hero {
  background: linear-gradient(135deg, #0a3880 0%, #1a73e8 100%);
  padding: 28px 24px; text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.tool-hero__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700;
  color: var(--md-white); letter-spacing: -.01em;
}
.tool-hero__sub { margin-top: 6px; font-size: .9rem; color: rgba(255,255,255,.82); }

/* ── Workspace Card ────────────────────────────────── */
.tool-workspace {
  background: var(--md-white); border-radius: var(--radius-2xl);
  box-shadow: var(--elev-3); padding: 24px;
  max-width: 640px; margin: 24px auto;
  animation: fade-in .2s ease both;
}

/* ── Step Chips ────────────────────────────────────── */
.steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 16px; }
.step {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .82rem; font-weight: 500;
  background: #f1f3f4; color: var(--md-subtle); border: none;
  transition: background .2s, color .2s;
}
.step .material-symbols-rounded { font-size: 16px; }
.step.active { background: var(--tool-surface); color: var(--tool-color); font-weight: 700; }
.step.done   { background: var(--md-green-surface); color: var(--md-green); }

/* ── Dropzone ──────────────────────────────────────── */
.dropzone {
  border: 2.5px dashed var(--tool-color); border-radius: 18px; padding: 40px 24px;
  text-align: center; cursor: pointer; background: #f8fbff;
  transition: border-style .25s cubic-bezier(.4,0,.2,1),
              background .25s cubic-bezier(.4,0,.2,1),
              transform .25s cubic-bezier(.4,0,.2,1),
              box-shadow .25s cubic-bezier(.4,0,.2,1);
}
.dropzone:hover { background: rgba(26,115,232,.04); }
.dropzone.dragover {
  border-style: solid; background: rgba(26,115,232,.06);
  transform: scale(1.02); box-shadow: 0 0 0 4px rgba(26,115,232,.12);
}
.dropzone__icon {
  display: flex; justify-content: center; margin-bottom: 12px;
}
.dropzone__icon .material-symbols-rounded {
  font-size: 52px; color: var(--md-muted);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), color .25s;
}
.dropzone.dragover .dropzone__icon .material-symbols-rounded {
  transform: translateY(-4px) scale(1.15); color: var(--tool-color);
}
.dropzone__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--md-on-surface); margin-bottom: 6px;
}
.dropzone__hint { font-size: .825rem; color: var(--md-muted); }
.dropzone__btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--tool-color); color: var(--md-white);
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .875rem; font-weight: 700; border: none;
  box-shadow: var(--elev-btn); position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.dropzone__btn:hover { transform: translateY(-1px); box-shadow: var(--elev-fab); }
.dropzone__btn .material-symbols-rounded { font-size: 18px; }
.dropzone__trust { margin-top: 14px; font-size: .775rem; color: var(--md-muted); }
/* ── File List ─────────────────────────────────────── */
.file-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--md-white); border: 1.5px solid var(--md-outline);
  border-radius: var(--radius-md); padding: 10px 14px;
  font-size: .875rem; cursor: grab; user-select: none;
  transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
}
.file-item.dragging { transform: scale(1.02); box-shadow: var(--elev-4); border-color: var(--md-blue); background: var(--md-blue-light); }
.file-item.drag-over { border-color: var(--md-blue); background: var(--md-blue-light); }
.file-item__drag { color: var(--md-muted); cursor: grab; display: flex; align-items: center; }
.file-item__drag .material-symbols-rounded { font-size: 20px; }
.file-item__name { flex: 1; font-weight: 500; color: var(--md-on-surface); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { color: var(--md-muted); font-size: .775rem; white-space: nowrap; }
.file-item__remove {
  color: var(--md-muted); border: none; background: none;
  padding: 4px; border-radius: 50%; line-height: 1;
  display: flex; align-items: center;
  transition: color .15s, background .15s;
}
.file-item__remove:hover { color: var(--md-error); background: var(--md-error-surface); }
.file-item__remove .material-symbols-rounded { font-size: 18px; }

/* Skeleton shimmer — applied to file-list items while processing */
.file-item--skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-color: transparent; height: 52px;
}
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position:  400px 0; }
}

/* ── Action Button ─────────────────────────────────── */
.btn-action {
  width: 100%; margin-top: 20px; padding: 15px;
  background: linear-gradient(135deg, #0a3880, #1a73e8);
  color: var(--md-white); border: none; border-radius: var(--radius-pill);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: var(--elev-fab); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .15s, transform .15s;
}
.btn-action:hover:not(:disabled) { transform: translateY(-1px); }
.btn-action:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-action .material-symbols-rounded { font-size: 20px; }
/* ── Progress ──────────────────────────────────────── */
.progress-wrap { display: none; margin-top: 20px; text-align: center; }
.progress-wrap.active { display: block; }
.progress-label {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .9rem; font-weight: 600; color: var(--md-blue); margin-bottom: 14px;
}

/* MD3 circular spinner */
.md-spinner { width: 48px; height: 48px; margin: 0 auto 12px; animation: spin 1.4s linear infinite; }
.md-spinner circle {
  fill: none; stroke: var(--md-blue); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: dash 1.4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash {
  0%   { stroke-dashoffset: 100; }
  50%  { stroke-dashoffset: 25; transform: rotate(135deg); }
  100% { stroke-dashoffset: 100; transform: rotate(360deg); }
}

/* MD3 linear progress */
.linear-progress {
  height: 4px; background: var(--md-blue-light); border-radius: 99px; overflow: hidden; margin-top: 8px;
}
.linear-progress__fill {
  height: 100%; width: 40%; background: var(--md-blue); border-radius: 99px;
  animation: linear-slide 1.8s ease-in-out infinite;
}
@keyframes linear-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Success ───────────────────────────────────────── */
.success-wrap { display: none; margin-top: 20px; }
.success-wrap.active { display: block; animation: fade-up .3s cubic-bezier(.4,0,.2,1) both; }
.success-banner {
  background: var(--md-success-surface); border: 1.5px solid var(--md-success);
  border-radius: var(--radius-md); padding: 24px; text-align: center; margin-bottom: 16px;
}
.success-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--md-success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: scale-in .4s cubic-bezier(.34,1.56,.64,1) both;
}
.success-check.glow { animation: scale-in .4s cubic-bezier(.34,1.56,.64,1) both, glow-pulse 1s ease-out .4s; }
.success-check .material-symbols-rounded { font-size: 36px; color: white; }
@keyframes scale-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes glow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,168,83,.4); }
  70%  { box-shadow: 0 0 0 16px rgba(52,168,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,168,83,0); }
}
.success-banner__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--md-success); margin-bottom: 4px;
}
.success-banner__sub { font-size: .875rem; color: var(--md-subtle); margin-bottom: 16px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--md-success); color: var(--md-white);
  padding: 12px 28px; border-radius: var(--radius-pill);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .925rem; font-weight: 700; border: none;
  box-shadow: 0 2px 8px rgba(52,168,83,.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(52,168,83,.4); text-decoration: none; }
.btn-download .material-symbols-rounded { font-size: 18px; }
.btn-again {
  display: inline-block; margin-top: 10px;
  font-size: .825rem; color: var(--md-subtle); background: none; border: none; cursor: pointer;
}
.btn-again:hover { color: var(--md-on-surface); text-decoration: underline; }

/* ── Snackbar ──────────────────────────────────────── */
.md-snackbar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #202124; color: var(--md-white);
  border-radius: var(--radius-md); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; min-width: 280px; max-width: 560px;
  box-shadow: var(--elev-4); z-index: 999; opacity: 0;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
  pointer-events: none;
}
.md-snackbar.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.md-snackbar .material-symbols-rounded { font-size: 18px; color: #34a853; flex-shrink: 0; }
.md-snackbar__msg { flex: 1; }
.md-snackbar__action { color: #8ab4f8; font-weight: 700; background: none; border: none; cursor: pointer; font-size: .875rem; }

/* ── Error Banner ──────────────────────────────────── */
.error-banner {
  margin-top: 12px;
  background: var(--md-error-surface); border: 1.5px solid var(--md-error);
  border-radius: var(--radius-md); padding: 12px 16px;
  font-size: .875rem; color: #b31412;
  display: none; align-items: center; gap: 8px;
}
.error-banner.active { display: flex; }
.error-banner .material-symbols-rounded { font-size: 18px; color: var(--md-error); flex-shrink: 0; }
/* ── Options Panel ─────────────────────────────────── */
.options-panel {
  margin: 16px 0; padding: 16px;
  background: #f8f9fa; border-radius: var(--radius-lg);
  border: 1.5px solid var(--md-outline);
}
.option-label {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .85rem; font-weight: 700; color: var(--md-on-surface);
  margin-bottom: 8px; display: block;
}
.option-radio { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--md-on-surface); margin-bottom: 6px; cursor: pointer; }
.option-radio input[type=radio] { cursor: pointer; accent-color: var(--tool-color); }
.option-select, .option-input {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid var(--md-outline); border-radius: var(--radius-md);
  font-size: .875rem; background: var(--md-white); color: var(--md-on-surface);
  outline: none; font-family: inherit; cursor: pointer;
}
.option-select:focus, .option-input:focus {
  border-color: var(--tool-color); box-shadow: 0 0 0 3px rgba(26,115,232,.25);
}
.option-hint { font-size: .775rem; color: var(--md-muted); margin-top: 6px; }
.password-wrap { position: relative; }
.input-with-toggle { position: relative; }
.toggle-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--md-muted); cursor: pointer; padding: 4px;
  display: flex; align-items: center;
}
.toggle-btn:hover { color: var(--md-on-surface); }
.toggle-btn .material-symbols-rounded { font-size: 18px; }

/* ── FAQ ───────────────────────────────────────────── */
.faq { max-width: 640px; margin: 48px auto; }
.faq__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 700; color: var(--md-on-surface); margin-bottom: 20px;
}
.faq__item { border-bottom: 1px solid var(--md-outline); padding: 16px 0; }
.faq__item:last-child { border-bottom: none; }
.faq__q {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .95rem; font-weight: 600; color: var(--md-on-surface);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__q .material-symbols-rounded {
  font-size: 22px; color: var(--md-subtle); flex-shrink: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.faq__item.open .faq__q .material-symbols-rounded { transform: rotate(180deg); }
.faq__a { font-size: .9rem; color: var(--md-subtle); margin-top: 10px; line-height: 1.7; display: none; }
.faq__item.open .faq__a { display: block; }

/* ── Related ───────────────────────────────────────── */
.related { max-width: 640px; margin: 0 auto 48px; }
.related__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--md-on-surface); margin-bottom: 14px;
}
.related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

/* ── What's Next ───────────────────────────────────── */
.whats-next { margin-top: 4px; }
.whats-next__label {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--md-muted); margin-bottom: 10px;
}
.whats-next__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.whats-next__tool {
  flex: 1; min-width: 140px;
  background: var(--md-white); border: 1.5px solid var(--md-outline);
  border-radius: var(--radius-md); padding: 12px;
  text-align: center; font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .825rem; font-weight: 600; color: var(--md-on-surface);
  text-decoration: none;
  transition: border-color .15s, color .15s;
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.whats-next__tool:hover { border-color: var(--md-blue); color: var(--md-blue); text-decoration: none; }

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, #0a3880 0%, #061f4a 100%);
  color: rgba(255,255,255,.65); padding: 40px 0 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--md-white); margin-bottom: 10px;
}
.footer__logo-pill {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer__logo-pill .material-symbols-rounded { font-size: 16px; color: var(--md-white); }
.footer__tagline { font-size: .825rem; line-height: 1.7; }
.footer__col-title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--md-white); margin-bottom: 12px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  display: flex; align-items: center; gap: 6px;
  font-size: .825rem; color: rgba(255,255,255,.65); transition: color .15s;
}
.footer__links a:hover { color: var(--md-white); text-decoration: none; }
.footer__links .material-symbols-rounded { font-size: 14px; }
.footer__bottom { margin-top: 24px; font-size: .775rem; text-align: center; }
.footer__bottom a { color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.4); transition: border-color .15s, color .15s; }
.footer__bottom a:hover { color: var(--md-white); border-bottom-style: solid; border-bottom-color: var(--md-white); }
/* ── Focus Rings ───────────────────────────────────── */
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(26,115,232,.3); }

/* ── MD3 Ripple ────────────────────────────────────── */
.md-ripple {
  position: absolute; width: 60px; height: 60px;
  border-radius: 50%; background: rgba(255,255,255,.35);
  pointer-events: none; transform: scale(0);
  animation: ripple-out .5s ease-out forwards;
}
@keyframes ripple-out {
  from { transform: scale(0); opacity: .35; }
  to   { transform: scale(4); opacity: 0; }
}

/* MD3 State Layer */
.md-state-layer {
  position: absolute; inset: 0; background: currentColor; opacity: 0;
  pointer-events: none; border-radius: inherit; transition: opacity .15s;
}
:hover  > .md-state-layer { opacity: .06; }
:focus  > .md-state-layer { opacity: .08; }
:active > .md-state-layer { opacity: .12; }

/* ── Page Keyframes ────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Reorder Page ──────────────────────────────────── */
.reorder-hint { font-size: .875rem; color: var(--md-subtle); margin: 12px 0 8px; }
.page-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.page-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--md-white); border: 1.5px solid var(--md-outline);
  border-radius: var(--radius-md); padding: 10px 14px;
  cursor: grab; user-select: none;
  transition: transform .15s, box-shadow .15s;
}
.page-item.dragging { transform: scale(1.02); box-shadow: var(--elev-4); border-color: var(--md-blue); }
.page-item.drag-over-above { border-top: 3px solid var(--md-blue); }
.page-item.drag-over-below { border-bottom: 3px solid var(--md-blue); }
.drag-handle { color: var(--md-muted); display: flex; align-items: center; }
.drag-handle .material-symbols-rounded { font-size: 20px; }
.page-num {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-weight: 600; color: var(--md-on-surface); flex: 1;
}

/* ── Content & Typography Pages (About, Privacy, Terms) ── */
.info-layout {
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 0 16px;
}
.info-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--md-on-surface);
}
.info-content h2 {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--md-blue-dark);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-content p {
  margin-bottom: 1.2rem;
  color: var(--md-subtle);
}
.info-content a {
  color: var(--md-blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid rgba(26, 115, 232, 0.25);
  transition: all 0.15s ease;
}
.info-content a:hover {
  color: var(--md-blue-dark);
  border-bottom-color: var(--md-blue-dark);
  background: rgba(26, 115, 232, 0.05);
}
.info-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}
.info-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--md-subtle);
}
.info-content li::before {
  content: "arrow_forward";
  font-family: 'Material Symbols Rounded';
  font-size: 16px;
  color: var(--md-blue);
  position: absolute;
  left: 0;
  top: 4px;
}
.info-content li a {
  font-weight: 700;
  color: var(--md-blue);
  margin-right: 4px;
  border-bottom: none;
}
.info-content li a:hover {
  background: none;
  border-bottom: none;
  text-decoration: underline;
}
.info-content .contact-card {
  background: rgba(26, 115, 232, 0.06);
  border: 1px solid rgba(26, 115, 232, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-content .contact-card h3 {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--md-blue-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-content .contact-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--md-subtle);
}

/* ── Blog Grid & Cards ─────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  margin-bottom: 4rem;
}
.blog-card {
  background: var(--md-white);
  border-radius: 16px;
  box-shadow: var(--elev-1);
  border: 1px solid var(--md-outline);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-3);
  border-color: rgba(26, 115, 232, 0.3);
  text-decoration: none;
}
.blog-card__header {
  padding: 24px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card__category {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--md-blue);
  background: rgba(26, 115, 232, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.blog-card__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--md-blue-light);
  color: var(--md-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__icon-wrap .material-symbols-rounded {
  font-size: 18px;
}
.blog-card__body {
  padding: 0 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-card__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--md-on-surface);
  margin: 0;
  transition: color 0.15s ease;
}
.blog-card:hover .blog-card__title {
  color: var(--md-blue);
}
.blog-card__summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--md-subtle);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--md-muted);
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card__read-more {
  font-weight: 600;
  color: var(--md-blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Individual Blog Post Layout ───────────────────── */
.article-header {
  text-align: center;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--md-outline);
  margin-bottom: 2.5rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--md-subtle);
  margin-bottom: 16px;
}
.article-category {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-weight: 700;
  color: var(--md-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--md-on-surface);
  max-width: 800px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--md-blue);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: transform 0.15s ease;
}
.back-link:hover {
  transform: translateX(-4px);
  text-decoration: none;
}

/* ── Inline Tool Promotion Card ────────────────────── */
.article-promo {
  background: linear-gradient(135deg, var(--md-blue-dark) 0%, #061f4a 100%);
  color: var(--md-white);
  border-radius: 16px;
  padding: 32px;
  margin: 3rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--elev-4);
}
.article-promo__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-promo__title {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  color: var(--md-white) !important;
}
.article-promo__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0;
}
.article-promo__btn {
  background: var(--md-white);
  color: var(--md-blue-dark);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--elev-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.info-content .article-promo__btn:hover,
.article-promo__btn:hover {
  transform: scale(1.03);
  box-shadow: var(--elev-3);
  background: transparent !important;
  border-color: var(--md-white) !important;
  color: var(--md-white) !important;
  text-decoration: none !important;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-promo {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .article-promo__btn {
    width: 100%;
    justify-content: center;
  }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .tool-grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .whats-next__tools { flex-direction: column; }
  .tool-workspace { padding: 20px 16px; }
  .hero { padding: 40px 24px 32px; }
  .hero__trust { gap: 16px; }
  .trust-bar { gap: 16px; }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr 1fr; }
}
