/**
 * ========================================
 *    HERO NEXTGEN - Tamamen Yeni Tasarım
 *    Modern, 3D, Canvas Animasyonlu Hero Section
 *    ========================================
 *
 * @format
 */

/* Base Hero Section */
.hero-nextgen {
	position: relative;
	min-height: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
	padding: 80px 0 90px;
}

/* Canvas Background */
.hero-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 90%;
	z-index: 1;
}

.hero-gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
			circle at 20% 50%,
			rgba(139, 92, 246, 0.15) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 80%,
			rgba(236, 72, 153, 0.15) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 80%,
			rgba(59, 130, 246, 0.1) 0%,
			transparent 50%
		);
	z-index: 2;
}

/* 3D Floating Shapes */
.shapes-3d-container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 3;
	pointer-events: none;
}

.shape-3d {
	position: absolute;
	transform-style: preserve-3d;
	animation: float3D 6s ease-in-out infinite;
}

/* Cube Float */
.cube-float {
	width: 100px;
	height: 100px;
	top: 15%;
	right: 10%;
	animation: float3D 8s ease-in-out infinite, rotateCube 12s linear infinite;
}

.cube-face {
	position: absolute;
	width: 100px;
	height: 100px;
	background: linear-gradient(
		135deg,
		rgba(139, 92, 246, 0.2),
		rgba(236, 72, 153, 0.2)
	);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.cube-face.front {
	transform: rotateY(0deg) translateZ(50px);
}
.cube-face.back {
	transform: rotateY(180deg) translateZ(50px);
}
.cube-face.left {
	transform: rotateY(-90deg) translateZ(50px);
}
.cube-face.right {
	transform: rotateY(90deg) translateZ(50px);
}
.cube-face.top {
	transform: rotateX(90deg) translateZ(50px);
}
.cube-face.bottom {
	transform: rotateX(-90deg) translateZ(50px);
}

/* Sphere Float */
.sphere-float {
	width: 80px;
	height: 80px;
	top: 60%;
	left: 8%;
	background: radial-gradient(
		circle at 30% 30%,
		rgba(59, 130, 246, 0.4),
		rgba(139, 92, 246, 0.2)
	);
	border-radius: 50%;
	box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
	animation: float3D 7s ease-in-out infinite reverse;
}

/* Pyramid Float */
.pyramid-float {
	width: 0;
	height: 0;
	top: 80%;
	right: 15%;
	animation: float3D 9s ease-in-out infinite, rotatePyramid 15s linear infinite;
}

.pyramid-face {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	border-bottom: 70px solid rgba(236, 72, 153, 0.3);
}

.pyramid-face.face1 {
	transform: rotateY(0deg) translateZ(28px);
}
.pyramid-face.face2 {
	transform: rotateY(90deg) translateZ(28px);
}
.pyramid-face.face3 {
	transform: rotateY(180deg) translateZ(28px);
}
.pyramid-face.face4 {
	transform: rotateY(270deg) translateZ(28px);
}

/* Hero Layout */
.hero-nextgen-layout {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
}

/* Left Content Side */
.hero-content-side {
	padding-right: 20px;
}

/* Animated Tag */
.hero-tag-modern {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	backdrop-filter: blur(10px);
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
	animation: slideInLeft 0.8s ease-out;
}

.tag-glow {
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(139, 92, 246, 0.4),
		transparent
	);
	animation: tagGlowSweep 3s ease-in-out infinite;
}

.tag-icon {
	font-size: 20px;
	animation: bounce 2s ease-in-out infinite;
}

.tag-label {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.tag-year {
	background: linear-gradient(135deg, #8b5cf6, #ec4899);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

/* Split Text Headline */
.hero-headline-nextgen {
	font-size: 72px;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 25px;
	color: #fff;
}

.headline-line {
	display: block;
	overflow: hidden;
}

.word-split {
	display: inline-block;
}

.letter {
	display: inline-block;
	animation: letterReveal 0.6s ease-out forwards;
	opacity: 0;
	transform: translateY(100px);
}

.headline-line:nth-child(1) .letter:nth-child(1) {
	animation-delay: 0.1s;
}
.headline-line:nth-child(1) .letter:nth-child(2) {
	animation-delay: 0.15s;
}
.headline-line:nth-child(1) .letter:nth-child(3) {
	animation-delay: 0.2s;
}
.headline-line:nth-child(1) .letter:nth-child(4) {
	animation-delay: 0.25s;
}
.headline-line:nth-child(1) .letter:nth-child(5) {
	animation-delay: 0.3s;
}
.headline-line:nth-child(1) .letter:nth-child(6) {
	animation-delay: 0.35s;
}
.headline-line:nth-child(1) .letter:nth-child(7) {
	animation-delay: 0.4s;
}

.headline-line:nth-child(2) .letter:nth-child(1) {
	animation-delay: 0.5s;
}
.headline-line:nth-child(2) .letter:nth-child(2) {
	animation-delay: 0.55s;
}
.headline-line:nth-child(2) .letter:nth-child(3) {
	animation-delay: 0.6s;
}
.headline-line:nth-child(2) .letter:nth-child(4) {
	animation-delay: 0.65s;
}
.headline-line:nth-child(2) .letter:nth-child(5) {
	animation-delay: 0.7s;
}
.headline-line:nth-child(2) .letter:nth-child(6) {
	animation-delay: 0.75s;
}
.headline-line:nth-child(2) .letter:nth-child(7) {
	animation-delay: 0.8s;
}

.headline-line:nth-child(3) .letter:nth-child(1) {
	animation-delay: 0.9s;
}
.headline-line:nth-child(3) .letter:nth-child(2) {
	animation-delay: 0.95s;
}
.headline-line:nth-child(3) .letter:nth-child(3) {
	animation-delay: 1s;
}
.headline-line:nth-child(3) .letter:nth-child(4) {
	animation-delay: 1.05s;
}
.headline-line:nth-child(3) .letter:nth-child(5) {
	animation-delay: 1.1s;
}
.headline-line:nth-child(3) .letter:nth-child(6) {
	animation-delay: 1.15s;
}

.gradient-text {
	background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	background-size: 200% 200%;
	animation: gradientShift 3s ease infinite;
}

/* Typewriter Subtitle */
.hero-subtitle-box {
	margin-bottom: 40px;
	animation: fadeInUp 0.8s ease-out 1.2s both;
}

.typewriter-container {
	font-size: 28px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
	min-height: 40px;
}

.typewriter-text {
	color: #8b5cf6;
}

.typewriter-cursor {
	display: inline-block;
	color: #ec4899;
	animation: blink 1s step-end infinite;
}

.subtitle-desc {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.7);
}

/* Interactive Feature Pills */
.feature-pills-interactive {
	display: flex;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s ease-out 1.4s both;
}

.feature-pill {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	backdrop-filter: blur(10px);
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

.pill-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s ease;
}

.feature-pill:hover {
	transform: translateY(-5px);
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.feature-pill:hover .pill-glow {
	width: 200%;
	height: 200%;
}

.pill-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #8b5cf6, #ec4899);
	border-radius: 50%;
	font-size: 18px;
	color: #fff;
	flex-shrink: 0;
}

.pill-text strong {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.pill-text span {
	display: block;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

/* Magnetic CTA Buttons */
.hero-cta-box {
	display: flex;
	gap: 20px;
	margin-bottom: 50px;
	flex-wrap: nowrap; /* Masaüstünde yan yana dursun */
	justify-content: flex-start; /* Sola hizala (soldan başlasın) */
	animation: fadeInUp 0.8s ease-out 1.6s both;
}

.btn-magnetic-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 18px 40px;
	background: linear-gradient(135deg, #8b5cf6, #ec4899);
	border-radius: 50px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
	white-space: nowrap; /* Yazıyı tek satırda tut */
}

.btn-bg-animate {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #ec4899, #f59e0b);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn-magnetic-primary:hover .btn-bg-animate {
	opacity: 1;
}

.btn-content-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 1;
}

.btn-text {
	color: #fff;
}

.btn-icon-arrow {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.btn-magnetic-primary:hover .btn-icon-arrow {
	transform: translateX(5px);
}

.btn-shine {
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	animation: btnShine 3s ease-in-out infinite;
}

.btn-outline-modern {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 35px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.3s ease;
	white-space: nowrap; /* Yazıyı tek satırda tut */
}

.btn-border-animate {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 2px solid transparent;
	border-radius: 50px;
	background: linear-gradient(135deg, #8b5cf6, #ec4899) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn-outline-modern:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.btn-outline-modern:hover .btn-border-animate {
	opacity: 1;
}

/* Right Visual Side */
.hero-visual-side {
	position: relative;
	animation: fadeInRight 1s ease-out 0.5s both;
}

.visual-3d-container {
	position: relative;
	width: 100%;
	height: 600px;
}

/* Laptop Device */
.device-laptop {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) perspective(1000px) rotateY(-10deg)
		rotateX(5deg);
	width: 500px;
	animation: deviceFloat 6s ease-in-out infinite;
}

.laptop-screen {
	width: 100%;
	padding-top: 62.5%; /* 16:10 aspect ratio */
	position: relative;
	background: #000;
	border-radius: 12px 12px 0 0;
	border: 8px solid #2d2d2d;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.screen-content-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.screen-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.screen-overlay-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	color: #fff;
	font-size: 12px;
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	animation: pulse 2s ease-in-out infinite;
}

.screen-info-tag {
	position: absolute;
	bottom: 15px;
	right: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: rgba(139, 92, 246, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 25px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.laptop-base {
	width: 120%;
	height: 10px;
	margin: 0 auto;
	background: linear-gradient(to bottom, #3d3d3d, #1a1a1a);
	border-radius: 0 0 12px 12px;
	position: relative;
	left: -10%;
}

/* Mobile Device */
.device-mobile {
	position: absolute;
	bottom: 40px;
	right: 60px;
	width: 160px;
	transform: perspective(1000px) rotateY(20deg) rotateX(-5deg);
	animation: mobileFloat 5s ease-in-out infinite;
	z-index: 5;
}

.mobile-frame {
	width: 100%;
	padding-top: 200%; /* 9:20 aspect ratio */
	position: relative;
	background: #1a1a1a;
	border-radius: 30px;
	border: 6px solid #2d2d2d;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mobile-notch {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50%;
	height: 25px;
	background: #1a1a1a;
	border-radius: 0 0 20px 20px;
	z-index: 2;
}

.mobile-media {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Code Editor Float */
.code-editor-float {
	position: absolute;
	top: 50px;
	left: -50px;
	width: 280px;
	background: rgba(30, 30, 30, 0.95);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	animation: codeFloat 7s ease-in-out infinite;
}

.editor-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
	background: rgba(40, 40, 40, 0.9);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-dots {
	display: flex;
	gap: 6px;
}

.editor-dots .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.editor-dots .dot.red {
	background: #ff5f56;
}
.editor-dots .dot.yellow {
	background: #ffbd2e;
}
.editor-dots .dot.green {
	background: #27c93f;
}

.editor-title {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
	font-family: 'Courier New', monospace;
}

.editor-content {
	height: 180px;
	overflow: hidden;
}

.editor-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Floating Badges */
.float-badge {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 30px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	animation: floatBadge 4s ease-in-out infinite;
}

.badge-speed {
	top: 100px;
	right: -30px;
	animation-delay: 0s;
}

.badge-secure {
	bottom: 150px;
	left: -40px;
	animation-delay: 1s;
}

.badge-icon-wrap {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #8b5cf6, #ec4899);
	border-radius: 50%;
	font-size: 12px;
}

/* Decorative Elements */
.deco-circle {
	position: absolute;
	border-radius: 50%;
	border: 2px solid rgba(139, 92, 246, 0.3);
	animation: rotate 20s linear infinite;
}

.circle-1 {
	width: 300px;
	height: 300px;
	top: -50px;
	right: -50px;
}

.circle-2 {
	width: 200px;
	height: 200px;
	bottom: -30px;
	left: -30px;
	animation-direction: reverse;
}

.deco-dots {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 15px;
}

.deco-dots span {
	width: 6px;
	height: 6px;
	background: rgba(139, 92, 246, 0.5);
	border-radius: 50%;
	animation: dotPulse 2s ease-in-out infinite;
}

.deco-dots span:nth-child(1) {
	animation-delay: 0s;
}
.deco-dots span:nth-child(2) {
	animation-delay: 0.2s;
}
.deco-dots span:nth-child(3) {
	animation-delay: 0.4s;
}
.deco-dots span:nth-child(4) {
	animation-delay: 0.6s;
}
.deco-dots span:nth-child(5) {
	animation-delay: 0.8s;
}

/* Scroll Mouse Indicator */
.scroll-mouse-indicator {
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: fit-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	z-index: 10;
	animation: fadeInUp 1s ease-out 2s both;
}

.mouse-shape {
	width: 24px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 15px;
	position: relative;
}

.mouse-wheel {
	width: 4px;
	height: 10px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 2px;
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	animation: mouseScroll 2s ease-in-out infinite;
}

.scroll-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float3D {
	0%,
	100% {
		transform: translateY(0) translateZ(0);
	}
	50% {
		transform: translateY(-30px) translateZ(30px);
	}
}

@keyframes rotateCube {
	0% {
		transform: rotateX(0) rotateY(0);
	}
	100% {
		transform: rotateX(360deg) rotateY(360deg);
	}
}

@keyframes rotatePyramid {
	0% {
		transform: rotateY(0);
	}
	100% {
		transform: rotateY(360deg);
	}
}

@keyframes tagGlowSweep {
	0% {
		left: -100%;
	}
	100% {
		left: 200%;
	}
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@keyframes letterReveal {
	0% {
		opacity: 0;
		transform: translateY(100px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@keyframes btnShine {
	0% {
		left: -100%;
	}
	50%,
	100% {
		left: 200%;
	}
}

@keyframes progressLine {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

@keyframes slideInLeft {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInRight {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes deviceFloat {
	0%,
	100% {
		transform: translate(-50%, -50%) perspective(1000px) rotateY(-10deg)
			rotateX(5deg) translateY(0);
	}
	50% {
		transform: translate(-50%, -50%) perspective(1000px) rotateY(-10deg)
			rotateX(5deg) translateY(-20px);
	}
}

@keyframes mobileFloat {
	0%,
	100% {
		transform: perspective(1000px) rotateY(20deg) rotateX(-5deg) translateY(0);
	}
	50% {
		transform: perspective(1000px) rotateY(20deg) rotateX(-5deg)
			translateY(-15px);
	}
}

@keyframes codeFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-15px);
	}
}

@keyframes floatBadge {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes dotPulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.5);
		opacity: 1;
	}
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.7;
		transform: scale(0.95);
	}
}

@keyframes mouseScroll {
	0% {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
	}
	100% {
		transform: translateX(-50%) translateY(15px);
		opacity: 0;
	}
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
	.hero-headline-nextgen {
		font-size: 60px;
	}

	.device-laptop {
		width: 420px;
	}

	.code-editor-float {
		width: 240px;
		left: -40px;
	}
}

@media (max-width: 968px) {
	.hero-nextgen-layout {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.hero-content-side {
		padding-right: 0;
		text-align: center;
	}

	.hero-tag-modern,
	.feature-pills-interactive,
	.stats-row-animated {
		justify-content: center;
	}

	h1.hero-headline-nextgen,
	.hero-headline-nextgen {
		font-size: 36px !important;
	}

	.typewriter-container {
		font-size: 22px;
	}

	.visual-3d-container {
		height: 500px;
		margin: 0 auto;
		max-width: 500px;
	}

	.cube-float,
	.sphere-float,
	.pyramid-float {
		display: none;
	}
}

@media (max-width: 768px) {
	.hero-nextgen {
		padding: 40px 0 50px;
		margin-top: 0;
	}

	.hero-nextgen-layout {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: -15px;
	}

	.hero-content-side {
		display: contents;
	}

	.hero-visual-side {
		order: 4;
		margin: 8px 0 15px;
	}

	.visual-3d-container {
		margin: 0;
		padding: 0;
	}

	/* Placeholder divs ordering */
	#hero-tag-placeholder {
		order: 1;
		margin-bottom: 15px;
		margin-top: 0;
	}

	#hero-headline-placeholder {
		order: 2;
		margin-bottom: 20px;
	}

	#hero-subtitle-placeholder {
		order: 3;
		margin-bottom: 0;
	}

	#hero-feature-pills-placeholder {
		order: 5;
		margin-bottom: 25px;
	}

	#hero-cta-placeholder {
		order: 6;
		margin-bottom: 0;
	}

	/* Content elements */
	.hero-tag-modern {
		order: 1;
		margin-bottom: 15px;
		margin-top: 0;
	}

	h1.hero-headline-nextgen,
	.hero-headline-nextgen {
		order: 2;
		font-size: 32px !important;
		margin-bottom: 5px;
		line-height: 1.2;
	}

	#hero-headline-placeholder {
		order: 2;
		margin-bottom: 12px;
	}

	.hero-subtitle-box {
		order: 3;
		margin-bottom: 0;
	}

	.typewriter-container {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.subtitle-desc {
		font-size: 16px;
		margin-bottom: 0;
		line-height: 1.6;
	}

	.feature-pills-interactive {
		order: 5;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		align-items: stretch;
		margin-bottom: 25px;
	}

	.hero-cta-box {
		order: 6;
		margin-bottom: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.btn-magnetic-primary,
	.btn-outline-modern {
		width: 100%;
		justify-content: center;
	}

	/* Hide scroll indicator on mobile */
	.scroll-mouse-indicator {
		display: none;
	}

	.feature-pill {
		flex-direction: column;
		text-align: center;
		padding: 18px 12px;
		gap: 8px;
	}

	.pill-icon {
		margin: 0;
	}

	.pill-text {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	.pill-text strong {
		font-size: 13px;
	}

	.pill-text span {
		font-size: 11px;
	}

	.device-laptop {
		width: 350px;
	}

	.device-mobile {
		width: 120px;
		bottom: 30px;
		right: 40px;
	}

	.code-editor-float {
		width: 200px;
		left: -30px;
		top: 30px;
	}
}

@media (max-width: 640px) {
	h1.hero-headline-nextgen,
	.hero-headline-nextgen {
		font-size: 28px !important;
	}

	.typewriter-container {
		font-size: 17px;
	}

	.feature-pill {
		padding: 14px 20px;
	}

	.pill-icon {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}

	.btn-magnetic-primary,
	.btn-outline-modern {
		padding: 14px 24px; /* Mobilde daha kompakt */
		font-size: 14px;
		width: 100%; /* Mobilde tam genişlik */
		justify-content: center; /* İçeriği ortala */
	}

	.visual-3d-container {
		height: 400px;
	}

	.device-laptop {
		width: 280px;
	}

	.code-editor-float {
		display: none;
	}

	.float-badge {
		display: none;
	}
}
