/* ── Font display optimization ── */
@font-face {
  font-family: 'Inter';
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  font-display: swap;
}

/* ============================================================
   ConvertFilesTool.com — Main Stylesheet
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff; --blue-100: #dbeafe; --blue-500: #3b82f6;
  --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-900: #1e3a8a;
  --gray-50:  #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
  --gray-400: #94a3b8; --gray-600: #475569; --gray-700: #334155;
  --gray-900: #0f172a;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08); --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-heading: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--gray-50); line-height: 1.6; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; font-size: .9rem; }

/* ── Utilities ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section-block { margin-bottom: 3rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.section-more  { font-size: .85rem; color: var(--blue-600); font-weight: 500; }
.breadcrumb    { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
                 font-size: .85rem; color: var(--gray-400); padding: .75rem 0; }
.breadcrumb a  { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--blue-600); }
.btn-primary   { display: inline-flex; align-items: center; gap: .4rem;
                 background: var(--blue-600); color: #fff; padding: .6rem 1.25rem;
                 border-radius: var(--radius-sm); font-weight: 600; border: none;
                 cursor: pointer; transition: background .15s; font-size: .9rem; }
.btn-primary:hover { background: var(--blue-700); text-decoration: none; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid var(--gray-200);
               position: sticky; top: 0; z-index: 100; }
.nav-inner   { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
               display: flex; align-items: center; gap: 1rem; height: 64px; }
.site-logo   { flex-shrink: 0; }
.nav-search  { flex: 1; max-width: 420px; position: relative; }
.nav-search input { width: 100%; padding: .5rem 2.5rem .5rem 1rem;
                    border: 1px solid var(--gray-200); border-radius: 50px;
                    background: var(--gray-50); outline: none; transition: border .15s; }
.nav-search input:focus { border-color: var(--blue-500); background: #fff; }
.nav-search button { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
                     background: none; border: none; cursor: pointer; color: var(--gray-400);
                     display: flex; align-items: center; }
.nav-links   { display: flex; gap: 1.25rem; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--gray-600); white-space: nowrap; }
.nav-links a:hover { color: var(--blue-600); text-decoration: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none;
                 cursor: pointer; padding: .25rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-600);
                      border-radius: 2px; transition: .2s; }
.mobile-menu { background: #fff; border-top: 1px solid var(--gray-200);
               padding: 1rem 1.25rem; }
.mobile-menu a { display: block; padding: .5rem 0; color: var(--gray-700);
                 border-bottom: 1px solid var(--gray-100); font-size: .9rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
        padding: 3.5rem 1.25rem; color: #fff; }
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }

/* FIX: Hero heading — clean system font, no external dependency */
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
  color: #fff;
}

.hero p     { font-size: 1.05rem; color: #bfdbfe; margin-bottom: 1.75rem; line-height: 1.7; }
.hero-search { display: flex; max-width: 520px; margin: 0 auto; gap: .5rem; }
.hero-search input  { flex: 1; padding: .75rem 1.25rem; border-radius: var(--radius-sm);
                      border: none; font-size: 1rem; outline: none; }
.hero-search button { padding: .75rem 1.5rem; background: #fff; color: var(--blue-700);
                      border: none; border-radius: var(--radius-sm); font-weight: 700;
                      cursor: pointer; transition: background .15s; font-size: 1rem; }
.hero-search button:hover { background: var(--blue-50); }

/* ── Category pills ───────────────────────────────────────── */
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.25rem 1.25rem; }
.pill      { padding: .4rem 1rem; border-radius: 50px; border: 1px solid var(--gray-200);
             font-size: .85rem; font-weight: 500; color: var(--gray-600);
             background: #fff; transition: all .15s; }
.pill:hover    { border-color: var(--blue-500); color: var(--blue-600); text-decoration: none; }
.pill-active   { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ── Tool Grid ────────────────────────────────────────────── */
.tool-grid { display: grid; gap: .875rem;
             grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tool-grid--small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

.tool-card { display: flex; flex-direction: column; align-items: center; text-align: center;
             padding: 1.1rem .75rem; border-radius: var(--radius-md); border: 1px solid var(--gray-200);
             background: #fff; transition: all .18s; cursor: pointer; }
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.tool-card__icon { font-size: 1.75rem; margin-bottom: .6rem; line-height: 1; }
.tool-card__name { font-size: .8rem; font-weight: 600; color: var(--gray-700);
                   line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
                   -webkit-box-orient: vertical; overflow: hidden; }
.tool-card__badge { margin-top: .4rem; font-size: .7rem; padding: .15rem .6rem;
                    border-radius: 50px; background: #fef9c3; color: #854d0e; font-weight: 500; }
.tool-card__cat   { font-size: .7rem; color: var(--gray-400); margin-top: .25rem; }

/* Color accents */
.tool-card--blue:hover   { border-color: #93c5fd; background: #eff6ff; }
.tool-card--red:hover    { border-color: #fca5a5; background: #fff1f2; }
.tool-card--green:hover  { border-color: #86efac; background: #f0fdf4; }
.tool-card--purple:hover { border-color: #c4b5fd; background: #faf5ff; }
.tool-card--amber:hover  { border-color: #fcd34d; background: #fffbeb; }
.tool-card--teal:hover   { border-color: #5eead4; background: #f0fdfa; }
.tool-card--coral:hover  { border-color: #fb923c; background: #fff7ed; }
.tool-card--gray:hover   { border-color: #cbd5e1; background: #f8fafc; }

/* ── Tool Page ────────────────────────────────────────────── */
.tool-layout  { display: grid; grid-template-columns: 1fr 280px; gap: 2rem;
                padding-top: 1.5rem; padding-bottom: 4rem; align-items: start; }
.tool-header  { margin-bottom: 1.5rem; }
.tool-header h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}
.tool-desc    { color: var(--gray-600); font-size: .95rem; }
.tool-area    { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
                padding: 1.75rem; margin-bottom: 1.5rem; min-height: 200px; }
.tool-placeholder { display: flex; flex-direction: column; align-items: center;
                    justify-content: center; padding: 3rem; color: var(--gray-400);
                    text-align: center; gap: .75rem; }
.tool-article { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
                padding: 1.75rem; margin-bottom: 1.5rem; }
.tool-article h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.tool-article h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
.tool-article p  { color: var(--gray-700); margin-bottom: .75rem; line-height: 1.75; }
.tool-article ul { padding-left: 1.25rem; margin-bottom: .75rem; }
.tool-article li { color: var(--gray-700); margin-bottom: .35rem; line-height: 1.7; }
.tool-article strong { color: var(--gray-900); }

/* FAQ */
.faq-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.faq-list   { display: flex; flex-direction: column; gap: .5rem; }
.faq-item   { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q      { width: 100%; display: flex; justify-content: space-between; align-items: center;
              padding: 1rem 1.1rem; font-weight: 600; font-size: .9rem; text-align: left;
              background: #fff; border: none; cursor: pointer; gap: .75rem; }
.faq-q:hover { background: var(--gray-50); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; }
.faq-a      { padding: 0 1.1rem 1rem; }
.faq-a p    { color: var(--gray-700); font-size: .9rem; line-height: 1.7; }
.faq-section { background: #fff; border: 1px solid var(--gray-200);
               border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; }

/* Related / Sidebar */
.related-tools h2    { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-cats        { background: #fff; border: 1px solid var(--gray-200);
                       border-radius: var(--radius-md); padding: 1.25rem; }
.sidebar-cats h3     { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; color: var(--gray-700); }
.sidebar-cats ul     { list-style: none; }
.sidebar-cats li a   { display: flex; justify-content: space-between; padding: .4rem 0;
                       font-size: .85rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.sidebar-cats li:last-child a { border-bottom: none; }
.sidebar-cats li a:hover { color: var(--blue-600); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer  { background: var(--blue-900); color: #94a3b8; margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.25rem;
                display: grid; grid-template-columns: 2fr repeat(3, 1fr);
                gap: 2.5rem; }
.footer-brand p  { font-size: .875rem; line-height: 1.7; margin-top: .75rem; }
.footer-col h3   { color: #e2e8f0; font-size: .8rem; font-weight: 600;
                   text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.footer-col ul   { list-style: none; }
.footer-col li   { margin-bottom: .4rem; }
.footer-col a    { font-size: .875rem; color: #94a3b8; }
.footer-col a:hover     { color: #fff; text-decoration: none; }
.footer-col .see-all    { color: #60a5fa; font-size: .8rem; }
.footer-bottom  { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center;
                       max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; }
.footer-links   { display: flex; gap: .75rem; font-size: .8rem; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-links span { color: #475569; }

/* ── Pagination ───────────────────────────────────────────── */
.page-btn       { padding: .45rem .9rem; border: 1px solid var(--gray-200); border-radius: 8px;
                  background: #fff; color: var(--gray-700); font-size: .85rem; }
.page-btn:hover { border-color: var(--blue-500); color: var(--blue-600); text-decoration: none; }
.page-btn--active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ── Ad slots ─────────────────────────────────────────────── */
.ad-slot { margin: 1.25rem 0; text-align: center; min-height: 90px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-sidebar { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .hero h1 { font-size: 1.8rem; letter-spacing: -.02em; }
  .hero-search { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOM ADDITIONS — ConvertFilesTool
   ══════════════════════════════════════════════════════════════ */

/* ── Improved Hero Search Bar ─────────────────────────────── */
.hero-search-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* ── Google-style search box ── */
.hero-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  border: none;
  box-shadow: 0 2px 5px 1px rgba(0,0,0,.16), 0 1px 18px 0 rgba(0,0,0,.12);
  padding: 0 8px 0 20px;
  height: 56px;
  transition: box-shadow .2s;
  gap: 4px;
}
.hero-search-box:hover,
.hero-search-box:focus-within {
  box-shadow: 0 4px 12px 2px rgba(0,0,0,.22), 0 2px 24px 0 rgba(0,0,0,.14);
}
.hero-search-icon {
  flex-shrink: 0;
  color: #9aa0a6;
  pointer-events: none;
  margin-right: 4px;
}
.hero-search-box input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0;
  font-size: 1rem;
  color: #202124;
  background: transparent;
  min-width: 0;
  height: 100%;
  -webkit-appearance: none;
}
.hero-search-box input[type="search"]::placeholder {
  color: #9aa0a6;
}
.hero-search-box input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* Divider between input and buttons */
.hero-search-divider {
  width: 1px;
  height: 28px;
  background: #dadce0;
  margin: 0 4px;
  flex-shrink: 0;
}

/* Mic icon button (decorative) */
.hero-search-mic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #4285f4;
  flex-shrink: 0;
  transition: background .15s;
}
.hero-search-mic:hover { background: rgba(66,133,244,.08); }

/* Search button */
.hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  background: #4285f4;
  color: #fff;
  border: none;
  padding: 0 22px;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
  border-radius: 50px;
  height: 40px;
  letter-spacing: .01em;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.hero-search-btn:hover {
  background: #1a73e8;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.hero-search-btn svg { display: none; }

/* Popular hints */
.hero-search-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
  margin-top: 1rem;
  font-size: .82rem;
  justify-content: center;
}
.hero-search-hints span {
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.hero-search-hints a {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: .22rem .75rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s;
  font-size: .79rem;
}
.hero-search-hints a:hover {
  background: rgba(255,255,255,.24);
  text-decoration: none;
}

/* ── Tool page full-width (no sidebar) ───────────────────── */
.tool-fullwidth {
  width: 100%;
}

/* Tool header */
.tool-fullwidth .tool-header {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}
.tool-fullwidth .tool-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: .4rem;
  line-height: 1.25;
}
.tool-fullwidth .tool-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Tool area */
.tool-fullwidth .tool-area {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
  width: 100%;
}

/* Article */
.tool-fullwidth .tool-article {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.9;
  color: #374151;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
}

/* H2 — blue left border accent */
.tool-fullwidth .tool-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: .75rem;
  padding-left: .75rem;
  border-left: 3px solid #2563eb;
}
.tool-fullwidth .tool-article h2:first-child { margin-top: 0; }

/* H3 — subtle badge style */
.tool-fullwidth .tool-article h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 6px;
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

.tool-fullwidth .tool-article h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #334155;
  margin-top: 1rem;
  margin-bottom: .35rem;
}

.tool-fullwidth .tool-article p { margin-bottom: 1rem; }

/* UL — custom blue bullets */
.tool-fullwidth .tool-article ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.tool-fullwidth .tool-article ul li {
  padding: .35rem 0 .35rem 1.5rem;
  position: relative;
  border-bottom: 1px solid #f8fafc;
}
.tool-fullwidth .tool-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75rem;
  width: 7px;
  height: 7px;
  background: #2563eb;
  border-radius: 50%;
}

/* OL — styled numbered steps */
.tool-fullwidth .tool-article ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  counter-reset: ol-counter;
}
.tool-fullwidth .tool-article ol li {
  counter-increment: ol-counter;
  padding: .6rem .75rem .6rem 3rem;
  margin-bottom: .5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  position: relative;
}
.tool-fullwidth .tool-article ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #2563eb;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-fullwidth .tool-article strong { color: #0f172a; }
.tool-fullwidth .tool-article a { color: #2563eb; }
.tool-fullwidth .tool-article a:hover { text-decoration: underline; }
.tool-fullwidth .tool-article code {
  background: #f1f5f9;
  padding: .15rem .45rem;
  border-radius: 4px;
  font-size: .875rem;
  font-family: monospace;
  color: #e11d48;
}
.tool-fullwidth .tool-article pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.1rem 1.4rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: .875rem;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.tool-fullwidth .tool-article blockquote {
  border-left: 4px solid #2563eb;
  padding: .6rem 1rem;
  margin: 1rem 0;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  color: #1e40af;
  font-style: italic;
}

/* FAQ section */
.tool-fullwidth .faq-section {
  max-width: 100%;
  margin-bottom: 1.5rem;
}
.tool-fullwidth .faq-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Related tools */
.tool-fullwidth .related-tools {
  max-width: 100%;
  margin-bottom: 1.5rem;
}
.tool-fullwidth .related-tools h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .tool-fullwidth .tool-area    { padding: 1.25rem; }
  .tool-fullwidth .tool-article { padding: 1.25rem; }
}

/* ── Admin categories SEO tab-bar fix ────────────────────── */
.tab-bar { display: flex; flex-wrap: wrap; gap: .35rem; border-bottom: 2px solid #e2e8f0; padding-bottom: .5rem; }
.tab-btn { padding: .45rem 1rem; border-radius: 8px 8px 0 0; font-size: .875rem; font-weight: 600;
           color: #64748b; text-decoration: none; border: 1px solid #e2e8f0; background: #f8fafc; }
.tab-btn--active { background: #2563eb; color: #fff; border-color: #2563eb; }
.tab-btn:hover:not(.tab-btn--active) { background: #f1f5f9; text-decoration: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-search-hints { gap: .3rem .4rem; }
  .hero-search-btn { padding: .75rem 1rem; font-size: .85rem; }
  .hero-search-btn svg { display: none; }
}

/* ── Footer company bar ───────────────────────────────────── */
.footer-company-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.footer-company-label {
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.footer-company-bar a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.footer-company-bar a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-company-bar span { color: rgba(255,255,255,.3); }

/* ── Key Features Section ───────────────────────────────── */
.kf-section {
  margin: 1.75rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.kf-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .2rem;
  padding: 0;
  border: none;
  background: none;
  display: block;
}
.kf-sub {
  font-size: .82rem;
  color: #94a3b8;
  margin: 0 0 1.1rem;
}
.kf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kf-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  transition: box-shadow .15s, border-color .15s;
}
.kf-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37,99,235,.08);
}
.kf-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: .4rem;
  line-height: 1;
}
.kf-card-title {
  font-size: .85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .25rem;
  background: none;
  display: block;
  padding: 0;
  border-radius: 0;
}
.kf-card-desc {
  font-size: .78rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 640px) {
  .kf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .kf-grid { grid-template-columns: 1fr; }
}

/* ── Homepage article (index.php) ───────────────────────── */
.tool-article--home {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.9;
  color: #374151;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
}
.tool-article--home h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: .75rem;
  padding-left: .75rem;
  border-left: 3px solid #2563eb;
}
.tool-article--home h2:first-child { margin-top: 0; }
.tool-article--home h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 6px;
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}
.tool-article--home p { margin-bottom: 1rem; }
.tool-article--home ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.tool-article--home ul li {
  padding: .35rem 0 .35rem 1.5rem;
  position: relative;
  border-bottom: 1px solid #f8fafc;
}
.tool-article--home ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75rem;
  width: 7px;
  height: 7px;
  background: #2563eb;
  border-radius: 50%;
}
.tool-article--home ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  counter-reset: ol-counter;
}
.tool-article--home ol li {
  counter-increment: ol-counter;
  padding: .6rem .75rem .6rem 3rem;
  margin-bottom: .5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  position: relative;
}
.tool-article--home ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #2563eb;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-article--home strong { color: #0f172a; }
.tool-article--home a { color: #2563eb; }
.tool-article--home a:hover { text-decoration: underline; }
