* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}
::-webkit-scrollbar-track {
	border-radius: 0;
	background-color: var(--bs-body-bg);
}
::-webkit-scrollbar-thumb {
	border-radius: 0;
	background-color: var(--bs-primary);
}

:root {
	--primary: #2563eb;
	--primary-light: #3b82f6;
	--accent: #06b6d4;
	--text-primary: #0f172a;
	--text-secondary: #475569;
	--text-muted: #64748b;
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc80;
	--border: #e2e8f0;
	--shadow: rgba(15, 23, 42, 0.08);
	--gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

body {
	font-family: system-ui;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Animated grid background */
.grid-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.03;
	background-image: 
		linear-gradient(var(--primary) 1px, transparent 1px),
		linear-gradient(90deg, var(--primary) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: gridMove 30s linear infinite;
	pointer-events: none;
	z-index: -2;
}

@keyframes gridMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(50px, 50px); }
}

/* Floating orbs */
.orb {
	position: fixed;
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
}

.orb-1 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
	top: 10%;
	right: 10%;
	animation: float 20s ease-in-out infinite;
}

.orb-2 {
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.08), transparent 70%);
	bottom: 20%;
	left: 15%;
	animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
	width: 150px;
	height: 150px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
	top: 60%;
	right: 30%;
	animation: float 18s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(30px, -30px) rotate(120deg); }
	66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Main container */
.container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	position: relative;
}

/* Hero section */
.hero {
	max-width: 800px;
	text-align: center;
	position: relative;
}

/* Status badge */
.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	padding: 8px 20px;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 3rem;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.status-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--gradient);
	transition: left 0.5s ease;
	z-index: -1;
}

.status-badge:hover::before {
	left: 0;
}

.status-badge:hover {
	color: white;
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px var(--shadow);
}

.status-dot {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.7; transform: scale(1.2); }
}

/* Typography */
.name-container {
	margin-bottom: 2rem;
	position: relative;
}

.name {
	font-size: clamp(3rem, 12vw, 4.5rem);
	font-weight: 700;
	line-height: 0.9;
	margin-bottom: 0.5rem;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	cursor: pointer;
}

.name::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 4px;
	background: var(--gradient);
	border-radius: 2px;
	transition: width 0.6s ease;
}

.name:hover::after {
	width: 60%;
}

.subname {
	font-size: clamp(0.75rem, 3vw, 1rem);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-weight: 500;
}

.title-section {
	margin: 3rem 0;
	position: relative;
}

.main-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
	font-weight: 400;
}

.description {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 2.5rem auto;
	line-height: 1.7;
}

/* Interactive cards */
.skill-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin: 3rem 0;
}

.skill-card {
	max-width: 300px;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.5rem;
	text-align: left;
	transition: all 0.4s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.skill-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.skill-card:hover {
	transform: translateY(-8px) rotate(2deg);
	border-color: transparent;
	box-shadow: 0 20px 40px var(--shadow);
}

.skill-card:hover::before {
	opacity: 0.05;
}

.skill-card:hover .skill-icon {
	transform: scale(1.2) rotate(10deg);
}

.skill-card:hover .skill-title {
	color: var(--primary);
}

.skill-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
	display: block;
	transition: transform 0.3s ease;
}

.skill-title {
	font-weight: 600;
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
}

.skill-desc {
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 1.5;
}

/* CTA Button */
.cta-section {
	margin: 4rem 0;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--gradient);
	color: white;
	padding: 16px 76px 16px 32px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
	transition: left 0.4s ease;
	z-index: -1;
}

.cta-button:hover::before {
	left: 0;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.cta-icon {
	transition: transform 0.3s ease;
	font-size: 2.5rem;
	position: absolute;
	right: 18px;
	top: -10px;
}

.cta-button:hover .cta-icon {
	transform: translateX(4px);
}


/* System Architecture Button */
.architecture-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
	padding: 12px 24px 12px 55px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
	margin: 1rem 0;
	cursor: pointer;
	border: none;
    position: relative;
    overflow: hidden;
}

.architecture-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.architecture-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    position: absolute;
    left: 18px;
    top: 2px;
}

/* Companies section */
.companies {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border);
}

.companies-title {
	font-size: 0.875rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 2rem;
}

.company-list {
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
}

.company-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	position: relative;
	padding: 8px 16px;
	border-radius: 12px;
	transition: all 0.3s ease;
}

.company-link:hover {
	color: var(--primary);
	background: var(--bg-secondary);
	transform: translateY(-2px);
}

/* Floating contact */
.floating-contact {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 60px;
	height: 60px;
	background: var(--gradient);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
	box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
	transition: all 0.3s ease;
	z-index: 100;
	cursor: pointer;
}

.floating-contact:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
	.skill-card {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}
	
	.skill-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.skill-card {
		max-width: 99%;
	}
	
	.company-list {
		gap: 1.5rem;
	}
	
	.company-link {
		font-size: 0.875rem;
	}
	
	.floating-contact {
		bottom: 1rem;
		right: 1rem;
		width: 50px;
		height: 50px;
		font-size: 1.25rem;
	}
}

/* Entrance animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero > * {
	animation: fadeInUp 0.8s ease-out;
}

.hero > *:nth-child(2) { animation-delay: 0.1s; }
.hero > *:nth-child(3) { animation-delay: 0.2s; }
.hero > *:nth-child(4) { animation-delay: 0.3s; }
.hero > *:nth-child(5) { animation-delay: 0.4s; }
.hero > *:nth-child(6) { animation-delay: 0.5s; }
.hero > *:nth-child(7) { animation-delay: 0.6s; }

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Selection */
::selection {
	background: rgba(37, 99, 235, 0.2);
	color: var(--text-primary);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 0;
  border-radius: 5px;
  max-width: 63%;
    max-height: 95%;
  overflow: auto;
  box-shadow: 0 4px 20px #ffffff80;
}

.close-btn.hide{
	display: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

#modalContent{
	padding: 5px 5px 0 5px;
}