:root {
	--primary-color: #3b82f6;
	--secondary-color: #e2e8f0;
	--accent-color: #06b6d4;
	--text-primary: #1e293b;
	--text-secondary: #475569;
	--bg-light: #f8fafc;
	--bg-lighter: #ffffff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background: var(--bg-light);
	color: var(--text-primary);
	overflow-x: hidden;
	line-height: 1.6;
}

.scroll-container {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
	min-height: 100vh;
}

/* Glassmorphism effects */
.glass {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	border: 8px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(15px);
	border-radius: 8px;
	border: 4px solid rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
	background: rgba(255, 255, 255, 0.9);
	transform: translateY(-5px);
	/* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
}

/* Hero section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.floating-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
}

.particle {
	position: absolute;
	background: rgba(59, 130, 246, 0.2);
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
	width: 4px;
	height: 4px;
	left: 10%;
	animation-delay: 0s;
}

.particle:nth-child(2) {
	width: 6px;
	height: 6px;
	left: 20%;
	animation-delay: 1s;
}

.particle:nth-child(3) {
	width: 3px;
	height: 3px;
	left: 30%;
	animation-delay: 2s;
}

.particle:nth-child(4) {
	width: 5px;
	height: 5px;
	left: 40%;
	animation-delay: 3s;
}

.particle:nth-child(5) {
	width: 4px;
	height: 4px;
	left: 50%;
	animation-delay: 1.5s;
}

.particle:nth-child(6) {
	width: 6px;
	height: 6px;
	left: 60%;
	animation-delay: 2.5s;
}

.particle:nth-child(7) {
	width: 3px;
	height: 3px;
	left: 70%;
	animation-delay: 0.5s;
}

.particle:nth-child(8) {
	width: 5px;
	height: 5px;
	left: 80%;
	animation-delay: 3.5s;
}

.particle:nth-child(9) {
	width: 4px;
	height: 4px;
	left: 90%;
	animation-delay: 4s;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(100vh) rotate(0deg);
		opacity: 0;
	}

	10% {
		opacity: 1;
	}

	90% {
		opacity: 1;
	}

	50% {
		transform: translateY(-100px) rotate(180deg);
	}
}

/* Gradient text */
.gradient-text {
	background: linear-gradient(135deg, #1e40af, #0891b2, #7c3aed);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
	.gradient-text {
		color: #1e40af;
	}
}

/* Modal styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	padding: 2rem;
	position: relative;
	transform: scale(0.9) translateY(20px);
	transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
	transform: scale(1) translateY(0);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--text-secondary);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.modal-close:hover {
	background: rgba(0, 0, 0, 0.1);
	color: var(--text-primary);
}

.bibtex-container {
	position: relative;
	margin-bottom: 1.5rem;
}

.bibtex-text {
	background: rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	padding: 1.5rem;
	font-family: 'Courier New', monospace;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-primary);
	white-space: pre-wrap;
	word-break: break-all;
	user-select: all;
	max-height: 300px;
	overflow-y: auto;
}

.copy-button {
	background: linear-gradient(135deg, #3b82f6, #06b6d4);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	justify-content: center;
}

.copy-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.copy-button:hover::before {
	left: 100%;
}

.copy-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.copy-button.copied {
	background: linear-gradient(135deg, #10b981, #059669);
}

.copy-icon {
	font-size: 1rem;
}

/* Button styles */
.btn-primary {
	background: linear-gradient(135deg, #3b82f6, #06b6d4);
	color: white;
	padding: 12px 32px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	display: inline-block;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.btn-primary:hover::before {
	left: 100%;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.8);
	color: var(--text-primary);
	padding: 12px 32px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 500;
	display: inline-block;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.95);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Section styling */
.section {
	padding: 100px 0;
	position: relative;
}

.section-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 2rem;
	text-align: center;
}

.section-subtitle {
	font-size: 1.25rem;
	color: var(--text-secondary);
	text-align: center;
	max-width: 600px;
	margin: 0 auto 4rem;
}

/* Author cards */
.author-card {
	text-align: center;
	padding: 2rem;
	transition: all 0.3s ease;
}

.author-card:hover {
	transform: translateY(-10px);
}

.author-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.author-affiliation {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

/* Paper preview */
.paper-preview {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.paper-preview:hover {
	transform: scale(1.02);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Video container */
.video-container {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Method diagram container */
.method-diagram {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.method-diagram:hover {
	transform: scale(1.02);
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-lighter);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #3b82f6, #06b6d4);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #2563eb, #0891b2);
}

/* Responsive design */
@media (max-width: 768px) {
	.section-title {
		font-size: 2rem;
	}
	
	.hero h1 {
		font-size: 2.5rem !important;
	}
	
	.btn-primary,
	.btn-secondary {
		padding: 10px 24px;
		font-size: 0.9rem;
	}
}

/* Animation classes for GSAP */
.fade-in {
	opacity: 1;
	transform: translateY(0px);
}

.fade-in-left {
	opacity: 1;
	transform: translateX(0px);
}

.fade-in-right {
	opacity: 1;
	transform: translateX(0px);
}

.scale-in {
	opacity: 1;
	transform: scale(1);
}

/* These will be set by GSAP on load */
.js-loaded .fade-in {
	opacity: 0;
	transform: translateY(50px);
}

.js-loaded .fade-in-left {
	opacity: 0;
	transform: translateX(-50px);
}

.js-loaded .fade-in-right {
	opacity: 0;
	transform: translateX(50px);
}

.js-loaded .scale-in {
	opacity: 0;
	transform: scale(0.8);
}

/* Image Lightbox Styles */
.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	width: 95vw;
	height: 95vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 2rem;
	color: #333;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	z-index: 10001;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

.lightbox-controls {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	gap: 10px;
	z-index: 10001;
}

.zoom-btn {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 1.2rem;
	color: #333;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 8px;
	transition: all 0.3s ease;
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zoom-btn:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.05);
}

.lightbox-image-container {
	width: 100%;
	height: 100%;
	overflow: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
}

.lightbox-image-container:active {
	cursor: grabbing;
}

.lightbox-image {
	max-width: none;
	max-height: none;
	width: auto;
	height: auto;
	transition: transform 0.3s ease;
	cursor: zoom-in;
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-image.zoomed {
	cursor: zoom-out;
}

/* Make images clickable */
.glass-card img, .method-diagram img {
	cursor: pointer;
	transition: transform 0.3s ease;
}

.glass-card img:hover, .method-diagram img:hover {
	transform: scale(1.02);
}

/* Mobile responsiveness for lightbox */
@media (max-width: 768px) {
	.lightbox-controls {
		top: 10px;
		left: 10px;
		gap: 5px;
	}
	
	.zoom-btn {
		font-size: 1rem;
		padding: 0.4rem;
		min-width: 35px;
		height: 35px;
	}
	
	.lightbox-close {
		top: 10px;
		right: 10px;
		font-size: 1.5rem;
		width: 40px;
		height: 40px;
	}
} 