@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Inter, sans-serif;
}

html {
	font-size: 14px;
	letter-spacing: 0.8px;
	scroll-behavior: smooth;
}

body {
	background-color: #f9f9f9;
	color: #333;
}

header {
	display: flex;
	position: fixed;
	width: 100%;
	z-index: 999;
	justify-content: space-between;
	align-items: center;
	top: 0;
	padding: 2rem 5rem 0 5rem;
}

header a {
	color: inherit;
	text-decoration: none;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.logo img {
	width: 4rem;
	height: 4rem;
}

.logo-text {
	font-weight: bold;
	font-size: 2rem;
}

.logo-text .highlight {
	color: #437dce;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 1rem;
}
nav a {
	text-decoration: none;
	position: relative;
	color: #111;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

nav a,
header .logo {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px) saturate(400%);
}

nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #3b82f6;
	transform: scaleX(0);
	transform-origin: var(--u-origin, left);
	transition: transform 220ms cubic-bezier(0, 0.99, 0.58, 1);
}

nav a.__u-in::after,
nav a.active::after {
	transform: scaleX(1);
}

nav a.slide-left::after {
	left: 0;
	right: auto;
	width: 100%;
}

nav a.slide-right::after {
	right: 0;
	left: auto;
	width: 100%;
}

.hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6rem;
	height: 100vh;
}

.hero-text {
	max-width: 500px;
}

.hero-text h1 {
	font-size: 3.5rem;
	font-weight: 400;
	margin-bottom: 1rem;
	line-height: 1.19;
}

.hero-text p {
	font-size: 24px;
	color: #555;
	margin-bottom: 1.8rem;
}

.search-bar {
	position: relative;
	width: 100%;
	max-width: 30rem;
}

.search-bar input {
	width: 100%;
	font-size: 1.5rem;
	padding: 0.75rem 6rem 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	outline: none;
}

#search {
	padding: 4.25rem 6rem 1rem 6rem;
}

.search-bar {
	position: relative;
	width: 100%;
	max-width: 30rem;
	display: flex;
	align-items: center;
}

.search-bar input {
	flex: 1;
	font-size: 1.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 0.4rem;
	outline: none;
}

.search-bar button,
.search-container button {
	position: absolute;
	right: 0.4rem;
	top: 50%;
	transform: translateY(-50%);
	width: 3.5rem;
	height: 2.5rem;
	border-radius: 0.3rem;
	background-color: #3b82f6;
	border: none;
	color: white;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
}

.search-bar button i {
	transition: transform 0.2s ease;
}

.search-bar button:hover {
	background-color: #3266b5;
}
.search-bar button:hover i {
	transform: translateX(5px);
}

.search-bar button i.fly {
	animation: fly-out-in 0.6s ease forwards;
}

@keyframes fly-out-in {
	0% {
		transform: translateX(0);
		opacity: 1;
	}
	40% {
		transform: translateX(150%);
		opacity: 0;
	}
	60% {
		transform: translateX(-150%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.hero-image img {
	width: 30rem;
}

.research {
	padding: 4rem 6rem;
}

.results {
	padding: 0 6rem;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.section-header h2 {
	font-size: 3rem;
	font-weight: 700;
}

.section-header .see-more {
	text-decoration: none;
	color: #0077cc;
	font-size: 1rem;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	gap: 1.8rem;
}

.see-more .text-1 {
	transition: transform 0.3s ease;
}

.section-header .see-more:hover {
	color: #005fa3;
}

.section-header .see-more:hover .text-1 {
	transform: translateX(-0.75rem);
}

.research-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1rem;
}

.research-card,
.profile-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	border-radius: 0.8rem;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	transition: transform 1s cubic-bezier(0, 0.99, 0.58, 1), box-shadow 0.2s ease;
}

.profile-card {
	gap: 1rem;
}

.profile-info {
	color: #555;
}

.profile-info h3 {
	font-weight: normal;
	color: #111;
	margin-bottom: 0.5rem;
}

.profile-pic {
	width: 10rem;
	height: 10rem;
	object-fit: cover;
	border-radius: 50%;
}

.profile-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.research-card:hover,
.profile-card:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
	transform: translate(8px, -8px) rotate(-1deg);
}

.search-status {
	font-size: 1.5rem;
	padding: 1rem 6rem;
}

.title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.2rem;
}

.research-card .title {
	font-size: 1.5rem;
	font-weight: 400;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bookmark {
	cursor: pointer;
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-left: 0.5rem;
	transition: transform 0.2s ease, color 0.3s ease;
	color: #888;
}

.bookmark:hover {
	transform: scale(1.2);
	color: #3266b5;
}

.bookmark:active {
	transform: scale(0.9) rotate(-10deg);
	transition: transform 0.1s ease;
}

.bookmark.saved {
	color: #2563eb;
	text-shadow: 0 0 8px rgba(15, 49, 241, 0.6);
	animation: pop 0.3s ease;
}

@keyframes pop {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.3);
	}
	100% {
		transform: scale(1);
	}
}

.research-card .author {
	font-size: 1rem;
	color: #666;
	margin-bottom: 0.8rem;
}

.tags {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.tag {
	background: #eaf1ff;
	border: #d5e3ff 1px solid;
	color: #3b82f6;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
}

.abstract {
	font-size: 0.9rem;
	color: #444;
	line-height: 1.4;
	margin-bottom: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.readmore {
	color: #3b82f6;
	font-weight: 500;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.9rem;
	width: 100%;
}

.readmore i {
	transition: transform 0.3s ease;
}

.research-card:hover .readmore i,
.profile-card:hover .readmore i {
	transform: translateX(0.5rem);
}

.footer {
	background-color: #3b82f6;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 2rem 6rem;
	font-size: 0.7rem;
	bottom: 0;
}

.footer-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-logo {
	height: 3rem;
}

.footer-center {
	flex: 1;
}

.footer-right {
	text-align: right;
}

.footer a {
	color: inherit;
}

html.posts {
	padding-top: 5rem;
}

.settings {
	margin-bottom: 1rem;
}

.pagination {
	margin-top: 1rem;
}

.posts .research-card {
	flex: 1 1 100%;
	max-width: 100%;
}

.posts .research-container {
	gap: 1rem;
}

#postsPerPage {
	width: 4rem;
	padding: 0.4rem 0.6rem;
	border: 1px solid #d1d5db;
	border-radius: 0.4rem;
	font-size: 0.9rem;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	border-radius: 1rem;
	font-size: 1rem;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	border-radius: 0.8rem;
	padding: 1.5rem;
	color: #111;
	font-weight: 500;
}

.pagination button {
	background: #eaf1ff;
	border: #d5e3ff 1px solid;
	color: #3b82f6;
	border-radius: 0.6rem;
	padding: 0.5rem 1rem;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.2s ease;
	color: #2563eb;
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
}

#prevPage {
	transform-origin: 100%;
}

#nextPage {
	transform-origin: 0;
}

.pagination button:hover {
	background: #3b82f6;
	color: white;
	transform: scaleX(1.025);
}

.pagination i,
.pagination button {
	transition: transform 0.3s;
}

#prevPage:hover i {
	transform: translateX(-0.1rem);
}

#jumpInput {
	width: 3.5rem;
	padding: 0.3rem 0.5rem;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.4rem;
	font-size: 0.95rem;
	transition: box-shadow 0.2s ease, border 0.2s ease;
}

#jumpInput:focus {
	outline: none;
	border: 1px solid #3b82f6;
	box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.search-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0.7rem;
}

.search-container input {
	flex: 1;
	padding: 1rem;
	border: 1px solid #6b7280;
	border-radius: 6px;
	font-size: 1.5rem;
	letter-spacing: 1px;
}

.search-container button {
	padding: 1rem 4rem;
	background-color: #2d7ff9;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1.3rem;
	cursor: pointer;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	height: fit-content;
}

.filter-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	background: #fff;
	border: 1px solid #777;
	color: #6b7280;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	gap: 0.5rem;
	min-width: 180px;
}

.filter-btn i {
	font-size: 12px;
	color: #666;
}

.dropdown-menu {
	display: none;
	flex-direction: column;
	position: absolute;
	top: 110%;
	left: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #777;
	opacity: 0;
	border-radius: 6px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	max-height: 150px;
	overflow-y: auto;
	z-index: 10;
	transform: translateX(0);
	transition: opacity 0.3s, transform 0.4s;
}

.dropdown:hover .dropdown-menu {
	display: flex;
}

.fade-to-left {
	animation: fadeSlideToLeft 0.2s forwards;
}

.fade-to-right {
	animation: fadeSlideToRight 0.2s forwards;
}

.fade-from-left {
	animation: fadeSlideFromLeft 0.2s forwards;
}

.fade-from-right {
	animation: fadeSlideFromRight 0.2s forwards;
}

@keyframes fadeSlideToLeft {
	0% {
		opacity: 1;
		transform: translateX(0) scaleX(1);
	}
	100% {
		opacity: 0;
		transform: translateX(-12px) scaleX(0.95);
	}
}

@keyframes fadeSlideToRight {
	0% {
		opacity: 1;
		transform: translateX(0) scaleX(1);
	}
	100% {
		opacity: 0;
		transform: translateX(12px) scaleX(1.05);
	}
}

@keyframes fadeSlideFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-12px) scaleX(0.95);
	}
	100% {
		opacity: 1;
		transform: translateX(0) scaleX(1);
	}
}

@keyframes fadeSlideFromRight {
	0% {
		opacity: 0;
		transform: translateX(12px) scaleX(1.05);
	}
	100% {
		opacity: 1;
		transform: translateX(0) scaleX(1);
	}
}
.dropdown.show .dropdown-menu {
	pointer-events: auto;
	opacity: 1;
}

.dropdown-menu .option {
	padding: 0.8rem 1rem;
	cursor: pointer;
	position: relative;
	transition: background 0.2s;
}

.dropdown-menu .option:hover {
	background: #f3f4f6;
}

.filter-container {
	display: flex;
	justify-content: space-between;
}

.dropdown {
	position: relative;
}
main.panduan {
	padding: 9rem 4rem 2rem 4rem;
	max-width: 1000px;
	margin: 0 auto;
	color: #333;
	line-height: 1.7;
}

main.kontak {
	padding: 9rem 6rem;
}

main.kontak section {
	margin: 5rem 0;
}

main.kontak a {
	color: #0077cc;
}

body.body-kontak {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kontak h1 {
	font-size: 2.8rem;
	margin-bottom: 3rem;
}

.kontak p,
.kontak ul {
	font-size: 1.3rem;
	margin-bottom: 1.7rem;
}

.kontak ul {
	padding-left: 2rem;
}

.kontak ul li {
	line-height: 1.4;
}

.panduan h1 {
	font-size: 2.8rem;
	margin-bottom: 3rem;
	text-align: center;
	color: #0077cc;
	position: relative;
}

.panduan section {
	margin-bottom: 1.5rem;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e1e8f0;
	background: #f9fbfd;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.question {
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1px;
	outline: none;
	font-size: 1.2rem;
	font-weight: 600;
	color: #0077cc;
	padding: 1.2rem 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.2s ease;
}

.question:hover {
	background: #eef6fc;
}

.question i {
	font-size: 1rem;
	color: #0077cc;
	transition: transform 0.3s ease;
}

section.active .question:hover i {
	transform: translateY(-5px) rotate(180deg);
}

section:not(.active) .question:hover i {
	transform: translateY(5px) rotate(0deg);
}

section.active .question i {
	transform: rotate(180deg);
}

.notes {
	margin: 1rem 0;
}

.answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s ease;
	padding: 0 1.5rem;
}

.answer p {
	font-size: 1rem;
	color: #444;
	margin: 1rem 0;
}

section.active .answer {
	max-height: 400px;
	padding: 1rem 1.5rem 1.5rem;
}

.document {
	padding: 6rem;
	display: flex;
	gap: 1.5rem;
}

.document a {
	color: #3b82f6;
	font-size: 1.2rem;
}

.document-actions a {
	display: block;
}

.document-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
}
.document-thumb #pdf-preview {
	border-radius: 8px;
	border: 1px solid #ddd;
	max-width: 18rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.document-thumb #pdf-preview:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	border-color: #3b82f6;
}

.document-thumb #pdf-preview:active {
	transform: scale(0.98);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.document-thumb {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 285px;
}

.document-title {
	font-size: 2.5rem;
	line-height: 1.19;
	margin-bottom: 0.5rem;
}

.document-meta a {
	color: #555;
}

a.code {
	display: block;
	margin-bottom: 1rem;
}

.document .tag {
	font-size: 1rem;
}

.document-meta {
	margin-bottom: 0.5rem;
}

.document-desc {
	font-size: 1rem;
	margin-bottom: 1rem;
}

.document-footer {
	margin-top: 1rem;
	color: #555;
}

.header {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.header .bookmark {
	font-size: 3rem;
	color: #555;
}

.header .bookmark:hover {
	color: #0077cc;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background: #fff;
	margin: 10% auto;
	padding: 20px;
	width: 80%;
	max-width: 600px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	animation: fadeIn 0.3s ease-in-out;
}

.close {
	float: right;
	font-size: 24px;
	cursor: pointer;
	background-color: transparent;
	border: none;
	transition: background-color 0.2s;
}
.citation-list p {
	font-size: 1rem;
	cursor: pointer;
	transition: color 0.2s, transform 0.2s;
}

.citation-list h3 {
	margin: 1rem 0 0.5rem 0;
}

.citation-list p:hover {
	color: #0077cc;
	transform: translateX(5px);
}
#copyToast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #3b82f6;
	color: #fff;
	padding: 10px 14px;
	border-radius: 8px;
	font: 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s;
}
#copyToast.show {
	opacity: 1;
	transform: translateY(0);
}
#copyToast.error {
	background: #ef4444;
}

.profile-page {
	margin: 4rem 6rem;
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

#profile-pic {
	width: 15rem;
	height: 15rem;
	object-fit: cover;
	border-radius: 50%;
}

.profile-bio {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.profile-bio h2 {
	font-size: 3rem;
}

.profile-bio h3 {
	font-size: 2rem;
	font-weight: normal;
	cursor: pointer;
	color: #555;
	margin-bottom: 0.5rem;
}

.profile-bio a {
	color: #555;
}
body.error {
	margin: 0;
	font-family: "Inter", sans-serif;
	background: #f9fafb;
	color: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	text-align: center;
	padding: 1rem;
}

.error-container {
	max-width: 420px;
	padding: 2rem;
	background: white;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	animation: fadeIn 0.5s ease;
}

.error-icon {
	font-size: 5rem;
	color: #0077cc;
	margin-bottom: 1rem;
	animation: pop 0.4s ease;
	font-family: monospace;
}

.error-code {
	display: inline-block;
	background: #e6f2fa;
	color: #0077cc;
	padding: 0.4rem 1rem;
	border-radius: 6px;
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 1.2rem;
	letter-spacing: 1px;
}

.error-container h1 {
	font-size: 1.8rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.error-container p {
	font-size: 1rem;
	margin-bottom: 1.5rem;
	color: #475569;
	line-height: 1.6;
}

.error-container a.btn {
	display: inline-block;
	text-decoration: none;
	background: #0077cc;
	color: white;
	padding: 0.8rem 1.6rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 1rem;
	transition: background 0.25s ease, transform 0.15s ease;
}

.error-container a.btn:hover {
	background: #005fa3;
	transform: translateY(-2px);
}

@keyframes pop {
	0% {
		transform: scale(0.85);
		opacity: 0.5;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
