
body {
	font-family: 'Outfit', sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);
	margin: 0;
	padding: 2rem 0;
}

#logo{
	width: 10rem;
	height: auto;
	text-align: center;
	margin-top: 1rem;
}
.container{
	width: 100%;
	max-width: 1200px;
	padding: 15px;
	margin: auto;
	text-align: center;
}

.text h1{
	color: #164863;
	font-size: 2rem;
	font-weight: bold;
}
.text h2{
	color: #164863;
	font-size: 3rem;
	font-family:Verdana, Geneva, Tahoma, sans-serif;
	font-weight: bold;
}
.text img{
	margin-left: 0px;
	padding-left: 0px;
}

  
  .btn-text {
	color: #4D4C7D;
	font-size: 2.5rem;
	margin-left: 1rem;
	font-weight: bold;
  }
  
  .btn-image {
	width: 70%;
	height: auto;
	padding: 1rem;
	transition: transform 0.3s ease;
  }
  
  .btn:hover .btn-image {
	transform: scale(1.2);
  }
  
.vertical-line {
	border-left: 2px solid green; 
	height: 520px;
  }

 
  @keyframes heartbeat {
	0% {
	  transform: scale(1); /* Başlangıç boyutu */
	}
	50% {
	  transform: scale(1.2); /* Yarı noktada büyüklük */
	}
	100% {
	  transform: scale(1); /* Başlangıç boyutuna dönme */
	}
  }
  
  .heart {
	font-size: 5rem;
	display: inline-block;
	animation: heartbeat 1s infinite;
	}
  
	 /* Popup stilini özelleştir */
	 .popup {
		width: 800px;
		height: auto;
		display: none;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		padding: 20px;
		background-color: #fff;
		border: 1px solid #ccc;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		border-radius: 20px;
	  }

	  .popup {
		display: none;
		position: fixed;
		width: 500px;
		height: 500px;
		background-color: #f1f1f1;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		z-index: 1;
	}
	.popup h4{
		color:#363062;
		text-align: center;
		font-style: bold;
	}
	
	.popupButton {
		display: block;
		width: 100%;
		padding: 10px;
		margin-bottom: 10px;
		background-color: #818FB4;
		color: white;
		border: none;
		border-radius: 5px;
		cursor: pointer;
	}
	
	.popupButton:hover {
		background-color: #435585;
	}

	.card-img-top{
		width: 50%;
		height: auto;
	}

	  /* Overlay stilini özelleştir */
	.overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 999;
	}
	

	.cardimage {
		border-radius: 20px;
		padding: 1.5rem;
		color: #fff;
		text-align: left;
		cursor: pointer;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
		transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	}
	.cardimage img {
		max-width: 100%;
		height: auto;
		transition: transform 0.3s ease;
	}
	.cardimage h2, .cardimage p {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
	.cardimage:hover {
		transform: translateY(-8px);
		box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
	}
	.cardimage:hover img {
		transform: scale(1.05);
	}

	.cardimage2 {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;	
		border-radius: 20px;
		padding: 1.5rem;
		color: #fff;
		text-align: left;
		cursor: pointer;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
		transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	}
	.cardimage2 img {
		text-align: center;
		transition: transform 0.3s ease;
	}
	.cardimage2:hover {
		transform: translateY(-8px);
		box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
	}
	.cardimage2:hover img {
		transform: scale(1.05);
	}

	.containerone {
		width: 100%;
		max-width: 800px;
		min-height: auto;
		height: auto;
		overflow: hidden;
		position: relative;
		background: #fff;
		border-radius: 24px;
		box-shadow: 0 15px 35px rgba(0,0,0,0.08);
		margin: 1rem auto;
	  }
  
	  .upper-third {
		padding: 1.5rem 2rem;
		height: auto;
		border-top-right-radius: 24px;
		border-top-left-radius: 24px;
		color: #fff;
	  }
	  .upper-third h1{
		text-align: left;
		font-weight: 800;
		margin: 0;
		font-family: 'Outfit', sans-serif;
		font-size: 2.2rem;
	}
	.upper-third p{
		text-align: left;
		margin-top: 0.5rem;
		margin-left: 0;
		font-family: 'Outfit', sans-serif;
		opacity: 0.9;
	}
	.upper-third img{
		max-width: 100%;
		max-height: 7rem;
		width: auto;
		height: auto;
		object-fit: contain;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
  
	  .lower-two {
		padding: 1.5rem 2rem;
		height: auto;
		background-color: #fcfcfc;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		border-bottom: 1px solid #f1f5f9;
	  }
	  .lower-three{
		padding: 1rem 2rem;
		height: auto;
		background-color: #fafafa;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		border-bottom: 1px solid #f1f5f9;
	  }

	  .lower-four{
		padding: 1rem 2rem;
		height: auto;
		background-color: #fafafa;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
	  }


	 .editor{
		margin: 0;
		text-align: center;
	 }
	  .editor img{
		width: 110px;
		height: 110px;
		object-fit: contain;
		transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
		padding: 1rem;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
		border-radius: 20px;
		background-color: #fff;
		margin: 0.5rem;
		border: 2px solid transparent;
	  }
	  .editor img:hover{
		transform: translateY(-8px) scale(1.06);
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
		border-color: rgba(59, 130, 246, 0.4);
	  }
	  
	  .editor h5{
		text-align: center;
		font-weight: 700;
		color: #1e293b;
		margin-bottom: 1.5rem;
		padding: 0;
	  }

	  .infodiv{
		margin: 2rem 0 0 0;
	  }
	  .link-light{
		box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
		border-radius: 20px;
	  }
	  .link-light:hover{
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	  }
	  
	  .btn-outline-warning:hover{
		color:#fff;
	  }
	

	  .btn-warning,
	  #uploadbtn,
	  #uploadpythonbtn {
		width: 100% !important;
		padding: 0.75rem 1.5rem !important;
		border-radius: 14px !important;
		border: none !important;
		background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
		color: #ffffff !important;
		font-weight: 700 !important;
		font-size: 1rem !important;
		letter-spacing: 0.4px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.6rem !important;
		box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
		transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
		cursor: pointer !important;
		margin-top: auto !important;
	  }

	  .btn-warning:hover,
	  #uploadbtn:hover,
	  #uploadpythonbtn:hover {
		background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
		transform: translateY(-2px) !important;
		box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5) !important;
		color: #ffffff !important;
	  }

	  .btn-warning:active,
	  #uploadbtn:active,
	  #uploadpythonbtn:active {
		transform: translateY(0) !important;
		box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
	  }

	  .btn-light{
		border-radius: 20rem;
		box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
		font-size: 18px;
		margin-top: 1rem;
		color:#00A9FF
	  }
	  .btn-light:hover{
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	  }

/* Firmware Card & Button Styles (Matching User Screenshot) */
.firmware-card {
	background: #daf6fc;
	border: 1px solid #99e6f7;
	border-radius: 8px;
	padding: 1.25rem 1.25rem 1.1rem 1.25rem;
	box-shadow: 0 2px 10px rgba(153, 230, 247, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	min-height: 155px;
}

.firmware-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(14, 165, 233, 0.2);
}

.badge-num {
	color: #083b54;
	font-weight: 700;
	font-size: 16px;
	display: inline-block;
	line-height: 1.45;
}

.firmware-card-text {
	font-size: 16px;
	font-weight: 500;
	color: #083b54;
	line-height: 1.45;
}

.btn-firmware {
	background: #2563eb;
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
	border-radius: 14px;
	padding: 10px 24px;
	border: none;
	width: 100%;
	height: 48px;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
	transition: all 0.2s ease;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.btn-firmware:hover {
	background: #1d4ed8;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(29, 78, 216, 0.45);
}

.btn-firmware:active {
	transform: translateY(0);
}

.btn-firmata {
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
}

.btn-firmata:hover {
	background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(91, 33, 182, 0.45);
}

.btn-firmata:active {
	transform: translateY(0);
}

.banner-driver {
	background-color: #dbeafe;
	border-radius: 14px;
	padding: 1rem 1.25rem;
	color: #1e3a8a;
	font-weight: 600;
	font-size: 14px;
}

.banner-driver a {
	color: #0f172a;
	font-weight: 700;
	text-decoration: underline;
}

.banner-python {
	background-color: #dcfce7;
	border: 1px solid #bbf7d0;
	border-radius: 14px;
	padding: 1rem 1.25rem;
	color: #14532d;
	font-weight: 600;
	font-size: 14px;
	margin-top: 0.75rem;
}

.banner-python a {
	color: #14532d;
	font-weight: 700;
	text-decoration: underline;
}

/* Loading Modal Popup (Matching User Mockup) */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.2s ease-out;
}

.modal-card {
	background: #f8fafc;
	width: 90%;
	max-width: 400px;
	border-radius: 28px;
	padding: 2.5rem 2rem 2rem 2rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.spinner-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 60px;
	height: 38px;
}

.spinner-dots .dot-red,
.spinner-dots .dot-green {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	position: absolute;
	animation: pulseBounce 1.2s infinite ease-in-out alternate;
}

.spinner-dots .dot-red {
	background-color: #ff4d4d;
	left: 10px;
	box-shadow: 0 4px 12px rgba(255, 77, 77, 0.4);
	animation-delay: 0s;
}

.spinner-dots .dot-green {
	background-color: #84cc16;
	right: 10px;
	box-shadow: 0 4px 12px rgba(132, 204, 22, 0.4);
	animation-delay: -0.6s;
}

@keyframes pulseBounce {
	0% {
		transform: scale(0.85) translateX(-5px);
		opacity: 0.85;
	}
	100% {
		transform: scale(1.15) translateX(5px);
		opacity: 1;
	}
}

.loading-title {
	color: #1e293b;
	font-size: 1.2rem;
	font-weight: 700;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	font-family: 'Outfit', sans-serif;
}

.btn-cancel-modal {
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	color: #475569;
	font-weight: 600;
	font-size: 14px;
	border-radius: 12px;
	padding: 8px 32px;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.btn-cancel-modal:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
	color: #1e293b;
	transform: translateY(-1px);
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes scaleUp {
	from { opacity: 0; transform: scale(0.92); }
	to { opacity: 1; transform: scale(1); }
}