:root {
	--primary-color: #3b82f6;
	--secondary-color: #6366f1;
	--accent-color: #f43f5e;
	--dark-bg: #0f172a;
	--light-bg: #f8fafc;
	--text-color: #1e293b;
	--transition: all 0.3s ease;
}

body {
	font-family: 'Outfit', sans-serif;
	color: var(--text-color);
	background-color: var(--light-bg);
}

.bg-dark {
	background-color: var(--dark-bg) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
	backdrop-filter: blur(10px);
	background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
	font-weight: 500;
	color: var(--text-color) !important;
	padding: 0.5rem 1rem;
	position: relative;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary-color) !important;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

.filter-white {
	filter: brightness(0) invert(1);
}

.nav-link:hover::after {
	width: 80%;
}

.btn-premium {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
	color: white;
	border: none;
	border-radius: 50px;
	font-weight: 600;
}

.btn-premium:hover {
	background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.navbar-brand img {
	max-width: 100%;
	height: auto;
	max-height: 40px;
}

/* Glassmorphism */
.glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 24px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Hero Section */
.hero-section {
	position: relative;
	overflow: hidden;
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -1px;
	background: linear-gradient(to right, #1e293b, var(--primary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.text-white .hero-title {
	background: white;
	-webkit-text-fill-color: white;
}

.fw-500 {
	font-weight: 500;
}

.fw-600 {
	font-weight: 600;
}

/* Animations */
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide-up {
	animation: slideUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 0.8s ease-out forwards;
}

/* Result Cards & Tables */
.result-card {
	background: white;
	border-radius: 20px;
	padding: 30px;
	border: 1px solid #e2e8f0;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.result-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.speed-value {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--primary-color);
	margin: 10px 0;
}

.status-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 99px;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.status-available {
	background: #dcfce7;
	color: #166534;
}

.status-unavailable {
	background: #fee2e2;
	color: #991b1b;
}

.info-box {
	background: #f8fafc;
	border-radius: 16px;
	padding: 20px;
	border: 1px solid #f1f5f9;
}

/* Global Transitions */
a,
button {
	transition: var(--transition);
}

/* Inline styles consolidated from index.php */
* {
	font-size: 16px;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.link>a {
	font-weight: bold;
	color: #000000;
}

.link>a:hover {
	color: #05d7f0;
}

.list-group-item>* {
	text-decoration: none;
	color: #000000;
}

.list-group-item :hover {
	text-decoration: none;
	color: #05d7f0;
}

.list-group>ul>li>* {
	text-decoration: none;
}

.altyapi-linkler li.altyapi-link {
	border: 1px solid #EEE;
	border-radius: 0px;
	cursor: pointer;
}

.altyapi-linkler li.altyapi-link:hover {
	background: #EEE;
	border: 1px solid #CCC;
}

.img728 {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.altyapi-linkler * {
		font-size: 0.8rem !important;
		text-align: center !important;
	}

	.list-group>ul>li {
		flex: unset;
	}

	#logo {
		width: 100% !important;
	}

	.img728 {
		margin-left: 0 !important;
		margin-top: 1rem !important;
		width: 100% !important;
		height: auto !important;
	}

	#img2 {
		margin-top: 1rem !important;
	}
}

@media (max-width: 1500px) {
	#img1 {
		margin-top: 1rem !important;
		display: block;
		margin: auto;
	}

	#img2 {
		margin-top: 1rem !important;
		display: block;
		margin: auto;
	}
}

@media (min-width: 1600px) {
	.img728 {
		display: inline;
		box-sizing: border-box;
		margin-top: 1rem !important;
	}

	#img1 {
		margin-left: -9.3rem !important;
		height: inherit !important;
	}

	#img2 {
		margin-right: -35rem !important;
		height: inherit !important;
	}
}