/*
 * Components — All custom component styles for the Faruk theme.
 * Extracted and organized from the original index.html inline styles.
 */

/* ── Background Effects ── */
.bg-mesh {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 80% 60% at 15% 20%, rgba(0, 245, 255, 0.06) 0%, transparent 60%),
		radial-gradient(ellipse 60% 50% at 85% 70%, rgba(0, 100, 200, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse 40% 40% at 50% 100%, rgba(0, 245, 255, 0.04) 0%, transparent 50%);
}

.bg-grid {
	position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.025;
	background-image:
		linear-gradient(rgba(0, 245, 255, 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 245, 255, 0.5) 1px, transparent 1px);
	background-size: 80px 80px;
}

/* ── Glass ── */
.glass {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border-subtle);
}

.glass-card {
	background: rgba(255, 255, 255, 0.035);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(0, 245, 255, 0.15);
	border-radius: 20px;
	transition: var(--transition-smooth);
}

.glass-card:hover {
	border-color: rgba(0, 245, 255, 0.45);
	background: rgba(0, 245, 255, 0.05);
	transform: translateY(-6px);
	box-shadow: 0 0 40px rgba(0, 245, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* ── Glow Effects ── */
.glow-cyan    { text-shadow: 0 0 20px rgba(0, 245, 255, 0.7), 0 0 60px rgba(0, 245, 255, 0.3); }
.glow-box     { box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), 0 0 60px rgba(0, 245, 255, 0.15); }
.glow-box-sm  { box-shadow: 0 0 12px rgba(0, 245, 255, 0.35), 0 0 30px rgba(0, 245, 255, 0.12); }

/* ── Navbar ── */
#navbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	padding: 18px 0;
	background: rgba(2, 12, 27, 0.7);
	backdrop-filter: blur(28px);
	-webkit-backdrop-filter: blur(28px);
	border-bottom: 1px solid rgba(0, 245, 255, 0.1);
	transition: var(--transition-base);
}

#navbar.scrolled {
	padding: 12px 0;
	background: rgba(2, 12, 27, 0.92);
	border-bottom-color: rgba(0, 245, 255, 0.2);
}

.nav-logo {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.7rem;
	color: var(--cyan);
	text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
	letter-spacing: -0.02em;
	text-decoration: none;
	display: inline-block;
}

.nav-link {
	color: rgba(226, 234, 247, 0.7);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.25s ease;
	position: relative;
	text-decoration: none;
}

.nav-link::after {
	content: '';
	position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
	background: var(--cyan);
	box-shadow: 0 0 8px var(--cyan);
	transition: width 0.3s ease;
}

.nav-link:hover { color: var(--cyan); }
.nav-link:hover::after { width: 100%; }

/* ── Hamburger ── */
#hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	transition: var(--transition-base);
}

.hb-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: rgba(226, 234, 247, 0.8);
	border-radius: 2px;
	transition: var(--transition-base);
	transform-origin: center;
}

#hamburger.is-open .hb-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#hamburger.is-open .hb-bar:nth-child(2) { opacity: 0; }
#hamburger.is-open .hb-bar:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 22px; }

/* ── Mobile Overlay ── */
#mobile-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(2, 12, 27, 0.6);
}
#mobile-overlay.open { display: block; }

/* ── Mobile Menu ── */
#mobile-menu {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 999;
	background: rgba(2, 12, 27, 0.97);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	padding: 32px 32px 40px;
	flex-direction: column;
}
#mobile-menu.open { display: flex; }

.mmenu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 36px;
	padding-top: 8px;
}

.mmenu-logo {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.7rem;
	color: var(--cyan);
	text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
	letter-spacing: -0.02em;
}

.mmenu-close {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(226, 234, 247, 0.6);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: var(--transition-base);
}
.mmenu-close:hover {
	background: rgba(0, 245, 255, 0.1);
	border-color: rgba(0, 245, 255, 0.3);
	color: var(--cyan);
}

.mmenu-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.mnav-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	text-decoration: none;
	color: rgba(226, 234, 247, 0.75);
	transition: all 0.25s ease;
}
.mnav-item:hover {
	color: var(--cyan);
	padding-left: 8px;
}
.mnav-item:last-child { border-bottom: none; }

.mnav-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mnav-num {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(0, 245, 255, 0.4);
	letter-spacing: 0.1em;
}

.mnav-label {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
}

.mnav-arrow {
	opacity: 0.35;
	transition: all 0.3s ease;
	flex-shrink: 0;
}
.mnav-item:hover .mnav-arrow {
	opacity: 1;
	color: var(--cyan);
	transform: translateX(4px);
}

.mmenu-footer {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mnav-cta {
	display: block;
	width: 100%;
	text-align: center;
}

/* ── Buttons ── */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1.5px solid var(--cyan);
	color: var(--cyan);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	padding: 10px 22px;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.35s ease;
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.25), inset 0 0 14px rgba(0, 245, 255, 0.05);
	text-transform: uppercase;
	text-decoration: none;
}
.btn-primary::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.btn-primary:hover {
	background: rgba(0, 245, 255, 0.1);
	box-shadow: 0 0 28px rgba(0, 245, 255, 0.5), 0 0 60px rgba(0, 245, 255, 0.2), inset 0 0 20px rgba(0, 245, 255, 0.08);
	transform: translateY(-1px);
	color: var(--cyan);
}
.btn-primary:hover::before { opacity: 1; }

.btn-solid {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.9), rgba(0, 180, 197, 0.9));
	color: var(--navy-dark);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	padding: 14px 30px;
	border-radius: 10px;
	cursor: pointer;
	border: none;
	transition: all 0.35s ease;
	box-shadow: 0 0 24px rgba(0, 245, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.3);
	text-transform: uppercase;
	text-decoration: none;
}
.btn-solid:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 40px rgba(0, 245, 255, 0.65), 0 16px 40px rgba(0, 0, 0, 0.4);
	background: linear-gradient(135deg, #00F5FF, #00B4C5);
	color: var(--navy-dark);
}

/* ── Hero ── */
#hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 90px;
	position: relative;
	z-index: 10;
}

.hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
}

.hero-content { flex: 1; max-width: 42rem; }

.hero-tag {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(0, 245, 255, 0.08);
	border: 1px solid rgba(0, 245, 255, 0.25);
	border-radius: 100px;
	padding: 6px 16px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--cyan);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #e8f1ff;
	margin-top: 1.5rem;
}
.hero-title .accent {
	color: var(--cyan);
	text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.hero-bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero-bullet  { display: flex; align-items: flex-start; gap: 0.75rem; }
.hero-bullet svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.hero-bullet p  { font-size: 0.875rem; color: rgba(226, 234, 247, 0.7); line-height: 1.5; }
.hero-bullet strong { color: #e2eaf7; }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }

/* Hero Photo */
.hero-photo-wrap {
	position: relative;
	width: 380px; height: 480px;
	flex-shrink: 0;
}
.hero-photo-glow {
	position: absolute; inset: -30px;
	background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulse-glow 3s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
	from { opacity: 0.5; transform: scale(0.95); }
	to   { opacity: 1;   transform: scale(1.05); }
}
.hero-photo-frame {
	position: relative;
	width: 100%; height: 100%;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(0, 245, 255, 0.3);
	box-shadow: 0 0 60px rgba(0, 245, 255, 0.2), 0 40px 80px rgba(0, 0, 0, 0.5);
	background: linear-gradient(145deg, rgba(0, 245, 255, 0.07) 0%, rgba(10, 20, 40, 0.9) 100%);
}
.hero-photo-frame::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, transparent 50%, rgba(2, 12, 27, 0.8) 100%);
	z-index: 1;
}
.hero-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.avatar-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
}
.avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Floating Badges */
.floating-badge {
	position: absolute;
	background: rgba(2, 12, 27, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(0, 245, 255, 0.25);
	border-radius: 14px;
	padding: 12px 18px;
	z-index: 2;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.badge-stars { color: #FFD700; font-size: 0.85rem; letter-spacing: 2px; }

.upwork-badge-inline {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.upwork-icon {
	width: 32px; height: 32px;
	border-radius: 8px;
	background: linear-gradient(135deg, #6fda44, #45c517);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(32px); animation: fadeUp 0.8s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

/* ── Section Headers ── */
.section-label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan);
	opacity: 0.85;
	display: block;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: #e8f1ff;
}

.section-title .accent { color: var(--cyan); }

/* ── Cyan Divider ── */
.cyan-divider {
	width: 60px; height: 2px;
	background: linear-gradient(90deg, var(--cyan), transparent);
	box-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

/* ── Trust Bar ── */
.trust-bar {
	border-top: 1px solid rgba(0, 245, 255, 0.08);
	border-bottom: 1px solid rgba(0, 245, 255, 0.08);
	background: rgba(0, 245, 255, 0.03);
	padding: 28px 0;
	position: relative;
	z-index: 10;
}

.tech-badge {
	display: flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 100px;
	padding: 8px 18px;
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(226, 234, 247, 0.75);
	white-space: nowrap;
	transition: var(--transition-base);
	cursor: default;
}
.tech-badge:hover {
	border-color: rgba(0, 245, 255, 0.4);
	color: var(--cyan);
	background: rgba(0, 245, 255, 0.06);
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.15);
}
.tech-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 8px var(--cyan);
	flex-shrink: 0;
}

/* ── Trust bar inner flex ── */
.trust-badges-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

/* ── Stats ── */
.stat-card {
	text-align: center;
	padding: 32px 20px;
}
.stat-num {
	font-family: var(--font-display);
	font-size: 3.2rem;
	font-weight: 800;
	color: var(--cyan);
	line-height: 1;
	text-shadow: 0 0 24px rgba(0, 245, 255, 0.45);
}
.stat-stars { color: #FFD700; font-size: 0.9rem; margin-top: 4px; }
.stat-label {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(226, 234, 247, 0.6);
}

/* ── Portfolio Cards ── */
.portfolio-card {
	position: relative;
	overflow: hidden;
}
.portfolio-card::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cyan), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.portfolio-card:hover::before { opacity: 1; }
.portfolio-num {
	font-family: var(--font-display);
	font-size: 3.5rem;
	font-weight: 800;
	color: rgba(0, 245, 255, 0.08);
	line-height: 1;
	transition: color 0.4s ease;
}
.portfolio-card:hover .portfolio-num { color: rgba(0, 245, 255, 0.18); }

.metric-box {
	border-radius: 0.5rem;
	padding: 0.75rem;
	text-align: center;
	background: rgba(0, 245, 255, 0.06);
	border: 1px solid rgba(0, 245, 255, 0.15);
}
.metric-val {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--cyan);
}
.metric-label {
	font-size: 0.75rem;
	margin-top: 2px;
	color: rgba(226, 234, 247, 0.5);
}

/* ── Testimonials ── */
.testimonial-card { position: relative; overflow: hidden; }
.quote-icon {
	font-size: 5rem;
	line-height: 0.8;
	font-family: Georgia, serif;
	color: rgba(0, 245, 255, 0.12);
	position: absolute;
	top: 12px; left: 20px;
	transition: color 0.4s ease;
}
.testimonial-card:hover .quote-icon { color: rgba(0, 245, 255, 0.22); }
.avatar-circle {
	width: 48px; height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.3), rgba(0, 100, 200, 0.3));
	border: 1.5px solid rgba(0, 245, 255, 0.35);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--cyan);
	flex-shrink: 0;
}

/* Carousel */
#tc-track { visibility: hidden; }
#tc-track.tc-ready { visibility: visible; }

.tc-card.active {
	border-color: rgba(0, 245, 255, 0.38) !important;
	box-shadow: 0 0 44px rgba(0, 245, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.tc-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(0, 245, 255, 0.22);
	border: 1px solid rgba(0, 245, 255, 0.28);
	cursor: pointer;
	transition: all 0.35s ease;
	flex-shrink: 0;
}
.tc-dot.active {
	background: var(--cyan);
	box-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
	width: 24px;
	border-radius: 4px;
}

.carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
}

.carousel-btn {
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1.5px solid rgba(0, 245, 255, 0.3);
	background: rgba(0, 245, 255, 0.06);
	color: var(--cyan);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: var(--transition-base);
	flex-shrink: 0;
}
.carousel-btn:hover {
	background: rgba(0, 245, 255, 0.15);
	border-color: rgba(0, 245, 255, 0.7);
	box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.upwork-proof {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 2rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(0, 245, 255, 0.15);
}

/* ── Why Me ── */
.check-item {
	display: flex; align-items: flex-start; gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}
.check-item:last-child { border-bottom: none; }
.check-item:hover { padding-left: 6px; }
.check-icon {
	width: 26px; height: 26px; border-radius: 50%;
	background: rgba(0, 245, 255, 0.1);
	border: 1px solid rgba(0, 245, 255, 0.35);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--cyan);
}
.check-title {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: #e2eaf7;
	font-family: var(--font-display);
}
.check-desc {
	font-size: 0.75rem;
	line-height: 1.6;
	color: rgba(226, 234, 247, 0.5);
}

/* ── Blog Cards ── */
.blog-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 100px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(0, 245, 255, 0.1);
	color: var(--cyan);
	border: 1px solid rgba(0, 245, 255, 0.2);
}

.blog-card { cursor: pointer; }
.blog-card-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	color: #e2eaf7;
	margin-bottom: 0.75rem;
}
.blog-card-excerpt {
	font-size: 0.875rem;
	line-height: 1.625;
	color: rgba(226, 234, 247, 0.5);
	margin-bottom: 1.25rem;
}
.blog-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.75rem;
	color: rgba(226, 234, 247, 0.35);
}
.blog-read-more { color: var(--cyan); }

/* ── Expertise Logo Grid ── */
.expertise-logo {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px;
	padding: 28px 20px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.025);
	transition: var(--transition-smooth);
	cursor: default;
}
.expertise-logo:hover {
	border-color: rgba(0, 245, 255, 0.4);
	background: rgba(0, 245, 255, 0.06);
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 0 30px rgba(0, 245, 255, 0.15), 0 16px 40px rgba(0, 0, 0, 0.3);
}
.logo-icon {
	font-size: 2rem;
	color: rgba(226, 234, 247, 0.5);
	transition: all 0.4s ease;
}
.expertise-logo:hover .logo-icon { color: var(--cyan); text-shadow: 0 0 16px rgba(0, 245, 255, 0.6); }
.logo-label {
	font-size: 0.78rem;
	font-weight: 500;
	color: rgba(226, 234, 247, 0.5);
	text-align: center;
	transition: color 0.4s ease;
}
.expertise-logo:hover .logo-label { color: rgba(226, 234, 247, 0.85); }

/* ── Ticker ── */
.ticker-wrap {
	overflow: hidden;
	position: relative;
	z-index: 10;
	border-top: 1px solid rgba(0, 245, 255, 0.06);
	border-bottom: 1px solid rgba(0, 245, 255, 0.06);
	background: rgba(0, 245, 255, 0.02);
	padding: 1rem 0;
	cursor: default;
}

/* Pause scroll on hover */
.ticker-wrap:hover .ticker-track {
	animation-play-state: paused;
}

.ticker-track {
	display: flex;
	gap: 40px;
	animation: ticker 28s linear infinite;
	white-space: nowrap;
	will-change: transform;
}
@keyframes ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(226, 234, 247, 0.35);
	transition: color 0.25s ease;
	cursor: pointer;
	user-select: none;
}
.ticker-item:hover {
	color: var(--cyan);
}
.ticker-item:hover .ticker-dot {
	opacity: 1;
	transform: scale(1.6);
}

.ticker-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--cyan);
	opacity: 0.5;
	flex-shrink: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ── CTA Section ── */
.cta-section {
	position: relative;
	overflow: hidden;
}
.cta-section::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
}

/* ── Contact Form ── */
.contact-form-field {
	width: 100%;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	outline: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #e2eaf7;
	font-family: var(--font-body);
	transition: all 0.3s ease;
}
.contact-form-field::placeholder { color: rgba(226, 234, 247, 0.4); }
.contact-form-field:focus {
	border-color: rgba(0, 245, 255, 0.4);
	background: rgba(0, 245, 255, 0.05);
	box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.08);
}
select.contact-form-field { cursor: pointer; }
select.contact-form-field option { background: var(--navy); color: #e2eaf7; }

.contact-disclaimer {
	font-size: 0.75rem;
	margin-top: 1rem;
	text-align: center;
	color: rgba(226, 234, 247, 0.3);
}

.contact-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.contact-link-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgba(226, 234, 247, 0.5);
	transition: opacity 0.3s ease;
	text-decoration: none;
}
.contact-link-item:hover { opacity: 0.8; color: rgba(226, 234, 247, 0.5); }
.contact-link-item svg { color: var(--cyan); }

/* ── Footer ── */
footer {
	border-top: 1px solid rgba(0, 245, 255, 0.1);
	background: rgba(2, 12, 27, 0.95);
	position: relative;
	z-index: 10;
}

.footer-brand-desc {
	font-size: 0.875rem;
	line-height: 1.75;
	max-width: 20rem;
	color: rgba(226, 234, 247, 0.45);
}

.social-links-row { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
	width: 40px; height: 40px; border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex; align-items: center; justify-content: center;
	color: rgba(226, 234, 247, 0.5);
	font-size: 1rem;
	transition: var(--transition-base);
	text-decoration: none;
}
.social-link:hover {
	border-color: rgba(0, 245, 255, 0.4);
	color: var(--cyan);
	background: rgba(0, 245, 255, 0.08);
	box-shadow: 0 0 16px rgba(0, 245, 255, 0.2);
	transform: translateY(-2px);
}

.footer-col-title {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	color: rgba(226, 234, 247, 0.35);
}
.footer-link {
	font-size: 0.875rem;
	color: rgba(226, 234, 247, 0.5);
	transition: color 0.25s ease;
	text-decoration: none;
	display: block;
}
.footer-link:hover { color: var(--cyan); }

.footer-bottom {
	padding-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-copyright {
	font-size: 0.75rem;
	color: rgba(226, 234, 247, 0.3);
}
.footer-tagline {
	font-size: 0.75rem;
	color: rgba(226, 234, 247, 0.25);
}

/* ── Scroll Reveal ── */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Section Backgrounds ── */
.section-alt { background: rgba(0, 245, 255, 0.015); }

/* ── Upwork Badge Full ── */
.upwork-badge-full {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 2rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(0, 245, 255, 0.15);
}
.upwork-icon-lg {
	width: 36px; height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, #6fda44, #45c517);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.upwork-badge-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #e2eaf7;
	font-family: var(--font-display);
}
.upwork-badge-sub {
	font-size: 0.75rem;
	color: rgba(226, 234, 247, 0.5);
	margin-top: 2px;
}
.upwork-stars { color: #FFD700; font-size: 1rem; letter-spacing: 2px; }

/* ── Why-Me SVG Illustration ── */
.why-me-image-wrap {
	position: relative;
	max-width: 440px;
}
.why-me-image-glow {
	position: absolute; inset: -40px;
	background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.why-me-image-inner {
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.06) 0%, rgba(10, 20, 40, 0.9) 100%);
	height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ── Inner section layout helpers ── */
.section-header-center {
	text-align: center;
	margin-bottom: 3.5rem;
}
.section-header-left { margin-bottom: 3rem; }
.section-header-split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.hero-inner { flex-direction: column; text-align: center; }
	.hero-content { max-width: 100%; }
	.hero-ctas { justify-content: center; }
	.hero-bullets { align-items: center; }
	.why-me-image-wrap { margin: 0 auto; }
}

@media (max-width: 768px) {
	.hero-photo-wrap { width: 280px; height: 340px; }
	.hero-title { font-size: 2rem; }
	.stat-num { font-size: 2.4rem; }
}

@media (max-width: 640px) {
	.hero-photo-wrap { display: none; }
	#hero { padding-top: 100px; }
	.btn-solid, .btn-primary { width: 100%; justify-content: center; }
	.hero-ctas { flex-direction: column; }
}

/* ── Page / Single Post Styles ── */
.page-hero {
	padding-top: calc(90px + 4rem);
	padding-bottom: 4rem;
	text-align: center;
	position: relative;
	z-index: 10;
}
.page-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #e8f1ff;
	margin-top: 1rem;
}

.entry-content {
	color: rgba(226, 234, 247, 0.8);
	line-height: 1.8;
	font-size: 1rem;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: var(--font-display);
	color: #e8f1ff;
	margin: 2rem 0 1rem;
	line-height: 1.2;
}
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.375rem; }
.entry-content p   { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol {
	list-style: disc;
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}
.entry-content ol  { list-style: decimal; }
.entry-content li  { margin-bottom: 0.5rem; }
.entry-content a   { color: var(--cyan); text-decoration: underline; }
.entry-content blockquote {
	border-left: 3px solid var(--cyan);
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	background: rgba(0, 245, 255, 0.04);
	border-radius: 0 8px 8px 0;
	color: rgba(226, 234, 247, 0.9);
	font-style: italic;
}
.entry-content pre, .entry-content code {
	font-family: 'Courier New', monospace;
	background: rgba(0, 245, 255, 0.05);
	border: 1px solid rgba(0, 245, 255, 0.15);
	border-radius: 6px;
	font-size: 0.875rem;
}
.entry-content pre { padding: 1rem 1.25rem; overflow-x: auto; margin-bottom: 1.25rem; }
.entry-content code { padding: 2px 6px; }
.entry-content img { border-radius: 12px; margin: 1.5rem 0; }
.entry-content hr { border: none; border-top: 1px solid rgba(0, 245, 255, 0.12); margin: 2rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.entry-content th, .entry-content td {
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
}
.entry-content th {
	background: rgba(0, 245, 255, 0.05);
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--cyan);
}

/* ── Pagination ── */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 4rem 0;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(226, 234, 247, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
	transition: var(--transition-base);
}
.page-numbers:hover,
.page-numbers.current {
	color: var(--cyan);
	border-color: rgba(0, 245, 255, 0.4);
	background: rgba(0, 245, 255, 0.08);
}

/* ── 404 ── */
.error-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.error-code {
	font-family: var(--font-display);
	font-size: clamp(6rem, 15vw, 12rem);
	font-weight: 800;
	color: rgba(0, 245, 255, 0.12);
	line-height: 1;
}

/* ── Search Results ── */
.search-form-wrap { position: relative; }
.search-form-wrap input[type="search"] {
	width: 100%;
	padding: 1rem 3.5rem 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(0, 245, 255, 0.2);
	border-radius: 12px;
	color: #e2eaf7;
	font-family: var(--font-body);
	font-size: 1rem;
	outline: none;
}
.search-form-wrap input[type="search"]:focus {
	border-color: rgba(0, 245, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

/* ── Comments ── */
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment { padding: 1.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.comment-author-avatar img { border-radius: 50%; }
.comment-meta { font-size: 0.8rem; color: rgba(226, 234, 247, 0.4); margin-bottom: 0.75rem; }
.comment-body p { font-size: 0.9rem; color: rgba(226, 234, 247, 0.7); line-height: 1.7; }
