/* =========================================================
   PDF Decrypter Pro — site styles
   Minimal, responsive, static. No frameworks, no external fonts.
   Palette: teal (#0d9488) · ink (#0f172a) · buy teal (#0d9488)
   ========================================================= */

:root {
  --brand: #0d9488;
  --brand-strong: #0f766e;
  --brand-soft: #ccfbf1;
  --brand-softer: #f0fdfa;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --buy: #0d9488;
  --buy-strong: #0f766e;
  --buy-soft: #ccfbf1;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
strong { color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 2.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 2.25rem; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .75rem;
}
.section-head p { color: var(--muted); margin: .5rem auto 0; max-width: 620px; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 64px; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links a {
  color: var(--text); font-weight: 600; font-size: .95rem;
  padding: .45rem .75rem; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-softer); }
.nav-cta { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; cursor: pointer; }
.nav-toggle svg { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .78rem 1.3rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, transform .05s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-buy { background: var(--buy); color: #fff; }
.btn-buy:hover { background: var(--buy-strong); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-softer); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f5f9; }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem .9rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #134e4a 0%, var(--ink) 55%, #0b1220 100%); color: #e2e8f0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero p { color: #cbd5e1; font-size: 1.12rem; }
.hero .eyebrow { color: #99f6e4; background: rgba(13, 148, 136, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .55rem; color: #cbd5e1; font-size: .98rem; }
.hero-points svg { flex: 0 0 auto; color: #2dd4bf; margin-top: .2rem; }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12); background: #fff;
}
.hero-badge {
  position: absolute; left: -14px; bottom: 22px; background: #fff; color: var(--ink);
  border-radius: 10px; padding: .65rem .9rem; box-shadow: var(--shadow); font-size: .85rem; font-weight: 700;
}
.hero-badge span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--brand-softer); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; padding: 1.1rem 1.25rem; max-width: var(--maxw); margin: 0 auto; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.trust-inner span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-inner svg { color: var(--brand); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: .25rem; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: .85rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* ---------- Download cards ---------- */
.download-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff; display: flex; flex-direction: column;
}
.download-card__head { padding: 1.4rem 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.download-card__head h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.download-card__os { font-size: .82rem; color: var(--muted); font-weight: 600; }
.download-card__body { padding: 1.25rem 1.5rem; flex: 1; }
.download-card__body dl { margin: 0; }
.download-card__body dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-top: .6rem; }
.download-card__body dd { margin: 0; color: var(--ink-2); font-weight: 600; }
.download-card__foot { padding: 1rem 1.5rem 1.4rem; border-top: 1px solid var(--line); display: flex; gap: .6rem; flex-wrap: wrap; }
.version { font-family: var(--mono); }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); cursor: pointer; vertical-align: middle; }
.price-table label { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.price { font-weight: 800; color: var(--ink); white-space: nowrap; }

/* ---------- Steps / how-to ---------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1.25rem; }
.step__num {
  counter-increment: step; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem;
}
.step__num::before { content: counter(step); }
.step__body h3 { margin-top: .2rem; }
.step__body p { color: var(--muted); margin-bottom: .6rem; }
.step__body img { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: .5rem; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .75rem; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 1.25rem 1.1rem; color: var(--text); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Notice / compliance ---------- */
.notice {
  background: var(--amber-soft); border: 1px solid #fde68a; border-left: 4px solid #f59e0b;
  color: var(--amber); border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-size: .95rem;
}
.notice strong { color: var(--amber); }
.notice p { margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: .4rem; }
.prose img { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1.2rem 0; }
.prose .img-caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: -.8rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 3.5rem 1.25rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccfbf1; max-width: 560px; margin: 0 auto 1.5rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 3.5rem 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-brand p { color: #94a3b8; max-width: 300px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 1.25rem 1.25rem; text-align: center; color: #94a3b8; font-size: .85rem; }
.footer-bottom a { color: #cbd5e1; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: .75rem; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .5rem; border-radius: 8px; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { left: 8px; bottom: 8px; }
  .step { gap: .9rem; }
  .price-table { font-size: .9rem; }
  .price-table th, .price-table td { padding: .7rem .55rem; }
  .nav-cta .btn-sm { padding: .5rem .7rem; }
}
