/* ============================================================
   Secure PDF Tools — shared stylesheet
   Mirrors merge.aurorapdf.com visual language
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Utilities ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Progress bar ── */
.progress-bar {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: #2563eb; z-index: 9999; transition: width 0.1s;
}

/* ── Upgrade Banner ── */
.upgrade-banner {
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  padding: 9px 24px;
  text-align: center;
  font-size: 13px;
  color: #1e40af;
  font-weight: 500;
}
.upgrade-banner strong { font-weight: 700; }

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: #111827;
}
.logo img { width: 30px; height: 30px; }
.logo-badge {
  font-size: 11px;
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* ── Nav ── */
.nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  color: #4b5563;
  font-weight: 500;
  padding: 7px 12px;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  display: block;
}
.nav-links a:hover { background: #f3f4f6; color: #111827; }
.btn { display: inline-block; border-radius: 7px; font-weight: 600; font-size: 14px; padding: 8px 18px; transition: background 0.15s, opacity 0.15s; }
.btn-primary { background: #2563eb; color: #fff !important; }
.btn-primary:hover { background: #1d4ed8; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 8px; font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  color: #374151;
}

/* ── Mobile nav ── */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid #f1f5f9; border-radius: 0; }
  .nav-links li:last-child a { border: none; background: #2563eb; color: #fff !important; text-align: center; padding: 12px; border-radius: 8px; margin-top: 8px; }
}

/* ── Section base ── */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.section-sub {
  color: #64748b;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}
.bg-white { background: #fff; }
.bg-gray { background: #f8fafc; }
.bg-blue-50 { background: #eff6ff; }
.bg-dark { background: linear-gradient(140deg, #1e3a5f 0%, #0f172a 100%); }

/* ── Hero ── */
.hero { padding: 64px 0 56px; }
.hero.bg-dark { color: #fff; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(59,130,246,0.5);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(37,99,235,0.25);
}
.hero h1 em { font-style: normal; color: #60a5fa; }
.hero-desc { font-size: 18px; color: #94a3b8; line-height: 1.75; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-win {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2563eb; color: #fff; font-weight: 700;
  padding: 13px 26px; border-radius: 8px; font-size: 15px;
  transition: background 0.15s;
}
.btn-win:hover { background: #1d4ed8; }
.btn-mac {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: #fff; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.15s;
}
.btn-mac:hover { background: rgba(255,255,255,0.18); }
.trust-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: #94a3b8;
}
.trust-row span { display: flex; align-items: center; gap: 5px; }
.hero-img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  background: #1e293b;
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: #475569; font-size: 13px;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #cbd5e1;
  padding: 8px 16px; border-radius: 8px; font-size: 13px;
}
.feature-badges-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 28px;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
}

/* ── Step cards ── */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.step-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.step-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); border-color: #bfdbfe; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: #2563eb; color: #fff;
  border-radius: 50%; font-size: 20px; font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: #64748b; line-height: 1.65; }

/* ── Feature cards ── */
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); border-color: #bfdbfe; }
.icon-lg { font-size: 32px; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.7; }
.feature-card .card-link { display: inline-block; margin-top: 14px; font-size: 13px; color: #2563eb; font-weight: 600; }
.feature-card .card-link:hover { text-decoration: underline; }

/* ── Comparison table ── */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.comparison-table thead th { padding: 14px 20px; font-weight: 700; text-align: left; }
.comparison-table thead th:first-child { color: #111827; font-size: 14px; }
.comparison-table thead th:nth-child(2) { background: #2563eb; color: #fff; border-radius: 8px 8px 0 0; text-align: center; }
.comparison-table thead th:nth-child(3) { background: #f1f5f9; color: #64748b; border-radius: 8px 8px 0 0; text-align: center; }
.comparison-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.comparison-table tbody tr:hover td { background: #fafafa; }
.comparison-table tbody td { padding: 13px 20px; color: #374151; }
.comparison-table tbody td:nth-child(2) { text-align: left; background: rgba(37,99,235,0.04); color: #16a34a; font-weight: 700; font-size: 15px; }
.comparison-table tbody td:nth-child(3) { text-align: left; color: #9ca3af; font-size: 15px; }
.overflow-x-auto { overflow-x: auto; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-size: 16px; font-weight: 600; color: #111827;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  background: #e5e7eb; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; transition: background 0.15s;
  color: #374151;
}
.faq-item.open .faq-icon { background: #2563eb; color: #fff; }
.faq-a { max-height:0; overflow:hidden; padding:0; font-size:15px; color:#64748b; line-height:1.75; transition:max-height 0.35s ease,padding 0.35s ease; }
.faq-item.open .faq-a { max-height:500px; padding:0 0 18px; }
.faq-a a { color: #2563eb; }
.faq-a a:hover { text-decoration: underline; }

/* ── Blog / guide cards ── */
.guide-card {
  border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 26px; transition: box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.guide-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.guide-tag {
  display: inline-block; background: #eff6ff; color: #2563eb;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 4px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.guide-card h3 { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 10px; line-height: 1.45; }
.guide-card p { font-size: 14px; color: #64748b; flex: 1; }
.guide-link { display: inline-block; margin-top: 16px; font-size: 13px; color: #2563eb; font-weight: 600; }
.guide-link:hover { text-decoration: underline; }

/* ── Inline article boxes ── */
.warning-box { background: #fef2f2; border-left: 4px solid #ef4444; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.warning-box strong { color: #991b1b; }
.tip-box { background: #f0fdf4; border-left: 4px solid #22c55e; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.tip-box strong { color: #15803d; }
.info-box { background: #eff6ff; border-left: 4px solid #2563eb; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.highlight-box { background: #eff6ff; border-left: 4px solid #2563eb; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }

/* ── Numbered steps list ── */
.steps-list { counter-reset: steps; list-style: none; margin: 0 0 18px 0; }
.steps-list li {
  counter-increment: steps;
  padding: 14px 16px 14px 58px;
  position: relative;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 15px; color: #374151;
}
.steps-list li::before {
  content: counter(steps);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  background: #2563eb; color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* ── Inline CTA block ── */
.cta-inline {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  color: #fff; border-radius: 14px;
  padding: 36px 32px; margin: 40px 0; text-align: center;
}
.cta-inline h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cta-inline p { color: #94a3b8; margin-bottom: 22px; }
.trust-badges {
  display: flex; gap: 14px; margin-top: 12px;
  font-size: 12px; color: #94a3b8;
  flex-wrap: wrap; justify-content: center;
}

/* ── Related articles ── */
.related { margin-top: 48px; padding: 28px 32px; background: #f8fafc; border-radius: 12px; }
.related h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: #111827; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin-bottom: 10px; }
.related a { color: #2563eb; font-weight: 500; font-size: 14px; }
.related a:hover { text-decoration: underline; }

/* ── Permissions grid ── */
.permissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.perm-card { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; }
.perm-card h4 { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.perm-card p { font-size: 13px; color: #64748b; margin: 0; }
@media (max-width: 560px) { .permissions-grid { grid-template-columns: 1fr; } }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 13px; color: #64748b; padding: 16px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb .sep { color: #d1d5db; }

/* ── Article typography ── */
article h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #111827; margin-bottom: 16px; line-height: 1.25; }
article h2 { font-size: 22px; font-weight: 700; color: #111827; margin: 40px 0 14px; }
article h3 { font-size: 18px; font-weight: 600; color: #111827; margin: 28px 0 10px; }
article p { color: #374151; margin-bottom: 16px; line-height: 1.75; }
article ul, article ol { margin: 0 0 18px 22px; color: #374151; }
article li { margin-bottom: 8px; line-height: 1.7; }
.article-meta { font-size: 13px; color: #64748b; margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.article-tag { background: #eff6ff; color: #2563eb; padding: 2px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Static page typography ── */
.page-content h1 { font-size: 36px; font-weight: 800; color: #111827; margin-bottom: 8px; line-height: 1.2; }
.page-content .last-updated { font-size: 13px; color: #64748b; margin-bottom: 32px; }
.page-content h2 { font-size: 20px; font-weight: 700; color: #111827; margin: 32px 0 10px; }
.page-content p { color: #374151; margin-bottom: 14px; line-height: 1.75; }
.page-content ul, .page-content ol { margin: 0 0 16px 20px; color: #374151; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: #2563eb; }
.page-content a:hover { text-decoration: underline; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: monospace; }

/* ── Footer ── */
.footer { background: #111827; color: #d1d5db; padding: 52px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; margin-bottom: 44px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.07em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #9ca3af; transition: color 0.15s; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; color: #4b5563; font-size: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #4b5563; }
.footer-links a:hover { color: #9ca3af; }

/* ── GDPR Banner ── */
#gdpr-cookie-banner {
  display: none; position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: #1e293b; color: #fff;
  padding: 16px 24px; text-align: center;
  z-index: 9999; font-size: 13px; line-height: 1.55;
  border-top: 1px solid #334155;
}
#gdpr-cookie-banner a { color: #60a5fa; text-decoration: underline; }
.gdpr-btns { display: inline-flex; gap: 10px; margin-left: 16px; vertical-align: middle; }
#cookie-decline { background: transparent; border: 1px solid #475569; color: #94a3b8; padding: 6px 14px; border-radius: 5px; cursor: pointer; font-size: 13px; }
#cookie-accept { background: #2563eb; border: none; color: #fff; padding: 6px 14px; border-radius: 5px; cursor: pointer; font-weight: 600; font-size: 13px; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .trust-row { gap: 12px; }
  .gdpr-btns { display: flex; margin: 10px 0 0; }
  #gdpr-cookie-banner { text-align: left; }
}
