/* ============================================================
   PDF Sıkıştırma Nasıl Yapılır: PREMIUM dark-purple SaaS design
   Guide page for gabungin.com/tr/pdf-sikistirma-nasil-yapilir/
   Design tokens from the reference homepage-premium system:
   CSS variables, orbs, glass cards, self-hosted Plus Jakarta Sans
   (OFL) latin + latin-ext subsets. Zero frameworks, zero remote
   assets, zero JS.
   ============================================================ */

/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg-950: #12101d;
  --bg-900: #181527;
  --bg-800: #1f1b33;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-700: #6d28d9;
  --orange-400: #fb923c;
  --orange-500: #f97316;

  --ink: #f4f2fb;
  --muted: #a9a3c7;
  --faint: #7c76a0;
  --line: rgba(139, 92, 246, 0.22);
  --card: rgba(31, 27, 51, 0.72);
  --card-solid: #1f1b33;
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.10);

  --radius: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.45);
  --shadow-lift: 0 18px 50px -12px rgba(139, 92, 246, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(1100px 480px at 85% -80px, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 20px, rgba(249, 115, 22, 0.10), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(109, 40, 217, 0.12), transparent 60%),
    var(--bg-950);
  min-height: 100vh;
  overflow-x: hidden;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--violet-500); color: #fff;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
  transition: top 0.15s ease; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 16, 29, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand {
  font-size: 1.35rem; font-weight: 800; margin: 0; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--violet-400), var(--orange-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-decoration: none;
}
.brand:visited { color: inherit; text-decoration: none; }
.tagline { margin: 0; color: var(--muted); font-size: 0.85rem; }
.header-badge {
  margin-left: auto; font-size: 0.75rem; font-weight: 700;
  color: var(--orange-400); border: 1px solid rgba(251, 146, 60, 0.4);
  background: rgba(251, 146, 60, 0.1);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 44px 0 12px; position: relative; perspective: 1200px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; }
.hero-orb-a {
  width: 340px; height: 340px; left: -90px; top: -40px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.hero-orb-b {
  width: 280px; height: 280px; right: -70px; top: 30px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(36px, 28px) scale(1.12); } }
.hero h1 {
  font-size: 2rem; margin: 0 0 10px; letter-spacing: -0.03em; line-height: 1.15;
  animation: float-in 0.7s var(--ease-out) both;
}
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 auto; max-width: 38rem; animation: float-in 0.7s var(--ease-out) 0.08s both; }
.lede strong { color: var(--ink); }
@keyframes float-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 0.85rem; color: var(--faint); margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--violet-400); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA card (hub-spoke bridge) ---------- */
.cta-card {
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.05)), var(--card);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 26px; margin: 26px 0;
  box-shadow: 0 24px 70px -18px rgba(0, 0, 0, 0.65), 0 0 44px -12px rgba(139, 92, 246, 0.35);
  text-align: center;
  animation: card-in 0.8s var(--ease-out) 0.1s backwards;
  transform-style: preserve-3d;
}
@keyframes card-in { from { opacity: 0; transform: translateY(26px) rotateX(6deg); } to { opacity: 1; transform: none; } }
.cta-card h2 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -0.02em; }
.cta-card p { margin: 0 0 18px; color: var(--muted); max-width: 34rem; margin-left: auto; margin-right: auto; }
.cta-card p strong { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-weight: 700; border-radius: 12px; cursor: pointer;
  padding: 12px 20px; border: 1px solid transparent; min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s, background 0.15s;
}
.btn:focus { outline: none; box-shadow: var(--focus-ring); }
.btn-primary {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  color: #fff; box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(139, 92, 246, 0.65); }
.btn-large { font-size: 1.05rem; padding: 15px 28px; }

/* ---------- guide content ---------- */
.guide-section { margin: 34px 0; }
.guide-section > h2 { font-size: 1.4rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); margin: 0 0 18px; max-width: 40rem; }
.guide-section p { color: var(--muted); }
.guide-section p strong, .guide-section li strong { color: var(--ink); }

/* step cards */
.step-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.step-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 32%), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.5); box-shadow: var(--shadow-lift); }
.step-num {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -4px rgba(139, 92, 246, 0.6);
}
.step-card h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.step-card p { margin: 0; font-size: 0.95rem; }
.step-card a { color: var(--violet-400); text-decoration: underline; text-underline-offset: 3px; }

/* size factors table */
.factor-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.95rem; }
.factor-table th, .factor-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.factor-table thead th {
  color: var(--violet-400); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(139, 92, 246, 0.4);
}
.factor-table tbody tr { background: rgba(31, 27, 51, 0.35); transition: background 0.15s; }
.factor-table tbody tr:hover { background: rgba(139, 92, 246, 0.08); }
.factor-table td { color: var(--muted); }
.factor-table td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
.impact-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.impact-high { color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.4); background: var(--danger-bg); }
.impact-mid { color: var(--warning); border: 1px solid rgba(251, 191, 36, 0.4); background: var(--warning-bg); }
.impact-low { color: var(--success); border: 1px solid rgba(52, 211, 153, 0.35); background: var(--success-bg); }

/* quality level cards */
.level-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.level-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: var(--card);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.level-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.5); box-shadow: var(--shadow-lift); }
.level-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.level-card p { margin: 0 0 8px; font-size: 0.95rem; }
.level-card .best-for { font-size: 0.85rem; color: var(--faint); margin: 0; }
.level-card .best-for strong { color: var(--violet-400); }

/* use case cards */
.use-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.use-card {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; background: rgba(31, 27, 51, 0.5);
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}
.use-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.5); }
.use-card h3 { margin: 0 0 6px; font-size: 1rem; }
.use-card p { margin: 0; font-size: 0.92rem; }

/* honest limits box */
.limits-box {
  background: linear-gradient(140deg, rgba(251, 191, 36, 0.10), rgba(251, 191, 36, 0.03));
  border: 1px solid rgba(251, 191, 36, 0.3); border-radius: var(--radius);
  padding: 22px; margin: 16px 0 0;
}
.limits-box h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--warning); }
.limits-box ul { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.95rem; display: flex; flex-direction: column; gap: 8px; }
.limits-box li strong { color: var(--ink); }

/* alternatives */
.alt-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.alt-list li {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  background: rgba(31, 27, 51, 0.5); font-size: 0.95rem; color: var(--muted);
}

/* privacy note */
.privacy-note {
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.04));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 24px 0;
}
.privacy-note h2 { margin: 0 0 8px; font-size: 1.15rem; color: var(--violet-400); }
.privacy-note p { margin: 0 0 8px; color: var(--muted); }
.privacy-note strong { color: var(--ink); }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; margin-bottom: 8px; background: rgba(31, 27, 51, 0.5);
  transition: border-color 0.15s;
}
.faq details[open] { border-color: rgba(139, 92, 246, 0.45); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary:focus { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }
.faq details p strong { color: var(--ink); }

/* ---------- related tools hub ---------- */
.tools-hub { margin: 40px 0; }
.tools-hub > h2 { font-size: 1.45rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.hub-sub { color: var(--muted); margin: 0 0 22px; max-width: 38rem; }
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hub-card {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(31, 27, 51, 0.5);
  text-decoration: none; color: var(--ink);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.hub-card:hover { transform: translateY(-4px) translateZ(12px); border-color: rgba(139, 92, 246, 0.5); box-shadow: var(--shadow-lift); }
.hub-card:focus { outline: none; box-shadow: var(--focus-ring); }
.hub-name { font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.hub-card:hover .hub-name { color: var(--violet-400); }
.hub-desc { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.hub-lang {
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
  padding: 2px 10px; border-radius: 999px; border: 1px solid transparent;
}
.hub-lang-tr { color: #93c5fd; border-color: rgba(96, 165, 250, 0.35); background: rgba(96, 165, 250, 0.08); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 36px; padding: 22px 0 36px; color: var(--faint); font-size: 0.88rem; }
.site-footer p { margin: 4px 0; }
.footer-tech { font-size: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.footer-nav a:hover { color: var(--violet-400); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .cta-card { padding: 32px; }
  .btn-large { width: auto; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .level-grid { grid-template-columns: repeat(3, 1fr); }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .use-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
