/* ============================================================
   5. FORMATTING SERVICE PAGE — formatting.php
      (originally id="fmt-page-css")
   ============================================================ */
.kf-wrap { max-width: 1450px; margin: 0 auto; padding: 0 20px; }
.kf-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; font-size:15px; font-weight:600;
  border-radius:10px; text-decoration:none;
  background:#0f172a; color:#fff; border:1.5px solid transparent;
  transition:transform .15s, box-shadow .15s; cursor:pointer;
}
.kf-btn:hover { transform:translateY(-1px); color:#fff; box-shadow:0 14px 28px -10px rgba(15,23,42,.35); }
.kf-btn-ghost { background:#fff; color:#0f172a; border-color:#e2e8f0; }
.kf-btn-ghost:hover { border-color:#0f172a; color:#0f172a; box-shadow:none; }

.kf-section { padding:66px 0; }
.kf-alt { background:#f8fafc; }
.kf-head { text-align:center; max-width:720px; margin:0 auto 42px; }
.kf-eyebrow {
  display:inline-block; font-size:12px; text-transform:uppercase;
  letter-spacing:.1em; color:#00d4ff; font-weight:700; margin-bottom:10px;
}
.kf-h2 {
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(25px,3.2vw,37px); font-weight:800;
  color:#0f172a; line-height:1.16; margin:0 0 14px;
}
.kf-lede { font-size:16.5px; line-height:1.65; color:#334155; margin:0; }

/* HERO */
.kf-hero {
  background:linear-gradient(287deg, #ffffff 0%, #ffffff 40%, #d5d5d5 100%);
  padding:180px 0 66px; position:relative; overflow:hidden;
}
.kf-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.kf-crumb { font-size:13px; color:#64748b; margin-bottom:16px; }
.kf-crumb a { color:#6366f1; text-decoration:none; }
.kf-hero h1 {
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(30px,4.4vw,50px); font-weight:900;
  line-height:1.07; color:#0f172a; margin:0 0 18px; letter-spacing:-.02em;
}
.kf-hero h1 em { font-style:normal; color:#00d4ff; }
.kf-hero-sub { font-size:17px; line-height:1.62; color:#334155; margin:0 0 24px; max-width:560px; }
.kf-hero-badges { display:flex; flex-wrap:wrap; gap:14px; margin-top:22px; }
.kf-hero-badge {
  display:flex; align-items:center; gap:7px; font-size:13px;
  color:#334155; font-weight:600; background:#fff;
  border:1px solid #e2e8f0; padding:7px 13px; border-radius:100px;
}
.kf-hero-badge span { color:#10b981; font-weight:800; }
.kf-hero-visual { position:relative; }
.kf-hero-visual img { width:100%; height:auto; border-radius:16px; box-shadow:0 24px 48px -12px rgba(15,23,42,.22); }
.kf-hero-platforms {
  display:flex; gap:22px; flex-wrap:wrap; margin-top:24px;
  padding-top:22px; border-top:1px solid rgba(15,23,42,.1);
}
.kf-hero-platforms span {
  font-family:'Playfair Display',serif; font-size:15px;
  font-weight:700; color:#475569; opacity:.8;
}

/* SPECS TABLE */
.kf-spec-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.kf-spec {
  width:100%; min-width:720px; border-collapse:collapse; background:#fff;
  border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(15,23,42,.07);
}
.kf-spec thead th {
  background:#0f172a; color:#fff; font-size:12px; text-transform:uppercase;
  letter-spacing:.05em; font-weight:700; padding:14px; text-align:left; white-space:nowrap;
}
.kf-spec tbody td { padding:15px 14px; border-bottom:1px solid #e2e8f0; font-size:14px; color:#334155; vertical-align:top; }
.kf-spec tbody tr:last-child td { border-bottom:none; }
.kf-spec tbody tr:hover { background:#f8fafc; }
.kf-spec td:first-child { font-weight:700; color:#0f172a; white-space:nowrap; }
.kf-mono { font-family:ui-monospace,Menlo,monospace; font-size:13px; color:#00d4ff; font-weight:600; }

/* WHAT WE HANDLE — cards */
.kf-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; margin-top:40px; }
.kf-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:26px 22px; transition:transform .2s,box-shadow .2s,border-color .2s; }
.kf-card:hover { transform:translateY(-3px); border-color:#6366f1; box-shadow:0 18px 36px -12px rgba(15,23,42,.14); }
.kf-card-ic { width:46px; height:46px; background:linear-gradient(135deg,#eef2ff,#e0e7ff); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.kf-card h3 { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; color:#0f172a; margin:0 0 8px; }
.kf-card p { font-size:14px; line-height:1.6; color:#64748b; margin:0; }

/* HOWTO STEPS */
.kf-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.kf-step { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:24px 20px; position:relative; }
.kf-step-n {
  width:36px; height:36px; background:#0f172a; color:#fff; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif; font-size:18px; font-weight:800; margin-bottom:14px;
}
.kf-step h3 { font-family:'Playfair Display',serif; font-size:16px; font-weight:700; color:#0f172a; margin:0 0 8px; line-height:1.3; }
.kf-step p { font-size:13.5px; line-height:1.6; color:#64748b; margin:0; }

/* PROSE */
.kf-prose { max-width:1400px; margin:36px auto 0; }
.kf-prose h3 { font-family:'Playfair Display',Georgia,serif; font-size:20px; font-weight:700; color:#0f172a; margin:30px 0 12px; line-height:1.28; }
.kf-prose h3:first-child { margin-top:0; }
.kf-prose p { font-size:16px; line-height:1.75; color:#334155; margin:0 0 16px; }
.kf-prose ul { margin:0 0 18px; padding-left:0; list-style:none; }
.kf-prose ul li { padding-left:26px; position:relative; font-size:15px; line-height:1.65; color:#334155; margin-bottom:9px; }
.kf-prose ul li::before { content:'✓'; position:absolute; left:0; top:0; color:#10b981; font-weight:800; }
.kf-prose a { color:#00d4ff; font-weight:600; }

/* TESTIMONIAL (formatting-specific only) */
.kf-quotes { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px; margin-top:38px; }
.kf-quote { background:#fff; padding:22px; border-radius:12px; border:1px solid #e2e8f0; }
.kf-quote .kf-stars { color:#f59e0b; letter-spacing:2px; font-size:14px; margin-bottom:10px; }
.kf-quote p { font-size:14px; line-height:1.65; color:#334155; font-style:italic; margin:0 0 14px; }
.kf-quote footer { display:flex; align-items:center; gap:9px; padding-top:12px; border-top:1px solid #e2e8f0; }
.kf-flag { width:28px; height:21px; border-radius:3px; background:#f1f5f9; display:flex; align-items:center; justify-content:center; font-size:15px; }
.kf-qname { font-size:13px; font-weight:600; color:#0f172a; }
.kf-qloc { font-size:12px; color:#64748b; }

/* FAQ */
.kf-faq { max-width:860px; margin:38px auto 0; }
.kf-faq-item { background:#fff; border:1px solid #e2e8f0; border-radius:10px; margin-bottom:10px; overflow:hidden; transition:box-shadow .2s; }
.kf-faq-item[open] { box-shadow:0 4px 12px rgba(15,23,42,.08); }
.kf-faq-item summary { padding:17px 20px; font-size:15.5px; font-weight:600; color:#0f172a; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.kf-faq-item summary::-webkit-details-marker { display:none; }
.kf-faq-item summary::after { content:'+'; font-size:23px; font-weight:300; color:#00d4ff; transition:transform .2s; flex-shrink:0; }
.kf-faq-item[open] summary::after { transform:rotate(45deg); }
.kf-faq-answer { padding:0 20px 20px; font-size:15px; line-height:1.72; color:#334155; }

/* CTA */
.kf-cta { background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%); color:#fff; padding:76px 0; text-align:center; position:relative; overflow:hidden; }
.kf-cta::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 25% 30%,rgba(99,102,241,.22) 0%,transparent 50%),radial-gradient(circle at 78% 70%,rgba(245,158,11,.15) 0%,transparent 50%); }
.kf-cta > * { position:relative; z-index:1; }
.kf-cta h2 { font-family:'Playfair Display',serif; font-size:clamp(27px,4vw,42px); font-weight:800; margin:0 0 15px; }
.kf-cta p { font-size:17px; line-height:1.6; color:rgba(255,255,255,.85); max-width:560px; margin:0 auto 30px; }
.kf-cta .kf-btn { background:#f59e0b; color:#0f172a; }
.kf-cta .kf-btn-ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,.3); }
.kf-cta .kf-btn-ghost:hover { border-color:#fff; color:#fff; }
/* PRICING PACKAGES (New Design System) */
.kf-pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.kf-pkg-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px; position: relative; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.kf-pkg-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(15,23,42,.1); }
.kf-pkg-card.featured { border-color: #00d4ff; box-shadow: 0 12px 24px -8px rgba(79,70,229,.15); }
.kf-pkg-card.featured:hover { box-shadow: 0 18px 36px -8px rgba(79,70,229,.25); }
.kf-pkg-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #00d4ff; color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.kf-pkg-name { font-size: 15px; font-weight: 700; color: #64748b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.kf-pkg-price { font-family: 'Playfair Display', Georgia, serif; font-size: 46px; font-weight: 800; color: #0f172a; margin-bottom: 4px; line-height: 1; }
.kf-pkg-price sup { font-size: 22px; vertical-align: super; }
.kf-pkg-note { font-size: 13px; color: #64748b; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }
.kf-pkg-list { list-style: none; padding: 0; margin: 0 0 32px; flex-grow: 1; }
.kf-pkg-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #334155; margin-bottom: 14px; line-height: 1.5; }
.kf-pkg-list li .check { color: #10b981; font-weight: 800; }
.kf-pkg-btn { text-align: center; display: block; padding: 14px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; transition: all .2s; }
.kf-pkg-card.featured .kf-pkg-btn { background: #00d4ff; color: #fff; border-color: #00d4ff; }
.kf-pkg-btn:hover { background: #e2e8f0; }
.kf-pkg-card.featured .kf-pkg-btn:hover { background: #4338ca; box-shadow: 0 8px 16px -4px rgba(79,70,229,.3); }
/* related */
.kf-related { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:38px; }
.kf-rel-card { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:20px; text-decoration:none; color:inherit; transition:border-color .2s; }
.kf-rel-card:hover { border-color:#6366f1; color:inherit; }
.kf-rel-card h4 { font-family:'Playfair Display',serif; font-size:16px; font-weight:700; margin:0 0 4px; color:#0f172a; }
.kf-rel-card p { font-size:13px; color:#64748b; margin:0; }

@media (max-width:860px){
  .kf-hero-grid { grid-template-columns:1fr; gap:32px; }
  .kf-steps { grid-template-columns:1fr; }
  .kf-section { padding:46px 0; }
}


