/* =====================================================
   CetakCepat Digital — Design System
   Tone: Formal & Profesional | Mobile-first
   ===================================================== */

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

:root {
  /* Warna */
  --ink: #10203F;
  --ink-soft: #4A5568;
  --ink-faint: #8892A6;
  --paper: #FAF8F4;
  --paper-card: #FFFFFF;
  --border: #E5E1D8;
  --primary: #1D4ED8;
  --primary-dark: #1739AC;
  --accent: #F5720B;
  --accent-dark: #D65F00;
  --success: #158A4B;
  --success-bg: #E7F6EE;
  --warning: #C77700;
  --warning-bg: #FDF1DC;
  --info-bg: #E7EEFC;
  --danger: #D64545;
  --danger-bg: #FBEAEA;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 32, 63, 0.08);
  --shadow-sm: 0 4px 14px rgba(16, 32, 63, 0.06);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p  { margin: 0 0 14px; color: var(--ink-soft); }

a { color: var(--primary); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Focus & Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper-card);
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 20px 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 6px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  min-height: 48px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 114, 11, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--ink);
  color: #fff;
}
.btn-secondary:hover { background: #0A1730; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-whatsapp {
  background: #1FAA55;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 170, 85, 0.28);
}
.btn-whatsapp:hover { background: #178F46; }

.btn-sm { padding: 9px 14px; min-height: 38px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  padding: 44px 0 40px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--info-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 { font-size: 32px; max-width: 560px; }
.hero .lead { font-size: 16.5px; max-width: 480px; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

@media (min-width: 520px) {
  .hero-actions { flex-direction: row; }
}

.hero-visual {
  margin-top: 32px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #10203F 0%, #1D4ED8 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.crop-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.55);
}
.crop-mark.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.crop-mark.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.crop-mark.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.crop-mark.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.hero-visual-content {
  text-align: center;
  color: #fff;
  padding: 30px;
}
.hero-visual-content .big-stat { font-family: 'Poppins', sans-serif; font-size: 44px; font-weight: 800; }
.hero-visual-content .stat-label { font-size: 13.5px; opacity: 0.85; margin-top: 4px; }

/* ---------- Section ---------- */
.section { padding: 44px 0; }
.section-head { margin-bottom: 26px; max-width: 560px; }
.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 8px;
  display: block;
}

/* ---------- Manfaat / Benefit Grid ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--info-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 6px; }
.benefit-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Product / Catalog Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.product-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.product-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #EEF1F8, #E4E9F5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 30px;
  position: relative;
}

.product-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11.5px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.product-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.product-price { font-size: 14px; color: var(--ink-soft); margin-top: auto; }
.product-price strong { color: var(--accent-dark); font-size: 15px; }

/* ---------- Card / Panel generic ---------- */
.card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }

input[type="text"], input[type="tel"], input[type="number"],
input[type="email"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}
textarea { resize: vertical; min-height: 90px; }

.error-text { color: var(--danger); font-size: 13px; margin-top: 6px; display: block; }

.upload-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  background: #FCFBF8;
}
.upload-box:hover { border-color: var(--primary); }
.upload-box .upload-icon { font-size: 26px; margin-bottom: 8px; }
.upload-box .upload-text { font-size: 14px; color: var(--ink-soft); }
.upload-box .upload-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }

.file-preview {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  border: 1px solid #BFE3CE;
}
.file-preview.show { display: flex; }
.file-preview-icon { font-size: 20px; }
.file-preview-name { font-size: 13.5px; color: var(--ink); font-weight: 600; word-break: break-all; }

/* ---------- Price calculator box ---------- */
.price-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 18px;
}
.price-box .price-label { font-size: 13px; opacity: 0.75; margin-bottom: 4px; }
.price-box .price-total {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
}
.price-box .price-detail { font-size: 13px; opacity: 0.8; margin-top: 6px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info { background: var(--info-bg); color: var(--primary); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

/* ---------- Tracker / Timeline ---------- */
.tracker {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 22px 0;
}
.tracker-step {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 26px;
}
.tracker-step:last-child { padding-bottom: 0; }
.tracker-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 1;
}
.tracker-step.done .tracker-dot { background: var(--success); }
.tracker-step.current .tracker-dot { background: var(--accent); }
.tracker-line {
  position: absolute;
  left: 12.5px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.tracker-step.done .tracker-line { background: var(--success); }
.tracker-content { padding-top: 2px; }
.tracker-content .t-title { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.tracker-content .t-desc { font-size: 13px; color: var(--ink-faint); }

/* ---------- Empty / Success state ---------- */
.state-box {
  text-align: center;
  padding: 42px 20px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  background: #FCFBF8;
}
.state-box .state-icon { font-size: 30px; margin-bottom: 10px; }
.state-box h3 { margin-bottom: 6px; }
.state-box p { max-width: 340px; margin: 0 auto 16px; font-size: 14px; }

.success-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--success-bg);
  border: 1px solid #BFE3CE;
}
.success-box .state-icon { color: var(--success); font-size: 34px; }

/* ---------- Trust / Testimoni ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.trust-quote { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; font-style: normal; }
.trust-person { display: flex; align-items: center; gap: 10px; }
.trust-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.trust-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.trust-role { font-size: 12px; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); }
.footer-meta { font-size: 13px; color: var(--ink-faint); }
.footer-links { display: flex; gap: 18px; font-size: 13.5px; }

/* ---------- WhatsApp Floating Button ---------- */
.wa-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  background: #1FAA55;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 24px rgba(31, 170, 85, 0.4);
}
.wa-float:hover { background: #178F46; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Table (admin) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
th, td { text-align: left; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
th { background: #F5F3EE; color: var(--ink-soft); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.hidden { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 10px; }
