/* ===================================
   JOBS PAGE - MANUAL SEARCH FOCUS
   Professional, Conversion-Optimized
   =================================== */

:root {
	--neon-cyan: #22d3ee;
	--neon-blue: #06b6d4;
	--deep-blue: #3b82f6;
	--purple: #7c3aed;
	--dark-bg: #0a0e27;
	--dark-surface: #1a1f3a;
	--card-bg: rgba(51, 65, 85, 0.6);
	--text-primary: #ffffff;
	--text-secondary: #cffafe;
	--border-color: rgba(34, 211, 238, 0.2);
}

.jobs-page {
	background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 50%, #0f1425 100%);
	min-height: 100vh;
}

/* ===================================
   HERO SECTION - Search First
   =================================== */

.hero-section {
	padding: 5rem 1rem 4rem;
	position: relative;
	overflow: hidden;
}

/* Ambient lighting effects */
.hero-section::before {
	content: '';
	position: absolute;
	top: -10rem;
	right: -10rem;
	width: 30rem;
	height: 30rem;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	filter: blur(60px);
	z-index: 0;
	pointer-events: none;
}

.hero-section::after {
	content: '';
	position: absolute;
	bottom: -10rem;
	left: -10rem;
	width: 30rem;
	height: 30rem;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	filter: blur(60px);
	z-index: 0;
	pointer-events: none;
}

.hero-container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.hero-content {
	text-align: center;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin-bottom: 1rem;
	line-height: 1.1;
	animation: fadeInDown 0.6s ease-out;
}

.hero-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	font-weight: 300;
	letter-spacing: 0.01em;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* ===================================
   SEARCH BAR - Primary Focus
   =================================== */

.search-form {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr auto;
	gap: 0;
	align-items: center;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(34, 211, 238, 0.2);
	transition: all 0.3s ease;
	margin-bottom: 2rem;
	animation: fadeInUp 0.6s ease-out 0.2s both;
	position: relative;
	z-index: 10;
}

.search-form:focus-within {
	border-color: var(--neon-cyan);
	box-shadow: 0 0 40px rgba(34, 211, 238, 0.3), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--neon-cyan);
	flex-shrink: 0;
	opacity: 0.9;
	margin-right: 1rem;
}

.search-icon:nth-of-type(2) {
	margin-left: 2rem;
	padding-left: 2rem;
	border-left: 1px solid rgba(34, 211, 238, 0.15);
}

.search-input {
	width: 100%;
	background: transparent;
	border: none;
	color: var(--text-primary);
	font-size: 1rem;
	outline: none;
	caret-color: var(--neon-cyan);
	font-weight: 400;
	padding: 0;
}

.search-input::placeholder {
	color: rgba(34, 211, 238, 0.4);
	font-weight: 300;
}

.search-btn {
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	border: none;
	padding: 0.875rem 2rem;
	margin-left: 1.5rem;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	border-radius: 0.5rem;
}

.search-btn::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 ease;
}

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

.search-btn:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
	transform: translateY(-1px);
}

.search-btn:active {
	transform: translateY(0);
}

.search-text {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.loading-spinner {
	display: none;
	align-items: center;
	justify-content: center;
}

.loading-spinner svg {
	width: 1.5rem;
	height: 1.5rem;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Search Results Dropdown */
.search-results {
	display: none;
	max-height: 500px;
	overflow-y: auto;
	background: rgba(15, 23, 42, 0.98);
	backdrop-filter: blur(20px);
	border-radius: 1rem;
	border: 1px solid rgba(34, 211, 238, 0.3);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	z-index: 1000;
	animation: slideDown 0.3s ease-out;
	margin-top: -1rem;
	margin-bottom: 2rem;
	position: relative;
}

.search-results.show {
	display: block;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Search Results Content Styling */
.search-results-header {
	padding: 1.5rem 1.5rem 1rem;
	border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}

.results-count {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-secondary);
	opacity: 0.9;
}

.results-count strong {
	color: var(--neon-cyan);
	font-weight: 700;
}

.search-result-item {
	display: block;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid rgba(34, 211, 238, 0.1);
	text-decoration: none;
	transition: all 0.2s ease;
}

.search-result-item:hover {
	background: rgba(34, 211, 238, 0.05);
	padding-left: 2rem;
}

.search-result-item:last-child {
	border-bottom: none;
}

.result-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.result-title {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.3;
	flex: 1;
}

.result-salary {
	color: var(--neon-cyan);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}

.result-company {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin: 0.5rem 0;
	font-weight: 500;
}

.result-location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-top: 0.5rem;
	opacity: 0.8;
}

.result-location svg {
	width: 1rem;
	height: 1rem;
	color: var(--neon-cyan);
	flex-shrink: 0;
}

/* Empty State in Search Results */
.search-empty-state {
	padding: 2.5rem 1.5rem;
	text-align: center;
}

.search-empty-state .empty-icon {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 211, 238, 0.1);
	border-radius: 50%;
}

.search-empty-state .empty-icon svg {
	width: 2rem;
	height: 2rem;
	color: var(--neon-cyan);
}

.search-empty-state .empty-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 0.75rem 0;
}

.search-empty-state .empty-text {
	font-size: 0.95rem;
	color: var(--text-secondary);
	margin: 0 0 1.5rem 0;
	line-height: 1.6;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.btn-save-alerts {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	border: none;
	padding: 0.875rem 1.75rem;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-save-alerts:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
	transform: translateY(-2px);
}

.btn-save-alerts svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.empty-suggestion {
	margin-top: 1.5rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
	opacity: 0.7;
}

/* Error State */
.search-error {
	padding: 2rem 1.5rem;
	text-align: center;
	color: #fca5a5;
}

.search-error svg {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	display: block;
	color: #ef4444;
}

.search-error p {
	margin: 0;
	font-size: 0.95rem;
}

/* ===================================
   AI MATCH SECONDARY CTA
   =================================== */

.ai-match-secondary {
	text-align: center;
	margin-bottom: 2.5rem;
	animation: fadeInUp 0.6s ease-out 0.3s both;
	position: relative;
	z-index: 10;
}

.ai-match-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
	font-weight: 300;
	opacity: 0.9;
}

.ai-match-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(167, 139, 250, 0.1));
	border: 1px solid rgba(124, 58, 237, 0.3);
	border-radius: 0.75rem;
	color: #a78bfa;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.ai-match-link:hover {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(167, 139, 250, 0.15));
	border-color: rgba(124, 58, 237, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.ai-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.arrow-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.ai-match-link:hover .arrow-icon {
	transform: translateX(4px);
}

/* ===================================
   HERO STATS
   =================================== */

.hero-stats {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	padding: 2rem 1rem 0;
	animation: fadeIn 0.6s ease-out 0.4s both;
	position: relative;
	z-index: 5;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.stat-number {
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--neon-cyan);
	letter-spacing: -0.02em;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	opacity: 0.8;
	text-align: center;
}

.stat-divider {
	width: 1px;
	height: 2.5rem;
	background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.3), transparent);
}

/* ===================================
   TOP HIRING ROLES SECTION
   =================================== */

.hiring-roles-section {
	padding: 5rem 1rem;
	border-top: 1px solid var(--border-color);
	background: linear-gradient(to bottom, transparent, rgba(10, 14, 39, 0.3));
}

.section-container {
	max-width: 1440px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	letter-spacing: -0.01em;
}

.section-subtitle {
	font-size: 1rem;
	color: var(--text-secondary);
	font-weight: 300;
	opacity: 0.9;
}

.hiring-roles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	animation: fadeIn 0.6s ease-out;
}

.hiring-category {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	background: var(--card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: 1.25rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.hiring-category:hover {
	background: rgba(51, 65, 85, 0.8);
	border-color: rgba(34, 211, 238, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(34, 211, 238, 0.15);
}

.category-icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 211, 238, 0.1);
	border-radius: 1rem;
	flex-shrink: 0;
}

.category-icon svg {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--neon-cyan);
}

.category-content {
	flex: 1;
	min-width: 0;
}

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

.category-count {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin: 0;
	opacity: 0.8;
}

.category-arrow {
	color: rgba(34, 211, 238, 0.5);
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.category-arrow svg {
	width: 1.5rem;
	height: 1.5rem;
}

.hiring-category:hover .category-arrow {
	color: var(--neon-cyan);
	transform: translateX(4px);
}

/* ===================================
   JOBS SECTION
   =================================== */

.jobs-section {
	padding: 5rem 1rem;
	border-top: 1px solid var(--border-color);
}

.jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	animation: fadeIn 0.6s ease-out;
}

/* Job Card */
.job-card {
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: 1.25rem;
	padding: 1.5rem;
	text-decoration: none;
	transition: all 0.3s ease;
	height: 100%;
}

.job-card:hover {
	background: rgba(51, 65, 85, 0.8);
	border-color: rgba(34, 211, 238, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(34, 211, 238, 0.15);
}

.job-card.is-featured {
	background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.08));
	border-color: rgba(34, 211, 238, 0.4);
}

.job-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.job-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.3;
	flex: 1;
}

.featured-badge {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
	white-space: nowrap;
	flex-shrink: 0;
}

.job-company {
	color: var(--text-secondary);
	font-size: 0.95rem;
	margin: 0 0 1rem 0;
	font-weight: 500;
}

.job-company strong {
	color: var(--neon-cyan);
	font-weight: 600;
}

.job-meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(34, 211, 238, 0.1);
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.job-location,
.job-salary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.job-location svg,
.job-salary svg {
	width: 1rem;
	height: 1rem;
	color: var(--neon-cyan);
	flex-shrink: 0;
	opacity: 0.8;
}

.job-excerpt {
	flex: 1;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
	opacity: 0.85;
}

/* Empty State */
.empty-state {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.06));
	border: 2px dashed rgba(34, 211, 238, 0.25);
	border-radius: 1.5rem;
	text-align: center;
	animation: fadeIn 0.5s ease-out;
}

.empty-icon {
	width: 4rem;
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 211, 238, 0.1);
	border-radius: 50%;
	margin-bottom: 1.5rem;
}

.empty-icon svg {
	width: 2rem;
	height: 2rem;
	color: var(--neon-cyan);
}

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

.empty-text {
	font-size: 1rem;
	color: var(--text-secondary);
	margin: 0 0 2rem 0;
	max-width: 500px;
	line-height: 1.6;
}

.btn-save-profile {
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	border: none;
	padding: 0.875rem 2rem;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-save-profile:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
	transform: translateY(-2px);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
	padding: 6rem 1rem;
	border-top: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(59, 130, 246, 0.05));
	z-index: 0;
}

.cta-container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.cta-content {
	text-align: center;
}

.cta-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
	letter-spacing: -0.01em;
}

.cta-text {
	font-size: 1.125rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	font-weight: 300;
	line-height: 1.7;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	border-radius: 0.75rem;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
	transform: translateY(-2px);
}

.btn-secondary {
	background: rgba(30, 41, 59, 0.6);
	border: 2px solid rgba(34, 211, 238, 0.4);
	color: var(--neon-cyan);
	backdrop-filter: blur(10px);
}

.btn-secondary:hover {
	background: rgba(30, 41, 59, 0.9);
	border-color: var(--neon-cyan);
	box-shadow: 0 8px 24px rgba(34, 211, 238, 0.2);
	transform: translateY(-2px);
}

.btn-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

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

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ===================================
   RESPONSIVE - TABLET (768px)
   =================================== */

@media (max-width: 768px) {
	.hero-section {
		padding: 3.5rem 1rem 3rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.search-form {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		padding: 0;
	}

	.search-icon {
		margin: 0 0 0 1.25rem;
	}

	.search-icon:nth-of-type(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.search-input:nth-of-type(1) {
		grid-column: 1;
		grid-row: 1;
		padding: 1rem 1.25rem 1rem 3rem;
		border-bottom: 1px solid rgba(34, 211, 238, 0.15);
	}

	.search-icon:nth-of-type(2) {
		grid-column: 1;
		grid-row: 2;
		margin-left: 1.25rem;
		padding-left: 0;
		border-left: none;
	}

	.search-input:nth-of-type(2) {
		grid-column: 1;
		grid-row: 2;
		padding: 1rem 1.25rem 1rem 3rem;
		border-bottom: 1px solid rgba(34, 211, 238, 0.15);
	}

	.search-btn {
		grid-column: 1;
		grid-row: 3;
		margin: 0;
		padding: 1rem 1.5rem;
		border-radius: 0 0 1rem 1rem;
		width: 100%;
	}

	.hero-stats {
		gap: 1.5rem;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.75rem;
	}

	.hiring-roles-section,
	.jobs-section,
	.cta-section {
		padding: 3.5rem 1rem;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.hiring-roles-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.jobs-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.cta-buttons {
		flex-direction: column;
		gap: 0.75rem;
	}

	.btn-primary,
	.btn-secondary {
		width: 100%;
		justify-content: center;
	}
}

/* ===================================
   RESPONSIVE - MOBILE (480px)
   =================================== */

@media (max-width: 480px) {
	.hero-section {
		padding: 2.5rem 0.75rem 2rem;
	}

	.hero-title {
		font-size: 1.75rem;
	}

	.search-form {
		padding: 0;
	}

	.search-icon {
		width: 1.25rem;
		height: 1.25rem;
		margin-left: 1rem;
	}

	.search-input {
		font-size: 16px; /* Prevents zoom on iOS */
		padding: 0.875rem 1rem 0.875rem 2.75rem;
	}

	.search-btn {
		padding: 0.875rem 1.25rem;
		font-size: 0.95rem;
	}

	.ai-match-link {
		font-size: 0.85rem;
		padding: 0.625rem 1.25rem;
	}

	.hero-stats {
		gap: 1rem;
	}

	.stat-number {
		font-size: 1.25rem;
	}

	.hiring-roles-section,
	.jobs-section {
		padding: 3rem 0.75rem;
	}

	.section-title {
		font-size: 1.5rem;
	}

	.job-card {
		padding: 1.25rem;
	}

	.job-title {
		font-size: 1.1rem;
	}

	.cta-section {
		padding: 3rem 0.75rem;
	}

	.cta-title {
		font-size: 1.75rem;
	}
}

/* ===================================
   FEATURED JOBS — Expandable Cards
   =================================== */

.featured-jobs-section {
	padding: 5rem 1rem;
	border-top: 1px solid var(--border-color);
}

.featured-jobs-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.featured-job-card {
	background: var(--card-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: 1.25rem;
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-job-card:hover {
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 12px 40px rgba(34, 211, 238, 0.1);
}

.featured-job-card.is-featured {
	background: linear-gradient(135deg, rgba(34, 211, 238, 0.07), rgba(59, 130, 246, 0.05));
	border-color: rgba(34, 211, 238, 0.35);
}

.featured-job-card.card-expanded {
	border-color: rgba(34, 211, 238, 0.6);
	box-shadow: 0 16px 50px rgba(34, 211, 238, 0.15);
}

/* Preview Row */
.job-preview-row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.75rem;
	flex-wrap: wrap;
}

.job-icon-wrapper {
	width: 3.5rem;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 211, 238, 0.1);
	border-radius: 1rem;
	flex-shrink: 0;
	border: 1px solid rgba(34, 211, 238, 0.2);
}

.job-icon-wrapper svg {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--neon-cyan);
}

.job-info {
	flex: 1;
	min-width: 0;
}

.job-header-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.35rem;
}

.job-title-text {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.3;
}

.job-company-text {
	font-size: 0.9rem;
	color: var(--neon-cyan);
	font-weight: 600;
	margin: 0 0 0.6rem 0;
}

.job-meta-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
	font-size: 0.88rem;
	color: var(--text-secondary);
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.meta-item svg {
	width: 0.9rem;
	height: 0.9rem;
	color: var(--neon-cyan);
	flex-shrink: 0;
}

.meta-salary {
	color: var(--neon-cyan);
	font-weight: 700;
}

.meta-tag {
	display: inline-flex;
	padding: 0.2rem 0.65rem;
	background: rgba(34, 211, 238, 0.1);
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--neon-cyan);
	letter-spacing: 0.02em;
}

.job-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.skill-tag {
	display: inline-flex;
	padding: 0.2rem 0.65rem;
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.25);
	border-radius: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #93c5fd;
}

/* Read More Button */
.read-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.4rem;
	background: rgba(34, 211, 238, 0.08);
	border: 1.5px solid rgba(34, 211, 238, 0.3);
	border-radius: 0.75rem;
	color: var(--neon-cyan);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.read-more-btn:hover {
	background: rgba(34, 211, 238, 0.15);
	border-color: var(--neon-cyan);
	box-shadow: 0 6px 20px rgba(34, 211, 238, 0.2);
	transform: translateY(-2px);
}

.read-more-btn .btn-chevron {
	width: 1rem;
	height: 1rem;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.read-more-btn.expanded .btn-chevron {
	transform: rotate(180deg);
}

/* Details Panel */
.job-details-panel {
	display: none;
	padding: 1.75rem;
	border-top: 1px solid rgba(34, 211, 238, 0.15);
	background: rgba(0, 0, 0, 0.25);
	animation: panelOpen 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes panelOpen {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.job-description {
	font-size: 0.97rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 1.75rem 0;
}

.details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.details-col-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 0.85rem 0;
}

.details-col-title svg {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--neon-cyan);
	flex-shrink: 0;
}

.details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.requirements-list li,
.benefits-list li {
	font-size: 0.9rem;
	color: var(--text-secondary);
	padding-left: 1.25rem;
	position: relative;
	line-height: 1.5;
}

.requirements-list li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: rgba(34, 211, 238, 0.6);
	font-size: 0.8rem;
	top: 0.05rem;
}

.benefits-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #4ade80;
	font-size: 0.8rem;
	font-weight: 700;
	top: 0.05rem;
}

/* Details Actions */
.details-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn-apply-ai {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.875rem 1.75rem;
	background: linear-gradient(135deg, var(--neon-blue), var(--deep-blue));
	color: white;
	border: none;
	border-radius: 0.75rem;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

.btn-apply-ai svg {
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
}

.btn-apply-ai:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
	transform: translateY(-2px);
}

.btn-apply-now {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: transparent;
	border: 1.5px solid rgba(34, 211, 238, 0.4);
	border-radius: 0.75rem;
	color: var(--neon-cyan);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-apply-now svg {
	width: 0.9rem;
	height: 0.9rem;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.btn-apply-now:hover {
	background: rgba(34, 211, 238, 0.08);
	border-color: var(--neon-cyan);
	box-shadow: 0 6px 20px rgba(34, 211, 238, 0.15);
}

.btn-apply-now:hover svg {
	transform: translateX(3px);
}

/* ===================================
   AI JOB FINDER CTA SECTION
   =================================== */

.ai-finder-cta {
	padding: 6rem 1rem;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(59, 130, 246, 0.06) 50%, rgba(124, 58, 237, 0.04) 100%);
	border-top: 1px solid rgba(34, 211, 238, 0.2);
	border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.ai-finder-cta::before {
	content: '';
	position: absolute;
	top: -8rem;
	left: 50%;
	transform: translateX(-50%);
	width: 40rem;
	height: 40rem;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}

.ai-cta-inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 2;
}

.ai-cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.1rem;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: 2rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--neon-cyan);
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.ai-cta-badge svg {
	width: 0.9rem;
	height: 0.9rem;
	flex-shrink: 0;
}

.ai-cta-title {
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 900;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ai-cta-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	font-weight: 300;
	line-height: 1.7;
}

.ai-cta-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 2rem;
	text-align: left;
	max-width: 640px;
	margin: 0 auto 2.5rem;
}

.ai-cta-point {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

.point-check {
	display: inline-flex;
	width: 1.35rem;
	height: 1.35rem;
	min-width: 1.35rem;
	align-items: center;
	justify-content: center;
	background: rgba(74, 222, 128, 0.15);
	border: 1px solid rgba(74, 222, 128, 0.35);
	border-radius: 50%;
	color: #4ade80;
	font-size: 0.7rem;
	font-weight: 900;
	margin-top: 0.1rem;
}

.ai-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 2.5rem;
	background: linear-gradient(135deg, var(--neon-blue) 0%, var(--deep-blue) 100%);
	color: white;
	font-weight: 800;
	font-size: 1.05rem;
	border-radius: 0.875rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow:
		0 0 40px rgba(6, 182, 212, 0.45),
		0 8px 30px rgba(0, 0, 0, 0.3);
	margin-bottom: 1rem;
	letter-spacing: 0.01em;
}

.ai-cta-button svg {
	width: 1.2rem;
	height: 1.2rem;
	flex-shrink: 0;
}

.ai-cta-button:hover {
	background: linear-gradient(135deg, #0891b2, #2563eb);
	box-shadow:
		0 0 60px rgba(6, 182, 212, 0.65),
		0 12px 40px rgba(0, 0, 0, 0.35);
	transform: translateY(-3px);
}

.ai-cta-note {
	font-size: 0.85rem;
	color: var(--text-secondary);
	opacity: 0.75;
	margin: 0;
}

/* Utility: scroll-to-featured smooth behavior */
.scroll-to-featured {
	scroll-behavior: smooth;
}

/* ===================================
   RESPONSIVE — Featured Jobs
   =================================== */

@media (max-width: 768px) {
	.featured-jobs-section {
		padding: 3.5rem 1rem;
	}

	.job-preview-row {
		padding: 1.25rem;
		gap: 1rem;
		align-items: flex-start;
	}

	.job-icon-wrapper {
		width: 2.75rem;
		height: 2.75rem;
	}

	.job-title-text {
		font-size: 1.05rem;
	}

	.read-more-btn {
		width: 100%;
		justify-content: center;
	}

	.details-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.details-actions {
		flex-direction: column;
	}

	.btn-apply-ai,
	.btn-apply-now {
		width: 100%;
		justify-content: center;
	}

	.ai-finder-cta {
		padding: 4rem 1rem;
	}

	.ai-cta-points {
		grid-template-columns: 1fr;
	}

	.ai-cta-button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.job-preview-row {
		padding: 1rem;
	}

	.job-icon-wrapper {
		width: 2.5rem;
		height: 2.5rem;
	}

	.job-icon-wrapper svg {
		width: 1.3rem;
		height: 1.3rem;
	}

	.job-meta-row {
		gap: 0.5rem;
	}

	.job-details-panel {
		padding: 1rem;
	}

	.ai-cta-title {
		font-size: 1.65rem;
	}
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
	button,
	a,
	.job-card,
	.hiring-category {
		min-height: 44px;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus states for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 2px solid var(--neon-cyan);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.search-form,
	.job-card,
	.hiring-category {
		border-width: 2px;
	}
}