/* ASIS Dokumen Administrasi Styles */

.doc-hero {
  position: relative;
  background: var(--s-navy);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 120px;
}

.doc-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.doc-hero-copy h1 {
  font-size: clamp(42px, 4.5vw, 62px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #fff;
  margin: 15px 0 25px;
}

.doc-hero-copy h1 span {
  color: #78aaff;
}

.doc-hero-copy > p {
  font-size: 18px;
  line-height: 1.7;
  color: #a4b4c9;
  max-width: 540px;
}

/* Generator Mockup Visual */
.doc-generator {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
  color: var(--s-ink);
  position: relative;
}

.dg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--s-line);
}

.dg-head span {
  font-size: 16px;
  font-weight: 700;
}

.dg-controls {
  display: flex;
  gap: 8px;
}

.dg-controls i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
}

.dg-controls i:nth-child(1) { background: #ff5f56; }
.dg-controls i:nth-child(2) { background: #ffbd2e; }
.dg-controls i:nth-child(3) { background: #27c93f; }

.dg-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dg-form-group {
  margin-bottom: 16px;
}

.dg-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--s-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dg-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 14px;
  color: var(--s-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dg-select::after {
  content: '▼';
  font-size: 10px;
  color: var(--s-muted);
}

.dg-preview {
  background: #f1f5f9;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.dg-doc-skeleton {
  width: 120px;
  height: 160px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dg-line {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  width: 100%;
}
.dg-line.short { width: 60%; }
.dg-line.title { height: 8px; margin-bottom: 8px; background: var(--s-blue); opacity: 0.2; }

.dg-action {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.dg-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--s-blue);
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 10px;
  font-size: 15px;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.dg-btn:hover { background: #0c5ce8; }

/* Catalog Grid Cards */
.doc-grid-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.doc-role-card {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(10,30,50,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.doc-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,30,50,0.06);
}

.role-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--s-line);
}

.role-head b {
  width: 44px;
  height: 44px;
  background: #e7efff;
  color: var(--s-blue);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

/* Colors for different roles */
.doc-role-card:nth-child(2) .role-head b { background: #f3e8ff; color: #7757e8; }
.doc-role-card:nth-child(3) .role-head b { background: #e3f7ef; color: #13a678; }
.doc-role-card:nth-child(4) .role-head b { background: #ffece0; color: #ed8530; }
.doc-role-card:nth-child(5) .role-head b { background: #e0f2f5; color: #0e9ebd; }
.doc-role-card:nth-child(6) .role-head b { background: #fce7f3; color: #d14b8f; }
.doc-role-card:nth-child(7) .role-head b { background: #fdf4ff; color: #a21caf; }

.role-head h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--s-ink);
}

.role-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-docs span {
  font-size: 12px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--s-muted);
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
}

.role-docs span:hover {
  background: #fff;
  border-color: var(--s-blue);
  color: var(--s-blue);
}

/* Architecture Grid */
.doc-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.arch-card {
  background: #fff;
  border: 1px solid var(--s-line);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.arch-icon {
  width: 56px;
  height: 56px;
  background: var(--s-soft);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 20px;
  color: var(--s-blue);
}

.arch-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.arch-card p {
  font-size: 14px;
  color: var(--s-muted);
  line-height: 1.6;
}

/* SLB & PKBM Split */
.doc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.split-card {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.split-card.slb {
  border-top: 4px solid #13a678;
}

.split-card.pkbm {
  border-top: 4px solid #7757e8;
}

.split-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-card p {
  font-size: 15px;
  color: var(--s-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--s-line);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list li::before {
  content: '📄';
  font-size: 14px;
}

/* Data Flow */
.flow-diagram {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: 20px;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}

.flow-node b {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.flow-node.source b { background: var(--s-blue); color: #fff; }
.flow-node.engine b { background: var(--s-navy); color: #fff; }
.flow-node.output b { background: #13a678; color: #fff; }

.flow-node strong {
  font-size: 14px;
  margin-bottom: 4px;
}

.flow-node small {
  font-size: 12px;
  color: var(--s-muted);
}

.flow-arrow {
  color: #cbd5e1;
  font-size: 24px;
}

/* Reworked document-workspace visual */
.doc-hero{padding:104px 0 82px;background:linear-gradient(135deg,#061a38 0%,#0b2e62 57%,#10458d 100%)}
.doc-hero:after{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(132,178,255,.18);border-radius:50%;right:-180px;top:-260px;box-shadow:0 0 0 54px rgba(132,178,255,.04),0 0 0 112px rgba(132,178,255,.035)}
.doc-hero-layout{gap:78px}.doc-hero-copy{position:relative;z-index:1}.doc-hero-copy h1{font-size:clamp(45px,5.1vw,69px);max-width:620px}.doc-hero-copy>p{font-size:18px;max-width:540px;color:#c2d1e6}.doc-hero-types{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.doc-hero-types span{font-size:11px;font-weight:700;color:#d8e7ff;padding:8px 11px;border:1px solid rgba(154,192,248,.35);border-radius:99px;background:rgba(255,255,255,.06)}.services-actions{margin-top:29px}
.doc-generator{padding:0;border:1px solid rgba(152,190,247,.55);border-radius:19px;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.34)}
.dg-head{margin:0;padding:16px 19px;background:#fff;border:0}.dg-head>span{display:flex;align-items:center;gap:9px;font-size:14px}.dg-app-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#1769f4;color:#fff;font-size:9px;font-style:normal;font-weight:800}.dg-head-status{font-size:11px;color:#62718a;display:flex;align-items:center;gap:7px}.dg-head-status b{width:7px;height:7px;border-radius:50%;background:#13b681;box-shadow:0 0 0 4px #dcf8ed}
.dg-workspace{display:grid;grid-template-columns:185px 1fr;min-height:390px}.dg-sidebar{background:#f5f8fd;border-right:1px solid #e5ebf4;padding:19px 13px}.dg-sidebar>small{font-size:8px;font-weight:800;letter-spacing:.11em;color:#7290bd}.dg-sidebar>strong{display:block;font-size:15px;margin:8px 4px 17px}.dg-choice{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:8px;padding:9px 7px;border-radius:9px;margin:3px 0;color:#253754;font-family:inherit;cursor:default}.dg-choice>b{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#e5edf9;color:#3975cc;font-size:8px}.dg-choice span{font-size:10px;font-weight:700;line-height:1.2}.dg-choice em{display:block;font-size:8px;font-weight:500;color:#8796ad;font-style:normal;margin-top:3px}.dg-choice i{font-style:normal;color:#1769f4;font-weight:800;margin-left:auto;font-size:12px;opacity:0}.dg-choice.active{background:#e5efff}.dg-choice.active b{background:#1769f4;color:#fff}.dg-choice.active i{opacity:1}.dg-sidebar>a{display:block;margin:16px 5px 0;font-size:9px;color:#1769f4;font-weight:700;text-decoration:none}.dg-sidebar>a span{font-size:13px;margin-left:2px}
.dg-canvas{padding:17px 19px 18px;background:#fbfcff}.dg-canvas-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;color:#263854;margin-bottom:13px}.dg-canvas-top small{font-size:8px;font-weight:500;color:#91a0b5}.dg-paper{width:195px;height:231px;margin:0 auto 13px;background:#fff;box-shadow:0 8px 22px rgba(32,59,96,.13);border:1px solid #e4e9f2;padding:16px 17px;color:#253a5d;position:relative}.dg-paper-letter{width:20px;height:20px;border-radius:5px;background:#1769f4;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;float:left;margin-right:7px}.dg-paper-school{font-size:7px;font-weight:800;letter-spacing:.04em;line-height:1.45;padding-top:1px}.dg-paper-school small{font-size:5px;letter-spacing:.1em;color:#6084bb}.dg-paper-rule{clear:both;border-top:2px solid #264d88;border-bottom:1px solid #adc2df;height:3px;margin:12px 0 10px}.dg-paper-meta{display:grid;grid-template-columns:1fr 1.35fr;gap:5px 8px;font-size:5px;color:#8090a8}.dg-paper-meta b{font-size:5px;color:#395170}.dg-paper-table{margin-top:11px;display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid #dbe4f0;border-left:1px solid #dbe4f0}.dg-paper-table i{display:block;height:12px;border-right:1px solid #dbe4f0;border-bottom:1px solid #dbe4f0}.dg-paper-sign{position:absolute;bottom:15px;left:17px;right:17px;display:flex;justify-content:space-between;align-items:center;font-size:5px;color:#8999ae}.dg-paper-sign b{color:#12986e;background:#e8fbf4;padding:3px 5px;border-radius:3px;font-size:5px}.dg-canvas .dg-btn{padding:11px;font-size:11px;border-radius:8px}.dg-canvas .dg-btn span{font-size:14px;margin-left:4px}
.doc-proof{background:#fff;border-bottom:1px solid #e5eaf2}.doc-proof>div{display:grid;grid-template-columns:repeat(3,1fr)}.doc-proof span{display:flex;gap:10px;align-items:center;padding:21px 28px;border-right:1px solid #e7edf4;font-weight:700;color:#273b59;font-size:13px}.doc-proof span:first-child{border-left:1px solid #e7edf4}.doc-proof b{font-size:10px;color:#1769f4;letter-spacing:.08em}
.mod-section{padding:108px 0}.mod-intro{max-width:690px}.mod-intro h2{font-size:clamp(36px,4.4vw,53px);line-height:1.08;letter-spacing:-.055em;color:#10264a;margin:14px 0 18px}.mod-intro p{font-size:17px;line-height:1.75;color:#62738d;max-width:640px}.mod-highlights{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:14px;margin-top:47px}.mod-highlights article{border:1px solid #dbe5f2;border-radius:16px;padding:26px;background:#fff}.mod-highlights article:first-child{background:#0b2e62;color:#fff;border-color:#0b2e62}.mod-highlights article h3{font-size:18px;margin:17px 0 8px}.mod-highlights article:first-child h3{color:#fff}.mod-highlights article p{font-size:14px;line-height:1.65;color:#6a7c95;margin:0}.mod-highlights article:first-child p{color:#c3d5ef}.mh-icon{font-size:21px}
.doc-grid-catalog{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:45px}.doc-role-card{border-radius:14px;padding:21px;box-shadow:none}.doc-role-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(17,48,91,.1)}.role-head{margin-bottom:16px;padding-bottom:13px}.role-head b{width:38px;height:38px;font-size:17px}.role-docs span{font-size:11px;padding:7px 9px}
.catalog-truth{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:26px;border:1px solid #dbe5f2;border-radius:15px;overflow:hidden;background:#dbe5f2}.catalog-truth>div{background:#fff;padding:22px}.catalog-truth b{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#183862}.catalog-truth b:before{content:"";width:8px;height:8px;border-radius:50%;background:#1769f4}.catalog-truth>div:nth-child(2) b:before{background:#eea323}.catalog-truth>div:nth-child(3) b:before{background:#795ee9}.catalog-truth p{font-size:12px;line-height:1.65;color:#687a94;margin:9px 0 0}
.doc-arch-grid{gap:15px}.arch-card{padding:28px 19px;text-align:left;border-radius:15px}.arch-icon{margin:0 0 18px;width:46px;height:46px;font-size:20px}.arch-card h3{font-size:17px}.arch-card p{font-size:13px}.doc-split{gap:18px}.split-card{padding:36px;border-radius:16px}.flow-diagram{max-width:980px;border-radius:16px;background:linear-gradient(90deg,#f9fbff,#fff);padding:48px}.services-final{padding:112px 0}

/* Responsive */
@media (max-width: 1024px) {
  .doc-arch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .doc-hero{padding:70px 0 54px}.doc-hero-layout{gap:38px}.dg-workspace{grid-template-columns:1fr}.dg-sidebar{border-right:0;border-bottom:1px solid #e5ebf4}.dg-sidebar>small,.dg-sidebar>strong,.dg-sidebar>a{display:none}.dg-sidebar{display:flex;gap:6px;padding:10px}.dg-choice{width:auto;flex:1;margin:0;padding:7px}.dg-choice span{font-size:9px}.dg-choice em,.dg-choice i{display:none}.doc-proof>div{grid-template-columns:1fr}.doc-proof span,.doc-proof span:first-child{border-left:0;border-right:0;border-bottom:1px solid #e7edf4;padding:14px 3px}.mod-section{padding:72px 0}.mod-highlights,.doc-grid-catalog,.catalog-truth{grid-template-columns:1fr}.mod-intro p{font-size:16px}
  .doc-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .doc-hero-copy > p {
    margin: 0 auto;
  }
  
  .dg-body {
    grid-template-columns: 1fr;
  }
  
  .doc-tabs {
    justify-content: flex-start;
  }
  
  .doc-split {
    grid-template-columns: 1fr;
  }
  
  .flow-diagram {
    flex-direction: column;
    gap: 30px;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .doc-arch-grid {
    grid-template-columns: 1fr;
  }
  
  .doc-chip {
    width: 100%;
    text-align: center;
  }
}
