/* ============================================================
   EdiPDF  Minimal Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  /* Brand  lighter blue */
  --blue-50: #f0f5ff;
  --blue-100: #e0eaff;
  --blue-200: #c7d9fe;
  --blue-400: #6b9ff8;
  --blue-500: #4f7ef7;
  /* primary */
  --blue-600: #3a6ae8;
  /* hover */
  --blue-700: #2a55cc;
  /* dark */

  /* Neutrals */
  --gray-0: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-150: #eaedf1;
  --gray-200: #e2e6ec;
  --gray-300: #cbd2db;
  --gray-400: #9aa4b2;
  --gray-500: #6b7787;
  --gray-600: #4b5465;
  --gray-700: #2e3748;
  --gray-900: #141924;

  /* Utility */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .07), 0 1px 3px rgba(0, 0, 0, .04);
  --transition: .15s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-150);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  margin-right: auto;
}

.logo-img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-500);
  font-size: 13.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-links a.active {
  color: var(--blue-500);
  background: var(--blue-50);
}

.nav-cta {
  background: var(--blue-500) !important;
  color: var(--gray-0) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-xs) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-600) !important;
  color: var(--gray-0) !important;
}

/* --- Header Badge Wrap --- */
.header-badge-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 24px 0;
  background: var(--gray-0);
}

/* --- Free Badge (Modern Premium) --- */
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 126, 247, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(79, 126, 247, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.free-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  animation: badge-shimmer 4s infinite;
}

@keyframes badge-shimmer {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.free-badge:hover {
  transform: translateY(-1px) scale(1.02);
  background: #fff;
  border-color: var(--blue-400);
  box-shadow: 0 6px 20px rgba(79, 126, 247, 0.15);
}

.free-badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.free-badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: 50%;
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .free-badge {
    padding: 5px 10px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .free-badge span:last-child {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-150);
  text-align: center;
  padding: 42px 24px 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-50);
  color: var(--blue-500);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 99px;
  margin-bottom: 24px;
  border: 1px solid var(--blue-100);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  max-width: 720px;
  margin: 0 auto 14px;
  letter-spacing: -.025em;
}

.hero h1 span {
  color: var(--blue-500);
}

.hero h3 {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 400;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--blue-500);
  color: var(--gray-0);
  border-color: var(--blue-500);
}

.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.btn-secondary {
  background: var(--gray-0);
  color: var(--gray-700);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--blue-200);
  color: var(--blue-600);
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--blue-200);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 99px;
  letter-spacing: -.01em;
  box-shadow: 0 2px 8px rgba(79, 126, 247, .25);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-lg::after {
  content: '\2192';
  margin-left: 8px;
  display: inline-block;
  transition: transform var(--transition);
}

.btn-lg:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 126, 247, .35);
}

.btn-lg:hover::after {
  transform: translateX(3px);
}

.hero-status {
  margin-top: 18px;
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.status-dot {
  color: #22c55e;
  font-size: 9px;
}

/* --- Trust badges --- */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  position: relative;
}

.badge+.badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--gray-200);
}

.badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .7;
}

/* ============================================================
   AD BANNERS
   ============================================================ */
.ad-banner {
  background: var(--gray-100);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 20px;
  color: var(--gray-300);
  font-size: 11px;
}

.ad-wrap {
  padding: 28px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.section {
  padding: 72px 24px;
}

.section-alt {
  background: var(--gray-0);
}

.section-gray {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-150);
  border-bottom: 1px solid var(--gray-150);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.section-inner.reverse {
  direction: rtl;
}

.section-inner.reverse>* {
  direction: ltr;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  background: linear-gradient(to right, white, var(--blue-50));
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 5px rgba(79, 126, 247, 0.08);
  position: relative;
}

.section-label::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--blue-500);
  border-radius: 50%;
  display: inline-block;
}

.section-body h2 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 22px;
}

.section-body p b {
  color: var(--gray-700);
  font-weight: 600;
}

.section-sub {
  font-size: 12px !important;
  color: var(--blue-500) !important;
  font-weight: 500 !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.inline-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.section-visual {
  background: var(--gray-100);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.section-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 20px 20px;
  background: var(--gray-0);
  background: radial-gradient(circle at top right, var(--blue-50), var(--gray-0));
  color: var(--gray-900);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-150);
}

.how-section h2 {
  text-align: center;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  text-align: left;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.step:hover {
  background: var(--gray-0);
  border-color: var(--blue-200);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.step-icon {
  width: 44px;
  height: 44px;
  color: var(--blue-500);
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.step:hover .step-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--blue-100);
  color: var(--blue-600);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.step p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.how-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 72px 24px;
  background: var(--gray-0);
  border-top: 1px solid var(--gray-150);
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

details {
  background: var(--gray-0);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

details[open] {
  border-color: var(--blue-200);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--blue-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.7;
}

.faq-answer b {
  color: var(--gray-700);
  font-weight: 600;
}

.faq-answer a {
  color: var(--blue-500);
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  padding: 60px 24px 48px;
  text-align: center;
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-150);
}

.page-hero h1 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--gray-900);
  max-width: 780px;
  margin: 0 auto 14px;
  line-height: 1.2;
}

.page-hero h3 {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 400;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.page-hero .trust-badges {
  margin-top: 24px;
}

/* ============================================================
   HOW-TO STEPS (inner pages)
   ============================================================ */
.howto-section {
  padding: 64px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-150);
  border-bottom: 1px solid var(--gray-150);
}

.howto-section h2 {
  text-align: center;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.howto-steps {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.howto-step {
  background: var(--gray-0);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.howto-step:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.howto-step-num {
  width: 34px;
  height: 34px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  flex-shrink: 0;
}

.howto-step-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.howto-step-body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-0);
  border-top: 1px solid var(--gray-150);
  padding: 0 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray-400);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gray-700);
}

.footer-copy {
  font-size: 11.5px;
  color: var(--gray-300);
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border-top: 1px solid var(--gray-150);
}

/* ============================================================
   CONTENT PAGES (About, Privacy, etc.)
   ============================================================ */
.content-section {
  padding: 64px 24px 80px;
  background: var(--gray-0);
}

.content-inner {
  max-width: 720px;
  margin: 0 auto;
}

.text-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--gray-900);
}

.text-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.text-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.text-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 57px;
    left: 0;
    right: 0;
    background: var(--gray-0);
    flex-direction: column;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--gray-150);
    box-shadow: var(--shadow-md);
    gap: 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    border-radius: var(--radius-xs);
  }

  header {
    position: relative;
  }

  .hero {
    padding: 18px 20px 44px;
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-inner.reverse {
    direction: ltr;
  }

  .section-visual {
    min-height: unset;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .howto-steps {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    gap: 6px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 11px;
  }

  .section {
    padding: 52px 20px;
  }

  .how-section {
    padding: 52px 20px;
  }

  .faq-section {
    padding: 52px 20px;
  }

  .howto-section {
    padding: 48px 20px;
  }

  .page-hero {
    padding: 44px 20px 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    justify-content: center;
  }

  .nav {
    padding: 0 16px;
  }
}

/* ============================================================
   NEW HOMEPAGE MODULES (INTEGRATED)
   ============================================================ */

.section--soft {
  background: var(--gray-50);
}

.section--dark {
  background: var(--gray-900);
  color: #fff;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid rgba(79, 126, 247, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.label svg {
  width: 10px;
  height: 10px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-title--light {
  color: #fff;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.7;
}

.section-desc--light {
  color: var(--gray-400);
}

.section-header {
  margin-bottom: 48px;
}

/* --- Tools Grid --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-300);
}

.tool-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tool-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
}

.tool-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  margin-top: 4px;
  transition: gap .15s;
}

.tool-card:hover .tool-card__link {
  gap: 10px;
  color: var(--blue-600);
}

.tool-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #dcfce7;
  color: #15803d;
  border-radius: 100px;
  padding: 2px 8px;
}

/* --- Why EdiPDF is Different --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-body p {
  font-size: 15px;
  color: var(--gray-350);
  line-height: 1.75;
  margin-bottom: 20px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-list__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(79, 126, 247, 0.15);
  color: var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.why-list__text span {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--gray-200);
}

.feature__icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Use Cases Grid --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.case-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}

.case-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-300);
}

.case-card__emoji {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.case-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.case-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Technical Privacy Section --- */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privacy-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.privacy-body p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}

.privacy-card {
  background: var(--gray-900);
  border-radius: var(--radius-md);
  padding: 36px;
  color: #fff;
}

.privacy-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-step__num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 126, 247, 0.2);
  color: var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.privacy-step strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.privacy-step span {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Interactive FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.faq-item+.faq-item {
  margin-top: 8px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  transition: background .15s;
}

.faq-q:hover {
  background: var(--gray-50);
}

.faq-q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gray-500);
  transition: transform .25s;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  display: block;
}

/* --- Guides & Resources Grid --- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.resource-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
}

.resource-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-300);
}

.resource-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.resource-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gray-900);
}

.resource-card p {
  font-size: 13px;
  color: var(--gray-500);
  flex: 1;
}

.resource-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .15s;
}

.resource-card:hover .resource-card__link {
  gap: 9px;
}

/* --- Bottom CTA Banner --- */
.cta-banner {
  background: var(--blue-500);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255, 255, 255, .08), transparent);
}

.cta-banner h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .8);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-banner .btn-white {
  position: relative;
  background: #fff;
  color: var(--gray-900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.cta-banner .btn-white:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transform: translateY(-1px);
}

/* --- Scroll Fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive Adaptations --- */
@media (max-width: 768px) {

  .why-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-banner {
    padding: 48px 28px;
  }
}