/* =================================================
   APEX DEVELOPER — FOOTER STYLES
   ================================================= */

.apex-footer {
	background: var(--apex-primary-dark);
	color: #cbd5e1;
	padding: 60px 0 0;
	position: relative;
}

.apex-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--apex-accent), #8b5cf6, #ec4899);
}

/* Footer main */
.apex-footer-main {
	padding-bottom: 40px;
}

.apex-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.2fr;
	gap: 40px;
}

.apex-footer-col {
	min-width: 0;
}


/* ---------- About Column ---------- */
.apex-footer-about {
	padding-right: 20px;
}

.apex-footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	text-decoration: none;
}

.apex-footer-logo .apex-logo-mark {
	width: 40px;
	height: 40px;
}

.apex-footer-logo .apex-logo-mark svg {
	width: 100%;
	height: 100%;
}

.apex-footer-logo .apex-logo-bold {
	color: var(--apex-white);
	font-size: 22px;
	font-weight: 700;
}

.apex-footer-logo .apex-logo-light {
	color: #94a3b8;
	font-size: 18px;
	font-weight: 400;
}

.apex-footer-desc {
	font-size: 14px;
	line-height: 1.7;
	color: #94a3b8;
	margin: 0 0 20px;
}


/* ---------- Social Links ---------- */
.apex-social-links {
	display: flex;
	gap: 10px;
}

.apex-social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	text-decoration: none;
	transition: var(--apex-transition);
}

.apex-social-link:hover {
	background: var(--apex-accent);
	color: var(--apex-white);
	transform: translateY(-3px);
}


/* ---------- Footer Columns ---------- */
.apex-footer-widget-title {
	font-family: var(--apex-font-display);
	color: var(--apex-white);
	font-size: 15px;
	margin: 0 0 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.apex-footer-links,
.apex-footer-contact {
	list-style: none;
	padding: 0;
	margin: 0;
}

.apex-footer-links li,
.apex-footer-contact li {
	margin-bottom: 10px;
	font-size: 14px;
}

.apex-footer-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: var(--apex-transition);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.apex-footer-links a:hover {
	color: var(--apex-accent);
	transform: translateX(3px);
}


/* Contact list */
.apex-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.apex-footer-contact i {
	color: var(--apex-accent);
	font-size: 14px;
	margin-top: 3px;
	flex-shrink: 0;
}

.apex-footer-contact a {
	color: #cbd5e1;
	text-decoration: none;
	transition: var(--apex-transition);
	font-size: 14px;
	word-break: break-word;
}

.apex-footer-contact a:hover {
	color: var(--apex-accent);
}


/* ---------- Newsletter ---------- */
.apex-newsletter-form {
	display: flex;
	gap: 0;
	margin-top: 16px;
	border-radius: var(--apex-radius-sm);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.apex-newsletter-input {
	flex: 1;
	padding: 10px 14px;
	border: none;
	background: transparent;
	color: var(--apex-white);
	font-size: 13px;
	font-family: var(--apex-font-body);
	outline: none;
	min-width: 0;
}

.apex-newsletter-input::placeholder {
	color: #94a3b8;
}

.apex-newsletter-btn {
	background: var(--apex-accent);
	color: var(--apex-white);
	border: none;
	padding: 0 18px;
	cursor: pointer;
	transition: background 0.2s;
	font-size: 14px;
	flex-shrink: 0;
}

.apex-newsletter-btn:hover {
	background: var(--apex-accent-hover);
}


/* ---------- Footer Bottom ---------- */
.apex-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
}

.apex-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.apex-copyright {
	font-size: 13px;
	color: #94a3b8;
	margin: 0;
}

.apex-copyright strong {
	color: var(--apex-white);
	font-weight: 600;
}

.apex-payment-methods {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	color: #94a3b8;
}

.apex-payment-methods i {
	font-size: 24px;
	color: #cbd5e1;
	transition: color 0.2s;
}

.apex-payment-methods i:hover {
	color: var(--apex-accent);
}

.apex-payment-text {
	margin-right: 4px;
}


/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.apex-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.apex-footer-about {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 640px) {
	.apex-footer {
		padding-top: 40px;
	}
	.apex-footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.apex-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
	.apex-footer-desc {
		font-size: 13px;
	}
}
